Links may not function; however, this content may be relevant to outdated versions of the product.
Getting the count of Cassandra table records
This content applies only to On-premises and Client-managed cloud environments
Extract the estimated number of records in a Cassandra cluster to verify that the data model is correct, or to troubleshoot slow response times.
- To obtain the estimated number of records, in the nodetool utility, run the
nodetool cfstats
command. For more information, see the Apache Cassandra documentation.Note: Using the select count(*)
command often produces a timeout exception when trying to extract a table record count.
Previous topic Checking the node status Next topic Investigating compaction issues