[ https://issues.apache.org/jira/browse/CASSANDRA-12367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15432280#comment-15432280 ]
Marcus Eriksson edited comment on CASSANDRA-12367 at 8/23/16 7:31 AM: ---------------------------------------------------------------------- Could we use {{SSTableReader.getScanner(Range<Token> range, ...)}} instead of scanning all the partitions in the sstable? We would need to create the range so that it includes the token requested but I think it should save us some time by seeking to the correct position directly. edit: And maybe we should output more information about the partition? Like average row size, number of rows, tombstones, etc? was (Author: krummas): Could we use {{SSTableReader.getScanner(Range<Token> range, ...)}} instead of scanning all the partitions in the sstable? We would need to create the range so that it includes the token requested but I think it should save us some time by seeking to the correct position directly. > 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 > Fix For: 3.x > > 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)