Re: Leveled Compaction in cassandra1.0 may not be perfect

2011-12-04 Thread liangfeng
Jonathan Ellis gmail.com> writes: > You should look at the org.apache.cassandra.db.compaction package and > read the original leveldb implementation notes at > http://leveldb.googlecode.com/svn/trunk/doc/impl.html for more > details. > There is an important rule in http://leveldb.googlecode.co

Re: Leveled Compaction in cassandra1.0 may not be perfect

2011-12-04 Thread Jonathan Ellis
On Fri, Dec 2, 2011 at 8:13 PM, liangfeng wrote: > 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.

Re: Leveled Compaction in cassandra1.0 may not be perfect

2011-12-02 Thread liangfeng
Jonathan Ellis gmail.com> 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. >

Re: Leveled Compaction in cassandra1.0 may not be perfect

2011-12-02 Thread Jonathan Ellis
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. On Fri, Dec 2, 2011 at 1:01 AM, liangfeng wrote: > He

Leveled Compaction in cassandra1.0 may not be perfect

2011-12-01 Thread liangfeng
Hello,everyone! In this doc(http://www.datastax.com/dev/blog/leveled-compaction-in-apache-cassandra),I found a conclusion "Only enough space for 10x the sstable size needs to be reserved for temporary use by compaction".I don't know how can we got this conclusion,but I guess the author of this d