English

Spatial Queries with Two kNN Predicates

Databases 2012-08-02 v1

Abstract

The widespread use of location-aware devices has led to countless location-based services in which a user query can be arbitrarily complex, i.e., one that embeds multiple spatial selection and join predicates. Amongst these predicates, the k-Nearest-Neighbor (kNN) predicate stands as one of the most important and widely used predicates. Unlike related research, this paper goes beyond the optimization of queries with single kNN predicates, and shows how queries with two kNN predicates can be optimized. In particular, the paper addresses the optimization of queries with: (i) two kNN-select predicates, (ii) two kNN-join predicates, and (iii) one kNN-join predicate and one kNN-select predicate. For each type of queries, conceptually correct query evaluation plans (QEPs) and new algorithms that optimize the query execution time are presented. Experimental results demonstrate that the proposed algorithms outperform the conceptually correct QEPs by orders of magnitude.

Keywords

Cite

@article{arxiv.1208.0074,
  title  = {Spatial Queries with Two kNN Predicates},
  author = {Ahmed M. Aly and Walid G. Aref and Mourad Ouzzani},
  journal= {arXiv preprint arXiv:1208.0074},
  year   = {2012}
}

Comments

VLDB2012

R2 v1 2026-06-21T21:44:26.285Z