9索引与查看运行时间

1创建索引

#create index 索引名 on 表名(列名)
create index name_index on index_test(name); 

2删除索引

#drop index 索引名 on 表名
drop index name_index on index_test;

3查看语句执行时间

set profiling=1;
你要查看的语句
show profiles;
原文地址:https://www.cnblogs.com/gao-chao/p/13255664.html