Re: estimated row count for a pk range

2014-07-21 Thread tommaso barbugli
thank you for the reply; I was hoping for something with a bit less overhead than the first solution; the second is not really an option for me. On Monday, 21 July 2014, DuyHai Doan doanduy...@gmail.com wrote: 1) Use separate counter to count number of entries in each column family but it will

Re: estimated row count for a pk range

2014-07-20 Thread DuyHai Doan
1) Use separate counter to count number of entries in each column family but it will require you to manage the counting manually 2) SELECT DISTINCT partitionKey FROM Normally this query is optimized and is much faster than a SELECT *. However if you have a very big number of distinct