知识卡片
可串行化容许并行
数据库调度记录各事务的读、写、提交或中止等状态操作。串行调度整个事务逐一跑;可串行化允许操作交错,只要求最终效果等价于同一批事务的某种完整串行次序。事务间有冲突时需要确定相容的先后,无依赖的事务可以并行。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 5. Transaction Processing and Recovery Concurrency Control · 查看原书依据
We need to find a way to execute transaction operations concurrently, while maintaining the correctness and simplicity of a serial schedule. We can achieve this with serializable schedules.
参考来源
- 位置:《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#serializability,段 146)
- 结论依据:第 143–150 段介绍调度并解释性能与正确性的双重目标。
- 原始内容:We need to find a way to execute transaction operations concurrently, while maintaining the correctness and simplicity of a serial schedule. We can achieve this with serializable schedules.