[ 
https://issues.apache.org/jira/browse/CASSANDRA-11420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dikang Gu updated CASSANDRA-11420:
----------------------------------
    Attachment: 0002-expose-the-bytes-written-by-compaction-to-JMX-as-wel.patch

realize the BytesCompacted is the input size, not output size, add another 
metrics to measure the compaction write size as well.

> Add the JMX metrics to track number of data flushed from memtable to disk
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-11420
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11420
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Dikang Gu
>            Assignee: Dikang Gu
>            Priority: Minor
>             Fix For: 3.x
>
>         Attachments: 
> 0001-Add-the-metrics-of-how-many-bytes-we-flushed-from-me.patch, 
> 0002-expose-the-bytes-written-by-compaction-to-JMX-as-wel.patch
>
>
> 2016-03-24_02:30:38.39936 INFO  02:30:38 Completed flushing 
> /data/cassandra/data/keyspace/column-family/column-family-tmp-ka-295782-Data.db
>  (73.266MiB) for commitlog position ReplayPosition(segmentId=1458717183630, 
> position=3690)
> It would be useful to expose the number of flushed bytes to JMX, so that we 
> can monitor how many bytes are written by application and flushed to disk.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to