知识卡片
FD树借有序运行限制随机写
写先进入小型可变 B 树,头树满时将有序叶内容顺序写入首层运行。在一层放不下合并结果时继续和下一层合并,容量逐层乘 k。逻辑删除插入墓碑,并遮蔽其他层同键旧值,传播到底层确定没有更老项时才可丢弃。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
- · FD-Trees
原书出处 · 1 处
- Chapter 6. B-Tree Variants FD-Trees · 查看原书依据
An FD-Tree consists of a small mutable head tree and multiple immutable sorted runs. This approach limits the surface area, where random write I/O is required, to the head tree: a small B-Tree buffering the updates.
参考来源
- 位置:《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#fd_trees,段 48)
- 结论依据:第 47–48、62–67 段解释头树、运行和墓碑。
- 原始内容:An FD-Tree consists of a small mutable head tree and multiple immutable sorted runs. This approach limits the surface area, where random write I/O is required, to the head tree: a small B-Tree buffering the updates.