Reputation: 289
On executing nodetool tablestats
, there are many output metrics that are generated for a given table.
Are the metrics like SSTable count, Space used (live) and Space used (total)
reflecting the counts and size of table on particular node or its a aggregation of metrics from entire cluster. If its not cluster wide how do we extrapolate "space used" to reflect cluster wide usage.
Upvotes: 2
Views: 582
Reputation: 87319
Most of the nodetool commands are showing the data for a current node, or how the other nodes look like from a current node...
To get a cluster wide statistics you need to collect data from all nodes, for example by scraping data via JMX into monitoring system, or use something like metrics collector for Apache Cassandra together with Prometheus and Grafana
Upvotes: 2