Proceedings of the VLDB Endowment · 2008 · 50 citations · 21 references
ComputingComputer ScienceDatabasesDesign OptimizationVisual AnalyticsDatabase DesignPlan OptimizationQuery OptimizationQuery ProcessingRobust OptimizationStructured Query LanguageCost ModelsCost-based Query OptimizationExecution PlansParameter Space AnalysisParameter Space ExplorationQuery ExecutionQuery Performance OptimizationSelectivity Estimation
Estimates of predicate selectivities by database query optimizers often differ significantly from those actually encountered during query execution, leading to poor plan choices and inflated response times. In this paper, we investigate mitigating this problem by replacing selectivity error-sensitive plan choices with alternative plans that provide robust performance. Our approach is based on the recent observation that even the complex and dense "plan diagrams" associated with industrial-strength optimizers can be efficiently reduced to "anorexic" equivalents featuring only a few plans, without materially impacting query processing quality. Extensive experimentation with a rich set of TPC-H and TPC-DS-based query templates in a variety of database environments indicate that plan diagram reduction typically retains plans that are substantially resistant to selectivity errors on the base relations. However, it can sometimes also be severely counter-productive, with the replacements performing much worse. We address this problem through a generalized mathematical characterization of plan cost behavior over the parameter space, which lends itself to efficient criteria of when it is safe to reduce. Our strategies are fully non-invasive and have been implemented in the Picasso optimizer visualization tool.
21
Advanced engineering mathematics
Choice Reviews Online · 1998 · 4.1K citations
Natural Sciences, Computational Engineering, Mathematics +17
A threshold of ln <i>n</i> for approximating set cover
Uriel Feige · Journal of the ACM · 1998 · 3.1K citations · Full text
LEO - DB2's LEarning Optimizer
Michael Stillger, Guy M. Lohman, Volker Markl et al. · Very Large Data Bases · 2001 · 305 citations