nodetool setcachecapacity — 키/행/카운터 캐시 용량 설정
nodetool setcachecapacity — 키/행/카운터 캐시 용량 설정
이 명령은 키 캐시(key cache), 행 캐시(row cache), 카운터 캐시(counter cache)의 글로벌 용량을 설정해요. 런타임에 캐시 크기를 조정하고 싶을 때 cassandra.yaml을 다시 로드하지 않고 바로 적용할 수 있답니다.
본문
실제 사용 구문은 아래와 같아요. 옵션 설명은 명령의 도움말(usage)을 그대로 옮긴 것이니, 실행 환경에 맞춰 필요한 옵션만 골라 사용하면 됩니다.
NAME
nodetool setcachecapacity - Set global key, row, and counter cache
capacities (in MB units)
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>)] setcachecapacity [--]
<key-cache-capacity> <row-cache-capacity> <counter-cache-capacity>
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
<key-cache-capacity> <row-cache-capacity> <counter-cache-capacity>
Key cache, row cache, and counter cache (in MB)