Proceedings of the 2003 ACM SIGMOD International Conference on Management of Data 2003
DOI: 10.1145/872757.872803
|View full text |Cite
|
Sign up to set email alerts
|

Estimating compilation time of a query optimizer

Abstract: A query optimizer compares alternative plans in its search space to find the best plan for a given query. Depending on the search space and the enumeration algorithm, optimizers vary in their compilation time and the quality of the execution plan they can generate. We build a compilation time estimator that provides a quantified estimate of the optimizer compilation time for a given query. Such an estimator is useful for automatically choosing the right level of optimization in commercial database systems. In … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
6
0

Year Published

2006
2006
2016
2016

Publication Types

Select...
5
2
1

Relationship

0
8

Authors

Journals

citations
Cited by 17 publications
(6 citation statements)
references
References 22 publications
0
6
0
Order By: Relevance
“…OLTP queries are not our focus, since they can be optimized very fast. An experimental study on a real DB2 query workload [18] verified that compilation time is dominated by the number of join re-orderings. Thus, we believe that star queries (for varying the number of joins) indeed model representative real data warehouse queries and are sufficient to show our claim.…”
Section: Performance Evaluationmentioning
confidence: 92%
See 1 more Smart Citation
“…OLTP queries are not our focus, since they can be optimized very fast. An experimental study on a real DB2 query workload [18] verified that compilation time is dominated by the number of join re-orderings. Thus, we believe that star queries (for varying the number of joins) indeed model representative real data warehouse queries and are sufficient to show our claim.…”
Section: Performance Evaluationmentioning
confidence: 92%
“…To avoid evaluating redundant subplans, the bottom-up enumerator exploits the principle of optimality and stores the optimal QEPs in an in-memory quantifier set table (a.k.a. MEMO) [18]. Each entry in MEMO contains a list of QEPs for a quantifier set, and MEMO is typically implemented by using a hash table with the quantifier set as the key.…”
Section: Bottom-up Enumerationmentioning
confidence: 99%
“…An interesting observation is that the r 2 value of # PP and # PJ, and that of # LP and # JO are very close to, or even identical to each other on all the DBMSs. The reason is that non-join plans (e.g., Table 1: Correlation of efficiency metrics and optimization times scan plans and index scan plans) are typically much fewer than join plans, and thus take much less optimization time [13].…”
Section: Optimizer Efficiencymentioning
confidence: 99%
“…SerialDP Enum generates query execution plans (QEPs) in a "bottom up" fashion [12]. It first generates different QEPs for accessing a single table.…”
Section: Dp Based Join Enumerationmentioning
confidence: 99%
“…Many commercial RDBMSs such as DB2 employ dynamic programming (DP), pioneered by Selinger et al [29]. Dynamic programming builds QEPs "bottom up" and exploits the principle of optimality to prune sub-optimal plans at each iteration (thereby saving space) and to guarantee that the optimal QEP is found without evaluating redundant sub-plans [12].…”
Section: Introductionmentioning
confidence: 99%