我正在阅读cassandra yml来调优一些参数来优化性能。
# 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“16到32倍的数据速率insert.We是以非常高的速率插入数据的批量加载器。我是否应该更改此设置?还是应该保持原样?
发布于 2013-09-05 07:45:14
那么你知道你的批量加载器每秒会推入多少数据吗?这是持续负载还是突发性负载?如果您确实知道这一点,那么基本上只需遵循该参数的配置文件注释中的指导原则即可。
我怀疑您没有这些信息,在这种情况下,问题是您的系统是否运行不正常(您当前是否看到问题?)。对不起,我不知道有什么好的方法来预测这一点,这是一个调优练习。你想找到一个值来保证Cassandra在压缩上不会落后,但同时又不希望压缩杀死你的磁盘i/o,唯一的方法(我知道的)是尝试观察。
https://stackoverflow.com/questions/11013655
复制相似问题