我想在 ScyllaDB 中定义压缩的限制,但我在scylla.yaml
文件中没有看到这个设置。我只在文件中看到了 Apache Cassandra 的这个选项cassandra.yaml
,请参阅设置:
# 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
如何定义 ScyllaDB(免费版)中的压缩限制?
可以设置
compaction_static_shares
或compaction_throughput_mb_per_sec
,两者都可以更新,无需重启服务器(只需发送SIGHUP)