检测mysql中建立的索引是否生效

时间:2020-05-09 01:16:45   收藏:0   阅读:79

使用方法,在select语句前加上explain就可以了:

EXPLAIN SELECT surname,first_name form a,b WHERE a.id=b.id

原文地址:https://www.cnblogs.com/pengyunjing/p/9197430.html
评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!