当前位置:网站首页>[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 :
边栏推荐
- Pytorch's code for visualizing feature maps after training its own network
- leetcode - 287. Find duplicates
- A few minutes before work, I found out V-model and The difference between sync
- [daily training] 66 add one-tenth
- Understanding of transactions in MySQL
- Using securecrtportable to remotely connect virtual machines
- Detailed explanation of twenty common software testing methods (the most complete in History)
- ECMAScript 2022 was officially released. Have you heard about it?
- cvpr2022 human pose estiamtion
- Origin2018安装教程「建议收藏」
猜你喜欢

Ffmpeg learning notes

MySQL -- deduction of index storage model

SAP GUI 里的收藏夹事务码管理工具

Fiori 应用通过 Adaptation Project 的增强方式分享

Congratulations on the release of friends' new book (send welfare)

Digital currency: far-reaching innovation

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received

Quantifiers of regular series
![[JUC learning road day 9] barrier derivatives](/img/7d/25a49afa470cfef5b7b383918d6a7d.png)
[JUC learning road day 9] barrier derivatives

Understanding of transactions in MySQL
随机推荐
Simple interactive operation of electron learning (III)
locust的使用
ECMAScript 2022 正式发布,有你了解过的吗?
What class loading mechanisms does the JVM have?
测试人进阶技能:单元测试报告应用指南
Understanding of indexes in MySQL
“信任机器”为发展赋能
若干互联网暴露面的收敛及处置建议
每日刷题记录 (十)
Treatment of insufficient space in the root partition of armbain system
Vsphere+ and vsan+ are coming! VMware hybrid cloud focus: native, fast migration, mixed load
正则系列之组和范围(Groups and Ranges)
Pytorch's code for visualizing feature maps after training its own network
Appium automation test foundation - appium installation (I)
Tcpdump command usage details
阿洛迷茫后的思考
使用3DMax制作一个象棋棋子
Genicam gentl standard ver1.5 (4) Chapter 5 acquisition engine
Pytorch nn. functional. Simple understanding and usage of unfold()
Preparation of functional test report