explain分析SQL查询
摘要:以一个简单的explain语句为例: 它的结果是这样的 这里依次分析这些项: id:没什么好说的,查询的id select_type:查询类型,因为没有子查询所以是simple table:表名,若有别名则使用别名,不经过表则为null partitions:分区表命中的分区,若未分区则为null
阅读全文
posted @ 2019-06-14 12:11
posted @ 2019-06-14 12:11
posted @ 2019-05-28 19:59
posted @ 2019-05-22 21:20