Optimizing disjunctive queries with expensive predicates
A. Kemper, Guido Moerkotte, Klaus Peithner et al. · ACM SIGMOD Record · 1994
In this work, we propose and assess a technique called bypass processing for optimizing the evaluation of disjunctive queries with expensive predicates. The technique is particularly useful for optimizing selection predicates that contain terms whose evaluation costs vary tremendously; e.g., the evaluation of a nested subquery or the invocation of a user-defined function in an object-oriented or extended relational model may be orders of magnitude more expensive than an attribute access (and comparison). The idea of bypass processing consists of avoiding the evaluation of such expensive terms whenever the outcome of the entire selection predicate can already be induced by testing other, less expensive terms. In order to validate the viability of bypass evaluation, we extend a previously developed optimizer architecture and incorporate three alternative optimization algorithms for generating bypass processing plans.
Cited by 64 works. doi:10.1145/191843.191906
Authors
References
- Access path selection in a relational database management system
- Query Optimization in Database Systems
- The EXODUS optimizer generator
- Predicate migration
- Sequencing with Series-Parallel Precedence Constraints
- A general framework for the optimization of object-oriented queries
- A rule-based view of query optimization
- Grammar-like functional rules for representing query optimization alternatives
- Experiences building the open OODB query optimizer
- Queries and query processing in object-oriented database systems