Proceedings of the VLDB Endowment · 2009 · 174 citations · 15 references
ComputingComputer ScienceAlgorithmsOptimizationUncertainty QuantificationAlgorithm AnalysisApproximation AlgorithmsPerformance OptimizationPlan OptimizationQuery OptimizationQuery ProcessingApproximation GuaranteesApproximation HardnessBest ApproximationCardinality EstimationCost ModelsExecution PlansQuery ComplexityWorst-case Bounds
Query optimizers rely on accurate estimations of the sizes of intermediate results. Wrong size estimations can lead to overly expensive execution plans. We first define the q-error to measure deviations of size estimates from actual sizes. The q-error enables the derivation of two important results: (1) We provide bounds such that if the q-error is smaller than this bound, the query optimizer constructs an optimal plan. (2) If the q-error is bounded by a number q , we show that the cost of the produced plan is at most a factor of q 4 worse than the optimal plan. Motivated by these findings, we next show how to find the best approximation under the q-error. These techniques can then be used to build synopsis for size estimates. Finally, we give some experimental results where we apply the developed techniques.
15
Improved histograms for selectivity estimation of range predicates
Viswanath Poosala, Peter J. Haas, Yannis Ioannidis et al. · 1996 · 559 citations
Wavelet-based histograms for selectivity estimation
Yossi Matias, Jeffrey Scott Vitter, Min Wang · 1998 · 426 citations
Optimal Histograms with Quality Guarantees
H. V. Jagadish, Nick Koudas, S. Muthukrishnan et al. · 1998 · 382 citations