using index如果单表查询,则表示使用了索引且索引覆盖;若是多表查询,则表示单纯使用了索引
using index condition索引下推(多用于联合索引),所有where的判断都在索引页完成,无需回表再判断;between and >= <=也是这个情况
using index&using where使用了索引但是需要回表去查且剩下where的判断并没有使用到索引
using where使用了where子句但并没有使用到索引
null情况可能有多样 没有使用where 没有使用到索引 使用到索引都是为null
mysql extra
于 2023-09-04 13:49:17 首次发布