Skip to main content

008 · CMU 15-445 — Buffer Pool Manager

项目 内容
学校 Carnegie Mellon University
课程 CMU 15-445/645 Database Systems
方向 数据库 / Database systems
语言 Python
难度 进阶 / Intermediate
预计耗时 4–8 天 / 4–8 days

为什么收录

LRU 淘汰、pin/unpin、脏页写回——数据库存储引擎的核心;真实踩过动态属性补丁的坑。

English: A carefully chosen capstone that builds transferable reasoning skills through hands-on implementation.

实测结果

  • 3 页框 LRU 淘汰正确;pin 住的页经历 6 次分配仍存活;flush 后磁盘数据一致。
  • 详见 05-调试与测试.md 的真实输出

七章解析

题目解读 · 设计思路 · 逐步实现 · 正确性与复杂度 · 调试与测试 · 踩坑清单 · 延伸练习

源码与测试

题目目录 · 参考实现 · 测试