You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Daning Wang <da...@netseer.com> on 2013/02/08 01:26:54 UTC

Cassandra jmx stats ReadCount

We have 8 nodes cluster in Casandra 1.1.0, with replication factor is 3. We
found that when you just insert data, not only WriteCount increases, the
ReadCount also increases.

How could this happen? I am under the impression that readCount only counts
the reads from client.

Thanks,

Daning

Re: Cassandra jmx stats ReadCount

Posted by aaron morton <aa...@thelastpickle.com>.
Are you using counters? They require a read before write.

Also secondary index CF's require a read before write. 

Cheers
 
-----------------
Aaron Morton
Freelance Cassandra Developer
New Zealand

@aaronmorton
http://www.thelastpickle.com

On 8/02/2013, at 1:26 PM, Daning Wang <da...@netseer.com> wrote:

> We have 8 nodes cluster in Casandra 1.1.0, with replication factor is 3. We found that when you just insert data, not only WriteCount increases, the ReadCount also increases.
> 
> How could this happen? I am under the impression that readCount only counts the reads from client.
> 
> Thanks,
> 
> Daning
> 
>