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;

 

posted on 2020-07-06 16:58  知否知否,  阅读(179)  评论(0)    收藏  举报