I just found an estmateKeys() method of the ColumnFamilyStoreMBean.
Is there any indication about how it works?
Sheng
2011/3/28 Sheng Chen chensheng2...@gmail.com
Hi all,
I want to know how many records I am holding in Cassandra, just like
count(*) in sql.
What can I do ? Thank you.
Sheng
It iterates over all the SSTables and disk and estimates the number of keys by
looking at how big the index is. It does not count the actual keys.
aaron
On 31 Mar 2011, at 17:46, Sheng Chen wrote:
I just found an estmateKeys() method of the ColumnFamilyStoreMBean.
Is there any indication