当前位置:网站首页>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 .
边栏推荐
- 一条慢SQL拖死整个系统
- Installing redis and windows extension method under win system
- 健身房如何提高竞争力?
- Stack and queue-p78-8 [2011 unified examination true question]
- Under what circumstances should we consider sub database and sub table
- 毕业设计游戏商城
- SolidWorks GB Library (steel profile library, including aluminum profile, aluminum tube and other structures) installation and use tutorial (generating aluminum profile as an example)
- 华为机试题素数伴侣
- Which foreign language periodicals are famous in geology?
- Abnova 体外转录 mRNA工作流程和加帽方法介绍
猜你喜欢
数据资产管理与数据安全国内外最新趋势
网络基础 —— 报头、封装和解包
关于数据库数据转移的问题,求各位解答下
FPGA课程:JESD204B的应用场景(干货分享)
Cloudcompare point pair selection
LVS+Keepalived(DR模式)学习笔记
剑指offer-高质量的代码
Stack and queue-p78-8 [2011 unified examination true question]
大咖云集|NextArch基金会云开发Meetup来啦
[start from scratch] detailed process of deploying yolov5 in win10 system (CPU, no GPU)
随机推荐
多线程与高并发(9)——AQS其他同步组件(Semaphore、ReentrantReadWriteLock、Exchanger)
Stack and queue-p79-10 [2014 unified examination real question]
Several index utilization of joint index ABC
Anr principle and Practice
2018年江苏省职业院校技能大赛高职组“信息安全管理与评估”赛项任务书第一阶段答案
请问 flinksql对接cdc时 如何实现计算某个字段update前后的差异 ?
偏执的非合格公司
unity3d学习笔记
ESXI挂载移动(机械)硬盘详细教程
Unity C# 函数笔记
反射(二)
栈题目:有效括号的嵌套深度
Can 7-day zero foundation prove HCIA? Huawei certification system learning path sharing
Learning notes | data Xiaobai uses dataease to make a large data screen
What books can greatly improve programming ideas and abilities?
Navicat importing 15g data reports an error [2013 - lost connection to MySQL server during query] [1153: got a packet bigger]
途家、木鸟、美团……民宿暑期战事将起
Basic introduction of JWT
Prompt for channel security on the super-v / device defender side when installing vmmare
大促过后,销量与流量兼具,是否真的高枕无忧?