摘要:
目录一、优化概述二、查询与索引优化分析1性能瓶颈定位Show命令慢查询日志explain分析查询profiling分析查询2索引及查询优化三、配置优化1) max_connections2) back_log3) interactive_timeout4) key_buffer_si... 阅读全文
posted @ 2014-08-26 16:50
Martin2
阅读(88)
评论(0)
推荐(0)
摘要:
原因1. MySQL 服务宕了判断是否属于这个原因的方法很简单,执行以下命令,查看mysql的运行时长$ mysql -uroot -p -e "show global status like 'uptime';"+---------------+-------+| Variable_name | ... 阅读全文
posted @ 2014-08-26 12:58
Martin2
阅读(113)
评论(0)
推荐(0)