← 返回刚才阅读的位置

知识卡片

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

溢出页保留节点扇出

理解等级:中级

变长项可能在达到目标键数前用完节点的字节空间。限定每项留在主页内的字节上限,其余利用引用放在按固定页大小分配的溢出区,可以避免少量大记录吞掉节点扇出。键前缀足以判别时可停在主页,完整取值还要读取续页。还须跟踪并回收不再使用的溢出空间,大量常态超大值也可交给专用对象存储。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《Database Internals》Chapter 4. Implementing B-Trees(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/ch04.html#overflow_pages,段 36) - 结论依据:原文按页大小与扇出的配额引入内联上限,随后说明链、比较、完整读取与回收。 - 原始内容:Most B-Tree implementations allow storing only up to a fixed number of payload bytes in the B-Tree node directly and spilling the rest to the overflow page.