当前位置:网站首页>Acid transaction theory
Acid transaction theory
2022-07-05 12:07:00 【Zhan sir (open source byte)】
What is? ACID
A transaction has four basic characteristics , That's what we often say (ACID):
- Atomicity( Atomicity ): A business is an indivisible whole , All operations within the transaction are either successful , Or it's a total failure .
- Consistency( Uniformity ): Before and after implementation , Data from one state to another must be consistent (A towards B Transfer accounts , Cannot appear A Buckle the money ,B Has received ).
- Isolation( Isolation, ): Multiple concurrent transactions are isolated from each other , Don't interfere with each other .
- Durability( persistence ): After the transaction completes , Changes to the database are permanent , Cannot be rolled back .
ACID By what guarantee ?
With MySQL For example :
A Atomicity from undo log Log guarantees , It records the log information that needs to be rolled back , When the transaction is rolled back, undo the successfully executed sql
C Uniformity It is generally guaranteed by the code level
I Isolation, from MVCC To guarantee
D persistence By memory +redo log To guarantee ,mysql Modify data both in memory and redo log Record this operation , The transaction is committed through redo log Brush set , When it goes down, you can start from redo log recovery
If you reprint , Please indicate the source : Open source byte https://sourcebyte.cn/article/178.html
边栏推荐
- 多表操作-自关联查询
- 【ijkplayer】when i compile file “compile-ffmpeg.sh“ ,it show error “No such file or directory“.
- Thoughts and suggestions on the construction of intelligent management and control system platform for safe production in petrochemical enterprises
- 7月华清学习-1
- Ncp1342 chip substitute pn8213 65W gallium nitride charger scheme
- codeforces每日5题(均1700)-第五天
- 【无标题】
- yolov5目标检测神经网络——损失函数计算原理
- 投资理财适合女生吗?女生可以买哪些理财产品?
- Pytorch MLP
猜你喜欢

mmclassification 训练自定义数据

How to make your products as expensive as possible

Matlab label2idx function (convert the label matrix into a cell array with linear index)

Yolov5 target detection neural network -- calculation principle of loss function
![[mainstream nivida graphics card deep learning / reinforcement learning /ai computing power summary]](/img/1a/dd7453bc5afc6458334ea08aed7998.png)
[mainstream nivida graphics card deep learning / reinforcement learning /ai computing power summary]
![[yolov5.yaml parsing]](/img/ae/934f69206190848ec3da10edbeb59a.png)
[yolov5.yaml parsing]

Wireless WiFi learning 8-channel transmitting remote control module

报错ModuleNotFoundError: No module named ‘cv2.aruco‘

Principle of persistence mechanism of redis

Thoughts and suggestions on the construction of intelligent management and control system platform for safe production in petrochemical enterprises
随机推荐
Linux安装部署LAMP(Apache+MySQL+PHP)
redis的持久化机制原理
Linux Installation and deployment lamp (apache+mysql+php)
【TFLite, ONNX, CoreML, TensorRT Export】
Ncp1342 chip substitute pn8213 65W gallium nitride charger scheme
Codeforces Round #804 (Div. 2)
全网最全的新型数据库、多维表格平台盘点 Notion、FlowUs、Airtable、SeaTable、维格表 Vika、飞书多维表格、黑帕云、织信 Informat、语雀
Intern position selection and simplified career development planning in Internet companies
pytorch-多层感知机MLP
11. (map data section) how to download and use OSM data
Recyclerview paging slide
How to make your products as expensive as possible
《增长黑客》阅读笔记
Riddle 1
【ijkplayer】when i compile file “compile-ffmpeg.sh“ ,it show error “No such file or directory“.
splunk配置163邮箱告警
Redirection of redis cluster
Open3d European clustering
Multi table operation - Auto Association query
Design of music box based on assembly language