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

用于轨迹索引的多入口广义搜索树

Multi-Entry Generalized Search Trees for Indexing Trajectories

Maxime Schoemans, Walid G. Aref, Esteban Zimányi, Mahmoud Sakr

AI总结:

针对传统广义索引单条目表示复杂对象效率低的问题,提出支持可插拔拆分模块的多入口广义搜索树MGiST与MSP-GiST,在轨迹索引场景下实现多种空间索引的多入口版本,查询性能最高提升一个数量级。

摘要:

广义索引的理念是数据库系统研究的成功案例之一,已在主流数据库系统中实现落地。GiST(广义搜索树)与SP-GiST(空间划分广义搜索树)是两类广泛应用的广义索引,通常用于多维数据索引。目前,GiST和SP-GiST这类广义索引采用单个索引条目表示一个数据库对象,例如为每个时空对象分配一个包围盒。但在处理移动对象轨迹这类复杂对象时,单对象单条目模式无法构建高效索引。已有研究指出,在索引前将轨迹拆分为多个包围盒可提升查询性能,因为这能增强索引的过滤能力。\n本文提出MGiST与MSP-GiST,分别是GiST和SP-GiST对应的多入口广义搜索树,支持在插入过程中将对象拆分为多个条目。复杂对象拆分为多个子对象的方法因数据类型而异,还可能依赖特定领域参数,因此MGiST和MSP-GiST设计为支持可插拔模块,用于优化对象到多个子对象的拆分过程。\n我们通过轨迹索引场景验证MGiST与MSP-GiST的实用性:基于二者实现多种轨迹索引,并结合轨迹专用拆分算法实例化这些搜索树。我们构建并测试了R-Tree、Quad-Tree、KD-Tree等常用空间索引结构的多个多入口版本的性能,使用合成数据与真实数据开展评估,发现点查询、范围查询与KNN查询的性能最高可提升一个数量级。

英文摘要:

The idea of generalized indices is one of the success stories of database systems research. It has found its way to implementation in common database systems. GiST (Generalized Search Tree) and SP-GiST (Space-Partitioned Generalized Search Tree) are two widely-used generalized indices that are typically used for multidimensional data. Currently, the generalized indices GiST and SP-GiST represent one database object using one index entry, e.g., a bounding box for each spatio-temporal object. However, when dealing with complex objects, e.g., moving object trajectories, a single entry per object is inadequate for creating efficient indices. Previous research has highlighted that splitting trajectories into multiple bounding boxes prior to indexing can enhance query performance as it leads to a higher index filter. In this paper, we introduce MGiST and MSP-GiST, the multi-entry generalized search tree counterparts of GiST and SP-GiST, respectively, that are designed to enable the partitioning of objects into multiple entries during insertion. The methods for decomposing a complex object into multiple sub-objects differ from one data type to another, and may depend on some domain-specific parameters. Thus, MGiST and MSP-GiST are designed to allow for pluggable modules that aid in optimizing the split of an object into multiple sub-objects. We demonstrate the usefulness of MGiST and MSP-GiST using a trajectory indexing scenario, where we realize several trajectory indexes using MGiST and MSP-GiST and instantiate these search trees with trajectory-specific splitting algorithms. We create and test the performance of several multi-entry versions of widely-used spatial index structures, e.g., R-Tree, Quad-Tree, and KD-Tree. We conduct evaluations using both synthetic and real-world data, and observe up to an order of magnitude enhancement in performance of point, range, and KNN queries.

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

↑