LinkedIn
Copied!

Table of Contents

Getting the count of Cassandra table records

Version:

Only available versions of this content are shown in the dropdown

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.

    Using the select count(*) command often produces a timeout exception when trying to extract a table record count.
    For more information, see the Apache Cassandra documentation.
Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.