ComputingComputer ScienceData ManagementData MiningDatabasesEstimation TheoryQuery OptimizationQuery ProcessingRelational AlgebraSampling TheoryStatistical InferenceBenchmark DatasetsCardinality EstimationJoinJoin AlgorithmsJoin OrderingQuery Performance OptimizationSelectivity EstimationSummary Metrics
Fast and accurate estimations for complex queries are profoundly beneficial for large databases with heavy workloads. In this research, we propose a statistical summary for a database, called CS2 (Correlated Sample Synopsis), to provide rapid and accurate result size estimations for all queries with joins and arbitrary selections. Unlike the state-of-the-art techniques, CS2 does not completely rely on simple random samples, but mainly consists of correlated sample tuples that retain join relationships with less storage. We introduce a statistical technique, called reverse sample, and design a powerful estimator, called reverse estimator, to fully utilize correlated sample tuples for query estimation. We prove both theoretically and empirically that the reverse estimator is unbiased and accurate using CS2. Extensive experiments on multiple datasets show that CS2 is fast to construct and derives more accurate estimations than existing methods with the same space budget.
32
Tian Zhang, Raghu Ramakrishnan, Miron Livny · 1996 · 3.9K 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
Tian Zhang, Raghu Ramakrishnan, Miron Livny · ACM SIGMOD Record · 1996 · 2.1K citations · Full text
The space complexity of approximating the frequency moments
Noga Alon, Yossi Matias, Márió Szegedy · 1996 · 847 citations