cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russell Bradberry (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-12367) Add an API to request the size of a CQL partition
Date Tue, 13 Sep 2016 13:51:20 GMT


Russell Bradberry commented on CASSANDRA-12367:

I am not sure how it will work like tracing with SIZE ON? When you issue a query after SIZE
ON, will it give the size of the query or CQL partition? 
In this case it would be the size of the query, if you want the size of a given partition
then you would run a query specifying only the partition key.

Also we will need the size before every read or write. This will cause calling SIZE ON and
then OFF after every operation.

Why?  I was suggesting this for the CQL specific representation, the internal representation
could still be a JMX call.  If the client needs it for every read/write then it would just
always be on, just as if you wanted to have the trace information for every read/write.  

> Add an API to request the size of a CQL partition
> -------------------------------------------------
>                 Key: CASSANDRA-12367
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Geoffrey Yu
>            Assignee: Geoffrey Yu
>            Priority: Minor
>             Fix For: 3.x
>         Attachments: 12367-trunk-v2.txt, 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

View raw message