知识卡片
Bw树用增量链表示节点
把页拆成不可变基节点和反向增量链,新插入、更新或删除各自形成新链头。只追加小改变,不重写整个页,也无须为每页未来更新保留空槽,代价是读者需要走链并与基节点重构。相邻的小变更可一起写入日志式存储。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
- · Bw-Trees
原书出处 · 1 处
- Chapter 6. B-Tree Variants Bw-Trees · 查看原书依据
A Bw-Tree writes a base node separately from its modifications. Modifications (delta nodes) form a chain: a linked list from the newest modification, through older ones, with the base node in the end.
参考来源
- 位置:《Database Internals》Chapter 6. B-Tree Variants(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/ch06.html#idm46104531962456,段 73)
- 结论依据:第 69–75 段明确写放大、空位、增量链与读开销。
- 原始内容:A Bw-Tree writes a base node separately from its modifications. Modifications (delta nodes) form a chain: a linked list from the newest modification, through older ones, with the base node in the end.