如何在安装 Redis Enterprise 时执行自动系统调优?
最后更新于 2024 年 4 月 18 日
问题
如何在安装 Redis Enterprise 时执行自动系统调优?
答案
用于重新配置所有属性的脚本是
/opt/redislabs/sbin/systune.sh
该脚本可能会中断连接,因此建议在低活动时段执行。它会自动调优系统以获得最佳性能。在此阅读更多。如果安装过程无人值守,该脚本通常会在安装期间执行
./install.sh -y
或者在有人值守的安装过程中,对问题回答“是”
Do you want to automatically tune the system for best performance [Y/N]?