NV-SQL: Boosting OLTP Performance with Non-Volatile DIMMs
Mijin An, Jonghyeok Park, Tianzheng Wang, Beomseok Nam, Sang-Won Lee
摘要
When running OLTP workloads, relational DBMSs with flash SSDs still suffer from the durability overhead. Heavy writes to SSD not only limit the performance but also shorten the storage lifespan. To mitigate the durability overhead, this paper proposes a new database architecture, NV-SQL. NV-SQL aims at absorbing a large fraction of writes written from DRAM to SSD by introducing NVDIMM into the memory hierarchy as a durable write cache. On the new architecture, NV-SQL makes two technical contributions. First, it proposes the re-update interval-based admission policy that determines which write-hot pages qualify for being cached in NVDIMM. It is novel in that the page hotness is based solely on pages' LSN. Second, this study finds that NVDIMM-resident pages can violate the page action consistency upon crash and proposes how to detect inconsistent pages using per-page in-update flag and how to rectify them using the redo log. NV-SQL demonstrates how the ARIES-like logging and recovery techniques can be elegantly extended to support the caching and recovery for NVDIMM data. Additionally, by placing write-intensive redo buffer and DWB in NVDIMM, NV-SQL eliminates the log-force-at-commit and WAL protocols and further halves the writes to the storage. Our NV-SQL prototype running with a real NVDIMM device outperforms the same-priced vanilla MySQL with larger DRAM by several folds in terms of transaction throughput for write-intensive OLTP benchmarks. This confirms that NV-SQL is a cost-performance efficient solution to the durability problem.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Predictive Translation: High-Performance Buffer Management Without the Trade-Offs 引用了 Your Read is Our Priority in Flash Storage
- Moving on From Group Commit: Autonomous Commit Enables High Throughput and Low Latency on NVMe SSDs 引用了 Avoiding Read Stalls on Flash Storage
- Moving on From Group Commit: Autonomous Commit Enables High Throughput and Low Latency on NVMe SSDs 引用了 Your Read is Our Priority in Flash Storage
引用它的顶会 Paper3
- Predictive Translation: High-Performance Buffer Management Without the Trade-OffsMichael Zinsmeister, Lam-Duy Nguyen, Viktor Leis, Thomas NeumannSIGMOD 2026 · 3 次引用
- Moving on From Group Commit: Autonomous Commit Enables High Throughput and Low Latency on NVMe SSDsLam-Duy Nguyen, Adnan Alhomssi, Tobias Ziegler, Viktor LeisSIGMOD 2025 · 3 次引用
- TierBase: A Workload-Driven Cost-Optimized Key-Value StoreZhitao Shen, Shiyu Yang, Weibo Chen, Kunming Wang 等ICDE 2025
它引用的 Paper4
- An Empirical Guide to the Behavior and Use of Scalable Persistent MemoryJian Yang, Juno Kim, Morteza Hoseinzadeh, Joseph Izraelevitz 等FAST 2020 · 470 次引用
- Spitfire: A Three-Tier Buffer Manager for Volatile and Non-Volatile MemoryXinjing Zhou, Joy Arulraj, Andrew Pavlo, David E. CohenSIGMOD 2021 · 42 次引用
- Avoiding Read Stalls on Flash StorageMijin An, In-Yeong Song, Yong Ho Song, Sang-Won LeeSIGMOD 2022 · 10 次引用
- Your Read is Our Priority in Flash StorageMijin An, Soojun Im, Dawoon Jung, Sang Won LeeVLDB 2022 · 9 次引用
相关 Paper
- Boosting OLTP Performance with Per-Page Logging on NVDIMMBohyun Lee, Seongjae Moon, Jonghyeok Park, Sang-Won LeeSIGMOD 2025 · 3 次引用
- Buffered Persistence in B+ TreesMingzhe Du, Michael L. ScottSIGMOD 2025 · 3 次引用
- Zen: a High-Throughput Log-Free OLTP Engine for Non-Volatile Main MemoryGang Liu, Leying Chen, Shimin ChenVLDB 2021 · 31 次引用
- 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 次引用
- HOOP: Efficient Hardware-Assisted Out-of-Place Update for Non-Volatile MemoryMiao Cai, Chance C. Coats, Jian HuangISCA 2020 · 33 次引用
