incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rohit reddy <rohit.kommare...@gmail.com>
Subject Re: Row caches
Date Fri, 21 Sep 2012 10:34:57 GMT
Hi,

I have enabled the row caches by the using
nodetool setcachecapacity <keyspace> <cfname> <keycachecapacity>
<rowcachecapacity>.

But when i look at the cfstats.. i'm not getting any cache stats like

Row cache capacity:
Row cache size:

These properties are not reflected nor i'm getting any cache hit rates
in OPS center.

Do i need to restart the server or am i missing anything?

Thanks
Rohit

On Fri, Sep 21, 2012 at 11:29 AM, rohit reddy <rohit.kommareddy@gmail.com>wrote:

> Got it. Thanks for the replies
>
>
> On Fri, Sep 21, 2012 at 6:30 AM, aaron morton <aaron@thelastpickle.com>wrote:
>
>> Set the caching attribute for the CF. It defaults to keys_only, other
>> values are both or rows_only.
>>
>> 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 <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
>>>
>>
>>
>>
>

Mime
View raw message