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> ... )
  • Options are:
    • ( -h | --host ) <host name> | <ip address>
    • ( -p | --port ) <port number>
    • ( -pw | --password ) <password >
    • ( -u | --username ) <user name>
    • ( -pwf <passwordFilePath | --password-file <passwordFilePath> )
  • -- separates an option and argument that could be mistaken for a option.
  • 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.