当前位置:网站首页>事务总结
事务总结
2022-08-09 06:29:00 【史上最强的弟子】
事务的四个特点:
ACID
原子性:事务作为最小执行单位,事务要么全部被执行,要么全部不执行。
一致性:事务的执行使得数据库从一种正确状态转换成另外一种正确状态。
隔离性:事务与事务之间互不影响。
持久性:事务正确提交之后,其结果将永远保存在数据库之中,即使在事务提交之后有了其他故障,事务的处理结果也会得到保存。
事务的隔离级别:
read uncommit: 读到未提交的事务数据。 (脏读,不可重复读,幻读)
read commit : 读到提交后事务的数据。 (不可重复读,幻读)
repeat read : 多次读取的数据都是一样的。 (幻读)
searial : 串行化,一个事物一个事物的执行。
边栏推荐
- Inception V3 闭眼检测
- vs番茄助手的方便功能和便捷快捷键介绍
- shardingsphere data sharding configuration item description and example
- Ferric oxide/bismuth sulfide nanocomposites ([email protected]@BSABiS nanoparticles) | dendrimer-stabilized bismuth sulfide nanop
- 6 states of a thread
- Program Performance Analysis - Complexity Analysis
- 阿里巴巴官方技术号
- 中英文说明书丨CalBioreagents 醛固酮单克隆抗体
- AD画PCB板教程 20分钟讲清楚操作流程 铺铜 网络标号
- C# 利用iTextSharp画PDF
猜你喜欢
GNNExplainer applied to node classification task
Error jinja2.exceptions.UndefinedError: 'form' is undefined
vs番茄助手的方便功能和便捷快捷键介绍
6 states of a thread
zip压缩包密码解密
CalBioreagents超全Id 蛋白兔单克隆抗体,助力科研
mongo+ycsb性能测试及线程数分析
抗菌药物丨Toronto Research Chemicals 天冬酰胺D
Flask failed to create database without error
05 多线程与高并发 - ThreadPoolExecutor 源码解析
随机推荐
中英文说明书丨CalBioreagents 山羊抗人白蛋白,IgG组分
P6阿里机试题之2020 斐波那契数
【R语言】把文件夹下的所有文件提取到特定文件夹
CMake中INSTALL_RPATH与BUILD_RPATH问题
Invalid argument(s) appears when redis runs lua script
简单使用Lambda表达式
语句加锁分析
变压器的工作原理(图解,原理图讲解,一看就懂)
VS2019 common shortcut keys
运算放大器(OPA)超详细参数讲解-运放---以及8个型号的运算放大器分析对比
线程的6种状态
flask创建数据库失败未报错
mmdetection源码解析--ResNet18
CalBioreagents超全Id 蛋白兔单克隆抗体,助力科研
数据库中间件-jdbi
中英文说明书丨TRC D-阿卓糖(D-Altrose)
Adds, deletes, searches, and changes the leading doubly circular linked list (implemented in C language)
Introduction of convenient functions and convenient shortcut keys of vs tomato assistant
Qt 学习(三) —— Qt 模块
Inception V3 闭眼检测