知识卡片
B树按需装入节点块
当整棵树放不进内存,B 树操作只按需要把块读入内存,修改后再写回。
访问磁盘对象的属性前必须先读块;只读操作无需写回。
这是外存模型的操作前提,不能把节点指针等同于已在内存。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 第18章 B树 · 查看原书依据
The B-tree algorithms copy selected blocks from disk into main memory as needed and write back onto disk the blocks that have changed.
参考来源
- 位置:《算法导论(第4版)》第18章《B树》(OEBPS/chapter018.xhtml,文本字符[5000,10000))。
- 结论依据:原文描述按需读入、改动写回以及DISK-READ/DISK-WRITE的访问模式。
- 原始内容:The B-tree algorithms copy selected blocks from disk into main memory as needed and write back onto disk the blocks that have changed.