我最近从vbulletin转到了IPB,我目前的MySQL设置配置似乎有问题,因为网站的速度很慢。我不确定需要更改哪些MySQL设置来帮助提高负载/速度。
服务器是2 x 2.4 GB八核E5-2630 v3 Haswell Xeon,内存: 96 GB这是mysqltuner的结果。谢谢
https://docs.google.com/document/d/1WMo6SmHQ36QRnXGqwAPQSPGTpVbLwJDIqTe16U65LbA/edit?usp=sharing
发布于 2020-12-19 19:26:52
每秒速率= RPS
根据MySQLTuner报告中的数据和您的问题内容为您的my.cnf mysqld部分考虑的建议。
connect_timeout=20 # from 10 to avoid aborted connections
thread_cache_size=100 # from ? to reduce threads_created of 143 in 20h
innodb_buffer_pool_size=36G # from 10G to support all INNODB data and indexes
innodb_change_buffer_max_size=50 # from 25 percent to support ETL activity
innodb_lru_scan_depth=100 # from 1024 to conserve 90% of CPU cycles used for function这5条建议仅仅是配置管理机会的开始。查看配置文件、网络配置文件以获取可免费下载的实用程序脚本,以帮助进行性能调整。
发布于 2020-12-21 10:00:08
哇,非常感谢你。我认为上面的建议对性能有很大帮助。太感谢你了,威尔逊。
我知道硬盘是固态硬盘,我不认为我有任何NVME设备。
这是你要的资料。非常提前感谢您。
SHOW GLOBAL STATUS: https://pastebin.com/qsxL4TKV
SHOW GLOBAL VARIABLES: https://pastebin.com/y4iGazLZ
SHOW FULL PROCESSLIST: https://pastebin.com/kJ2pcNQ2
STATUS: https://pastebin.com/7DTq76hV
SHOW ENGINE INNODB STATUS: https://pastebin.com/dNWZ9EaV
ulimit: https://pastebin.com/9B93EXS7
iostat: https://pastebin.com/hs7WDgq9
top: https://pastebin.com/nXshBwR0
mysqltuner: https://pastebin.com/9Ff4kKKhhttps://stackoverflow.com/questions/65323041
复制相似问题