Close popover

Table of Contents

Getting the count of Cassandra table records

Version:

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.

Have a question? Get answers now.

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