mirror of https://github.com/apache/cassandra
58 lines
2.3 KiB
Plaintext
58 lines
2.3 KiB
Plaintext
NAME
|
|
nodetool compressiondictionary train - Manually trigger compression
|
|
dictionary training for a table. If no SSTables are available, the
|
|
memtable will be flushed first.
|
|
|
|
SYNOPSIS
|
|
nodetool [(-h <host> | --host <host>)] [(-p <port> | --port <port>)]
|
|
[(-pw <password> | --password <password>)]
|
|
[(-pwf <passwordFilePath> | --password-file <passwordFilePath>)]
|
|
[(-u <username> | --username <username>)] compressiondictionary train
|
|
[(-f | --force)] [--max-dict-size <trainingMaxDictionarySize>]
|
|
[--max-total-sample-size <trainingMaxTotalSampleSize>] [--] <keyspace>
|
|
<table>
|
|
|
|
OPTIONS
|
|
-f, --force
|
|
Force the dictionary training even if there are not enough samples
|
|
|
|
-h <host>, --host <host>
|
|
Node hostname or ip address
|
|
|
|
--max-dict-size <trainingMaxDictionarySize>
|
|
Maximum size of a trained compression dictionary. Larger
|
|
dictionaries may provide better compression but use more memory.
|
|
When not set, the value from compression configuration from CQL for
|
|
a given table is used. The default value is 64KiB.
|
|
|
|
--max-total-sample-size <trainingMaxTotalSampleSize>
|
|
Maximum total size of sample data to collect for dictionary
|
|
training. More sample data generally produces better dictionaries
|
|
but takes longer to train. The recommended sample size is 100x the
|
|
dictionary size. When not set, the value from compression
|
|
configuration from CQL for a give table is used. The default value
|
|
is 10MiB.
|
|
|
|
-p <port>, --port <port>
|
|
Remote jmx agent 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>
|
|
The keyspace name
|
|
|
|
<table>
|
|
The table name
|