From user-return-29213-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Mon Oct 1 00:28:49 2012 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 05224DFF3 for ; Mon, 1 Oct 2012 00:28:49 +0000 (UTC) Received: (qmail 9022 invoked by uid 500); 1 Oct 2012 00:28:46 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 8991 invoked by uid 500); 1 Oct 2012 00:28:46 -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 8983 invoked by uid 99); 1 Oct 2012 00:28:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2012 00:28:46 +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 (athena.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a82.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2012 00:28:41 +0000 Received: from homiemail-a82.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a82.g.dreamhost.com (Postfix) with ESMTP id DFDC4282061 for ; Sun, 30 Sep 2012 17:28:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=from :content-type:message-id:mime-version:subject:date:references:to :in-reply-to; s=thelastpickle.com; bh=OdcIM4Ibpb2PQITi96syJa+wr7 E=; b=VQsYNwwb+T3LpuSyxEpFT25plxGKXDFR7mn58cveib32b6uE/JPfSrizRG TrxvH+Th7zVHd1vZ++w78DjnB/s83a3ZsM+H3QI/4szSBoJjykhHTiztXmU7trR/ wbTlXvuL+EL8xNVucWKS4R8vTtZ3npFqsB/K5qGm9SMcUvaiM= Received: from [192.168.2.77] (unknown [116.90.132.105]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a82.g.dreamhost.com (Postfix) with ESMTPSA id 6B376282024 for ; Sun, 30 Sep 2012 17:28:22 -0700 (PDT) From: aaron morton Content-Type: multipart/alternative; boundary="Apple-Mail=_EEC74439-42A3-4D8C-AC46-98B924F82833" Message-Id: <6EEB9969-A2C1-4FF6-8429-E0B8A53FCC09@thelastpickle.com> Mime-Version: 1.0 (Mac OS X Mail 6.1 \(1498\)) Subject: Re: cassandra key cache question Date: Mon, 1 Oct 2012 13:28:20 +1300 References: To: user@cassandra.apache.org In-Reply-To: X-Mailer: Apple Mail (2.1498) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_EEC74439-42A3-4D8C-AC46-98B924F82833 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 I had a quick look at the code (1.1X) and could not see a facility to = purge dropped cf's from key or row caches. Could you create a ticket on = https://issues.apache.org/jira/browse/CASSANDRA ? Cheers =20 ----------------- Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 27/09/2012, at 9:58 PM, Tamar Fraenkel wrote: > Hi! > One more question: > I have couple of dropped column families, and in the JMX console I = don't see them under org.apache.cassandra.db.ColumnFamilies, BUT I do = see them under org.apache.cassandra.db.Caches, and the cache is not = empty! > Does it mean that Cassandra still keep memory busy doing caching for a = non-existing column family? If so, how do I remove those caches? >=20 > Thanks! >=20 > Tamar Fraenkel=20 > Senior Software Engineer, TOK Media=20 >=20 > >=20 > tamar@tok-media.com > Tel: +972 2 6409736=20 > Mob: +972 54 8356490=20 > Fax: +972 2 5612956=20 >=20 >=20 >=20 >=20 >=20 > On Thu, Sep 27, 2012 at 11:45 AM, Tamar Fraenkel = wrote: > Hi! > Is it possible that in JMX and cfstats the Key cache size is much = bigger than the number of keys in the CF? > Thanks, >=20 > Tamar Fraenkel=20 > Senior Software Engineer, TOK Media=20 >=20 > >=20 > tamar@tok-media.com > Tel: +972 2 6409736=20 > Mob: +972 54 8356490=20 > Fax: +972 2 5612956=20 >=20 >=20 >=20 >=20 --Apple-Mail=_EEC74439-42A3-4D8C-AC46-98B924F82833 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 I had = a quick look at the code (1.1X) and could not see a facility to purge = dropped cf's from key or row caches.

Could you create = a ticket on https://issues.ap= ache.org/jira/browse/CASSANDRA ?

Cheers<= /div>
 
http://www.thelastpickle.com

On 27/09/2012, at 9:58 PM, Tamar Fraenkel <tamar@tok-media.com> = wrote:

Hi!
One more question:
I have = couple of dropped column families, and in the JMX console I don't see = them under org.apache.cassandra.db.ColumnFamilies, BUT I do see them under = org.apache.cassandra.db.Caches, and the cache is not empty!
Does it mean that Cassandra still keep memory busy doing caching for a = non-existing column family? If so, how do I remove those = caches?

Thanks!

Tamar = Fraenkel 
Senior Software Engineer, TOK Media 

<tokLogo.png>





On Thu, Sep 27, 2012 at 11:45 AM, = Tamar Fraenkel <tamar@tok-media.com> = wrote:
Hi!
Is it possible that in JMX and cfstats the Key = cache size is much bigger than the number of keys in the = CF?
Thanks,

Tamar Fraenkel 
Senior Software Engineer, TOK = Media 

<tokLogo.png>





= --Apple-Mail=_EEC74439-42A3-4D8C-AC46-98B924F82833--