Classic Distance Join Queries Using Compact Data Structures

Bibliographic citation

de Bernardo, G., Penabad, M. R., Corral, A., & Brisaboa, N. R. (2024). Classic distance join queries using compact data structures. Information Sciences, 674, 120732. https://doi.org/10.1016/j.ins.2024.120732

Type of academic work

Academic degree

Abstract

[Abstract] Distance-based Join Queries (DJQs) have multiple applications in spatial databases, Geographic Information Systems, and other areas. The š¾ Closest Pairs Query (š¾CPQ) and the šœ€ Distance Join Query (šœ€DJQ) are well-known DJQs that have been widely studied and can be solved using plane-sweep techniques, which are efficient but must keep the whole datasets in main memory. In this work, we propose DJQ algorithms that work with data represented using a š‘˜2-tree, a compact data structure for binary grids. Our algorithms solve š¾CPQ and šœ€DJQ queries, as well as several window-constrained variants, taking advantage of the indexing capabilities of š‘˜2-trees to efficiently answer queries without the need to decompress the data. Our experimental evaluation with large datasets shows that š‘˜2-tree algorithms are up to 5 times faster than plane-sweep algorithms in š¾CPQ, and 5–30 times faster in šœ€DJQ. In variants that are window-constrained, our algorithms are competitive in most scenarios and faster for large windows. Additionally, our algorithms are not very affected by the distribution of the data and yield much more predictable query times, showing up to 30 times smaller variance in query times than plane sweep, depending on the location of the query window.

Description

Financiado para publicación en acceso aberto: Universidade da Coruña/CISUG

Rights

Atribución-NoComercial 4.0 Internacional
Atribución-NoComercial 4.0 Internacional

Except where otherwise noted, this item's license is described as Atribución-NoComercial 4.0 Internacional