language: en

Estimating the Selectivity of Spatial Queries Using the `Correlation' Fractal Dimension

Alberto Belussi
Dipartimento di Elettronica e Informatica Politecnico di Milano
Milano (Italy)
e-mail: belussi@elet.polimi.it
Christos Faloutsos
Institute for Systems Research (ISR) and Dept. of Computer Science Univ. of Maryland,
College Park
e-mail: christos@cs.umd.edu February 24, 1995

Abstract We examine the estimation of selectivities for range and spatial join queries in real spatial databases. As we have shown earlier [FK94a], real point sets: (a) violate consistently the "uniformity" and "independence" assumptions, (b) can often be described as "fractals", with non-integer (fractal) dimension. In this paper we show that, among the infinite family of fractal dimensions, the so called "Correlation Dimension" D 2 is the one that we need to predict the selectivity of spatial join. The main contribution is that, for all the real and synthetic point-sets we tried, the average number of neighbors for a given point of the point-set follows a power law, with D 2 as the exponent. This immediately solves the selectivity estimation for spatial joins, as well as for "biased" range queries (i.e., queries whose centers prefer areas of high point density). We present the formulas to estimate the selectivity for the biased queries, including an integration constant (K `shape 0 ) for each query shape. Finally, we show results on real and synthetic point sets, where our formulas achieve very low relative errors (typically about 10%, versus 40%-100% of the uniform assumption).

1 Introduction