[ 
https://issues.apache.org/jira/browse/CASSANDRA-6538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13861305#comment-13861305
 ] 

Sylvain Lebresne commented on CASSANDRA-6538:
---------------------------------------------

Whenever we have CASSANDRA-4914, it should be relatively simple to write an 
aggregation function that sum the data size of queried columns, but in the 
meantime, I'm highly skeptical that it's worth adding special casing for it (in 
CQL at least).

If it's only to check that a given partition isn't a lot bigger than one 
though, maybe a simpler option could be a JMX call that given a partition key, 
returns the total size it occupies on disk (which as a bonus we can do without 
actually reading the data, just the index).

> Provide a read-time CQL function to display the data size of columns and rows
> -----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-6538
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6538
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Johnny Miller
>
> It would be extremely useful to be able to work out the size of rows and 
> columns via CQL. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to