Getting the count of Cassandra table records
Extract the estimated number of records in a Cassandra cluster to verify that the data model is correct, or to troubleshoot slow response times.
Procedure
To obtain the estimated number of records, in the nodetool utility, run the
nodetool cfstats
command.
Note: Using the
For
more information, see the Apache Cassandra documentation.select count(*)
command often produces a
timeout exception when trying to extract a table record count.