DocumentCode :
3264471
Title :
Efficient algorithm for path-based range query in spatial databases
Author :
Ng, Hoong Kee ; Leong, Hon Wai ; Ho, Ngai Lam
Author_Institution :
Dept. of Comput. Sci., Singapore Nat. Univ., Kent Ridge Crescent, Singapore
fYear :
2004
fDate :
7-9 July 2004
Firstpage :
334
Lastpage :
343
Abstract :
We study the path-based range query (PRQ) for 2-dimensional spatial database defined as follows: given a sequence of query points, P = {p1, p2,..., pn}, and a search distance d, we want to report all points in the spatial database that are within a distance d of some point pi in P. This query arises from traveler information systems where it is often a feature to report events that lie nearby a planned route. The simple method of performing repeated range query (RRQ), i.e. the standard range query for each query point pi (1 ≤ i ≤ n) and combining the results is inefficient as it involves multiple searches on the database. We present an algorithm for the PRQ that uses only one pass of the R-tree while simultaneously process all the points in the query path P. We generalize pruning rules for the standard range query and also present new ones for efficient processing of PRQ. Extensive experiments on the PRQ and RRQ using various different datasets (real and randomly-generated), different R-tree variants (including bulk-loaded ones), over different query paths P, and search distances d. Experiments show that the algorithm for PRQ outperforms RRQ significantly and that this is consistent across the various problem parameters studied. Recently, we have also compared this basic PRQ algorithm with more refined techniques for the PRQ such as the sorted-path algorithm and the rectangle intersection method. Our simple algorithm performs well in comparison to these more sophisticated methods.
Keywords :
query formulation; query processing; trees (mathematics); visual databases; R-tree variants; path-based range query; query paths; repeated range query; search distances; spatial databases; traveler information systems; Algorithm design and analysis; Computer science; Data engineering; Drives; Information systems; Spatial databases;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Database Engineering and Applications Symposium, 2004. IDEAS '04. Proceedings. International
ISSN :
1098-8068
Print_ISBN :
0-7695-2168-1
Type :
conf
DOI :
10.1109/IDEAS.2004.1319807
Filename :
1319807
Link To Document :
بازگشت