cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-5078) save compaction merge counts in a system table
Date Mon, 12 Aug 2013 20:56:48 GMT


Jonathan Ellis commented on CASSANDRA-5078:

I think you'd want a new table, something like

CREATE TABLE compaction_history (
    text keyspace,
    text columnfamily,
    compacted_at timestamp,
    bytes_in long,
    bytes_out long,
    rows_merged Map<int, long>,
    PRIMARY KEY (keyspace, columnfamily, compacted_at)

Look at CFMetadata for where the system tables are created, and SystemKeyspace for loading/storing
> save compaction merge counts in a system table
> ----------------------------------------------
>                 Key: CASSANDRA-5078
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Matthew F. Dennis
>            Priority: Minor
>              Labels: lhf
> we should save the compaction merge stats from CASSANDRA-4894 in the system table and
probably expose them via JMX (and nodetool)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message