我非常需要知道一个ColumnFamily中的行数,但是在cassandra 2.1.2版本中,“nodetool cfstats”输出中缺少“Number of Keys”。现在如何获取行数?
以下是cfstats的输出:
Keyspace: liftrmt
Read Count: 0
Read Latency: NaN ms.
Write Count: 0
Write Latency: NaN ms.
Pending Flushes: 0
Table: reportcodedaycount
SSTable count: 4
Space used (live): 11.49 MB
Space used (total): 11.49 MB
Space used by snapshots (total): 0 bytes
SSTable Compression Ratio: 0.38099920748493266
Memtable cell count: 0
Memtable data size: 0 bytes
Memtable switch count: 0
Local read count: 0
Local read latency: NaN ms
Local write count: 0
Local write latency: NaN ms
Pending flushes: 0
Bloom filter false positives: 0
Bloom filter false ratio: 0.00000
Bloom filter space used: 64 bytes
Compacted partition minimum bytes: 444.17 KB
Compacted partition maximum bytes: 6.68 MB
Compacted partition mean bytes: 4.17 MB
Average live cells per slice (last five minutes): 0.0
Maximum live cells per slice (last five minutes): 0.0
Average tombstones per slice (last five minutes): 0.0
Maximum tombstones per slice (last five minutes): 0.0