Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 21600 invoked from network); 12 Jan 2010 21:30:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Jan 2010 21:30:45 -0000 Received: (qmail 14113 invoked by uid 500); 12 Jan 2010 21:30:45 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 14071 invoked by uid 500); 12 Jan 2010 21:30:45 -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 14061 invoked by uid 99); 12 Jan 2010 21:30:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jan 2010 21:30:45 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 209.85.219.212 as permitted sender) Received: from [209.85.219.212] (HELO mail-ew0-f212.google.com) (209.85.219.212) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jan 2010 21:30:38 +0000 Received: by ewy4 with SMTP id 4so89797ewy.27 for ; Tue, 12 Jan 2010 13:30:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=tvnHRL82dfvSBxWBipd6GLAOaDddgQKInLLZxB9N0rw=; b=Cwac+aJwvB/xv2sdPNs8PVBvXT0Ugt4fwTYFpBseyarIdrMHfjKk67DlmhB+bZeEFt /7l/J7PYusV4i8DrzoIQ0wktpKU3GLziAZTYW5aXyblCW5PWZpiPL7F+KvhN7ODNHtOP dRIHPi6GoC7wRCzkUI5x9nXCdK0YBwLu1aoM4= 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=SdZvSbd6DRN6lBfv1fXVsUpP8ys7/FCBNJoVlLuB31DVF9y3VojIc3i/kMSGu1CnFB 0iJsPaTZFa24Q2fOBMOos1w47OmxCXnASYtRSEFWJ37+j6tHF2haHor245BsUgvxTv6M ErgiA7kcskc9zRd4mLjfITYlvJP7q/sATItHI= MIME-Version: 1.0 Received: by 10.216.90.77 with SMTP id d55mr67120wef.146.1263331817110; Tue, 12 Jan 2010 13:30:17 -0800 (PST) In-Reply-To: References: From: Jonathan Ellis Date: Tue, 12 Jan 2010 15:29:57 -0600 Message-ID: Subject: Re: Cassandra and TTL To: cassandra-user@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 On Tue, Jan 12, 2010 at 2:39 PM, Sylvain Lebresne wrote: >> If truncating old sstables entirely >> (https://issues.apache.org/jira/browse/CASSANDRA-531) meets your >> needs, that is going to be less work and more performant. > > Well, I'm not sure I understand completely this ticket. The part in the > comment saying "drop all sstables older than X" seems to be something helpful. > But aren't sstables regularly merged together, thus mixing "older" data with > newer data ? Right, that is why the ticket says you would want to disable compaction if you want to truncate less than the whole CF. > That is, is this 'truncate with a timestamp t' always remove *all* columns > with a timestamp older than t ? Yes. -Jonathan