nodetool getbatchlogreplaythrottle¶
Displays the batchlog replay throttle in KB/s.
Synopsis¶
nodetool [connection_options] getbatchlogreplaythrottle
Description¶
nodetool getbatchlogreplaythrottle shows the current throttle rate for batchlog replay operations. This controls how fast pending batches are replayed.
Per-Node Throttle
The displayed throttle is the per-node rate. The actual throttle per endpoint is calculated as the total throttle divided by the number of nodes in the cluster.
Examples¶
Basic Usage¶
nodetool getbatchlogreplaythrottle
Sample Output¶
Batchlog replay throttle: 1024 KB/s
Configuration¶
The cassandra.yaml parameter name varies by version:
| Cassandra Version | Parameter Name | Example |
|---|---|---|
| Pre-4.1 | batchlog_replay_throttle_in_kb |
1024 |
| 4.1+ | batchlog_replay_throttle |
1024KiB |
# cassandra.yaml (4.1+)
batchlog_replay_throttle: 1024KiB
# cassandra.yaml (Pre-4.1)
# batchlog_replay_throttle_in_kb: 1024
Related Commands¶
| Command | Relationship |
|---|---|
| setbatchlogreplaythrottle | Modify throttle |
| replaybatchlog | Force replay |