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 36C34D693 for ; Tue, 28 May 2013 23:26:35 +0000 (UTC) Received: (qmail 66475 invoked by uid 500); 28 May 2013 23:26:30 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 66428 invoked by uid 500); 28 May 2013 23:26:30 -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 66388 invoked by uid 99); 28 May 2013 23:26:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 May 2013 23:26:29 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rcoli@eventbrite.com designates 209.85.128.43 as permitted sender) Received: from [209.85.128.43] (HELO mail-qe0-f43.google.com) (209.85.128.43) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 May 2013 23:26:25 +0000 Received: by mail-qe0-f43.google.com with SMTP id k5so4658878qej.2 for ; Tue, 28 May 2013 16:26:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=7u0sqssSU8AllyV/Mwb521dC7doKhwzrwY3PZT+iIxo=; b=JI+K2qreUzcQZ7+Je8YJgtGMB5jE85KV6wXnHemA+KEaHJdtDMXfAc+n3gUGGgsg0Y k12k/JcmV0yQmBfjrZBBlh3X36KIx+ul4MhYad9M/NqimWWpZZf0AHehP7oV41daD1Pi 1KB6RSVEgWl0BR8s3lgNtGLWBdPCluw2ZQVblX/C2DkmrG9UrKPEUn8ZoZtnGrInN7F3 lrGTa+xO3kXJ7Hosx83e85YorPnHpqQ7TPVESCE8ukqV6Poetc4LMnvJKFOHW+MNLAwr ANbPhN8VCTKyjXPJ9GCOV8422P1RyuexFqdgqgO5akiwwVXxa8veEDNk95ZzzXI3tjsM yb2g== MIME-Version: 1.0 X-Received: by 10.224.71.145 with SMTP id h17mr649868qaj.31.1369783564573; Tue, 28 May 2013 16:26:04 -0700 (PDT) Received: by 10.49.104.141 with HTTP; Tue, 28 May 2013 16:26:04 -0700 (PDT) In-Reply-To: References: Date: Tue, 28 May 2013 16:26:04 -0700 Message-ID: Subject: Re: data clean up problem From: Robert Coli To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlYumDdQrmZ+C277plQQPcULPKaIPlYm2juChItuMuzhXJgXx1Tra2NHza2CIDT9yUpf5Cw X-Virus-Checked: Checked by ClamAV on apache.org On Tue, May 28, 2013 at 2:38 PM, Bryan Talbot wrote: > I think what you're asking for (efficient removal of TTL'd write-once data) > is already in the works but not until 2.0 it seems. If your entire dataset in a keyspace or column family is deleted every [small time period], then maybe use TRUNCATE? Two caveats : 1) https://issues.apache.org/jira/browse/CASSANDRA-4655 - TRUNCATE will leave undelivered hints untouched until 1.2.6 2) TRUNCATE will create a snapshot unless you (unsafely!!!!!!! danger!!!!!!!!) disable this feature [1] Alternately, perhaps a datastore with immutable data files is not for you? :D =Rob [1] https://issues.apache.org/jira/browse/CASSANDRA-3710