Skip to content
Maintained by AxonOps — production-grade documentation from engineers who operate distributed databases at scale

nodetool setbatchlogreplaythrottle

Sets the batchlog replay throttle in KB/s.


Synopsis

nodetool [connection_options] setbatchlogreplaythrottle <throttle_in_kb>

Description

nodetool setbatchlogreplaythrottle modifies the throttle rate for batchlog replay operations at runtime.


Arguments

Argument Description
throttle_in_kb Replay throttle in KB/s

cassandra.yaml Parameter

The corresponding cassandra.yaml parameter changed in 4.1:

  • 4.1+: batchlog_replay_throttle: 1024KiB (data size format)
  • Pre-4.1: batchlog_replay_throttle_in_kb: 1024

Examples

Set Throttle

nodetool setbatchlogreplaythrottle 2048

Increase for Faster Replay

nodetool setbatchlogreplaythrottle 4096

When to Use

Speed Up Batch Replay

# Increase for faster catchup
nodetool setbatchlogreplaythrottle 4096
nodetool replaybatchlog

Reduce Impact

# During high load
nodetool setbatchlogreplaythrottle 512

Command Relationship
getbatchlogreplaythrottle View current throttle
replaybatchlog Force replay