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 E61C9D87F for ; Fri, 21 Sep 2012 01:01:32 +0000 (UTC) Received: (qmail 90430 invoked by uid 500); 21 Sep 2012 01:01:30 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 90398 invoked by uid 500); 21 Sep 2012 01:01:30 -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 90390 invoked by uid 99); 21 Sep 2012 01:01:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2012 01:01:30 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a47.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2012 01:01:23 +0000 Received: from homiemail-a47.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a47.g.dreamhost.com (Postfix) with ESMTP id 6EB3728405B for ; Thu, 20 Sep 2012 18:01:02 -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=2L0jRtKEXbyRV2HyEMUs0yJOtf g=; b=38I7sRAYqFRldU6jDEEiKGFhljyToG4PTcMasWhpKtMmFizQyeSMeJx83r BM1JbNyZHXNIHMx5WVfMqzmuQxDeGlXUybgl0F3GFd4lk0h/qU+4+zKUvRnyW7we egRNYpYUMaYQmhuglFWmBwStAz97n0UZiqkRJ2F25EL7ri0/8= 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-a47.g.dreamhost.com (Postfix) with ESMTPSA id EB204284058 for ; Thu, 20 Sep 2012 18:01:01 -0700 (PDT) From: aaron morton Content-Type: multipart/alternative; boundary="Apple-Mail=_13E40D2C-D207-42E9-A6BF-666801C642D4" Message-Id: <4E405035-9C93-434F-8643-5F043CD40A5C@thelastpickle.com> Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1486\)) Subject: Re: Row caches Date: Fri, 21 Sep 2012 13:00:59 +1200 References: To: user@cassandra.apache.org In-Reply-To: X-Mailer: Apple Mail (2.1486) --Apple-Mail=_13E40D2C-D207-42E9-A6BF-666801C642D4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Set the caching attribute for the CF. It defaults to keys_only, other = values are both or rows_only.=20 See http://www.datastax.com/dev/blog/caching-in-cassandra-1-1 Cheers ----------------- Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 19/09/2012, at 1:34 PM, Jason Wee wrote: > which version is that? in version, 1.1.2 , nodetool does take the = column family. >=20 > setcachecapacity = - Set the key and row cache capacities of a given = column family >=20 > On Wed, Sep 19, 2012 at 2:15 AM, rohit reddy = wrote: > Hi, >=20 > Is it possible to enable row cache per column family after the column = family is created. >=20 > nodetool setcachecapacity does not take the column family as input. >=20 > Thanks > Rohit >=20 --Apple-Mail=_13E40D2C-D207-42E9-A6BF-666801C642D4 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 Set = the caching attribute for the CF. It defaults to keys_only, other = values are both or rows_only. 


Cheers

http://www.thelastpickle.com

On 19/09/2012, at 1:34 PM, Jason Wee <peichieh@gmail.com> = wrote:

which version is that? in version, 1.1.2 , nodetool does = take the column family.

setcachecapacity <keyspace> = <cfname> <keycachecapacity> <rowcachecapacity> - Set = the key and row cache capacities of a given column family

On Wed, Sep 19, 2012 at 2:15 AM, rohit = reddy <rohit.kommareddy@gmail.com> = wrote:
Hi,

Is it possible to enable row cache per column = family after the column family is created.

nodetool setcachecapacity does not take the column family as input.

Thanks
Rohit


= --Apple-Mail=_13E40D2C-D207-42E9-A6BF-666801C642D4--