Affiliation:
1. Technische Universität München
2. Friedrich-Schiller-Universität Jena
Abstract
To support Hybrid Transaction and Analytical Processing (HTAP), database systems generally rely on Multi-Version Concurrency Control (MVCC). While MVCC elegantly enables lightweight isolation of readers and writers, it also generates outdated tuple versions, which, eventually, have to be reclaimed. Surprisingly, we have found that in HTAP workloads, this reclamation of old versions, i.e., garbage collection, often becomes the performance bottleneck.
It turns out that in the presence of long-running queries, state-of-the-art garbage collectors are too coarse-grained. As a consequence, the number of versions grows quickly slowing down the entire system. Moreover, the standard background cleaning approach makes the system vulnerable to sudden spikes in workloads.
In this work, we propose a novel garbage collection (GC) approach that prunes obsolete versions eagerly. Its seamless integration into the transaction processing keeps the GC overhead minimal and ensures good scalability. We show that our approach handles mixed workloads well and also speeds up pure OLTP workloads like TPC-C compared to existing state-of-the-art approaches.
Subject
General Earth and Planetary Sciences,Water Science and Technology,Geography, Planning and Development
Cited by
28 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. A prefetching indexing scheme for in-memory database systems;Future Generation Computer Systems;2024-07
2. A survey on hybrid transactional and analytical processing;The VLDB Journal;2024-06-04
3. Fast Abort-Freedom for Deterministic Transactions;2024 IEEE International Parallel and Distributed Processing Symposium (IPDPS);2024-05-27
4. Log Replaying for Real-Time HTAP: An Adaptive Epoch-Based Two-Stage Framework;2024 IEEE 40th International Conference on Data Engineering (ICDE);2024-05-13
5. EPO‐R: An efficient garbage collection scheme for long‐term transactions;Concurrency and Computation: Practice and Experience;2024-05-04