You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Shay Assulin <SH...@il.ibm.com> on 2011/07/04 11:18:53 UTC

Re: Row cache

Hi,

The row cache capacity > 0.


after reading a row - the Caches.<KeySpace>.<CF>KeyCache.Requests attribute
gets incremented but the ColumnFamilies.<KeySpace>.<CF>.ReadCount attribute
remains zero and the Caches.<KeySpace>.<CF>RowCache.Size and Requsts
attributes remain zero as well.

It looks like the row-cache is disabled although the capacity is not zero.
In addition the ColumnFamilies.<KeySpace>.<CF>.ReadCount does not reflect
the fact that the row was fetched from SSTable.

beside CF.rows_cached parameter (in the yaml) - should i configure anything
else to enable the row-cache? 


10x

--
View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Row-cache-tp6532887p6545416.html
Sent from the cassandra-user@incubator.apache.org mailing list archive at Nabble.com.

Re: Row cache

Posted by Shay Assulin <SH...@il.ibm.com>.
Hi,

The JConsole shows that the capacity > 0.


10x

--
View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Row-cache-tp6532887p6549420.html
Sent from the cassandra-user@incubator.apache.org mailing list archive at Nabble.com.

Re: Row cache

Posted by Daniel Doubleday <da...@gmx.net>.
Just to make sure:

The yaml doesn't matter. The cache config is stored in the system tables. Its the "CREATE ... WITH ..." stuff you did via cassandra-cli to create the CF.

In Jconsole you see that the cache capacity is > 0?

On Jul 4, 2011, at 11:18 AM, Shay Assulin wrote:

> Hi,
> 
> The row cache capacity > 0.
> 
> 
> after reading a row - the Caches.<KeySpace>.<CF>KeyCache.Requests attribute
> gets incremented but the ColumnFamilies.<KeySpace>.<CF>.ReadCount attribute
> remains zero and the Caches.<KeySpace>.<CF>RowCache.Size and Requsts
> attributes remain zero as well.
> 
> It looks like the row-cache is disabled although the capacity is not zero.
> In addition the ColumnFamilies.<KeySpace>.<CF>.ReadCount does not reflect
> the fact that the row was fetched from SSTable.
> 
> beside CF.rows_cached parameter (in the yaml) - should i configure anything
> else to enable the row-cache? 
> 
> 
> 10x
> 
> --
> View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Row-cache-tp6532887p6545416.html
> Sent from the cassandra-user@incubator.apache.org mailing list archive at Nabble.com.