compactionhistory — 컴팩션 이력 출력

compactionhistory — 컴팩션 이력 출력

nodetool compactionhistory 명령은 지금까지 수행된 컴팩션의 이력을 출력하는 명령이에요.

출처: nodetool compactionhistory

본문

compactionhistory는 언제 어떤 테이블에서 컴팩션이 일어났는지 과거 이력을 확인하고 싶을 때 써요. 보통 컴팩션 문제를 진단할 때 유용하며, -F/--format 옵션으로 출력 형식을 json이나 yaml로 지정할 수 있어요. 아래는 완전한 사용법이에요.

NAME
        nodetool compactionhistory - Print history of compaction

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>)] compactionhistory
                [(-F <format> | --format <format>)]

OPTIONS
        -F <format>, --format <format>
            Output format (json, yaml)

        -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

더 알아보기 (Learn more)