当前位置:网站首页>ACID事务理论
ACID事务理论
2022-07-05 11:29:00 【InfoQ】
什么是ACID
- Atomicity(原子性):事务是一个不可分割的整体,事务内所有操作要么全做成功,要么全失败。
- Consistency(一致性):务执行前后,数据从一个状态到另一个状态必须是一致的(A向B转账,不能出现A扣了钱,B却没收到)。
- Isolation(隔离性): 多个并发事务之间相互隔离,不能互相干扰。
- Durability(持久性):事务完成后,对数据库的更改是永久保存的,不能回滚。
ACID靠什么保证的呢?
边栏推荐
- Pytorch training process was interrupted
- How to get a token from tokenstream based on Lucene 3.5.0
- SET XACT_ABORT ON
- 紫光展锐全球首个5G R17 IoT NTN卫星物联网上星实测完成
- 力扣(LeetCode)185. 部门工资前三高的所有员工(2022.07.04)
- Unity Xlua MonoProxy Mono代理类
- Prevent browser backward operation
- [first release in the whole network] (tips for big tables) sometimes it takes only 1 minute for 2 hours of SQL operation
- MySQL statistical skills: on duplicate key update usage
- Deepfake tutorial
猜你喜欢
DDRx寻址原理
How did the situation that NFT trading market mainly uses eth standard for trading come into being?
Three suggestions for purchasing small spacing LED display
AUTOCAD——遮罩命令、如何使用CAD对图纸进行局部放大
COMSOL -- three-dimensional graphics random drawing -- rotation
数据库三大范式
[crawler] bugs encountered by wasm
7.2每日学习4
Stop saying that microservices can solve all problems!
基于OpenHarmony的智能金属探测器
随机推荐
DDoS attack principle, the phenomenon of being attacked by DDoS
Go language learning notes - analyze the first program
Three paradigms of database
871. Minimum Number of Refueling Stops
Codeforces Round #804 (Div. 2)
Spark Tuning (I): from HQL to code
[Oracle] use DataGrid to connect to Oracle Database
How to introduce devsecops into enterprises?
C operation XML file
AutoCAD -- mask command, how to use CAD to locally enlarge drawings
Cron expression (seven subexpressions)
Prevent browser backward operation
Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in
如何让你的产品越贵越好卖
高校毕业求职难?“百日千万”网络招聘活动解决你的难题
FreeRTOS 中 RISC-V-Qemu-virt_GCC 的调度时机
871. Minimum Number of Refueling Stops
不要再说微服务可以解决一切问题了!
Basic part - basic project analysis
阻止瀏覽器後退操作