getcompactionthreshold — 컴팩션 임계값 출력

getcompactionthreshold — 컴팩션 임계값 출력

nodetool getcompactionthreshold 명령은 주어진 테이블의 최소·최대 컴팩션 임계값(min/max compaction thresholds)을 출력하는 명령이에요.

출처: nodetool getcompactionthreshold

본문

getcompactionthreshold은 특정 테이블에 설정된 컴팩션 임계값을 확인할 때 써요. 최소 임계값(min_threshold)은 컴팩션을 시작할 SSTable 수, 최대 임계값(max_threshold)은 컴팩션을 중단할 SSTable 수를 의미해요. 인자로 키스페이스와 테이블을 지정해요. 아래는 완전한 사용법이에요.

NAME
        nodetool getcompactionthreshold - Print min and max compaction
        thresholds 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>)] getcompactionthreshold [--]
                <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>
            The keyspace with a table

더 알아보기 (Learn more)