Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3B41A10E88 for ; Mon, 12 Aug 2013 20:56:48 +0000 (UTC) Received: (qmail 13356 invoked by uid 500); 12 Aug 2013 20:56:48 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 13332 invoked by uid 500); 12 Aug 2013 20:56:48 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 13323 invoked by uid 99); 12 Aug 2013 20:56:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Aug 2013 20:56:48 +0000 Date: Mon, 12 Aug 2013 20:56:48 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-5078) save compaction merge counts in a system table MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-5078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13737330#comment-13737330 ] Jonathan Ellis commented on CASSANDRA-5078: ------------------------------------------- I think you'd want a new table, something like {code} CREATE TABLE compaction_history ( text keyspace, text columnfamily, compacted_at timestamp, bytes_in long, bytes_out long, rows_merged Map, PRIMARY KEY (keyspace, columnfamily, compacted_at) ); {code} Look at CFMetadata for where the system tables are created, and SystemKeyspace for loading/storing examples. > save compaction merge counts in a system table > ---------------------------------------------- > > Key: CASSANDRA-5078 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5078 > 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: http://www.atlassian.com/software/jira