How to know the size of a keyspace and column family in Cassandra?

前端 未结 4 1336
情话喂你
情话喂你 2021-02-05 10:21

Recently I\'ve started working on Grails integration with Cassandra using the Java driver for cassandra(cassandra-driver-core-2.0.2). So I was curious to know how we can find ou

4条回答
  •  囚心锁ツ
    2021-02-05 10:56

    You can use both the command below based on old and new version of Cassandra.

    nodetool cfstats or nodetool tablestats

    Above command will give you size details about keyspace and table. Also you can refer below link to get more ddetails about how to use with different options https://docs.datastax.com/en/dse/6.7/dse-dev/datastax_enterprise/tools/nodetool/toolsTablestats.html

提交回复
热议问题