Iterative dynamic programming
Donald Kossmann, Konrad Stocker · ACM Transactions on Database Systems · 2000
The query optimizer is one of the most important components of a database system. Most commercial query optimizers today are based on a dynamic-programming algorithm, as proposed in Selinger et al. [1979]. While this algorithm produces good optimization results (i.e, good plans), its high complexity can be prohibitive if complex queries need to be processed, new query execution techniques need to be integrated, or in certain programming environments (e.g., distributed database systems). In this paper, we present and thoroughly evaluate a new class of query optimization algorithms that are based on a principle that we calliterative dynamic programming, or IDP for short. IDP has several important advantages: First, IDP-algorithms produce the best plans of all known algorithms in situations in which dynamic programming is not viable because of its high complexity. Second, some IDP variants are adaptive and produce as good plans as dynamic programming if dynamic programming is viable and as good-as possible plans if dynamic programming turns out to be not viable. Three, all IDP-algorithms can very easily be integrated into an existing optimizer which is based on dynamic programming.
Cited by 211 works. doi:10.1145/352958.352982 Open-access PDF
Authors
References
- Access path selection in a relational database management system
- A Data Base Search Problem
- Including Group-By in Query Optimization
- Randomized algorithms for optimizing large join queries
- The state of the art in distributed query processing
- The EXODUS optimizer generator
- R* Optimizer Validation and Performance Evaluation for Distributed Queries
- Optimizing Queries Across Diverse Data Sources
- Query optimization by simulated annealing
- Grammar-like functional rules for representing query optimization alternatives