知识卡片
LLAMA合并浓缩与回收
如果日志层只按新增顺序打包,属于同一逻辑 Bw-Tree 节点的多个增量可能散落各处;上层另做浓缩又会触发底层再回收。LLAMA 知道哪些基节点和增量属于同一个逻辑节点,在搬迁存活数据时一起做语义浓缩,合并相消变更或重建基节点,同时改善读取局部性。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 7. Log-Structured Storage LLAMA and Mindful Stacking · 查看原书依据
LSS garbage collection can also take care of consolidating the logical Bw-Tree node contents. This means that garbage collection will not only reclaim the free space, but also significantly reduce the physical node fragmentation.
参考来源
- 位置:《Database Internals》Chapter 7. Log-Structured Storage(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/ch07.html#llama,段 293)
- 结论依据:第 289–295 段连接日志缓冲、语义感知浓缩与回收。
- 原始内容:LSS garbage collection can also take care of consolidating the logical Bw-Tree node contents. This means that garbage collection will not only reclaim the free space, but also significantly reduce the physical node fragmentation.