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 A3BDE10918 for ; Wed, 10 Jul 2013 17:29:04 +0000 (UTC) Received: (qmail 83384 invoked by uid 500); 10 Jul 2013 17:29:01 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 83362 invoked by uid 500); 10 Jul 2013 17:29:01 -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 83350 invoked by uid 99); 10 Jul 2013 17:29:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jul 2013 17:29:01 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of krummas@gmail.com designates 209.85.192.175 as permitted sender) Received: from [209.85.192.175] (HELO mail-pd0-f175.google.com) (209.85.192.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jul 2013 17:28:55 +0000 Received: by mail-pd0-f175.google.com with SMTP id 4so6515395pdd.20 for ; Wed, 10 Jul 2013 10:28:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=iQQDPQU/VUhN9o0gPZRrdwaDPN8DYmtCJdWseZToiXA=; b=kld4HIG5k+AU4ScrSMEqL1cA568MQ+ZYB7LvzVPbw6G3hYajht8FzkV6vhFw+QBULo NBhQa4H0KauEw7Bh9q5aio3NsIH0NFCpftLFz/E2XDGdorHs0TMTLTDsNOKYD6V6CkWc 8Da3dQO60ez9LcmUQl8N0JCS2GnF5sg1dGql434EtbOmgYT+HB7X/Y8n/Cu+FuljX0F6 FAprUvX2cTaOd0a+Iqf/86tlxNvo0RZ5BuJlC3TxoNyptbECyqEzJHGMWH3JjF2SZXhb u2XTTAfTA5/fEym8tFhXz25KthLce/ElOe3iHFYDFI8CA30A1gTqB3VPGJUXRwuea2i4 u7iQ== MIME-Version: 1.0 X-Received: by 10.66.252.234 with SMTP id zv10mr34327492pac.186.1373477314640; Wed, 10 Jul 2013 10:28:34 -0700 (PDT) Received: by 10.68.211.72 with HTTP; Wed, 10 Jul 2013 10:28:34 -0700 (PDT) In-Reply-To: References: Date: Wed, 10 Jul 2013 19:28:34 +0200 Message-ID: Subject: Re: manually removing sstable From: Marcus Eriksson To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=047d7b15b1f57240f104e12b9bca X-Virus-Checked: Checked by ClamAV on apache.org --047d7b15b1f57240f104e12b9bca Content-Type: text/plain; charset=ISO-8859-1 yep that works, you need to remove all components of the sstable though, not just -Data.db and, in 2.0 there is this: https://issues.apache.org/jira/browse/CASSANDRA-5228 /Marcus On Wed, Jul 10, 2013 at 2:09 PM, Theo Hultberg wrote: > Hi, > > I think I remember reading that if you have sstables that you know contain > only data that whose ttl has expired, it's safe to remove them manually by > stopping c*, removing the *-Data.db files and then starting up c* again. is > this correct? > > we have a cluster where everything is written with a ttl, and sometimes c* > needs to compact over a 100 gb of sstables where we know ever has expired, > and we'd rather just manually get rid of those. > > T# > --047d7b15b1f57240f104e12b9bca Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
yep that works, you need to remove all components of the s= stable though, not just -Data.db

and, in 2.0 there= is this:

/Marcus


On Wed, Jul 10, 2013 at 2:09 PM= , Theo Hultberg <theo@iconara.net> wrote:
Hi,

I th= ink I remember reading that if you have sstables that you know contain only= data that whose ttl has expired, it's safe to remove them manually by = stopping c*, removing the *-Data.db files and then starting up c* again. is= this correct?

we have a cluster where everything is written with a tt= l, and sometimes c* needs to compact over a 100 gb of sstables where we kno= w ever has expired, and we'd rather just manually get rid of those.

T#

--047d7b15b1f57240f104e12b9bca--