An index structure for spatial joins in linear constraint databases

Constraint databases integrate database technology with constraint solving to deal with new applications such as spatial or geographical applications and those requiring arithmetic computations. Although the conceptual framework is elegant, issues related to efficient query evaluation and optimization techniques have not been sufficiently addressed. We study efficient evaluation of spatial join in linear constraint databases in terms of the I/O complexity. We develop an extension of the classical B/sup +/-trees, called interval B/sup +/-trees, and show that they can be used to efficiently evaluate the spatial join of relations with dense-order and linear constraints. Specifically, we develop a general algorithm for joining two sets of rectangles using interval B/sup +/-trees. We show that the algorithm has the worst case I/O complexity of O(bNlog/sub b/(N/b)+k), where N is the number of input rectangles and k the number of intersections. We show that the algorithm can be used in performing joins of relations with linear constraints. For relations with dense-order constraints where the spatial objects are not strictly rectangles, we extend the algorithm so that it can process the natural join of two N-tuple relations within O(bNlog/sub b/(N/b)+k) I/Os, where k is the number of intersections. It remains open if one can achieve the same upper bound in the linear case.

[1]  Jianwen Su,et al.  Linear Constraint Query Languages: Expressive Power and Complexity , 1994, LCC.

[2]  Hans-Peter Kriegel,et al.  Efficient processing of spatial joins using R-trees , 1993, SIGMOD Conference.

[3]  JOSEPH O’ROURKE,et al.  A new linear algorithm for intersecting convex polygons , 1982, Comput. Graph. Image Process..

[4]  Michael J. Maher,et al.  Toward Practical Constraint Databases , 1993, VLDB.

[5]  Ming-Ling Lo,et al.  Spatial hash-joins , 1996, SIGMOD '96.

[6]  Jack A. Orenstein Spatial query processing in an object-oriented database system , 1986, SIGMOD '86.

[7]  Stéphane Grumbach,et al.  The DEDALE system for complex spatial queries , 1998, SIGMOD '98.

[8]  Derick Wood,et al.  Counting and Reporting Intersections of d-Ranges , 1982, IEEE Transactions on Computers.

[9]  Sridhar Ramaswamy,et al.  Scalable Sweeping-Based Spatial Join , 1998, VLDB.

[10]  Elke A. Rundensteiner,et al.  Spatial Joins Using R-trees: Breadth-First Traversal with Global Optimizations , 1997, VLDB.

[11]  Antonin Guttman,et al.  R-trees: a dynamic index structure for spatial searching , 1984, SIGMOD '84.

[12]  Gabriel M. Kuper,et al.  Constraint Query Languages , 1995, J. Comput. Syst. Sci..

[13]  Jack A. Orenstein A comparison of spatial query processing techniques for native and parameter spaces , 1990, SIGMOD '90.

[14]  Hans-Peter Kriegel,et al.  The R*-tree: an efficient and robust access method for points and rectangles , 1990, SIGMOD '90.

[15]  Michael Ian Shamos,et al.  Computational geometry: an introduction , 1985 .

[16]  Derick Wood,et al.  An Optimal Worst Case Algorithm for Reporting Intersections of Rectangles , 1980, IEEE Transactions on Computers.

[17]  Gabriel M. Kuper,et al.  A constrant-based spatial extension to SQL , 1998, GIS '98.

[18]  David J. DeWitt,et al.  Partition based spatial-merge join , 1996, SIGMOD '96.

[19]  Ramez Elmasri,et al.  Fundamentals of Database Systems , 1989 .