cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Hobbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-12367) Add an API to request the size of a CQL partition
Date Thu, 25 Aug 2016 19:29:21 GMT

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

Tyler Hobbs commented on CASSANDRA-12367:
-----------------------------------------

bq. As per NGCC talk of Patrick..we are opening up CQL to query C* metrics. 

The discussion at NGCC was about exposing virtual tables that contain metrics, not necessarily
modifying the query language to support metrics directly.

bq. Also if we expose it with JMX...how will apps make the call for which this is useful.
They need to know which replica the key maps to and then call the JMX. Also we dont want to
expose JMX auth to clients to call at will. So I dont see any other way besides CQL to expose
this to clients.

The drivers have tools for determining the replicas for a partition key.  As for exposing
JMX to clients, you could use something like mx4j or jolokia in front of Cassandra instead
to present a limited interface.

> 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)

Mime
View raw message