disableautocompaction — 자동 컴팩션 비활성화
disableautocompaction — 자동 컴팩션 비활성화
nodetool disableautocompaction 명령은 주어진 키스페이스와 테이블에 대한 자동 컴팩션(autocompaction)을 비활성화하는 명령이에요.
본문
disableautocompaction은 부하가 심한 시기에 자동 컴팩션이 돌지 않도록 잠시 멈추고 싶을 때 써요. 인자를 생략하면 모든 키스페이스를 대상으로 하고, 키스페이스 뒤에 하나 이상의 테이블을 지정하면 해당 테이블만 대상으로 해요. 아래는 완전한 사용법이에요.
NAME
nodetool disableautocompaction - Disable 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>)] disableautocompaction [--]
[<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 enableautocompaction — 자동 컴팩션 활성화
- 컴팩션 — 컴팩션 동작 원리