Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 51031 invoked from network); 21 Oct 2009 18:26:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Oct 2009 18:26:56 -0000 Received: (qmail 68373 invoked by uid 500); 21 Oct 2009 17:41:32 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 53115 invoked by uid 500); 21 Oct 2009 17:37:00 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 49719 invoked by uid 99); 21 Oct 2009 16:55:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2009 16:55:10 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.212.188] (HELO mail-vw0-f188.google.com) (209.85.212.188) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2009 16:55:07 +0000 Received: by vws26 with SMTP id 26so2784684vws.32 for ; Wed, 21 Oct 2009 09:54:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.123.230 with SMTP id q38mr2805502vcr.13.1256144086191; Wed, 21 Oct 2009 09:54:46 -0700 (PDT) Date: Wed, 21 Oct 2009 18:54:46 +0200 Message-ID: <872340b70910210954w5e8af776g209f7437cd970547@mail.gmail.com> Subject: flushing/clearing an entire ColumnFamily From: Johannes Schaback To: cassandra-user@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Hi I am currently using a ColumnFamily as an intermediate store for data that is computationally expensive and too large to keep in memory. The data is later composed in a final, long-term ColumnFamily so that I actually dont need the "raw" data to be around anymore. This is why I am wondering if there is an easy way to clear an entire ColumnFamily? I could certainly remove() each row individually, but this may take some time. What if I would just delete the content of the data folder of the ColumnFamily in question? :) Thanks Johannes