当前位置:网站首页>[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 :
边栏推荐
- Summary of "performance testing" of software testing, novice will know the knowledge points on the road
- Turn -- go deep into Lua scripting language, so that you can thoroughly understand the debugging principle
- 阿洛迷茫后的思考
- 转载csdn文章操作
- el-input文本域字数限制,超过显示变红并禁止输入
- Map container
- Pytorch's code for visualizing feature maps after training its own network
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received
- Share some feelings of a programmer who has experienced layoffs twice a year
- 【嵌入式系统课设】单个按键控制LED灯
猜你喜欢

Vsphere+ and vsan+ are coming! VMware hybrid cloud focus: native, fast migration, mixed load

思科考试--冗余网络

104. SAP ui5 table control supports multi select and how to select multiple table row items at a time with code

转--原来gdb的底层调试原理这么简单

正则系列之组和范围(Groups and Ranges)

Using emqx cloud to realize one machine one secret verification of IOT devices

“信任机器”为发展赋能

MySQL -- deduction of index storage model

window安装wsl(二)

104. SAP UI5 表格控件的支持复选(Multi-Select)以及如何用代码一次选中多个表格行项目
随机推荐
Use and function of spark analyze command map join broadcast join
Single step debugging analysis of rxjs observable of operator
Detailed explanation of common configurations in redis configuration file [easy to understand]
Cloud Vulnerability Global Database
Cisco exam -- redundant network
What class loading mechanisms does the JVM have?
转载csdn文章操作
Turn -- use setjmp and longjmp in C language to realize exception capture and collaboration
plain framework的实际应用和扩展
Unable to climb hill sort, directly insert sort
window10安装wsl(一)(WslRegisterDistribution ERROR)
Rust language - Introduction to Xiaobai 05
Happy number [fast and slow pointer of ring PROBLEMS]
MySQL -- deduction of index storage model
Mysql 5.7 实现 rank 排名
URL 介绍
Understanding of transactions in MySQL
Little red book scheme jumps to the specified page
半监督学习之数据增强
The principle, testing and Countermeasures of malicious software reverse closing EDR