Was this page helpful?
Caution
You're viewing documentation for a previous version. Switch to the latest stable version.
Nodetool compactionstats¶
compactionstats - Displays statistics for compactions. Each row represents a running compaction.
For example:
nodetool compactionstats
Example output:
pending tasks: 2
compaction type  keyspace   column family   completed      total         unit   progress
major            nba        player_name     5770708712     55239418023   bytes  10.11%
minor            nba        player_stats    18569428       3610548974    bytes  51.43%
| Parameter | Description | 
|---|---|
| pending tasks | Number of pending compactions | 
| compaction type | Type of compaction | 
| keyspace | The keyspace name | 
| column family (table) | The column family (table) name | 
| completed | Completed bytes out of the total | 
| total | Total size of the compaction | 
| unit | Compaction unit type | 
| progress | Compaction progress % |