当前位置:网站首页>[MySQL] basic use of explain and the function of each column
[MySQL] basic use of explain and the function of each column
2022-07-01 23:03:00 【Zhang Yanwei_ Laura】
summary
Use EXPLAIN Keyword can simulate optimizer execution SQL Query statement , So they know MySQL How to deal with you SQL Of the statement . Analyze the performance bottleneck of your query statement or table structure .
adopt explain The results that can be obtained :
- Read order of tables
- Operation type of data reading operation
- Which indexes can be used
- Which indexes can be actually used
- References between tables
- How many rows per table are queried by the optimizer
Basic grammar
EXPLAIN or DESCRIBE The syntax of the statement is as follows :
EXPLAIN SELECT select_options
perhaps
DESCRIBE SELECT select_options
Role of each column
EXPLAIN The functions of each column output by the statement are as follows :
Detailed introduction :
边栏推荐
- 攻防演习防御体系构建之第三篇之建立实战化的安全体系
- Cutefishos system~
- Efficiency improvement - encourage personalized container development environment
- Réimpression de l'article csdn
- SAP intelligent robot process automation (IRPA) solution sharing
- 毕业季,既是告别,也是新的开始
- 正则系列之量词(Quantifiers)
- 使用 EMQX Cloud 实现物联网设备一机一密验证
- Talk about what parameters ZABBIX monitors
- URL 介绍
猜你喜欢

【Kotlin 第三方 】coil koltin协程图片加载库Coil类似Glide的图片加载第三方

轉載csdn文章操作

Demo program implementation of QT version Huarui camera

数字货币:影响深远的创新

Introduction and use of plantuml

Favorite transaction code management tool in SAP GUI

“信任机器”为发展赋能

正则系列之量词(Quantifiers)

Deadlock handling strategies - prevent deadlock, avoid deadlock, detect and remove deadlock
![[image segmentation] 2021 segformer neurips](/img/2f/a8631cbe9a46419b8dbd5205e1f5b5.png)
[image segmentation] 2021 segformer neurips
随机推荐
Mixconv code
Pytorch nn.functional.unfold()的简单理解与用法
今日睡眠质量记录71分
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received
map容器
正则系列之量词(Quantifiers)
Explain the volatile keyword
rviz打开后如何显示实时2D地图
死锁的处理策略—预防死锁、避免死锁、检测和解除死锁
思科考试--冗余网络
[daily training] 66 add one-tenth
locust的使用
Happy number [fast and slow pointer of ring PROBLEMS]
Digital currency: far-reaching innovation
Cloud Vulnerability Global Database
Force buckle 710 Random numbers in the blacklist
工作中非常重要的测试策略,你大概没注意过吧
Turn -- go deep into Lua scripting language, so that you can thoroughly understand the debugging principle
cvpr2022 human pose estiamtion
软考信息系统项目管理师_整理的十大管理过程的简写帮助记忆背诵---软考高级之信息系统项目管理师054