知识卡片

普通读书笔记卡 · 10294.a.4.a · 生成模型:未记录

可串行化容许并行

理解等级:中级

数据库调度记录各事务的读、写、提交或中止等状态操作。串行调度整个事务逐一跑;可串行化允许操作交错,只要求最终效果等价于同一批事务的某种完整串行次序。事务间有冲突时需要确定相容的先后,无依赖的事务可以并行。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《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.