How to Grow an LSM-tree? Towards Bridging the Gap Between Theory and Practice
Dingheng Mo, Siqiang Luo, Stratos Idreos
摘要
LSM-tree based key-value stores are widely adopted as the data storage backend in modern big data applications. The LSM-tree grows with data ingestion, by either adding levels with fixed level capacities (dubbed as vertical scheme) or increasing level capacities with fixed number of levels (dubbed as horizontal scheme). The vertical scheme leads the trend in recent system designs in RocksDB, LevelDB, and WiredTiger, whereas the horizontal scheme shows a decline in being adopted in the industry. The growth scheme profoundly impacts the LSM system performance in various aspects such as read, write and space costs. This paper attempts to give a new insight into a fundamental design question -how to grow an LSM-tree to attain more desirable performance?
Our analysis highlights the limitations of the vertical scheme in achieving an optimal read-write trade-off and the horizontal scheme in managing space cost effectively. Building on the analysis, we present a novel approach, Vertiorizon, which combines the strengths of both the vertical and horizontal schemes to achieve a superior balance between lookup, update, and space costs. Its adaptive design makes it highly compatible with a wide spectrum of workloads. Compared to the vertical scheme, Vertiorizon significantly improves the read-write performance trade-off. In contrast to the horizontal scheme, Vertiorizon greatly extends the trade-off range by a non-trivial generalization of Bentley and Saxe's theory [7], while substantially reducing space costs. When integrated with RocksDB, Vertiorizon demonstrates better write performance than the vertical scheme, while incurring about six times less additional space cost compared to the horizontal scheme.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- ArceKV: Towards Workload-driven LSM-compactions for Key-Value Store Under Dynamic Workloads 引用了 Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
- ArceKV: Towards Workload-driven LSM-compactions for Key-Value Store Under Dynamic Workloads 引用了 Chucky: A Succinct Cuckoo Filter for LSM-Tree
- ArceKV: Towards Workload-driven LSM-compactions for Key-Value Store Under Dynamic Workloads 引用了 FPGA-Accelerated Compactions for LSM-based Key-Value Store
- ArceKV: Towards Workload-driven LSM-compactions for Key-Value Store Under Dynamic Workloads 引用了 Spooky: Granulating LSM-Tree Compactions Correctly
- Chucky: A Succinct Cuckoo Filter for LSM-Tree 引用了 FPGA-Accelerated Compactions for LSM-based Key-Value Store
- Chucky: A Succinct Cuckoo Filter for LSM-Tree 引用了 Lethe: A Tunable Delete-Aware LSM Engine
- Spooky: Granulating LSM-Tree Compactions Correctly 引用了 Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
- Spooky: Granulating LSM-Tree Compactions Correctly 引用了 Chucky: A Succinct Cuckoo Filter for LSM-Tree
- Spooky: Granulating LSM-Tree Compactions Correctly 引用了 FPGA-Accelerated Compactions for LSM-based Key-Value Store
- How to Write to SSDs 引用了 ArceKV: Towards Workload-driven LSM-compactions for Key-Value Store Under Dynamic Workloads
- How to Write to SSDs 引用了 Spooky: Granulating LSM-Tree Compactions Correctly
- Terark-DS: A High-Performance and Storage-Efficient Key-Value Separation Storage Engine on Disaggregated Storage 引用了 ArceKV: Towards Workload-driven LSM-compactions for Key-Value Store Under Dynamic Workloads
引用它的顶会 Paper3
- How to Write to SSDsBohyun Lee, Tobias Ziegler, Viktor LeisVLDB 2026 · 2 次引用
- ArceKV: Towards Workload-driven LSM-compactions for Key-Value Store Under Dynamic WorkloadsJunfeng Liu, Haoxuan Xie, Siqiang LuoVLDB 2026
- Terark-DS: A High-Performance and Storage-Efficient Key-Value Separation Storage Engine on Disaggregated StorageJianshun Zhang, Xun Deng, Fang Wang, Jiaxin Ou 等VLDB 2026
它引用的 Paper14
- FPGA-Accelerated Compactions for LSM-based Key-Value StoreTeng Zhang, Jianying Wang, Xuntao Cheng, Hao Xu 等FAST 2020 · 99 次引用
- Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value StoresSiqiang Luo, Subarna Chatterjee, Rafael Ketsetsidis, Niv Dayan 等SIGMOD 2020 · 91 次引用
- Lethe: A Tunable Delete-Aware LSM EngineSubhadeep Sarkar, Tarikul Islam Papon, Dimitris Staratzis, Manos AthanassoulisSIGMOD 2020 · 68 次引用
- Chucky: A Succinct Cuckoo Filter for LSM-TreeNiv Dayan, Moshe TwittoSIGMOD 2021 · 57 次引用
- Spooky: Granulating LSM-Tree Compactions CorrectlyNiv Dayan, Tamar Weiss, Shmuel Dashevsky, Michael Pan 等VLDB 2022 · 57 次引用
相关 Paper
- Autumn: A Scalable Read Optimized LSM-Tree Based Key-Value Stores with Fast Point and Range ReadsFuheng Zhao, Zach Miller, Leron Reznikov, Divyakant Agrawal 等ICDE 2025 · 2 次引用
- UniKV: Toward High-Performance and Scalable KV Storage in Mixed Workloads via Unified IndexingQiang Zhang, Yongkun Li, Patrick P. C. Lee, Yinlong Xu 等ICDE 2020 · 27 次引用
- Structural Designs Meet Optimality: Exploring Optimized LSM-tree Structures in a Colossal Configuration SpaceJunfeng Liu, Fan Wang, Dingheng Mo, Siqiang LuoSIGMOD 2024 · 13 次引用
- Less is More: De-amplifying I/Os for Key-value Stores with a Log-assisted LSM-treeKecheng Huang, Zhiping Jia, Zhaoyan Shen, Zili Shao 等ICDE 2021 · 27 次引用
- Boosting Write Performance of KV Stores: An NVM - Enabled Storage Collaboration ApproachYi Wang, Jiajian He, Kaoyi Sun, Yunhao Dong 等ICDE 2024 · 6 次引用
