nodetool setbatchlogreplaythrottle — 일괄 로그 재생 스로틀 설정
nodetool setbatchlogreplaythrottle — 일괄 로그 재생 스로틀 설정
이 명령은 배치 로그(batchlog) 재생 시 초당 재생할 수 있는 바이트 수를 제한하는 스로틀을 킬로바이트(KB) 단위로 설정해요. 배치 처리가 활성화된 클러스터에서 재생 속도를 조절해 노드 부하를 관리할 때 유용하답니다.
본문
실제 사용 구문은 아래와 같아요. 옵션 설명은 명령의 도움말(usage)을 그대로 옮긴 것이니, 실행 환경에 맞춰 필요한 옵션만 골라 사용하면 됩니다.
NAME
nodetool setbatchlogreplaythrottle - Set batchlog replay throttle in KB
per second, or 0 to disable throttling. This will be reduced
proportionally to the number of nodes in the cluster.
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>)] setbatchlogreplaythrottle [--]
<value_in_kb_per_sec>
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
<value_in_kb_per_sec>
Value in KiB per second, 0 to disable throttling