图解 MongoDB 13|WiredTiger 存储引擎:B-tree、页和 checkpoint 三件套
WiredTiger 被当成「MongoDB 默认引擎」一笔带过,但它是性能抖动的真正源头。本文讲清楚数据在 B-tree 页里怎么存、Cache 怎么缓存热页、checkpoint 怎么把脏页刷盘,以及为什么写入会周期性抖动。
1 篇文章
WiredTiger 被当成「MongoDB 默认引擎」一笔带过,但它是性能抖动的真正源头。本文讲清楚数据在 B-tree 页里怎么存、Cache 怎么缓存热页、checkpoint 怎么把脏页刷盘,以及为什么写入会周期性抖动。