当前位置:网站首页>sql是否走索引
sql是否走索引
2022-06-30 18:16:00 【游戏编程】
使用 Explain 命令来查看语句的执行计划
例:Explain select * from table
除过select,其他比如insert,update和delete均可以使用explain查看执行计划
概要描述:
id:选择标识符
select_type:表示查询的类型。
table:输出结果集的表
partitions:匹配的分区
type:表示表的连接类型 :ALL、index、range、 ref、eq_ref、const、system、NULL(从左到右,性能从差到好)
possible_keys:可能使用的索引
key:实际使用的索引
key_len:索引字段的长度
ref:列与索引的比较
rows:扫描出的行数(估算的行数)
filtered:按表条件过滤的行百分比
Extra:执行情况的描述和说明
————————————————
原文链接:https://blog.csdn.net/yao583224426/article/details/121691683
作者:我爱变态辣
游戏编程,一个游戏开发收藏夹~
如果图片长时间未显示,请使用Chrome内核浏览器。
边栏推荐
- How does rust implement dependency injection?
- Cobbler is easy to use
- Brief introduction of Feature Engineering in machine learning
- VS 常用的快捷键指令
- Kubernetes----Pod配置容器启动命令
- MySQL modify data type_ MySQL modify field type [easy to understand]
- Kalman filter -- Derivation from Gaussian fusion
- TCP packet sticking problem
- MySQL 索引测试
- torch.roll
猜你喜欢

20220607 fell below the recommended retail price, and the GPU market is moving towards oversupply

Four tips tell you how to use SMS to promote business sales?

Browser window switch activation event visibilitychange

Cobbler轻松上手

【DesignMode】工厂模式 (factory pattern)

Entry node of link in linked list - linked list topic

熵-条件熵-联合熵-互信息-交叉熵

dtd建模

Electron 入门

如何使用物联网低代码平台进行服务管理?
随机推荐
Full recharge, im+rtc+x full communication service "feedback season" starts
熵-条件熵-联合熵-互信息-交叉熵
NEON优化2:ARM优化高频指令总结
torch.roll
Neon optimization 2: arm optimization high frequency Instruction Summary
Practice and Thinking on the architecture of a set of 100000 TPS im integrated message system
服务器之间传文件夹,文件夹内容为空
DTD modeling
拓維信息使用 Rainbond 的雲原生落地實踐
Entry node of link in linked list - linked list topic
不同制造工艺对PCB上的焊盘的影响和要求
期货怎么开户安全些?现在哪些期货公司靠谱些?
Temperature measuring instrument based on STM32 single chip microcomputer
小小笔记-整型提升(C语言)
Four tips tell you how to use SMS to promote business sales?
How to open a futures account safely? Which futures companies are more reliable now?
20220528【聊聊假芯片】贪便宜往往吃大亏,盘点下那些假的内存卡和固态硬盘
Influence and requirements of different manufacturing processes on the pad on PCB
「经验」爬虫在工作中的实战应用『理论篇』
com. alibaba. fastjson. Jsonobject tojsonstring eliminate circular reference