cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chamila Wijayarathna <cdwijayarat...@gmail.com>
Subject Get column family size
Date Thu, 11 Dec 2014 18:52:21 GMT
Hello all,

I am trying to get the number of key value pairs.

I used following query for this.

select count(*) from corpus.word_usage ;

This returns number of key value pairs when CF is relatively small. But
when I insert more key-velue pairs, I am getting error saying, "errors={},
last_host=127.0.0.1".

What is the reason for this? Is there any better way to get the size
(number of key value pairs) of a CF in CQL?

Thank You!

-- 
*Chamila Dilshan Wijayarathna,*
SMIEEE, SMIESL,
Undergraduate,
Department of Computer Science and Engineering,
University of Moratuwa.

Mime
View raw message