Optimizing Databases by Learning Hidden Parameters of Solid State Drives
Aarati Kakaraparthy, Jignesh M. Patel, Kwanghyun Park, Brian Kroth
Abstract
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%.
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.
5 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers5
- When Database Meets New Storage Devices: Understanding and Exposing Performance Mismatches via ConfigurationsHaochen He, Erci Xu, Shanshan Li, Zhouyang Jia et al.VLDB 2023 · 17 citations
- SaS: SSD as SQL Database SystemJong-Hyeok Park, Soyee Choi, Gihwan Oh, Sang Won LeeVLDB 2021 · 13 citations
- ACEing the Bufferpool Management Paradigm for Modern Storage DevicesTarikul Islam Papon, Manos AthanassoulisICDE 2023 · 8 citations
- SSD-iq: Uncovering the Hidden Side of SSD PerformanceGabriel Haas, Bohyun Lee, Philippe Bonnet, Viktor LeisVLDB 2025 · 7 citations
- How to Write to SSDsBohyun Lee, Tobias Ziegler, Viktor LeisVLDB 2026 · 2 citations
Related papers
- Prolonging 3D NAND SSD lifetime via read latency relaxationChun-Yi Liu, Yunju Lee, Myoungsoo Jung, Mahmut Taylan Kandemir et al.ASPLOS 2021 · 35 citations
- LRU-C: Parallelizing Database I/Os for Flash SSDsBo-Hyun Lee, Mijin An, Sang-Won LeeVLDB 2023 · 14 citations
- Learning to Drive Software-Defined Solid-State DrivesDaixuan Li, Jinghan Sun, Jian HuangMICRO 2023 · 5 citations
- Mosaic: A Budget-Conscious Storage Engine for Relational Database SystemsLukas Vogel, Alexander van Renen, Satoshi Imamura, Viktor Leis et al.VLDB 2020
- NV-SQL: Boosting OLTP Performance with Non-Volatile DIMMsMijin An, Jonghyeok Park, Tianzheng Wang, Beomseok Nam et al.VLDB 2023 · 6 citations
