Lune

VLDB2022Top-tier venue

In-Page Shadowing and Two-Version Timestamp Ordering for Mobile DBMSs

Lam-Duy Nguyen, Sang Won Lee, Beomseok Nam

Abstract

Increasing the concurrency level in mobile database systems has not received much attention, mainly because the concurrency requirements of mobile workloads has been regarded to be low. Contrary to popular belief, mobile workloads require higher concurrency. In this work, we propose novel journaling and concurrency mechanisms for mobile DBMSs, both of which build upon one common concept - In-Page Shadowing (IPS). We design and implement a novel In-Page Shadowing recovery method for SQLite to resolve the journaling of journal anomaly, which is known to quadruple the I/O traffic in mobile devices. IPS unions the previous and the next versions of a database page in the same physical page. Using the consolidated two versions of database page, we design Two-Version Timestamp-Ordering (2VTO) protocol that enables non-blocking reads as in multi-version concurrency control, but reduces the garbage collection overhead. Designed with mobile environments in mind, IPS and 2VTO are high-performant and resource-efficient transactional solutions. Our performance study shows that IPS and 2VTO outperform state-of-the-art logging methods and an optimistic concurrency control protocol for real mobile workloads.

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

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Why Files If You Have a DBMS?Lam-Duy Nguyen, Viktor LeisICDE 2024 · 7 citations

Builds on2

  1. Contact Tracing App Privacy: What Data Is Shared By Europe's GAEN Contact Tracing AppsDouglas J. Leith, Stephen FarrellINFOCOM 2021 · 42 citations
  2. Doubleheader Logging: Eliminating Journal Write Overhead for Mobile DBMSSehyeon Oh, Wook-Hee Kim, Jihye Seo, Hyeonho Song et al.ICDE 2020 · 5 citations

Related papers

  1. Multi-Granularity Shadow Paging with NVM Write Optimization for Crash-Consistent Memory-Mapped I/OHongchao Du, Qiao Li, Riwei Pan, Tei-Wei Kuo et al.HPCA 2023 · 4 citations
  2. CJFS: Concurrent Journaling for Better ScalabilityJoontaek Oh, Seung Won Yoo, Hojin Nam, Changwoo Min et al.FAST 2023
  3. exF2FS: Transaction Support in Log-Structured FilesystemJoontaek Oh, Sion Ji, Yongjin Kim, Youjip WonFAST 2022 · 14 citations
  4. ZMS: Zone Abstraction for Mobile Flash StorageJoo Young Hwang, Seokhwan Kim, Daejun Park, Yong-Gil Song et al.USENIX ATC 2024 · 22 citations
  5. Memory-Optimized Multi-Version Concurrency Control for Disk-Based Database SystemsMichael J. Freitag, Alfons Kemper, Thomas NeumannVLDB 2022 · 14 citations
Dusk over the sea between two cliffs drawn in fine vertical lines