nodetool enableautocompaction
Enables autocompaction for a keyspace and one or more tables.
Synopsis
nodetool <options> enableautocompaction -- <keyspace> ( <table> ... )
Tarball and Installer No-Services path:
<installation_location>/resources/cassandra/bin
Short | Long | Description |
---|---|---|
|
|
Hostname or IP address. |
|
|
Port number. |
|
|
Password file path. |
|
|
Password. |
|
|
Remote JMX agent username. |
keyspace |
Name of keyspace. |
|
table |
One or more table names, separated by a space. |
|
|
Separates an option from an argument that could be mistaken for an option. |
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.