当前位置:网站首页>[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 :
边栏推荐
- What class loading mechanisms does the JVM have?
- Friendly serial assistant tutorial_ How to configure friendly serial port debugging assistant - tutorial on using friendly serial port debugging assistant
- Efficiency improvement - encourage personalized container development environment
- Detailed explanation of common configurations in redis configuration file [easy to understand]
- [daily training] 326 Power of 3
- 元宇宙可能成为互联网发展的新方向
- [literacy] deep / shallow, local / global features in machine learning image processing
- 使用 EMQX Cloud 实现物联网设备一机一密验证
- shell 流程控制
- Treatment of insufficient space in the root partition of armbain system
猜你喜欢
![[target tracking] | single target tracking indicator](/img/07/033d5c07b07e3443330840e98940b3.png)
[target tracking] | single target tracking indicator

Cisco -- highly available and reliable network examination

Cutefishos system~
![[MySQL] index classification](/img/73/fb9f28457b373ad35d2f6068387b47.png)
[MySQL] index classification

Appium automation test foundation - appium installation (I)

正则系列之量词(Quantifiers)

Digital currency: far-reaching innovation

思科--WAN 的概念考试外部工具

Daily question brushing record (10)

激发新动能 多地发力数字经济
随机推荐
测试人进阶技能:单元测试报告应用指南
plain framework的实际应用和扩展
Cutefishos system~
internal field separator
Mixconv code
Talk about what parameters ZABBIX monitors
Today's sleep quality record 71 points
rviz打开后如何显示实时2D地图
数字货币:影响深远的创新
Genicam gentl standard ver1.5 (4) Chapter 5 acquisition engine
URL 介绍
tcpdump命令使用详解
Rank ranking with MySQL 5.7
Deep learning -- data operation
Tcpdump command usage details
Understanding of transactions in MySQL
Using emqx cloud to realize one machine one secret verification of IOT devices
window安装wsl(二)
Mysql 5.7 实现 rank 排名
447 Bili Bili noodles warp 1