Lune

ICDE2023顶会

Real-Time LSM-Trees for HTAP Workloads

Hemant Saxena, Lukasz Golab, Stratos Idreos, Ihab F. Ilyas

摘要

Real-time analytics systems employ hybrid data layouts in which data are stored in different formats throughout their lifecycle. Recent data are stored in a row-oriented format to serve OLTP workloads and support high insert rates, while older data are transformed to a column-oriented format for OLAP access patterns. We observe that a Log-Structured Merge (LSM) Tree is a natural fit for a lifecycle-aware storage engine due to its high write throughput and level-oriented structure, in which records propagate from one level to the next over time. To build a lifecycle-aware storage engine using an LSM-Tree, we make a crucial modification to allow different data layouts in different levels, ranging from purely row-oriented to purely column-oriented, leading to a Real-Time LSM-Tree. We give a cost model and an algorithm to design a Real-Time LSM-Tree that is suitable for a given workload, followed by an experimental evaluation of LASER -a prototype implementation of our idea built on top of the RocksDB key-value store.

• We propose the Real-Time LSM-Tree, which extends the traditional LSM-Tree with the ability to store data in a row-oriented or a column-oriented format in each level.

• We characterize the design space of possible Real-Time LSM-Trees. To navigate this design space, we provide a cost model to select good designs for a given workload.

• We develop and evaluate LASER, a Lifecycle-Aware Storage Engine for Real-time analytics based on Real-Time LSM-Trees. We implement LASER using RocksDB, which is a popular opensource key-value store based on LSM-Trees.

Compared to traditional read-optimized data structures such as B-trees, LSM-Trees focus on high write throughput while allowing indexed access to data [26]. LSM-Trees have two components: an in-memory piece that buffers inserts and a secondary storage piece.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Rethink Query Optimization in HTAP Databases 引用了 On Performance Stability in LSM-based Storage Systems
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper2

  1. Rethink Query Optimization in HTAP DatabasesHaoze Song, Wenchao Zhou, Feifei Li, Xiang Peng 等SIGMOD 2024 · 7 次引用
  2. BACH: Bridging Adjacency List and CSR Format using LSM-Trees for HGTAP WorkloadsJianfeng Huang, Cao Yihao, Ren Shubing, Baohua Wu 等VLDB 2025 · 3 次引用

它引用的 Paper2

  1. An LSM-based Tuple Compaction Framework for Apache AsterixDBWail Y. Alkowaileet, Sattam Alsubaiee, Michael J. CareyVLDB 2020 · 23 次引用
  2. On Performance Stability in LSM-based Storage SystemsChen Luo, Michael J. CareyVLDB 2020 · 1 次引用

相关 Paper

  1. Constructing and Analyzing the LSM Compaction Design SpaceSubhadeep Sarkar, Dimitris Staratzis, Zichen Zhu, Manos AthanassoulisVLDB 2021 · 73 次引用
  2. SA-LSM : Optimize Data Layout for LSM-tree Based Storage using Survival AnalysisTeng Zhang, Jian Tan, Xin Cai, Jianying Wang 等VLDB 2022 · 10 次引用
  3. HotRAP: Hot Record Retention and Promotion for LSM-trees with Tiered StorageJiansheng Qiu, Fangzhou Yuan, Mingyu Gao, Huanchen ZhangUSENIX ATC 2025 · 3 次引用
  4. ArceKV: Towards Workload-driven LSM-compactions for Key-Value Store Under Dynamic WorkloadsJunfeng Liu, Haoxuan Xie, Siqiang LuoVLDB 2026
  5. Doux: Decoupling Values from Keys for Real-Time AnalyticsShiming Yang, Yu Luo, Shuang Liu, Wei Lu 等ICDE 2026
黄昏的海面,两侧是细线勾勒的悬崖