知识卡片
存储结构三项设计轴
第一项是额外缓冲多少写入:用短期内存积累换更少或更大的 I/O。第二项是旧内容如何更新:可重写原来的位置,也可追加更新、复制已修改页到新位置。第三项是物理记录是否按键邻接:有序有利范围扫;写入序可简化追加。三项可以独立搭配,因此出现带节点缓冲的 B 树、不可变的 Bw-tree 与将值追加到日志的存储方案。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 1. Introduction and Overview Buffering, Immutability, and Ordering · 查看原书依据
Storage structures have three common variables: they use buffering (or avoid using it), use immutable (or mutable) files, and store values in order (or out of order).
参考来源
- 位置:《Database Internals》Chapter 1. Introduction and Overview(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/ch01.html#in_place_update_vs_immutable,段 128)
- 结论依据:原文提出缓冲、可变性和顺序三维,并用后文章节的多个设计说明组合。
- 原始内容:Storage structures have three common variables: they use buffering (or avoid using it), use immutable (or mutable) files, and store values in order (or out of order).