Is there a way to figure out how much requests (read/writes) there is on each table?
I'm trying to figure out where we have big load.
Already tried to use:
nodetool tablestats
It's not good since I can't see the number of requests.
Thanks
Is there a way to figure out how much requests (read/writes) there is on each table?
I'm trying to figure out where we have big load.
Already tried to use:
nodetool tablestats
It's not good since I can't see the number of requests.
Thanks
tablestatswill give you the total number of requests which might be sufficient. Can also look at the avg local read/write latency there for outliers. The rates are exposed in JMX that you can grab from table metrics: http://cassandra.apache.org/doc/latest/operating/metrics.html#table-metricsEach of those has a 1, 5, and 15 minute rate attribute.
ie with swiss java knife:
(note: run this as same user as your cassandra instance is running as with
sudo -uor it might not have permissions to attach to jvm)If its running high load currently you can use
toppartitionsorprofileload. In some versions toppartitions requires you give it the table though.