知识卡片
读原子性修补断裂读
一次写事务更新多个分区时,读取若只看到其中一部分就是断裂读。RAMP 先在各分区安装带元数据的版本,读到一项新版本时可按提示取回同次写入缺失的其他记录。它保证看到该写事务的全部或全部看不到,不能据此推出事务整体可串行化。
参见 [[不变量合流减少协调]]。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 13. Distributed Transactions 合流、读原子性与 RAMP · 查看原书依据
One of the examples of implementing coordination avoidance is Read-Atomic Multi Partition (RAMP) transactions [BAILIS14c]. RAMP uses multiversion concurrency control and metadata of current in-flight operations to fetch any missing state updates from other nodes, allowing read and write operations to be executed concurrently. For example, readers that
参考来源
- 位置:《Database Internals》Chapter 13. Distributed Transactions(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/ch13.html#idm46104529479016,段 138)
- 结论依据:原文说明多版本与在途操作元数据可以触发额外读取轮次,并以原子可见、同步独立和分区独立解释收益。
- 原始内容:One of the examples of implementing coordination avoidance is Read-Atomic Multi Partition (RAMP) transactions [BAILIS14c]. RAMP uses multiversion concurrency control and metadata of current in-flight operations to fetch any missing state updates from other nodes, allowing read and write operations to be executed concurrently. For example, readers that