enableautocompaction — 자동 컴팩션 활성화
enableautocompaction — 자동 컴팩션 활성화
nodetool enableautocompaction 명령은 주어진 키스페이스와 테이블에 대한 자동 컴팩션(autocompaction)을 다시 활성화하는 명령이에요.
본문
enableautocompaction은 disableautocompaction으로 멈춰 둔 자동 컴팩션을 다시 켜는 명령이에요. 인자를 생략하면 모든 키스페이스를 대상으로 하고, 키스페이스 뒤에 테이블을 지정하면 해당 테이블만 대상으로 해요. 아래는 완전한 사용법이에요.
NAME
nodetool enableautocompaction - Enable autocompaction for the given
keyspace and table
SYNOPSIS
nodetool [(-h <host> | --host <host>)] [(-p <port> | --port <port>)]
[(-pp | --print-port)] [(-pw <password> | --password <password>)]
[(-pwf <passwordFilePath> | --password-file <passwordFilePath>)]
[(-u <username> | --username <username>)] enableautocompaction [--]
[<keyspace> <tables>...]
OPTIONS
-h <host>, --host <host>
Node hostname or ip address
-p <port>, --port <port>
Remote jmx agent port number
-pp, --print-port
Operate in 4.0 mode with hosts disambiguated by port number
-pw <password>, --password <password>
Remote jmx agent password
-pwf <passwordFilePath>, --password-file <passwordFilePath>
Path to the JMX password file
-u <username>, --username <username>
Remote jmx agent username
--
This option can be used to separate command-line options from the
list of argument, (useful when arguments might be mistaken for
command-line options
[<keyspace> <tables>...]
The keyspace followed by one or many tables
더 알아보기 (Learn more)
- nodetool disableautocompaction — 자동 컴팩션 비활성화
- 컴팩션 — 컴팩션 동작 원리