arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2305.01087cs.DS
收藏

一种面向密集更新的基于LSM的R树索引

An Update-intensive LSM-based R-tree Index

Jaewoo Shin, Jianguo Wang, Walid G. Aref

AI总结:

针对密集更新空间工作负载下LSM二级索引效率不足的问题,提出集成内存更新备忘录的LSM RUM-tree,通过控制备忘录大小保障性能,实验显示其更新和查询速度较现有方案最高分别提升9.6倍和2400倍。

摘要:

许多应用需要对空间对象执行密集更新工作负载,例如追踪移动物体的社交网络服务和共享出行服务。通过在内存中缓冲插入和删除操作,日志结构合并树(Log Structured Merge Tree, LSM)凭借处理写密集工作负载的能力,已被广泛应用于各类系统中。尽管LSM的研究重点一直集中在键值存储及其优化上,但随着现代异构数据需要使用二级索引,研究如何高效支持基于LSM的二级索引(例如基于位置的索引)已成为迫切需求。本文研究了将基于主存的备忘录结构集成到LSM二级索引结构中,以高效处理密集更新工作负载的方案。我们在基于R树的二级索引场景下开展了这项研究。具体而言,我们提出了LSM RUM-tree,该结构展示了在基于LSM的R树中使用更新备忘录(Update Memo)来提升R树插入、删除、更新和搜索操作性能的方法。LSM RUM-tree引入了新的策略来控制更新备忘录的大小,确保其始终能容纳在内存中以保障高性能。更新备忘录是一种轻量级内存结构,适合处理密集更新工作负载,且不会引入显著开销。使用真实空间数据的实验结果表明,与现有LSM R树实现相比,LSM RUM-tree的更新操作加速比最高达9.6倍,查询处理加速比最高达2400倍。

英文摘要:

Many applications require update-intensive workloads on spatial objects, e.g., social-network services and shared-riding services that track moving objects. By buffering insert and delete operations in memory, the Log Structured Merge Tree (LSM) has been used widely in various systems because of its ability to handle write-heavy workloads. While the focus on LSM has been on key-value stores and their optimizations, there is a need to study how to efficiently support LSM-based {\em secondary} indexes (e.g., location-based indexes) as modern, heterogeneous data necessitates the use of secondary indexes. In this paper, we investigate the augmentation of a main-memory-based memo structure into an LSM secondary index structure to handle update-intensive workloads efficiently. We conduct this study in the context of an R-tree-based secondary index. In particular, we introduce the LSM RUM-tree that demonstrates the use of an Update Memo in an LSM-based R-tree to enhance the performance of the R-tree's insert, delete, update, and search operations. The LSM RUM-tree introduces new strategies to control the size of the Update Memo to make sure it always fits in memory for high performance. The Update Memo is a light-weight in-memory structure that is suitable for handling update-intensive workloads without introducing significant overhead. Experimental results using real spatial data demonstrate that the LSM RUM-tree achieves up to 9.6x speedup on update operations and up to 2400x speedup on query processing over existing LSM R-tree implementations.

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

↑