Understanding Key Count in nodetool cfstats

I am new to Cassandra, in this example I am using a cluster with 1 DC and 5 nodes and NetworkTopologyStrategy with a replication ratio of 3.

   Keyspace: activityfeed
            Read Count: 0
            Read Latency: NaN ms.
            Write Count: 0
            Write Latency: NaN ms.
            Pending Tasks: 0
                    Table: feed_shubham
                    SSTable count: 1
                    Space used (live), bytes: 52620684
                    Space used (total), bytes: 52620684
                    SSTable Compression Ratio: 0.3727660543119897
                    Number of keys (estimate): 137984
                    Memtable cell count: 0
                    Memtable data size, bytes: 0
                    Memtable switch count: 0
                    Local read count: 0
                    Local read latency: 0.000 ms
                    Local write count: 0
                    Local write latency: 0.000 ms
                    Pending tasks: 0
                    Bloom filter false positives: 0
                    Bloom filter false ratio: 0.00000
                    Bloom filter space used, bytes: 174416
                    Compacted partition minimum bytes: 771
                    Compacted partition maximum bytes: 924
                    Compacted partition mean bytes: 924
                    Average live cells per slice (last five minutes): 0.0
                    Average tombstones per slice (last five minutes): 0.0

What does the number of keys mean? I have 5 different nodes in my cluster, and after running the command below on each node separately, I get different statistics for the same table.

nodetool cfstats -h 192.168.1.12 activityfeed.feed_shubham

According to the above result, I can interpret that cfstats gives me statistics regarding the physical storage of data on each node.

And I went through the following document http://www.datastax.com/documentation/cassandra/2.0/cassandra/tools/toolsCFstats.html But I did not find an explanation of the number of keys there.

I am using RandomPartitioner.

Is this key something related to the partition key?

200000 .

+4
2

/ sstables. , "SSTable cell count" , memtable. , sstables , , .

+3

All Articles