![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库
文章平均质量分 89
数据库相关的文章
Kant101
这个作者很懒,什么都没留下…
展开
-
MySQL如何查看SQL查询是否用到了索引?
索引 是提高MySQL查询性能的非常有用的一个工具,当我们对数据库中的某些字段建立了索引,那么怎么查看在执行的SQL查询的过程中是否用到了这些索引呢?查询SQL语句的执行情况通常通过关键字 Explain 来进行.1. 建表例如,如下的数据表use test;drop if exists table `student`;create table `student`( `id` int not null auto_increment, `name` varchar(50原创 2021-05-04 01:12:56 · 31614 阅读 · 10 评论 -
MySQL中索引的使用方法
MySQL中索引的使用方法原创 2021-05-03 15:57:44 · 15243 阅读 · 3 评论