About this task
Run compaction on keyspaces and tables from node operations in OpsCenter. Compaction frees up disk space occupied by old SSTables and improves read performance by incrementally replacing old SSTables with compacted SSTables.
For information about manually running a compaction, see the corresponding nodetool compact command. For conceptual information, see Compaction strategies.
If OpsCenter role-based security is enabled, be sure that the permission for the Compact option in Node Operations is enabled for the appropriate user roles.
Click cluster name > Nodes.
In the List view, select one or more nodes.
From the Other Actions menu, click Compact.
The Compact option is also available from the Actions menu in the Node Details dialog.
The Choose a Keyspace dialog appears.
Select one or more or all keyspaces to compact and click Choose.
Select one or more or all tables to compact and click Choose. If you selected all keyspaces, all tables are also selected for compaction.
The Run Compaction dialog appears and warns of a temporary decrease in performance.
Click Run Compaction.
A message in the top banner indicates the operation is in progress. Click the Show Details link to view the progress in the Activities page General tab. The banner message indicates when the operation is complete.