知识卡片
隔离级别约束异常
读未提交允许脏读;读已提交只看已提交结果,但同一行或范围仍可能在两次查询之间变化。可重复读在标准分类下防止同一行读值变化,范围幻读仍需另考察。可串行化要求交错历史能解释为某种串行结果,保证跨记录不变量需要识别事务冲突。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 5. Transaction Processing and Recovery Isolation Levels · 查看原书依据
We can avoid some of the anomalies. For example, we can make sure that any read performed by the specific transaction can only read already committed changes.
参考来源
- 位置:《Database Internals》Chapter 5. Transaction Processing and Recovery(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/ch05.html#isolation_levels,段 162)
- 结论依据:第 161–166 段按级别说明允许现象,并区分可串行化与实时顺序。
- 原始内容:We can avoid some of the anomalies. For example, we can make sure that any read performed by the specific transaction can only read already committed changes.