arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2101.06801cs.DB
收藏

用于HTAP工作负载的实时的LSM树

Real-Time LSM-Trees for HTAP Workloads

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

摘要:

实时的【形】分析系统采用混合数据布局,其中数据在其整个生命周期中以不同格式存储。最近的数据以面向行的格式存储,以满足OLTP工作负载并支持高插入率,而较旧的数据则转换为面向列的格式,以满足OLAP访问模式。我们观察到,日志结构化合并(LSM)树是一个自然的适合生命周期感知存储引擎,由于其高写吞吐量和面向级别的结构,其中记录传播从一个级别到下一个随着时间的推移。为了使用LSM-Tree构建生命周期感知的存储引擎,我们进行了一个关键的修改,以允许不同级别的不同数据布局,从纯粹的面向行到纯粹的面向列,从而形成实时的【形】LSM-Tree。我们给出了一个成本模型和一个算法来设计一个实时的【形】LSM树,适合于给定的工作负载,其次是激光的实验评估-我们的想法建立在RocksDB的键值存储的原型实现。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑