arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2010.12734cs.DB
收藏

REMIX:LSM树的有效范围查询

REMIX: Efficient Range Query for LSM-trees

Wenshao Zhong, Chen Chen, Xingbo Wu, Song Jiang

摘要:

基于LSM树的键值(KV)存储以多级结构组织数据,以实现高速写入。传统的LSM树上的范围查询必须从多个表文件中动态地查找和排序合并数据,这是昂贵的,并且通常导致平庸的读取性能。为了提高LSM树上的范围查询效率,我们引入了一个空间有效的KV索引数据结构,命名为REMIX,记录了一个全局排序的KV数据跨越多个表文件的视图。在多个REMIX索引的数据文件上的范围查询可以使用二分搜索快速定位目标键,并按排序顺序检索后续键,而无需进行键比较。我们建立RemixDB,一个基于LSM树的KV存储,采用写效率的压缩策略,并采用REMIXes进行快速点和范围查询。实验结果表明,REMIXes可以显着提高范围查询性能的写优化的LSM树的KV存储。

英文摘要:

LSM-tree based key-value (KV) stores organize data in a multi-level structure for high-speed writes. Range queries on traditional LSM-trees must seek and sort-merge data from multiple table files on the fly, which is expensive and often leads to mediocre read performance. To improve range query efficiency on LSM-trees, we introduce a space-efficient KV index data structure, named REMIX, that records a globally sorted view of KV data spanning multiple table files. A range query on multiple REMIX-indexed data files can quickly locate the target key using a binary search, and retrieve subsequent keys in sorted order without key comparisons. We build RemixDB, an LSM-tree based KV-store that adopts a write-efficient compaction strategy and employs REMIXes for fast point and range queries. Experimental results show that REMIXes can substantially improve range query performance in a write-optimized LSM-tree based KV-store.

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

↑