compactionstats — 컴팩션 통계 출력

compactionstats — 컴팩션 통계 출력

nodetool compactionstats 명령은 진행 중인 컴팩션에 대한 통계를 출력하는 명령이에요. 컴팩션 개수·진행 상황·처리량을 확인할 수 있어요.

출처: nodetool compactionstats

본문

compactionstats는 컴팩션이 제대로 진행되고 있는지, 백로그가 쌓이고 있지는 않은지 확인할 때 써요. -H/--human-readable은 바이트를 KiB, MiB, GiB, TiB 단위로 보기 좋게 출력하고, -V/--vtable은 vtable 출력과 일치하는 필드를 보여줘요. 아래는 완전한 사용법이에요.

NAME
        nodetool compactionstats - Print statistics on compactions

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>)] compactionstats
                [(-H | --human-readable)] [(-V | --vtable)]

OPTIONS
        -h <host>, --host <host>
            Node hostname or ip address

        -H, --human-readable
            Display bytes in human readable form, i.e. KiB, MiB, GiB, TiB

        -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

        -V, --vtable
            Display fields matching vtable output

더 알아보기 (Learn more)