mysql status各个参数意义(主要查询 链接数不要太大)

1/status

在这里插入图片描述

链接数:Threads;
2/show processlist; 可以显示前100条连接信息 show full processlist; 可以显示全部
3/show variables like ‘%timeout%’;查看链接超时时间
4、show variables like ‘%connections%’; 查看最大链接数
5、修改配置
vim /usr/local/mysql/my.cnf
wait_timeout=31104000
interactive_timeout = 31104000

猜你喜欢

转载自blog.csdn.net/weixin_40974880/article/details/86133088