Row count of a column family in Cassandra
Is there a way to get a row count (key count) of a single column family in Cassandra? get_count can only be used to get the column count. For instance, if I have a column family containing users and wanted to get the number of users. How could I do it? Each user is it's own row. If you are working on a large data set and are okay with a pretty good approximation, I highly recommend using the command: nodetool --host <hostname> cfstats This will dump out a list for each column family looking like this: Column Family: widgets SSTable count: 11 Space used (live): 4295810363 Space used (total):