On Sun, Jul 18, 2010 at 2:45 AM, Schubert Zhang <zson...@gmail.com> wrote: > In a heavy inserting (many client threads), the memtable flush (generate new > sstable) is frequent (e.g. one in 30s).
This is a sign you should increase your memtable thresholds, btw. If you wrote out larger sstables, there would be less duplicate i/o reading them back in to compact them back out. > Question: > (1) Can we modify the compaction policy, to compact the smaller sstables > with high priority? even when there is/are larger-compaction runing. > (2) Can we implement multi-thread compaction? Isn't (1) a subset of (2)? There is a ticket open for (2) at http://issues.apache.org/jira/browse/CASSANDRA-1187 -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com