知识卡片
分数级联压缩跨层搜索
多组有序数组各做一次二分代价高。按间隔从下层抽样,将样本带到上层并携带原位置作为桥,既填补长间隙,也避免稠密映射。上层二分后顺桥下层,只需在邻近小区间继续。FD-Tree 使用低层各页的头元素建立这类 fence。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
- · FD-Trees
原书出处 · 1 处
- Chapter 6. B-Tree Variants FD-Trees · 查看原书依据
We could create a mapping from every element of the higher-level array to the closest element on the next level, but that would cause too much overhead for pointers and their maintenance.
参考来源
- 位置:《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#idm46104532002792,段 53)
- 结论依据:第 50–60 段说明分数级联和示例,第 66 段给出 FD-Tree 的适配。
- 原始内容:We could create a mapping from every element of the higher-level array to the closest element on the next level, but that would cause too much overhead for pointers and their maintenance.