10. 2、分析问题:奥贬贰搁贰 – MySQL
mysql slow query
show [global status]、show
processlist、show engine innodb
status
profiling(mysql 5.0+)
mysql explain
其他,如 mysqlreport
16. 2、分析问题:奥贬贰搁贰 – show
status/processlist
show [global] status
重点关注key hit ratio, qcache hit ratio, lock, slow
query, innodb buffer hit ratio, innodb data/log
write/read
show processlist
重点关注一些异常状态的查询,或者耗时很长的查询
show engine innodb status
重点关注log flush状态,锁状态,事务状态,内存分配消耗