Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 857726CC5 for ; Mon, 30 May 2011 13:11:25 +0000 (UTC) Received: (qmail 75889 invoked by uid 500); 30 May 2011 13:11:23 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 75862 invoked by uid 500); 30 May 2011 13:11:23 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 75854 invoked by uid 99); 30 May 2011 13:11:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 May 2011 13:11:23 +0000 X-ASF-Spam-Status: No, hits=1.8 required=5.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jbellis@gmail.com designates 74.125.82.44 as permitted sender) Received: from [74.125.82.44] (HELO mail-ww0-f44.google.com) (74.125.82.44) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 May 2011 13:11:17 +0000 Received: by wwa36 with SMTP id 36so3305324wwa.25 for ; Mon, 30 May 2011 06:10:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=j92qhLedOm3mt1KmHUgMkg6WGZKepu1S5G2dqWajS3s=; b=UJpQ98ytXmUs8Znqj7QgWZ23SViRlAs0cDRPvg3LLogUx/E6giivS5EIclaoyxYHNa upIXNeRU71spCw8WKN5HyXwEHwQVpLtzCmM8YidfqbbNB10VodqcKs51XOEbP0z2RA5H LNCZXGhRCtoeFr0GotyVMkSNiLZmZTHpcBJ0s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=waEkGLxuyZXf0M4HOQDcoxHokrriXrlvabT1wBcAjvh2Rk4Al+LawZQ3XzNoMvsu16 qEH/Qmydt50yR7nfDOLdBbOYGVCtiqrGx57XRfDLtL5o0JZoE9LyBjTfO7sfftkgoYaH I6Uj9SAL0ae8krcpw7o6QMqzvvBb3Tq4nMt4s= Received: by 10.216.235.234 with SMTP id u84mr2523047weq.51.1306761057151; Mon, 30 May 2011 06:10:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.17.15 with HTTP; Mon, 30 May 2011 06:10:36 -0700 (PDT) In-Reply-To: <11866847.2764411306743193014.JavaMail.defaultUser@defaultHost> References: <11866847.2764411306743193014.JavaMail.defaultUser@defaultHost> From: Jonathan Ellis Date: Mon, 30 May 2011 08:10:36 -0500 Message-ID: Subject: Re: Moving a CF between keyspaces To: user@cassandra.apache.org, "cbertu81@libero.it" Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org You could do it with some manual surgery on the sstable filenames, but there's no API to do this live. On Mon, May 30, 2011 at 3:13 AM, cbertu81@libero.it wrote: > Hi all, > for some reason I have a CF in a Keyspace and I need to duplicate this CF and > its content into another keyspace > Is there any best practice to do it or I need to read/write all rows? > > Best regards > > Carlo > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com