Re: Cassandra occupy over 80% CPU when take a compaction

2012-07-16 Thread aaron morton
Are you able to put together a test case, maybe using the stress testing tool, that models your data layout? If so can you add it to https://issues.apache.org/jira/browse/CASSANDRA-3592 Thanks - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 16/07

Cassandra occupy over 80% CPU when take a compaction

2012-07-16 Thread 黄荣桢
Hello, I find the compaction of my secondary index takes a long time and occupy a lot of CPU. INFO [CompactionExecutor:8] 2012-07-16 12:03:16,408 CompactionTask.java (line 213) Compacted to [XXX]. 71,018,346 to 9,020 (~0% of original) bytes for 3 keys at 0.22MB/s. Time: 397,602ms. The sta