diff --git a/实验报告.md b/实验报告.md index 944c453..de56b3a 100644 --- a/实验报告.md +++ b/实验报告.md @@ -834,13 +834,13 @@ BlobFile* TableBuilder::GetBlobFile(int bfid) { #### 功能设计示意图 -![c1](.\images\c1.png) +
图12 插入键值对过程
向当前 vlog 的尾端插入 key 和 value ,将 vlog 的编号 (file_no) 和新条目在 vlog 中的偏移量 (file_offset) 整合成 vptr,向 memtable 中写入 key 和 vptr 。当 current vlog 的大小达到一定阈值且磁盘IO繁忙程度低于指定阈值时,创建新的 vlog 。 -![c2](.\images\c2.png) +
图13 垃圾回收 (GC) 过程