http://blog.sina.com.cn/s/blog_6128a8f00100wsdd.html數據庫出現大量的freeing items狀態 表更新慢 而且大量鎖表
查看mysql官方freeing items狀態說明
The thread has executed a command. This state is usually followed by cleaning up.
說明命令已經在執行正在進行清理 更新日志索引等
由此看出是io的問題
iostat -x 1
查看io等待情況發現io等待很高
調整磁盤 問題解決
查看mysql官方freeing items狀態說明
The thread has executed a command. This state is usually followed by cleaning up.
說明命令已經在執行正在進行清理 更新日志索引等
由此看出是io的問題
iostat -x 1
查看io等待情況發現io等待很高
調整磁盤 問題解決