Rock
Rock

Reputation: 500

How to calculate number of reads/writes going on in cassandra

We want to calculate how many records are written/read to our cassandra cluster on per sec or day basis without Opscenter.

Upvotes: 3

Views: 2741

Answers (1)

RussS
RussS

Reputation: 16576

Opscenter is just reading the standard JMX presented by C* so you could do the same thing. The mbeans you are most likely interested in are

org.apache.cassandra.metrics:type=ClientRequest,scope=Read,name=Latency : Count
org.apache.cassandra.metrics:type=ClientRequest,scope=Write,name=Latency : Count

Grab these from all the nodes and you have your read and write counts.

Upvotes: 6

Related Questions