Dynamic query evaluation plans
Goetz Graefe, K. Ward · Proceedings - ACM-SIGMOD International Conference on Management of Data · 1989
In most database systems, a query embedded in a program written in a conventional programming language is optimized when the program is compiled. The query optimizer must make assumptions about the values of the program variables that appear as constants in the query, the resources that can be committed to query evaluation, and the data in the database. The optimality of the resulting query evaluation plan depends on the validity of these assumptions. If a query evaluation plan is used repeatedly over an extended period of time, it is important to determine when reoptimization is necessary. Our work aims at developing criteria when reoptimization is required, how these criteria can be implemented efficiently, and how reoptimization can be avoided by using a new technique called dynamic query evaluation plans. We experimentally demonstrate the need for dynamic plans and outline modifications to the EXODUS optimizer generator required for creating dynamic query evaluation plans.
Cited by 73 works. doi:10.1145/67544.66960 Open-access PDF
Authors
References
- Smalltalk-80: The Language and its Implementation
- Access path selection in a relational database management system
- Prolog - the language and its implementation compared with Lisp
- Optimization of query evaluation algorithms
- Estimating block transfers and join sizes
- Programming constructs for database system implementation in EXODUS
- Estimating record selectivities
- Access path selection in a relational database management system
- Rule-based query optimization in extensible database systems
- Query optimization in object-oriented database systems: A prospectus