Zabbix - 缓冲池利用率太低

Zabbix - The buffer pool utilization is too low

我正在使用 Zabbix 作为我的 Linux 监控解决方案。
它显示 MySQL - The buffer pool utilization is less than 50% in the last 5 minutes. This means that there is a lot of unused RAM allocated for the buffer pool, which you can easily reallocate at the moment 作为警告。

我应该为此担心吗?
如何克服这个问题?

您为 MySQL 配置了超出需要的 RAM,请检查 innodb_buffer_pool_size 的配置(my.cnfmy.cnf.d 等等)并降低它。

低多少?这取决于有效使用情况,您可以在 Zabbix 图表上看到它。

别忘了重启 mysql 服务!

如果您不交换,并且使用这浪费的 RAM 没有任何其他好处,那么请不要担心。 (古语有云:"If it ain't broke, don't fix it.")