当前位置:网站首页>Summary of basic knowledge of MySQL and redis
Summary of basic knowledge of MySQL and redis
2022-07-20 08:58:00 【Xibeiye】
One 、MYSQL
1.1、MYSQL The architecture and SQL Execute the process
sql Execute the process :
Communication protocol (TCP/IP SOCKET)-》 The query cache (mysql8 Remove this function )-》 Parsing and preprocessing -》 Query optimization and query execution plan -》 Storage engine -》 Execution engine
mysql Architecture layering :
adjoining course -》 Service layer -》 Storage engine
InnDB Memory structure and disk structure :
Memory structure :
Buffer Pool、Change Buffer Write buffer 、Adaptive Hash Index、Log Buffer(Redo log)
Disk structure :
SYSTEM tablespace 、 Exclusive tablespace 、 General tablespace 、 Temporary table space 、Redo log、undo log
1.2、MYSQL Index deep parsing
Index storage model deduction :
Two points search -》 Binary search tree -》 Balanced binary trees ( left-handed 、 Right hand )-》 Multiway balanced search tree (B Tree)( split 、 Merge ) -》 Enhanced multiway balanced search tree (B+ Tree)
InnoDB Logical storage structure :
Table space (Table Space)-》 paragraph (Segment)-》 cluster / District (Extent)-》 page (Page)-》 That's ok (Row)
Principles of index use :
Large column dispersion 、 Union index left most match 、 Index overlay 、 Push... Under index conditions
1.3、MYSQL Details of transactions and locks :
Four characteristics of transactions :
Atomicity ( rely on undo log Realization )、 Uniformity 、 Isolation, 、 persistence (redo log + double write Realization )
边栏推荐
- Talking about wechat payment risk control
- 非常简洁的vsPlayAudio在线音乐播放器插件
- Object of ES6 Difference between defineproperty and proxy
- Popular science of cryptography
- 基于多数据源零代码同时生成多个数据库CRUD增删改查RESTful API接口——MySql,PostgreSql,Oracle,Microsoft SQL Server
- Upload local jar package to online private server
- Redis 数据类型与应用场景
- Online payment, disbursement and collection
- 10g Polkadot substrate: prepare a local parallel chain test network
- 102 Polkadot substrate: proof of existence
猜你喜欢
Seata XA 模式示例分析
网安学习笔记-1 文件上传
支付宝支付和微信支付容易被风控可以看一下这个操作
El transfer left right default data display
[paper] mec: memory efficient revolution for deep neural network
ShardingJDBC
Discuz杂志/新闻报道模板(jeavi_line)UTF8-GBK/DZ模板下载
基于多数据源零代码同时生成多个数据库CRUD增删改查RESTful API接口——MySql,PostgreSql,Oracle,Microsoft SQL Server
Using NVM use, exit status 1 and exit status 145 are garbled
10e Polkadot substrate: configure contract tray
随机推荐
Payment products and their usage scenarios
[JS] usage of call (), apply (), bind ()
MVVM模型
ShardingJDBC
三方支付公司有哪些?
JVM online problem tracking
Advantages of aggregate collection code
什么是线上支付?
Some things about locks in MySQL
thinkphp6临时关闭布局
上传本地jar包到线上私服
[JS] different reactions of VaR and let in the for loop
CuteOne:一款OneDrive多网盘挂载程序/带会员/同步等功能
Vs2019 modify background + height custom font color
什么是三方支付?
Google Chrome 浏览器快捷键说明大全
mongodb 查询和投影运算符
JWT+RSA 无状态SSO原理
MYSQL日志模块
ThinkPHP5 验证码