UNASSSUMING VIEW-SIZE ESTIMATION TECHNIQUES IN OLAP - An Experimental Comparison

Kamel Aouiche, Daniel Lemire

Abstract

Even if storage was infinite, a data warehouse could not materialize all possible views due to the running time and update requirements. Therefore, it is necessary to estimate quickly, accurately, and reliably the size of views. Many available techniques make particular statistical assumptions and their error can be quite large. Unassuming techniques exist, but typically assume we have independent hashing for which there is no known practical implementation. We adapt an unassuming estimator due to Gibbons and Tirthapura: its theoretical bounds do not make unpractical assumptions. We compare this technique experimentally with stochastic probabilistic counting, LOGLOG probabilistic counting, and multifractal statistical models. Our experiments show that we can reliably and accurately (within 10%, 19 times out 20) estimate view sizes over large data sets (1.5 GB) within minutes, using almost no memory. However, only GIBBONS-TIRTHAPURA provides universally tight estimates irrespective of the size of the view. For large views, probabilistic counting has a small edge in accuracy, whereas the competitive sampling-based method (multifractal) we tested is an order of magnitude faster but can sometimes provide poor estimates (relative error of 100%). In our tests, LOGLOG probabilistic counting is not competitive. Experimental validation on the US Census 1990 data set and on the Transaction Processing Performance (TPC H) data set is provided.

References

  1. Durand, M. and Flajolet, P. (2003). Loglog counting of large cardinalities. In ESA'03. Springer.
  2. Faloutsos, C., Matias, Y., and Silberschatz, A. (1996). Modeling skewed distribution using multifractals and the 80-20 law. In VLDB'96, pages 307-317.
  3. Flajolet, P. and Martin, G. (1985). Probabilistic counting algorithms for data base applications. Journal of Computer and System Sciences, 31(2):182-209.
  4. Gibbons, P. B. and Tirthapura, S. (2001). Estimating simple functions on the union of data streams. In SPAA'01, pages 281-291.
  5. Golfarelli, M. and Rizzi, S. (1998). A methodological framework for data warehouse design. In DOLAP 1998, pages 3-9.
  6. Gupta, H. (1997). Selection of views to materialize in a data warehouse. In ICDT 1997, pages 98-112.
  7. Haas, P., Naughton, J., Seshadri, S., and Stokes, L. (1995). Sampling-based estimation of the number of distinct values of an attribute. In VLDB'95, pages 311-322.
  8. Hettich, S. and Bay, S. D. (2000). The UCI KDD archive. http://kdd.ics.uci.edu, last checked on 32/10/2006.
  9. Lemire, D. and Kaser, O. (2006). One-pass, one-hash n-gram count estimation. Technical Report TR-06- 001, Dept. of CSAS, UNBSJ. available from http: //arxiv.org/abs/cs.DB/0610010.
  10. Nadeau, T. and Teorey, T. (2003). A Pareto model for OLAP view size estimation. Information Systems Frontiers, 5(2):137-147.
  11. TPC (2006). DBGEN 2.4.0. http://www.tpc.org/ tpch/, last checked on 32/10/2006.
Download


Paper Citation


in Harvard Style

Aouiche K. and Lemire D. (2007). UNASSSUMING VIEW-SIZE ESTIMATION TECHNIQUES IN OLAP - An Experimental Comparison . In Proceedings of the Ninth International Conference on Enterprise Information Systems - Volume 1: ICEIS, ISBN 978-972-8865-88-7, pages 145-150. DOI: 10.5220/0002354601450150


in Bibtex Style

@conference{iceis07,
author={Kamel Aouiche and Daniel Lemire},
title={UNASSSUMING VIEW-SIZE ESTIMATION TECHNIQUES IN OLAP - An Experimental Comparison},
booktitle={Proceedings of the Ninth International Conference on Enterprise Information Systems - Volume 1: ICEIS,},
year={2007},
pages={145-150},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0002354601450150},
isbn={978-972-8865-88-7},
}


in EndNote Style

TY - CONF
JO - Proceedings of the Ninth International Conference on Enterprise Information Systems - Volume 1: ICEIS,
TI - UNASSSUMING VIEW-SIZE ESTIMATION TECHNIQUES IN OLAP - An Experimental Comparison
SN - 978-972-8865-88-7
AU - Aouiche K.
AU - Lemire D.
PY - 2007
SP - 145
EP - 150
DO - 10.5220/0002354601450150