2018年12月20日

mysql:explain分析sql

摘要: 对于执行较慢的sql,可以使用explain命令查看这些sql的执行计划。查看该SQL语句有没有使用上了索引,有没有做全表扫描,这都可以通过explain命令来查看 expain出来的信息有11列,分别是id、select_type、table、partitions、type、possible_ke 阅读全文

posted @ 2018-12-20 23:53 xiaobai小白 阅读(201) 评论(0) 推荐(0) 编辑

导航