Mysql管理必备工具Maatkit详解之八(mk-visual-explain)
Leave a Comment2009年05月26日 作者: 大头刚
mk-visual-explain - 格式化mysql执行计划输出。安装方法可以参考这里。
Mysql默认的执行计划输出类似如下:
mysql> explain select count(*) from test a,test2 b where a.id<100 and b.id>160 and a.id=b.id;
+—-+————-+——-+——–+—————+———+———+—————-+——+————-+
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra [...]
No Comments so far | 阅读全文 »



