cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liangfeng <>
Subject Re: Leveled Compaction in cassandra1.0 may not be perfect
Date Sat, 03 Dec 2011 02:13:30 GMT

Jonathan Ellis <jbellis <at>> writes:

> I think you're confusing "temporary space used during a compaction
> operation" with "total i/o done by compaction."
> Leveled compaction *will* do more i/o than size-tiered, because it's
> enforcing tighter guarantees on how compacted the data is.

Yes.In fact ,I want to put two points in this topic.
1.There is no implementation in cassandra1.0 to ensure the conclusion "Only
enough space for 10x the sstable size needs to be reserved for temporary use by
compaction",so one special compaction may need big free disk space all the same.
2.Leveled compaction *will* do too much i/o,especially when we use
RandomPartitioner(because md5 token will cause overlap of many sstables all the
These two points may cause uncontrollablity when compaction occurs.

View raw message