mysql优化

1 /etc/my.cnf文件中添加
max_connections=600或更多
2 show status查看命令

show status like ‘connetions’ 查看已经连接的客户端数量
show status like ‘slow_queries’ 查看慢查询

posted @ 2017-05-07 22:46  陆陆通通  阅读(117)  评论(0编辑  收藏  举报