rows列显示MySQL认为它执行查询时必须检查的行数。一般越少越好。
-- rows
#删除person上的索引
drop index idx_pname on person;
alter table person add index idx_pname(PNAME);
explain select person.* from person where pname = "test3263609";
rows列显示MySQL认为它执行查询时必须检查的行数。一般越少越好。
-- rows
#删除person上的索引
drop index idx_pname on person;
alter table person add index idx_pname(PNAME);
explain select person.* from person where pname = "test3263609";