1989 · 73 citations · 15 references
ComputingComputer ScienceCompilersDatabasesProgramming LanguagesDatabase ManagementDynamic ProgrammingPerformance OptimizationPerformance TuningQuery OptimizationQuery ProcessingExecution Plan SelectionOptimizer DesignQuery EvaluationQuery Performance OptimizationRuntime Query ReoptimizationSystem Variables
In database systems, query optimization relies on assumptions about program variables, resource allocation, and data, and the resulting plan’s optimality depends on the validity of these assumptions. The study seeks to determine when reoptimization is necessary for query plans that are used repeatedly over extended periods. The authors develop criteria for triggering reoptimization, implement them efficiently, and propose dynamic query evaluation plans that eliminate the need for reoptimization by modifying the EXODUS optimizer generator. Experimental results demonstrate the necessity of dynamic plans and the required modifications to the EXODUS optimizer generator.
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.
15
Access path selection in a relational database management system
Patricia G. Selinger, M. M. Astrahan, Donald D. Chamberlin et al. · 1979 · 2.2K citations
Optimization of query evaluation algorithms
S. Bing Yao · ACM Transactions on Database Systems · 1979 · 167 citations · Full text
Access path selection in a relational database management system
Patricia G. Selinger, M. M. Astrahan, Donald D. Chamberlin et al. · 1979 · 152 citations
Estimating record selectivities
Stavros Christodoulakis · Information Systems · 1983 · 111 citations