Database Reference
In-Depth Information
We can collect information for a keyspace like this:
vivek@vivek-Vostro-3560:~/software/local-cluster/node4$
bin/nodetool cfstats twitter_keyspace
Here twitter_keyspace is the keyspace name.
We can also collect statistics for multiple keyspaces:
vivek@vivek-Vostro-3560:~/software/local-cluster/node4$
bin/nodetool cfstats keyspace1 keyspace2
Here keyspace1 and keyspace2 are those keyspaces.
Also, we can capture statistics for a specific table:
vivek@vivek-Vostro-3560:~/software/local-cluster/node4$
bin/nodetool cfstats twitter_keyspace.twiiter
Here, twitter_keyspace is the keyspace and twitter is the table.
The following is the output from running cfstats against the twitter table:
Keyspace: twitter_keyspace
Read Count: 0
Read Latency: NaN ms.
Write Count: 1
Write Latency: 1.314 ms.
Pending Tasks: 0
Table: twitter
SSTable count: 0
Space used (live), bytes: 0
Space used (total), bytes: 0
SSTable Compression Ratio: 0.0
Number of keys (estimate): 0
Memtable cell count: 3
Memtable data size, bytes: 590
Memtable switch count: 0
Local read count: 0
Local read latency: NaN ms
Local write count: 1
Local write latency: 1.314 ms
Search WWH ::




Custom Search