ACM Home Page
Please provide us with feedback. Feedback
Optimization of dynamic query evaluation plans
Full text PdfPdf (1.45 MB)
Source International Conference on Management of Data archive
Proceedings of the 1994 ACM SIGMOD international conference on Management of data table of contents
Minneapolis, Minnesota, United States
Pages: 150 - 160  
Year of Publication: 1994
ISBN:0-89791-639-5
Also published in ...
Authors
Richard L. Cole  University of Colorado at Boulder
Goetz Graefe  Portland State University
Sponsors
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
SIGART: ACM Special Interest Group on Artificial Intelligence
SIGMOD: ACM Special Interest Group on Management of Data
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 12,   Downloads (12 Months): 99,   Citation Count: 39
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/191839.191872
What is a DOI?

ABSTRACT

Traditional query optimizers assume accurate knowledge of run-time parameters such as selectivities and resource availability during plan optimization, i.e., at compile time. In reality, however, this assumption is often not justified. Therefore, the “static” plans produced by traditional optimizers may not be optimal for many of their actual run-time invocations. Instead, we propose a novel optimization model that assigns the bulk of the optimization effort to compile-time and delays carefully selected optimization decisions until run-time. Our previous work defined the run-time primitives, “dynamic plans” using “choose-plan” operators, for executing such delayed decisions, but did not solve the problem of constructing dynamic plans at compile-time. The present paper introduces techniques that solve this problem. Experience with a working prototype optimizer demonstrates (i) that the additional optimization and start-up overhead of dynamic plans compared to static plans is dominated by their advantage at run-time, (ii) that dynamic plans are as robust as the “brute-force” remedy of run-time optimization, i.e., dynamic plans maintain their optimality even if parameters change between compile-time and run-time, and (iii) that the start-up overhead of dynamic plans is significantly less than the time required for complete optimization at run-time. In other words, our proposed techniques are superior to both techniques considered to-date, namely compile-time optimization into a single static plan as well as run-time optimization. Finally, we believe that the concepts and technology described can be transferred to commercial query optimizers in order to improve the performance of embedded queries with host variables in the query predicate and to adapt to run-time system loads unpredictable at compile time.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
Ant93
BMG93
BPR90
CAK81
Chr84
 
CAB93
R.L. Cole, M. J. Anderson, and R. J. Bestgen, "Query Processing in the IBM Application System/400", IEEE Data Eng. Bull. 16, 4 (December 1993), 19.
 
CLR89
DMP93
GHK92
GrW89
Gra93
 
GrM93
 
HaP88
W. Hasan and H. Pirahesh, "Query Rewrite Optimization in Starburst", Comp. Sci. Res. Rep., San Jose, CA, August 1988.
 
HoS93
IoC91
 
INS92
Y.E. Ioannidis, R. T. Ng, K. Shim, and T. K. Sellis, "Parametric Query Processing", Proc. lnt'l. Conf. on Very Large Data Bases, Vancouver, BC, Canada, August 1992, 103.
KGM91
 
Loh89
G.M. Lohman, "Is Query Optimization a 'Solved' Problem?", in Proc. Workshop on Database Query Optimization, G. Graefe (editor), Oregon Graduate Center Comp. Sci. Tech. Rep. 89-005, Beaverton, OR, May 1989, 13.
MaL89
 
MHW90
 
OnL90
OHM92
 
SAC79
 
SBM89
K. Seppi, J. Barnes, and C. Morris, "A Bayesian Approach to Query Optimization in Large Scale Data Bases", The Univ. of Texas at Austin ORP 89-19, Austin, TX, 1989.
TsN92
 
WoG93

CITED BY  39

Collaborative Colleagues:
Richard L. Cole: colleagues
Goetz Graefe: colleagues