nodetool setcompactionthroughput
Sets the throughput capacity for compaction in the system, or disables throttling.
cassandra.yaml
The location of the cassandra.yaml file depends on the type of installation:Package installations | /etc/dse/cassandra/cassandra.yaml |
Tarball installations | installation_location/resources/cassandra/conf/cassandra.yaml |
Sets the throughput capacity for compaction in the system, or disables throttling.
Overwrites the compaction_throughput_mb_per_sec
setting in cassandra.yaml.
Tip: To view the
current setting, use nodetool getcompactionthroughput.
Synopsis
nodetool <options> setcompactionthroughput -- <value_in_mb>
Tarball path:
installation_location/resources/cassandra/bin
Short | Long | Description |
---|---|---|
-h |
--host |
Hostname or IP address. |
-p |
--port |
Port number. |
-pwf |
--password-file |
Password file path. |
-pw |
--password |
Password. |
-u |
--username |
Remote JMX agent username. |
value_in_mb | The throughput capacity in megabytes (MB) per second for compaction. To disable throttling, set to 0. | |
-- |
Separates an option from an argument that could be mistaken for a option. |
Description
Set value_in_mb to 0 to disable throttling.