计算机科学 > 数据库
[提交于 2026年11月30日]
标题:TimeVault: A B+ Tree with RCU-based Multi-Versioning
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:As CPU core counts grow, concurrent indexes require synchronization that scales efficiently. In pursuit of scalability, some indexes have adopted Read-Copy-Update (RCU). And while RCU is indeed highly scalable, especially in read-heavy scenarios, RCU's potential extends beyond efficient synchronization. RCU implementations internally create and manage multiple versions of the protected data for synchronization purposes, but do not expose access to older versions to the user. At the same time, MVCC requires multi-version capabilities, such as access to older versions, which DBMSs typically implement separately on top of the used indexes. We present TimeVault, an RCU-based B+ tree that fuses both multi-versioning systems into one dual-purpose system. To this end, we extend traditional QSBR-RCU to Multi-Version RCU, which enables support for atomic range queries and time-travel queries. We further devise Speculative Traversal Locking, a novel, highly efficient locking scheme based on the existence guarantees provided by RCU. In workloads including writes or range queries, TimeVault achieves on average 2-4x and up to 160x higher throughput and up to three orders of magnitude lower tail latency than state-of-the-art indexes.
提交历史
来自:Marcus Paradies[v1] 2026年11月30日 星期一 15:30:36 UTC (360 KB)