nodetool enableautocompaction

Enables autocompaction for a keyspace and one or more tables.

Enables autocompaction for a keyspace and one or more tables.

Synopsis

nodetool <options> enableautocompaction -- <keyspace>  <table> ... 
Table 1. Options
Short Long Description
-h --host Hostname or IP address
-p --port Port number
-pwf --password-file Password file path
-pw --password Password
-u --username User name
-- Separates an option from an argument that could be mistaken for a option.
Other options are:
  • keyspace is the name of a keyspace.
  • table is the name of one or more keyspaces, separated by a space.

Description

The keyspace can be followed by one or more tables. Enables compaction for the named keyspace or the current keyspace, and one or more named tables, or all tables.