Re: Row cache

2011-07-05 Thread Shay Assulin
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-u...@incubator.apache.org mailing list archive at Nabble.com.

Re: Row cache

2011-07-04 Thread Shay Assulin
Hi, The row cache capacity > 0. after reading a row - the Caches..KeyCache.Requests attribute gets incremented but the ColumnFamilies...ReadCount attribute remains zero and the Caches..RowCache.Size and Requsts attributes remain zero as well. It looks like the row-cache is disabled although the

Row cache

2011-06-30 Thread Shay Assulin
Hi, I am running Cassandra 0.7.4 and I monitor the nodes using JConsole. I am trying to figure out the location Cassandra read the returned rows and there are few strange things... 1. I am reading few rows (using Hector) and the org.apache.cassandra.db.ColumnFamilies...ReadCount remains 0

Secondary index - keys only.

2011-02-13 Thread Shay Assulin
HI, Is there a way to get only the keys of indexed rows (without getting columns) using get_indexed_slices method? I am using Hector to access Cassandra and I want to count rows with a specific index - so i need to get only the keys. I am doing the following: n = 0 while (true) { i

indexes in cassandra

2011-01-23 Thread Shay Assulin
hi, I am using get_indexed_slices to get rows from Cassandra Does Cassandra returns the rows with some order? I am using OPP and it seems that the rows are ordered 10x