4
我正在閱讀cassandra yml來調整一些參數以優化性能。Cassandra壓實參數配置
# 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 account for all types
# of compaction, including validation compaction.
compaction_throughput_mb_per_sec: 16
這裏卡桑德拉已經建議保持「compaction_throughput_mb_per_sec」數據insert.We的速率的16〜32倍要插入其中以非常高的速率將數據插入與批量載入數據。我應該改變這個設置嗎?或者它應該保持原樣?
除了在配置文件中指定值之外,還可以使用'nodetool'來更改值。 – Raedwald