Classic distance join queries using compact data structures

被引:0
|
作者
de Bernardo G. [1 ]
Penabad M.R. [1 ]
Corral A. [2 ]
Brisaboa N.R. [1 ]
机构
[1] Universidade da Coruña, Centro de investigación CITIC, A Coruña
[2] Dept. of Informatics, University of Almeria, Almeria
关键词
K closest pairs; k[!sup]2[!/sup]-tree; Spatial query evaluation; ε distance join;
D O I
10.1016/j.ins.2024.120732
中图分类号
学科分类号
摘要
Distance-based Join Queries (DJQs) have multiple applications in spatial databases, Geographic Information Systems, and other areas. The K Closest Pairs Query (KCPQ) 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 k2-tree, a compact data structure for binary grids. Our algorithms solve KCPQ and εDJQ queries, as well as several window-constrained variants, taking advantage of the indexing capabilities of k2-trees to efficiently answer queries without the need to decompress the data. Our experimental evaluation with large datasets shows that k2-tree algorithms are up to 5 times faster than plane-sweep algorithms in KCPQ, 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. © 2024 The Author(s)
引用
收藏
相关论文
共 50 条
  • [1] Processing distance join queries with constraints
    Papadopoulos, Apostolos N.
    Nanopoulos, Alexandros
    Manolopoulos, Yannis
    Computer Journal, 2006, 49 (03): : 281 - 296
  • [2] Processing distance join queries with constraints
    Papadopoulos, AN
    Nanopoulos, A
    Manolopoulos, Y
    COMPUTER JOURNAL, 2006, 49 (03): : 281 - 296
  • [3] A Comparison of Distributed Spatial Data Management Systems for Processing Distance Join Queries
    Garcia-Garcia, Francisco
    Corral, Antonio
    Iribarne, Luis
    Mavrommatis, George
    Vassilakopoulos, Michael
    ADVANCES IN DATABASES AND INFORMATION SYSTEMS, ADBIS 2017, 2017, 10509 : 214 - 228
  • [4] Adaptive and incremental processing for distance join queries
    Shin, H
    Moon, B
    Lee, S
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2003, 15 (06) : 1561 - 1578
  • [5] Doquet: Differentially Oblivious Range and Join Queries with Private Data Structures
    Qiu, Lina
    Kellaris, Georgios
    Mamoulis, Nikos
    Nissim, Kobbi
    Kollios, George
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2023, 16 (13): : 4160 - 4173
  • [6] Static and Streaming Data Structures for Frechet Distance Queries
    Filtser, Arnold
    Filtser, Omrit
    ACM TRANSACTIONS ON ALGORITHMS, 2023, 19 (04)
  • [7] Static and Streaming Data Structures for Frechet Distance Queries
    Filtser, Arnold
    Filtser, Omrit
    PROCEEDINGS OF THE 2021 ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, SODA, 2021, : 1150 - 1170
  • [8] Distance join queries of multiple inputs in spatial databases
    Corral, A
    Manolopoulos, Y
    Theodoridis, Y
    Vassilakopoulos, M
    ADVANCES IN DATABASES AND INFORMATION SYSTEMS, PROCEEDINGS, 2003, 2798 : 323 - 338
  • [9] A Taxonomy for Distance-Based Spatial Join Queries
    Li, Lingxiao
    Taniar, David
    INTERNATIONAL JOURNAL OF DATA WAREHOUSING AND MINING, 2017, 13 (03) : 1 - 24
  • [10] Engineering Compact Data Structures for Rank and Select Queries on Bit Vectors
    Kurpicz, Florian
    STRING PROCESSING AND INFORMATION RETRIEVAL, SPIRE 2022, 2022, 13617 : 257 - 272