知识卡片

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

FD树借有序运行限制随机写

理解等级:中级

写先进入小型可变 B 树,头树满时将有序叶内容顺序写入首层运行。在一层放不下合并结果时继续和下一层合并,容量逐层乘 k。逻辑删除插入墓碑,并遮蔽其他层同键旧值,传播到底层确定没有更老项时才可丢弃。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

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