Lune

ICDE2020顶会

Doubleheader Logging: Eliminating Journal Write Overhead for Mobile DBMS

Sehyeon Oh, Wook-Hee Kim, Jihye Seo, Hyeonho Song, Sam H. Noh, Beomseok Nam

摘要

Various transactional systems use out-of-place updates such as logging or copy-on-write mechanisms to update data in a failure-atomic manner. Such out-of-place update methods double the I/O traffic due to back-up copies in the database layer and quadruple the I/O traffic due to the file system journaling. In mobile systems, transaction sizes of mobile apps are known to be tiny and transactions run at low concurrency. For such mobile transactions, legacy out-of-place update methods such as WAL are sub-optimal. In this work, we propose a crash consistent inplace update logging method -doubleheader logging (DHL) for SQLite. DHL prevents previous consistent records from being lost by performing a copy-on-write inside the database page and co-locating the metadata-only journal information within the page. This is done, in turn, with minimal sacrifice to page utilization. DHL is similar to when journaling is disabled, in the sense that it incurs almost no additional overhead in terms of both I/O and computation. Our experimental results show that DHL outperforms other logging methods such as out-of-place update write-ahead logging (WAL) and in-place update multiversion B-tree (MVBT).

1237

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper2

  1. exF2FS: Transaction Support in Log-Structured FilesystemJoontaek Oh, Sion Ji, Yongjin Kim, Youjip WonFAST 2022 · 14 次引用
  2. In-Page Shadowing and Two-Version Timestamp Ordering for Mobile DBMSsLam-Duy Nguyen, Sang Won Lee, Beomseok NamVLDB 2022 · 2 次引用

相关 Paper

  1. Silo: Speculative Hardware Logging for Atomic Durability in Persistent MemoryMing Zhang, Yu HuaHPCA 2023 · 8 次引用
  2. Multi-Granularity Shadow Paging with NVM Write Optimization for Crash-Consistent Memory-Mapped I/OHongchao Du, Qiao Li, Riwei Pan, Tei-Wei Kuo 等HPCA 2023 · 4 次引用
  3. SpecPMT: Speculative Logging for Resolving Crash Consistency Overhead of Persistent MemoryChencheng Ye, Yuanchao Xu, Xipeng Shen, Yan Sha 等ASPLOS 2023 · 13 次引用
  4. Decentralized, Epoch-based F2FS Journaling with Fine-grained Crash RecoveryYaotian Cui, Zhiqi Wang, Renhai Chen, Zili ShaoOSDI 2025
  5. NV-SQL: Boosting OLTP Performance with Non-Volatile DIMMsMijin An, Jonghyeok Park, Tianzheng Wang, Beomseok Nam 等VLDB 2023 · 6 次引用
黄昏的海面,两侧是细线勾勒的悬崖