I would like to define throttling for compaction in ScyllaDB, but I did not see this setting in scylla.yaml
file. I only saw this option for Apache Cassandra in cassandra.yaml
file, see the setting:
# Throttles compaction to the given total throughput across the entire
# system. The faster you insert data, the faster you need to compact in
# order to keep the sstable count down, but in general, setting this to
# 16 to 32 times the rate you are inserting data is more than sufficient.
# Setting this to 0 disables throttling. Note that this accounts for all types
# of compaction, including validation compaction (building Merkle trees
# for repairs).
compaction_throughput: 64MiB/s
How do you define throttling for compaction in ScyllaDB (free edition)?
You can set compaction_static_shares
or compaction_throughput_mb_per_sec
, both can be updated without restarting the server (just send SIGHUP)