[ https://issues.apache.org/jira/browse/CASSANDRA-11420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15215549#comment-15215549 ]
Dikang Gu commented on CASSANDRA-11420: --------------------------------------- [~krummas] the 0002-expose-the-bytes-written-by-compaction-to-JMX-as-wel.patch is based on 2.1, I can make a patch based on truck shortly. > Add the JMX metrics to track the write amplification of C* > ---------------------------------------------------------- > > 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. > I also expose the number of bytes written by compaction to JMX, so the WA can > be calculated by dividing these two metrics -- This message was sent by Atlassian JIRA (v6.3.4#6332)