nodetool tablehistograms — 테이블 히스토그램 출력
nodetool tablehistograms — 테이블 히스토그램 출력
이 명령은 주어진 테이블에 대한 읽기/쓰기 지연, 파티션 크기, 셀 개수 등의 통계 히스토그램을 출력해요. 해당 테이블의 성능 특성을 파악하고 병목을 진단할 때 활용합니다.
본문
실제 사용 구문은 아래와 같아요. 옵션 설명은 명령의 도움말(usage)을 그대로 옮긴 것이니, 실행 환경에 맞춰 필요한 옵션만 골라 사용하면 됩니다.
NAME
nodetool tablehistograms - Print statistic histograms for a given 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>)] tablehistograms [--]
[<keyspace> <table> | <keyspace.table>]
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> <table> | <keyspace.table>]
The keyspace and table name