Partition size in Cassandra?

1,112 views
Skip to first unread message

Jony Geek

unread,
Feb 8, 2016, 1:16:12 PM2/8/16
to DataStax Java Driver for Apache Cassandra User Mailing List
Hi,

How can i get partition size in Cassandra?


It would be easy if i get partition size to check my data-model correct or not?

Thanks

Jack Krupansky

unread,
Feb 8, 2016, 6:21:15 PM2/8/16
to java-dri...@lists.datastax.com
The nodetool tablehistograms command will give you a summary of partition sizes:

I am unaware of any API to get the size of a particular partition. Seems like a reasonable thing to ask for, although it might not be a cheap calculation to do in real-time.

-- Jack Krupansky

--
You received this message because you are subscribed to the Google Groups "DataStax Java Driver for Apache Cassandra User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to java-driver-us...@lists.datastax.com.

Reply all
Reply to author
Forward
0 new messages