On 2016-09-08 18:53 (-0700), Anshu Vajpayee <anshu.vajpa...@gmail.com> wrote: > Is there any way to get partition size for a partition key ? >
Anshu, The simple answer to your question is that it is not currently possible to get a partition size for an arbitrary key without quite a lot of work (basically you'd have to write a tool that iterated over the data on disk, which is nontrivial). There exists a ticket to expose this: https://issues.apache.org/jira/browse/CASSANDRA-12367 It's not clear when that ticket will land, but I expect you'll see an API for getting the size of a partition key in the near future.