Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 10822 invoked from network); 18 Sep 2010 09:43:02 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Sep 2010 09:43:02 -0000 Received: (qmail 80587 invoked by uid 500); 18 Sep 2010 09:42:59 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 79511 invoked by uid 500); 18 Sep 2010 09:42:56 -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 79498 invoked by uid 99); 18 Sep 2010 09:42:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Sep 2010 09:42:55 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 209.85.212.44 as permitted sender) Received: from [209.85.212.44] (HELO mail-vw0-f44.google.com) (209.85.212.44) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Sep 2010 09:42:49 +0000 Received: by vws10 with SMTP id 10so2328247vws.31 for ; Sat, 18 Sep 2010 02:42:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=o1pYpr7iftw8s9jeSNsPW38+9Wg86rmqF2glMFxHz00=; b=au8LQP2rkmmHjlGsFC12UreLEHCwwWFXEDWOpuby+ZY6BxzzLJZrKhdwsgd7m1JWgH Ceajtt9IVFSGXsmKEwiKGpnJxlziL8lkUHm8tmFdWS7blj0tWJQwaz6cwUFfLq3c6I03 jVVUgA34RxWUKZdlq4c/ev8cCtEFI0BdWAOE8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=EOchoP139ex0thPVuNqqmUrzMFzZgEQxGoZTDpe6U0jxIDUQZUZHapZ4WuUM+s+6MP +HTEXewDrMGY9lnoFdy8fHJOy0m7NhDqIeeQuhQk45Ph2wCXgCPM2GdX7MCp6E+zGSH8 3oRdSv6HRKPh2KhvDRTUeXKC1HpRSFadSjJco= MIME-Version: 1.0 Received: by 10.220.123.218 with SMTP id q26mr3283354vcr.107.1284802948946; Sat, 18 Sep 2010 02:42:28 -0700 (PDT) Received: by 10.220.178.5 with HTTP; Sat, 18 Sep 2010 02:42:28 -0700 (PDT) In-Reply-To: <745777.10127.qm@web55204.mail.re4.yahoo.com> References: <745777.10127.qm@web55204.mail.re4.yahoo.com> Date: Sat, 18 Sep 2010 04:42:28 -0500 Message-ID: Subject: Re: Cassandra Cache Mbean values; bytes or number of elements ? From: Jonathan Ellis To: user Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable elements. it gets the capacity from your configuration setting. cassandra knows how many rows you have, and you told it to cache all of them, so that's what it set capacity to. On Fri, Sep 17, 2010 at 8:58 PM, kannan chandrasekaran wrote: > I am using 0.6.5 and my keycache for the CF is set as "100%" ... What do = the > values in the Mbean interfaces indicate ?=A0 bytes or number of elements = ? > > Specifically, these are the numbers that I observe for one of the column > family... > > capacity =3D 36826888 (if this is number of elements,=A0 how does cassand= ra come > up with this number ?) > Size =3D 148834 > > Please let me know. > Thanks > Kannan > > --=20 Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com