Running cleanup

Clean up keyspaces and partition keys that no longer belong to a node. Use the Cleanup option in OpsCenter monitoring.

Run the Cleanup option to remove unwanted data after adding a new node to the cluster.

For more information about manually running a cleanup, see the corresponding nodetool cleanup command.

Prerequisites

If OpsCenter role-based security is enabled, be sure that the permission for the Cleanup option in Node Operations is enabled for the appropriate user roles.

Procedure

  1. Click cluster name > Nodes.
  2. In the List view, select one or more nodes.
  3. Click Cleanup from the main actions bar.

    Nodes Cleanup option

    Tip: The Cleanup option is also available from the Actions menu in the Node Details dialog.
    The Choose a Keyspace dialog appears.

    Choose keyspace to cleanup dialog

  4. Choose a keyspace and click Choose.
    The Choose a Table dialog appears if not cleaning up all keyspaces.
  5. If applicable, select one or more tables and click Choose.
    The Run Cleanup dialog prompts you to confirm the operation.

    Run Cleanup on nodes confirmation dialog

  6. Click Cleanup.
    A message in the top banner indicates the cleanup is in progress. Click the Show Details link to view the progress in the Activities page General tab. The banner message indicates when the cleanup is done.

    Banner message that cleanup is complete