Return-Path: X-Original-To: apmail-cassandra-dev-archive@www.apache.org Delivered-To: apmail-cassandra-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0F95491B6 for ; Mon, 14 May 2012 04:17:26 +0000 (UTC) Received: (qmail 47929 invoked by uid 500); 14 May 2012 04:17:25 -0000 Delivered-To: apmail-cassandra-dev-archive@cassandra.apache.org Received: (qmail 47904 invoked by uid 500); 14 May 2012 04:17:24 -0000 Mailing-List: contact dev-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list dev@cassandra.apache.org Received: (qmail 47895 invoked by uid 99); 14 May 2012 04:17:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 May 2012 04:17:24 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of schumi.han@gmail.com designates 209.85.212.178 as permitted sender) Received: from [209.85.212.178] (HELO mail-wi0-f178.google.com) (209.85.212.178) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 May 2012 04:17:19 +0000 Received: by wibhn6 with SMTP id hn6so1615019wib.7 for ; Sun, 13 May 2012 21:16:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=0aDkSFW1Lf+JCrLXbaOB3zR4zb3tKfPzKn3IozON0Ho=; b=NKb3lRuVcVZWpf3JyDhnmO+XWhdDBgQt8jI4MODRwqLye/79v459Xij7JOK9mFE63A eqQxb5hKW1tqsgbN9PdNbIuWN+qMgTnvAA5gFgGn1HcNcPlgkk2RF2SL9AeyvIhviXNS MzPwPtVUzIy2IORi0G5Q1LIJTe4unYd5YF8zdnWtXcDiYMKQpN6t5c7ajjUfujSBxjJo AJ4tr7TDA/fB6SJ3WuVKzLIhIDbl2HeEAuhtZNruy8N5wkz5Qxp+fxqorrCniVuVPpKS 9H+EEEMWZo8LHjMGqB10/CIDZ79Qb9ukCRJ5jUHHfcB4JK6zpxxxFDXR+4duK5r4my3q P76Q== MIME-Version: 1.0 Received: by 10.180.105.198 with SMTP id go6mr1991515wib.19.1336969018342; Sun, 13 May 2012 21:16:58 -0700 (PDT) Sender: schumi.han@gmail.com Received: by 10.216.234.88 with HTTP; Sun, 13 May 2012 21:16:58 -0700 (PDT) In-Reply-To: <201205141034019248933@jike.com> References: <201205141009349905370@jike.com> <201205141034019248933@jike.com> Date: Mon, 14 May 2012 12:16:58 +0800 X-Google-Sender-Auth: SAoTkSuqONdL2n_LEHw3E7fOMwY Message-ID: Subject: Re: Re: how to upgrade my cassadra from SizeTieredCompaction to LeveledCompactiom From: Zhu Han To: dev@cassandra.apache.org, zhangcheng Content-Type: multipart/alternative; boundary=f46d0418258c69fca404bff75b7d X-Virus-Checked: Checked by ClamAV on apache.org --f46d0418258c69fca404bff75b7d Content-Type: text/plain; charset=ISO-8859-1 On Mon, May 14, 2012 at 10:34 AM, zhangcheng wrote: > thanks, Edward. > > In my test, when I changed to leveled strategy, the compaction can't > finish for the reason that we have 700G new data every day! > > what can I do if I want to save the comapction space? > For so big dataset, you may trigger the manual compaction periodically as long as there is not much deletions. Putting several TB data to a single data requires much computing and IO power to serve the read request or compaction. > > > > > zhangcheng > > From: Edward Capriolo > Date: 2012-05-14 10:14 > To: dev; zhangcheng > Subject: Re: how to upgrade my cassadra from SizeTieredCompaction to > LeveledCompactiom > As soon as you use the CLI to change the compaction strategy for a > column family Cassandra will consider all SSTables level 0 and being > level-ing them. With that much data, think hard before making the > change. You have to understand how level ed will work with your > workload. > > On Sun, May 13, 2012 at 10:09 PM, zhangcheng wrote: > > > > There is 2T data on each server. Can someone give me some advice? > > > > Thanks. > --f46d0418258c69fca404bff75b7d--