当前位置:网站首页>事务总结
事务总结
2022-08-09 06:29:00 【史上最强的弟子】
事务的四个特点:
ACID
原子性:事务作为最小执行单位,事务要么全部被执行,要么全部不执行。
一致性:事务的执行使得数据库从一种正确状态转换成另外一种正确状态。
隔离性:事务与事务之间互不影响。
持久性:事务正确提交之后,其结果将永远保存在数据库之中,即使在事务提交之后有了其他故障,事务的处理结果也会得到保存。
事务的隔离级别:
read uncommit: 读到未提交的事务数据。 (脏读,不可重复读,幻读)
read commit : 读到提交后事务的数据。 (不可重复读,幻读)
repeat read : 多次读取的数据都是一样的。 (幻读)
searial : 串行化,一个事物一个事物的执行。
边栏推荐
- Silently start over, the first page is also a new page
- 深度学习-神经网络原理2
- 工控设备的系统如何进行加固
- 一道很简答但是没答对的SQL题
- 使用百度EasyDL实现智能垃圾箱
- APP product source data interface (taobao, jingdong/spelling/suning/trill platform details a lot data analysis interface) code and docking tutorial
- cut命令的使用实例
- .NET高级技术
- db.sqlite3没有“as Data Source“解决方法
- Use baidu EasyDL intelligent bin
猜你喜欢
sql问题解答创建表的语句
Search 1688 product interface by image (item_search_img-search 1688 product by image (Politao interface) code docking tutorial
static静态关键字和继承
Teach you how to make the Tanabata meteor shower in C language - elegant and timeless (detailed tutorial)
Use of PlantUML plugin in idea
Import the pycharm environment package into another environment
网络学习总结
mongo+ycsb性能测试及线程数分析
Cysteine/Galactose/Perylenediimide Functionalized Fe3O4 Fe3O4 Nanomaterials | Scientific Research Reagents
使用百度EasyDL实现智能垃圾箱
随机推荐
Getting started with kubernetes apparmor
The singleton pattern
报错:FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disab
如何操作数据库
MongDb的查询方式
pycharm环境包导入到另外一个环境
Common Oracle Commands
P6阿里机试题之2020 斐波那契数
Flask failed to create database without error
Cysteine/Galactose/Perylenediimide Functionalized Fe3O4 Fe3O4 Nanomaterials | Scientific Research Reagents
逆向工程
05 多线程与高并发 - ThreadPoolExecutor 源码解析
Unity 五子棋游戏设计和简单AI(2)
推进产教融合 赋能教育创新发展 | 华云数据荣获“企业贡献奖”
Qt 学习(三) —— Qt 模块
A test engineer with an annual salary of 35W was laid off. Personal experience: advice that you have to listen to
Data center project preliminary summary
Search 1688 product interface by image (item_search_img-search 1688 product by image (Politao interface) code docking tutorial
golang xml 处理动态属性
io.lettuce.core。RedisCommandTimeoutException命令超时