ACM SIGMOD Record · 1998 · 85 citations · 19 references
ComputingComputer ScienceData AnalyticsData ManagementDatabasesQuery OptimizationQuery ProcessingDatabase Management SystemsFrequency Distribution EstimationHistogram ConstructionHistogramsRandom SamplingRelational Database SystemsSelectivitySelectivity Estimation
Query optimization relies on accurate selectivity estimation, traditionally performed with histograms that approximate attribute value distributions in relational databases. This work introduces a multiresolution wavelet‑based histogram construction technique to improve selectivity estimation in databases, statistics, and simulation. The method builds histograms from cumulative data distributions and provides fast algorithms for online construction and selectivity estimation, achieving high accuracy with limited space. Experiments show that the wavelet histograms deliver substantially more accurate selectivity estimates than random sampling or prior approaches, effectively capture joint attribute distributions even when correlated, and enable quick approximate OLAP query answers.
Query optimization is an integral part of relational database management systems. One important task in query optimization is selectivity estimation, that is, given a query P, we need to estimate the fraction of records in the database that satisfy P. Many commercial database systems maintain histograms to approximate the frequency distribution of values in the attributes of relations.In this paper, we present a technique based upon a multiresolution wavelet decomposition for building histograms on the underlying data distributions, with applications to databases, statistics, and simulation. Histograms built on the cumulative data distributions give very good approximations with limited space usage. We give fast algorithms for constructing histograms and using them in an on-line fashion for selectivity estimation. Our histograms also provide quick approximate answers to OLAP queries when the exact answers are not required. Our method captures the joint distribution of multiple attributes effectively, even when the attributes are correlated. Experiments confirm that our histograms offer substantial improvements in accuracy over random sampling and other previous approaches.
19
C. T. Bhunia · IETE Journal of Education · 1997 · 2.7K citations
Access path selection in a relational database management system
Patricia G. Selinger, M. M. Astrahan, Donald D. Chamberlin et al. · 1979 · 2.2K citations
Random sampling with a reservoir
Jeffrey Scott Vitter · ACM Transactions on Mathematical Software · 1985 · 1.8K citations · Full text
Improved histograms for selectivity estimation of range predicates
Viswanath Poosala, Peter J. Haas, Yannis Ioannidis et al. · 1996 · 559 citations