You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "T Jake Luciani (JIRA)" <ji...@apache.org> on 2015/05/12 22:33:00 UTC

[jira] [Created] (CASSANDRA-9365) Prioritize compactions based on read activity

T Jake Luciani created CASSANDRA-9365:
-----------------------------------------

             Summary: Prioritize compactions based on read activity
                 Key: CASSANDRA-9365
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9365
             Project: Cassandra
          Issue Type: Improvement
            Reporter: T Jake Luciani
             Fix For: 3.x


The main purpose of compaction is to keep reads fast by consolidating tables together to avoid merging on read.

In a cluster with many tables we currently treat all pending compaction as equal.  When in reality we may only be reading mainly from one of the tables.

Rather than FIFO we should prioritize access to the compactors based on read activity. 

It might also be nice to offer a nodetool command to kill specific compaction jobs in progress that are not important under load.



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