CMU_15445_2023Fall_Project1 LRU_K 算法# LRU_K 算法是 LRU(最近最少使用算法) 与 LFU(使用频率最小算法的结合体) LRU-K Page Replacement Algorithm Definition# Assume we are given a set N=1,2,...,nN=1,2,...,n of disk pages, denoted by positive integers, and that the database system...
完结撒花~ 原来写代码是件这么爽的事哈哈,感谢Andy与TAs的辛勤付出,(主观的说)这几乎是最好的数据库入门课程了。 2023 Fall的PJ 1大概有240人完成,最后的PJ 4只有不到160人完成,我没算错的话,少了三分之一的人: ( “行百里者半九十”,希望各位读者能有始有终,坚持到最后捏: ) 如果你对文章的某些描...
AsMut<TablePage>(); 是的,表数据的存储经过了Project 2实现的Buffer Pool。通过Buffer Pool获取page资源后,将其视为TablePage以存储表数据。再看TablePage的成员,其next_page_id_指向了下一张page,你可以将其理解为链表的next指针。所以我刚才说:BusTub采用了类似Linked List的方式管理磁盘。 如果看过lecture,...
You do not need to make your buffer pool manager super efficient -- holding the buffer pool manager lock from the start to the end in each public-facing buffer pool manager function should be enough. However, you do need to ensure your buffer pool manager has reasonable performance, otherwise...
CMU 15445 2023fall #Project0 实现一个简单的k-v存储引擎 前言 实验要求网站 太吓人了,这甚至只是个课程入门实验,但是前两部分主要的内容差不多花了我一整天🥲🥲🥲(可能是我的C++基础太差了😥😥😥。 主要是考察一下对C++的熟练程度,比如智能指针、移动语义、并发控制,还有数据结构的基础。
CMU 15445 2023fall Project1 Buffer Pool Manager 前言 实验要求 通过本地测试大概花了三天,第一次提交线上测试只有45分😭😭😭。后来又陆陆续续修改,又花了两天时间终于过了。不过这个实现基本毫无性能可言,bpm的每个函数都是简单粗暴地直接上scope lock锁住整个函数作用域,所以QPS rank排在200靠后了,后面...
subprocess.run(["zip", name, "GRADESCOPE.md"]) def main(): if Path("GRADESCOPE.md").exists(): print("Found existing signature GRADESCOPE.md, adding to all submissions...") add_to_submission() print( "If you want to make modifications to signed document, run `rm GRADESCOPE.md` and ...
Having Conquered the Loftiest Peak, We Stand But a Step Away from Victory in This Stage. With unwavering determination, we press onward, for destiny favors those brave enough to forge ahead, cutting through the thorns and overcoming every obstacle that d
课程涉及多个项目,从项目0到项目4,每一步都充满了挑战。项目0从2023年12月5日开始,至7日完成,此项目主要为补习C++基础,笔记长达176行。项目1从12月12日启动,至2024年1月17日结束,主要难点在于理解可扩展哈希表原理与LRU-k原理,笔记记录了82行。项目2于12月18日启动,2024年1月19日完成,...
https://15445.courses.cs.cmu.edu/fall2023/https://15445.courses.cs.cmu.edu/fall2023/, 视频播放量 16、弹幕量 0、点赞数 0、投硬币枚数 0、收藏人数 0、转发人数 0, 视频作者 有人要竹鼠吗, 作者简介 ,相关视频:CMU15445_L11L12,CMU15445_L3L4,CMU15445_L7L8,CMU1