[ 
https://issues.apache.org/jira/browse/CASSANDRA-12367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Geoffrey Yu updated CASSANDRA-12367:
------------------------------------
    Attachment: 12367-trunk.txt

I've attached a patch that exposes a new method through JMX that will allow an 
operator to get the size of a partition on disk, scoped by a keyspace and 
table. I implemented it by iterating through the sstables (leveraging the bloom 
filter) and adding up the sizes of the CQL rows that fall within the partition. 
This also adds a nodetool command that can be used to invoke the API.

> Add an API to request the size of a CQL partition
> -------------------------------------------------
>
>                 Key: CASSANDRA-12367
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12367
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Geoffrey Yu
>            Assignee: Geoffrey Yu
>            Priority: Minor
>         Attachments: 12367-trunk.txt
>
>
> It would be useful to have an API that we could use to get the total 
> serialized size of a CQL partition, scoped by keyspace and table, on disk.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to