Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 36052 invoked from network); 6 Aug 2010 22:50:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Aug 2010 22:50:07 -0000 Received: (qmail 86379 invoked by uid 500); 6 Aug 2010 22:50:05 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 86340 invoked by uid 500); 6 Aug 2010 22:50:05 -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 86332 invoked by uid 99); 6 Aug 2010 22:50:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Aug 2010 22:50:05 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rcoli@digg.com designates 209.85.210.44 as permitted sender) Received: from [209.85.210.44] (HELO mail-pz0-f44.google.com) (209.85.210.44) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Aug 2010 22:49:56 +0000 Received: by pzk6 with SMTP id 6so3499292pzk.31 for ; Fri, 06 Aug 2010 15:49:34 -0700 (PDT) Received: by 10.143.39.12 with SMTP id r12mr4126838wfj.173.1281134974578; Fri, 06 Aug 2010 15:49:34 -0700 (PDT) Received: from Robert-Colis-MacBook-Pro.local (64-71-7-198.static.wiline.com [64.71.7.198]) by mx.google.com with ESMTPS id y16sm2012958wff.2.2010.08.06.15.49.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 06 Aug 2010 15:49:33 -0700 (PDT) Message-ID: <4C5C917A.6040000@digg.com> Date: Fri, 06 Aug 2010 15:49:30 -0700 From: Rob Coli User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 MIME-Version: 1.0 To: user@cassandra.apache.org Subject: Re: Cassandra disk space utilization WAY higher than I would expect References: <4C5C8370.7070107@digg.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 8/6/10 3:30 PM, Peter Schuller wrote: > *However*, > and this is what I meant with my follow-up, that still does not > explain the data from her post unless 'nodetool ring' reports total > sstable size rather than the total size of live sstables. Relatively limited time available to respond to this post, but FYI : src/java/org/apache/cassandra/tools/NodeCmd.java " public void printRing(PrintStream outs) ... Map loadMap = probe.getLoadMap(); " probe object is of type NodeProbe, so.. src/java/org/apache/cassandra/tools/NodeProbe.java " Map loadMap = ssProxy.getLoadMap(); " ssProxy object is a MBean proxy to Storage Service methods.. ./cassandra-0.6/src/java/org/apache/cassandra/service/StorageService.java " public double getLoad() ... bytes += cfs.getLiveDiskSpaceUsed(); " In other words, "nodetool ring" should be reporting only the live disk space used. > Just to be clear, my perhaps misuse of the term "obsolete" only refers > to sstables that have been successfully compacted together with others > into a new sstable which replaces the old ones (hence making them > "obsolete"). I do not mean to imply that they contain obsolete > columns. Ok, thought that's what you meant. Thx for the clarification. =Rob