Lune

VLDB2020顶会

Optimizing Databases by Learning Hidden Parameters of Solid State Drives

Aarati Kakaraparthy, Jignesh M. Patel, Kwanghyun Park, Brian Kroth

摘要

Solid State Drives (SSDs) are complex devices with varying internal implementations, resulting in subtle differences in behavior between devices. In this paper, we demonstrate how a database engine can be optimized for a particular device by learning its hidden parameters. This can not only improve an application's performance, but also potentially increase the lifetime of the SSD. Our approach for optimizing a database for a given SSD consists of three steps: learning the hidden parameters of the device, proposing rules to analyze the I/O behavior of the database, and optimizing the database by eliminating violations of these rules. We obtain two different characteristics of an SSD, namely the request size profile and the location profile , from which we learn multiple internal parameters. Based on these parameters, we propose rules to analyze the I/O behavior of a database engine. Using these rules, we uncover sub-optimal I/O patterns in SQLite3 and MariaDB when running on our experimental SSDs. Finally, we present three techniques to optimize these database engines: (1) use-hot-locations on SSD-S, which improves the SELECT operation throughput of SQLite3 and MariaDB by 29% and 27% respectively; it also improves the performance of YCSB on MariaDB by 1%-22% depending on the workload mix, (2) write-aligned-stripes on SSD-T, reduces the wear-out caused by SQLite3 write-ahead log (WAL) file by 3.1%, and (3) contain-write-in-flash-page on SSD-T, which reduces the wear-out caused by the MariaDB binary log file by 6.7%.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • How to Write to SSDs 引用了 When Database Meets New Storage Devices: Understanding and Exposing Performance Mismatches via Configurations
  • How to Write to SSDs 引用了 SSD-iq: Uncovering the Hidden Side of SSD Performance
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. When Database Meets New Storage Devices: Understanding and Exposing Performance Mismatches via ConfigurationsHaochen He, Erci Xu, Shanshan Li, Zhouyang Jia 等VLDB 2023 · 17 次引用
  2. SaS: SSD as SQL Database SystemJong-Hyeok Park, Soyee Choi, Gihwan Oh, Sang Won LeeVLDB 2021 · 13 次引用
  3. ACEing the Bufferpool Management Paradigm for Modern Storage DevicesTarikul Islam Papon, Manos AthanassoulisICDE 2023 · 8 次引用
  4. SSD-iq: Uncovering the Hidden Side of SSD PerformanceGabriel Haas, Bohyun Lee, Philippe Bonnet, Viktor LeisVLDB 2025 · 7 次引用
  5. How to Write to SSDsBohyun Lee, Tobias Ziegler, Viktor LeisVLDB 2026 · 2 次引用

相关 Paper

  1. Prolonging 3D NAND SSD lifetime via read latency relaxationChun-Yi Liu, Yunju Lee, Myoungsoo Jung, Mahmut Taylan Kandemir 等ASPLOS 2021 · 35 次引用
  2. LRU-C: Parallelizing Database I/Os for Flash SSDsBo-Hyun Lee, Mijin An, Sang-Won LeeVLDB 2023 · 14 次引用
  3. Learning to Drive Software-Defined Solid-State DrivesDaixuan Li, Jinghan Sun, Jian HuangMICRO 2023 · 5 次引用
  4. Mosaic: A Budget-Conscious Storage Engine for Relational Database SystemsLukas Vogel, Alexander van Renen, Satoshi Imamura, Viktor Leis 等VLDB 2020
  5. NV-SQL: Boosting OLTP Performance with Non-Volatile DIMMsMijin An, Jonghyeok Park, Tianzheng Wang, Beomseok Nam 等VLDB 2023 · 6 次引用
黄昏的海面,两侧是细线勾勒的悬崖