On 4/30/10 5:21 AM, Bingbing Liu wrote: > hi, > thanks for your help. > i run the nodetool -h **** compact > but the load keep the same , is there anyone can tell me why?
"compact" and "cleanup" are two different operations. "compact" does a major compaction. "cleanup" is a superset of "compact" which does a major compaction and also checks whether the node is responsible for this data and does not write it to the new sstable if it isn't. If you resize your cluster but never run a "cleanup", you will not reclaim space used by keys on the node(s) being split. ./src/java/org/apache/cassandra/tools/NodeCmd.java " else if (cmdName.equals("cleanup")) { probe.forceTableCleanup(); } else if (cmdName.equals("compact")) { probe.forceTableCompaction(); } " =Rob