Lune

SIGMOD2023Top-tier venue

One-shot Garbage Collection for In-memory OLTP through Temporality-aware Version Storage

Aunn Raza, Periklis Chrysogelos, Angelos-Christos G. Anadiotis, Anastasia Ailamaki

Abstract

Most modern in-memory online transaction processing (OLTP) engines rely on multi-version concurrency control (MVCC) to provide data consistency guarantees in the presence of conflicting data accesses. MVCC improves concurrency by generating a new version of a record on every write, thus increasing the storage requirements. Existing approaches rely on garbage collection and chain consolidation to reduce the length of version chains and reclaim space by freeing unreachable versions. However, finding unreachable versions requires the traversal of long version chains, which incurs random accesses right into the critical path of transaction execution, hence limiting scalability.

This paper introduces OneShotGC, a new multi-version storage design that eliminates version traversal during garbage collection, with minimal discovery and memory management overheads. OneShotGC leverages the temporal correlations across versions to opportunistically cluster them into contiguous memory blocks that can be released in one shot. We implement OneShotGC in Proteus, and use YCSB and TPC-C to experimentally evaluate its performance with respect to the state-of-the-art, where we observe an improvement of up to 2x in transactional throughput.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Swan: Hybrid MVCC Management for Efficient Transaction Processing in LSM-Tree-Based Key-Value Stores cites Rethink the Scan in MVCC Databases
  • Swan: Hybrid MVCC Management for Efficient Transaction Processing in LSM-Tree-Based Key-Value Stores cites Long-lived Transactions Made Less Harmful
  • Swan: Hybrid MVCC Management for Efficient Transaction Processing in LSM-Tree-Based Key-Value Stores cites Scalable Garbage Collection for In-Memory MVCC Systems
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Swan: Hybrid MVCC Management for Efficient Transaction Processing in LSM-Tree-Based Key-Value StoresYang Guo, Jin Xue, Zili ShaoVLDB 2026

Builds on3

  1. Scalable Garbage Collection for In-Memory MVCC SystemsJan Böttcher, Viktor Leis, Thomas Neumann, Alfons KemperVLDB 2020 · 50 citations
  2. Rethink the Scan in MVCC DatabasesJong-Bin Kim, Kihwang Kim, Hyunsoo Cho, Jaeseon Yu et al.SIGMOD 2021 · 19 citations
  3. Long-lived Transactions Made Less HarmfulJong-Bin Kim, Hyunsoo Cho, Kihwang Kim, Jaeseon Yu et al.SIGMOD 2020 · 13 citations

Related papers

  1. Scalable and Robust Snapshot Isolation for High-Performance Storage EnginesAdnan Alhomssi, Viktor LeisVLDB 2023 · 12 citations
  2. Practically and Theoretically Efficient Garbage Collection for MultiversioningYuanhao Wei, Guy E. Blelloch, Panagiota Fatourou, Eric RuppertPPoPP 2023 · 1 citation
  3. Diva: Making MVCC Systems HTAP-FriendlyJong-Bin Kim, Jaeseon Yu, Jaechan Ahn, Sooyong Kang et al.SIGMOD 2022 · 12 citations
  4. Massively Parallel Multi-Versioned Transaction ProcessingShujian Qian, Ashvin GoelOSDI 2024 · 5 citations
  5. Verifying vMVCC, a high-performance transaction library using multi-version concurrency controlYun-Sheng Chang, Ralf Jung, Upamanyu Sharma, Joseph Tassarotti et al.OSDI 2023 · 16 citations
Dusk over the sea between two cliffs drawn in fine vertical lines