知识卡片

普通读书笔记卡 · 10295.a.4 · 生成模型:未记录

递归布局减少跨层搬运

理解等级:高级

Cache-oblivious 设计不需要配置具体缓存线或磁盘块大小,两级 I/O 模型上的算法跨不同分块尺度保持渐近性。van Emde Boas 布局沿树高度在中间切分,再把每个子树递归切分并连续存储。一次路径访问在适当层级自动获得空间局部性;在真实环境里分页、驱逐和常数项仍要单独衡量。

这张卡片看不懂?

已有反馈 · 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#idm46104531880904,段 111) - 结论依据:第 104–113、118–119 段说明模型、递归布局和工程边界。 - 原始内容:A cache-oblivious B-Tree consists of a static B-Tree and a packed array structure [BENDER05]. A static B-Tree is built using the van Emde Boas layout. It splits the tree at the middle level of the edges.