[ https://issues.apache.org/jira/browse/CASSANDRA-11035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15131519#comment-15131519 ]
Jonathan Ellis commented on CASSANDRA-11035: -------------------------------------------- I actually think we may want this disabled for STCS-in-L0, since what you have there is a whole bunch of recently flushed data that probably doesn't overwrite itself much. So the overhead of a quadratic cardinality comparison is not going to pay off much in terms of better compaction. > Use cardinality estimation to pick better compaction candidates for STCS > (SizeTieredCompactionStrategy) > ------------------------------------------------------------------------------------------------------- > > Key: CASSANDRA-11035 > URL: https://issues.apache.org/jira/browse/CASSANDRA-11035 > Project: Cassandra > Issue Type: Improvement > Components: Compaction > Reporter: Wei Deng > > This was initially mentioned in this blog post > http://www.datastax.com/dev/blog/improving-compaction-in-cassandra-with-cardinality-estimation > but I couldn't find any existing JIRA for it. As stated by [~jbellis], > "Potentially even more useful would be using cardinality estimation to pick > better compaction candidates. Instead of blindly merging sstables of a > similar size a la SizeTieredCompactionStrategy." The L0 STCS in LCS should > benefit as well. -- This message was sent by Atlassian JIRA (v6.3.4#6332)