知识卡片
三项性质刻画存储结构
缓冲把多次写合在一起,减少每次写的数据量;不可变允许读者共读旧版并写满块,但层间整理将部分写放大延迟到后台。若要有序查询,还需考虑有序性在哪里维持:WiscKey 仅键在 LSM 中有序,Bw-Tree 只有浓缩后的基础节点有序,复制写 B 树复制后可保持页序。三项性质应按操作代价组合。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Part I Conclusion Part I Conclusion · 查看原书依据
In immutable structures, such as multicomponent LSM Trees and FD-Trees, buffering has a similar positive effect, but at a cost of future rewrites when moving data from one immutable level to the other.
参考来源
- 位置:《Database Internals》Part I Conclusion(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/afterword01.html#idm46104531832120,段 6)
- 结论依据:第 3–9 段归并设计维度、示例和读写权衡。
- 原始内容:In immutable structures, such as multicomponent LSM Trees and FD-Trees, buffering has a similar positive effect, but at a cost of future rewrites when moving data from one immutable level to the other.