知识卡片
多版本不自动串行化
MVCC通过保留多个数据版本,让读者根据快照读取,减少读写互相阻塞。原书把它直接写成强一致保证,范围过宽;核验PostgreSQL文档可见快照隔离仍可能出现序列化异常,保证取决于隔离级别与冲突检测。https://www.postgresql.org/docs/current/transaction-iso.html(2026-10-23)。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Consistency and Availability · 查看原书依据
Multi-Version Concurrency Control (MVCC): MVCC maintains multiple versions of data items to provide concurrent access while ensuring strong consistency. Each transaction sees a consistent snapshot of the database at a particular point in time.
参考来源
- 位置:《Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…》第04章《Consistency and Availability》(来源项目book-sources;源文件:extracted/Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…/_epub-src/OPS/ch04.xhtml)
- 结论依据:原文给出本卡对应定义或示例;MVCC通过保留多个数据版本,让读者根据快照读取,减少读写互相阻塞。 对原文省略和过度承诺的限定是本卡显式纠正,不能反过来当作原书已证明。
- 原始内容:Multi-Version Concurrency Control (MVCC): MVCC maintains multiple versions of data items to provide concurrent access while ensuring strong consistency. Each transaction sees a consistent snapshot of the database at a particular point in time.