References & Citations
Computer Science > Databases
Title: Real-Time LSM-Trees for HTAP Workloads
(Submitted on 17 Jan 2021 (v1), last revised 15 Jul 2022 (this version, v2))
Abstract: 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.
Submission history
From: Hemant Saxena [view email][v1] Sun, 17 Jan 2021 23:15:32 GMT (1117kb,D)
[v2] Fri, 15 Jul 2022 02:23:44 GMT (1244kb,D)
Link back to: arXiv, form interface, contact.