Does nodetool compact run only Size-Tiered Compaction? Is there any way to run Leveled Compaction manually?
In an effort to consolidate free help offered for our products we have decided to move these forums to a more widely used forum. Please use one of the following queries (or any combination):
- Cassandra: tag search or plain text search
- DataStax Enterprise: tag search or plain text search
- DataStax OpsCenter: tag search or plain text search
nodetool compact(2 posts) (2 voices)
Nodetool compact will run a major compaction if Size Tiered Compaction is configured.
If leveled compaction is configured then Cassandra will act as if an SSTable was flushed and check to see if any compaction needs to be done.
If you are running leveled compaction major compactions (in the way we think about Size Tiered Compactions) do not make any sense, and would be even more counterproductive than they are with Size Tiered Compaction.