Mysql 、Oracle 数据库的事物隔离级别

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/Dzq_Boyka/article/details/85618046

Mysql:

Read Uncommitted 未提交可读
Read Committed 提交可读
Repeatable Read 可重复读
Serializable 串行化

Oracle:

Read Committed 提交可读
Serializable 串行化

脏读:T2 读取到了 T1未提交的数据。

幻读:T1两次查询,得到的结果条数不一致。

不可重复读:T1两次查询,得到的结果内容不一样。

猜你喜欢

转载自blog.csdn.net/Dzq_Boyka/article/details/85618046