当前位置:网站首页>Talk about mvcc multi version concurrency controller?
Talk about mvcc multi version concurrency controller?
2022-07-07 05:23:00 【A little dog】
say MVCC Multi version concurrency controller ?
MVCC What is it? ?
MVCC It is a multi version concurrent controller , It is generally used for concurrent access to databases .MVCC Do not use locks to control transactions , And it can solve dirty reading 、 Non repeatability 、 Fantasy reading .( Unable to solve the problem of missing updates .)
Specific operation
Innodb Each row of data has an upward pointing version data stored in undo log in , Form a version chain .
If the record is updated , The latest data will be written to undo log in , And the hidden pointer points to the previous version .
At this point, the query will find the last undo log edition .
MVCC benefits : Read without lock 、 Read write conflict , Increased concurrency , Guaranteed business .
Please correct me if there is any mistake
边栏推荐
猜你喜欢
Salesforce 容器化 ISV 场景下的软件供应链安全落地实践
c语言神经网络基本代码大全及其含义
y58.第三章 Kubernetes从入门到精通 -- 持续集成与部署(三一)
Record a pressure measurement experience summary
JVM(十九) -- 字节码与类的加载(四) -- 再谈类的加载器
Under the trend of Micah, orebo and apple homekit, how does zhiting stand out?
SQL injection HTTP header injection
漏电继电器JOLX-GS62零序孔径Φ100
Harmonyos fourth training
The sooner you understand the four rules of life, the more blessed you will be
随机推荐
App embedded H5 --- iPhone soft keyboard blocks input text
实现网页内容可编辑
EGR-20USCM接地故障继电器
np.random.shuffle与np.swapaxis或transpose一起时要慎用
PMP证书有没有必要续期?
【PHP SPL笔记】
模拟线程通信
漏电继电器JOLX-GS62零序孔径Φ100
DFS, BFS and traversal search of Graphs
照片选择器CollectionView
拿到PMP认证带来什么改变?
Is it necessary to renew the PMP certificate?
Timer创建定时器
[QT] custom control loading
一个酷酷的“幽灵”控制台工具
Creation and use of thread pool
Techniques d'utilisation de sublime
磁盘监控相关命令
U++4 interface learning notes
vector和类拷贝构造函数