当前位置:网站首页>Complete process of MySQL SQL
Complete process of MySQL SQL
2022-07-07 06:58:00 【Rookie ~ ~】
mysql client and mysql server When communicating , If you finish all the MySQL Server modular , It needs to pass through the connector in turn 、 Parser 、 Optimizer 、 actuator 、 Storage engine , As shown in the figure below :
- The connector : Use TCP Encrypted ssl Communication protocol , Manage connections , Control the maximum connection amount , Test connection duration , Authority verification ( Account password, etc ), Priority query cache ( Twice the same select There are update operations between , The query cache will be emptied )
- Parser : The same role as the compiler , To generate a syntax tree , analysis SQL Lexical and grammatical analysis
- Optimizer : Generate SQL Implementation plan and current SQL Selection of corresponding index (explain You can see )
- actuator : Call the storage engine corresponding API Interface to read and write data
- Storage engine : Cost disk I/O Read and write disk data , structure B+ Tree index , Transaction log (undo log/redo log), Locking mechanism , Isolation level …
class BaseEngine{
}
class MyISAM : public BaseEngine{
}
class InnoDB : public BaseEngine{
}
If a simple communication , The client will actively close the connection after receiving the result of this communication ,MySQL Server The connector is responsible for closing this connection , Recycle the resources of this connection .
边栏推荐
- Google Chrome browser released patch 103.0.5060.114 to fix the 0-day vulnerability
- from . onnxruntime_ pybind11_ State Import * noqa ddddocr operation error
- 快速定量,Abbkine 蛋白质定量试剂盒BCA法来了!
- 肿瘤免疫治疗研究丨ProSci LAG3抗体解决方案
- How to find the literature of a foreign language journal?
- Jmeter 5.5版本发布说明
- String (explanation)
- MATLAB小技巧(29)多项式拟合 plotfit
- MySQL user permissions
- 2018年江苏省职业院校技能大赛高职组“信息安全管理与评估”赛项任务书第二阶段答案
猜你喜欢
DHCP路由器工作原理
企业如何进行数据治理?分享数据治理4个方面的经验总结
Pinduoduo lost the lawsuit: "bargain for free" infringed the right to know but did not constitute fraud, and was sentenced to pay 400 yuan
MySQL的主从复制原理
MOS tube parameters μ A method of Cox
Data of all class a scenic spots in China in 2022 (13604)
JWT的基础介绍
Can't you really do it when you are 35 years old?
How to share the same storage among multiple kubernetes clusters
Can 7-day zero foundation prove HCIA? Huawei certification system learning path sharing
随机推荐
MySQL的主从复制原理
Postgresql源码(59)分析事务ID分配、溢出判断方法
Can't you really do it when you are 35 years old?
.net core 访问不常见的静态文件类型(MIME 类型)
MySQL installation
JWT certification
学术报告系列(六) - Autonomous Driving on the journey to full autonomy
基于JS的迷宫小游戏
Can 7-day zero foundation prove HCIA? Huawei certification system learning path sharing
MySql用户权限
当前发布的SKU(销售规格)信息中包含疑似与宝贝无关的字
Which foreign language periodicals are famous in geology?
jdbc数据库连接池使用问题
oracle如何备份索引
Anr principle and Practice
How to do sports training in venues?
Cloudcompare point pair selection
How to share the same storage among multiple kubernetes clusters
请教一下,监听pgsql ,怎样可以监听多个schema和table
mobx 知识点集合案例(快速入门)