当前位置:网站首页>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 .
边栏推荐
- libcurl返回curlcode说明
- Postgresql源码(59)分析事务ID分配、溢出判断方法
- 2018年江苏省职业院校技能大赛高职组“信息安全管理与评估”赛项任务书第二阶段答案
- Maze games based on JS
- Jetpack Compose 远不止是一个UI框架这么简单~
- MySQL view bin log and recover data
- MySQL user permissions
- 2018年江苏省职业院校技能大赛高职组“信息安全管理与评估”赛项任务书
- How can I check the DOI number of a foreign document?
- Tkinter window selects PCD file and displays point cloud (open3d)
猜你喜欢

Several index utilization of joint index ABC
![[noi simulation] regional division (conclusion, structure)](/img/7d/4c66cd0a30e52ccd167b6138fcb4df.png)
[noi simulation] regional division (conclusion, structure)
![Stack and queue-p79-10 [2014 unified examination real question]](/img/7f/e5bba2f64bb77e1781076361c32f01.jpg)
Stack and queue-p79-10 [2014 unified examination real question]

How can gyms improve their competitiveness?

MYSQL----导入导出&视图&索引&执行计划

7天零基础能考证HCIA吗?华为认证系统学习路线分享

剑指offer-高质量的代码

Prompt for channel security on the super-v / device defender side when installing vmmare

使用TCP/IP四层模型进行网络传输的基本流程

MySQL installation
随机推荐
栈题目:有效括号的嵌套深度
Can't you really do it when you are 35 years old?
DB2获取表信息异常:Caused by: com.ibm.db2.jcc.am.SqlException: [jcc][t4][1065][12306][4.25.13]
Redhat5 installing vmware tools under virtual machine
Learning notes | data Xiaobai uses dataease to make a large data screen
RuntimeError: CUDA error: CUBLAS_STATUS_ALLOC_FAILED when calling `cublasCreate(handle)`问题解决
JDBC database connection pool usage problem
mobx 知识点集合案例(快速入门)
from .onnxruntime_pybind11_state import * # noqa ddddocr运行报错
Please answer the questions about database data transfer
剑指offer-高质量的代码
String (explanation)
2018年江苏省职业院校技能大赛高职组“信息安全管理与评估”赛项任务书第二阶段答案
2022/07/04学习记录
Unable to debug screen program with serial port
[solution] final app status- undefined, exitcode- 16
网络基础 —— 报头、封装和解包
CompletableFuture使用详解
Matlab tips (29) polynomial fitting plotfit
JWT的基础介绍