5.3 查询
开启运行时间检测:set profiling=1;
查找第1万条数据ha-99999:select * from test_index where title=‘ha-99999‘;
查看执行的时间:show profiles;
为表title_index的title列创建索引:create index title_index on test_index(title(10));
执行查询语句:select * from test_index where title=‘ha-99999‘;
再次查看执行的时间:show profiles;

二十二、mysql 索引
标签:对象 inno rom 选择 删除索引 localhost exec mit mamicode