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

重新思考基于LSM-tree的键值存储:一项综述

Rethinking LSM-tree based Key-Value Stores: A Survey

Yina Lv, Qiao Li, Quanqing Xu, Congming Gao, Chuanhui Yang, Xiaoli Wang, Chun Jason Xue

AI总结:

本综述回顾了过去五年LSM-tree优化的代表性工作,分析了flush与compaction的性能影响及基本键值操作改进,并探讨了分布式多租户架构下的新挑战与未来方向。

摘要:

LSM-tree是现代键值存储系统中广泛采用的数据结构,它通过使用追加写入来实现顺序写入,从而优化重写应用中的写性能。然而,LSM-tree compaction的不可预测性带来了重大挑战,包括在峰值工作负载和资源受限环境下的性能波动、compaction期间数据重写导致的写放大、多级查询引起的读放大、读写性能之间的权衡,以及为缓解空间放大而需高效利用空间。先前关于LSM-tree优化的研究已解决上述挑战;然而近年来,LSM-tree优化的研究仍在不断提出。本综述的目标是回顾LSM-tree优化,重点关注过去五年内的代表性工作。本综述首先研究了现有解决方案如何缓解LSM-tree flush和compaction对性能的影响,以及如何改进基本键值操作。此外,分布式键值存储服务于多租户,用户规模从数万到数百万不等,需求各异。随后我们分析了这些现代架构及各种应用场景中的新挑战与机遇。与现有综述论文不同,本综述对LSM-tree优化的最新工作进行了详细讨论,并给出了未来的研究方向。

英文摘要:

LSM-tree is a widely adopted data structure in modern key-value store systems that optimizes write performance in write-heavy applications by using append writes to achieve sequential writes. However, the unpredictability of LSM-tree compaction introduces significant challenges, including performance variability during peak workloads and in resource-constrained environments, write amplification caused by data rewriting during compactions, read amplification from multi-level queries, trade-off between read and write performance, as well as efficient space utilization to mitigate space amplification. Prior studies on LSM-tree optimizations have addressed the above challenges; however, in recent years, research on LSM-tree optimization has continued to propose. The goal of this survey is to review LSM-tree optimization, focusing on representative works in the past five years. This survey first studies existing solutions on how to mitigate the performance impact of LSM-tree flush and compaction and how to improve basic key-value operations. In addition, distributed key-value stores serve multi-tenants, ranging from tens of thousands to millions of users with diverse requirements. We then analyze the new challenges and opportunities in these modern architectures and across various application scenarios. Unlike the existing survey papers, this survey provides a detailed discussion of the state-of-the-art work on LSM-tree optimizations and gives future research directions.

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

↑