explain的字段含义

Column 含义
id 查询序号
select_type  查询类型
table 表名
partitions 匹配的分区
type join类型
prossible_keys 可能会选择的索引
key 实际选择的索引
key_len 索引的长度
ref 与索引作比较的列
rows 要检索的行数(估算值)
filtered 查询条件过滤的行数的百分比
Extra 额外信息

参考文献:explain你记得哪些字段,分别有什么含义_explain有哪些字段-CSDN博客

posted @ 2025-08-14 19:20  蒟蒻00  阅读(6)  评论(0)    收藏  举报