Generalized substring selectivity estimation

被引:7
|
作者
Chen, ZY
Korn, F
Koudas, N
Muthukrishnan, S
机构
[1] Cornell Univ, Dept Comp Sci, Ithaca, NY 14853 USA
[2] AT&T Labs Res, Florham Pk, NJ 07932 USA
关键词
D O I
10.1016/S0022-0000(02)00031-4
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
In a variety of settings from relational databases to LDAP to Web applications, there is an increasing need to quickly and accurately estimate the count of tuples (LDAP entries, Web documents, etc.) matching Boolean substring queries. In providing such selectivity estimates, the correlation between different occurrences of substrings is crucial. Selectivity estimation for generalized Boolean queries has not been studied previously; our own prior work, which is discussed and extended herein, applies to the case of one-dimensional Boolean queries [CKKM00]. Existing methods for the case of multidimensional conjunctive queries approximate selectivities by explicitly storing cross-counts of frequently co-occurring combinations of substrings; estimates are obtained by parsing the query into multidimensional substrings corresponding to stored cross-counts and applying probabilistic formulae. The major problem with these methods is that the number of cross-counts stored by known methods increases exponentially with the number of dimensions (a "space dimensionality explosion") due to the need to capture the correlation amongst the dimensions. Hence, given a limited amount of space, none of the existing methods can reliably give accurate estimates. Moreover, these methods do not generalize to Boolean queries gracefully. We present a novel approach to selectivity estimation for generalized Boolean substring queries with a focus on the two cases of (1) conjunctive multidimensional and (2) Boolean queries. Our approach does not explicitly store crosscounts, but rather generates them on-the-fly. We employ a Monte Carlo technique called set hashing to succinctly represent the set of tuples containing a given substring as a signature vector of hash values; any combination of set hash signatures gives a cross-count when intersected. Thus, using only linear storage, a large number of cross-counts can be generated including those for complex co-occurrences of substrings. The cross-counts generated by our methods are not exact, but they are adequate for selectivity estimation. We present results from an extensive experimental evaluation of our approach on real data sets. For the case of multidimensional conjunctive queries, our approach achieves better accuracy by an order of magnitude, and scales much more gracefully to higher dimensions, than existing methods. Surprisingly, even though our approach involves generating cross-counts on-the-fly, estimation is very fast, taking 200 is on a data set of size 6 MB. For the case of Boolean queries, our experiments also demonstrate the superiority of this approach over a straightforward independence-based approach wherein correlations are not captured. (C) 2003 Published by Elsevier Science (USA).
引用
收藏
页码:98 / 132
页数:35
相关论文
共 50 条
  • [21] Generalized Bragg selectivity in volume holography
    Shamir, J
    Wagner, K
    APPLIED OPTICS, 2002, 41 (32) : 6773 - 6785
  • [22] GENERALIZED ECONOMETRIC-MODELS WITH SELECTIVITY
    LEE, LF
    ECONOMETRICA, 1983, 51 (02) : 507 - 512
  • [23] An algorithm for the generalized k-keyword proximity problem and finding longest repetitive substring in a set of strings
    Lee, Inbok
    Kim, Sung-Ryul
    COMPUTATIONAL SCIENCE - ICCS 2006, PT 4, PROCEEDINGS, 2006, 3994 : 289 - 292
  • [24] Selectivity estimation for spatial joins
    An, N
    Yang, ZY
    Sivasubramaniam, A
    17TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, PROCEEDINGS, 2001, : 368 - 375
  • [25] AN EXTENSIBLE MODEL OF SELECTIVITY ESTIMATION
    MANNINO, MV
    RIVERA, A
    INFORMATION SCIENCES, 1989, 49 (1-3) : 225 - 247
  • [26] A hybrid estimator for selectivity estimation
    Ling, YB
    Sun, W
    Rishe, ND
    Xiang, XJ
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 1999, 11 (02) : 338 - 354
  • [27] Selectivity estimation in spatial databases
    Acharya, S
    Poosala, V
    Ramaswamy, S
    SIGMOD RECORD, VOL 28, NO 2 - JUNE 1999: SIGMOD99: PROCEEDINGS OF THE 1999 ACM SIGMOD - INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 1999, : 13 - 24
  • [28] Selectivity estimation for XML twigs
    Polyzotis, N
    Garofalakis, M
    Ioannidis, Y
    20TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, PROCEEDINGS, 2004, : 264 - 275
  • [29] Selectivity Estimation in Spatial Networks
    Tiakas, E.
    Papadopoulos, A. N.
    Nanopoulos, A.
    Manolopoulos, Y.
    APPLIED COMPUTING 2008, VOLS 1-3, 2008, : 852 - 856
  • [30] Substring Range Reporting
    Philip Bille
    Inge Li Gørtz
    Algorithmica, 2014, 69 : 384 - 396