arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.18892cs.DBcs.LG
收藏

LearnedKV:融合LSM与学习索引以实现存储系统上的卓越性能

LearnedKV: Integrating LSM and Learned Index for Superior Performance on Storage

University of Minnesota, Twin Cities(明尼苏达大学双城分校)

Wenlong Wang, David Hung-Chang Du

AI总结:

LearnedKV通过两层设计将LSM树与学习索引结合,利用非阻塞转换机制在垃圾回收时将LSM数据转为学习索引,从而在读性能上最高提升4.32倍、写性能最高提升1.43倍。

摘要:

我们提出LearnedKV,一种新型分层键值存储,它将日志结构合并(LSM)树与学习索引无缝集成,以在存储系统上实现卓越的读写性能。现有方法主要将学习索引用作LSM树中的辅助组件,而LearnedKV采用两层设计:LSM树处理近期的写操作,独立的学习索引加速读性能。我们的设计包含一种非阻塞转换机制,在垃圾回收期间高效地将LSM数据转换为学习索引,在不中断操作的情况下保持高性能。通过这种分层方法,LearnedKV大幅减小了LSM的规模,从而在读写两方面都带来显著的性能提升。在多种工作负载上的广泛评估表明,LearnedKV在读操作上比最先进的基于LSM的解决方案最高快4.32倍,在写操作上最高快1.43倍。该系统在不同数据分布、访问模式以及包括SSD和HDD在内的存储介质上均表现出稳健的性能。

英文摘要:

We present LearnedKV, a novel tiered key-value store that seamlessly integrates a Log-Structured Merge (LSM) tree with a Learned Index to achieve superior read and write performance on storage systems. While existing approaches use learned indexes primarily as auxiliary components within LSM trees, LearnedKV employs a two-tier design where the LSM tree handles recent write operations while a separate Learned Index accelerates read performance. Our design includes a non-blocking conversion mechanism that efficiently transforms LSM data into a Learned Index during garbage collection, maintaining high performance without interrupting operations. LearnedKV dramatically reduces LSM size through this tiered approach, leading to significant performance gains in both reads and writes. Extensive evaluations across diverse workloads show that LearnedKV outperforms state-of-the-art LSM-based solutions by up to 4.32x for read operations and 1.43x for writes. The system demonstrates robust performance across different data distributions, access patterns, and storage media including both SSDs and HDDs.

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

↑