Query optimization in the presence of limited access patterns
- 1 June 1999
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGMOD Record
- Vol. 28 (2), 311-322
- https://doi.org/10.1145/304181.304210
Abstract
We consider the problem of query optimization in the presence of limitations on access patterns to the data (i.e., when one must provide values for one of the attributes of a relation in order to obtain tuples). We show that in the presence of limited access patterns we must search a space of annotated query plans , where the annotations describe the inputs that must be given to the plan. We describe a theoretical and experimental analysis of the resulting search space and a novel query optimization algorithm that is designed to perform well under the different conditions that may arise. The algorithm searches the set of annotated query plans, pruning invalid and non-viable plans as early as possible in the search space, and it also uses a best-first search strategy in order to produce a first complete plan early in the search. We describe experiments to illustrate the performance of our algorithm.Keywords
This publication has 11 references indexed in Scilit:
- Computing capabilities of mediatorsPublished by Association for Computing Machinery (ACM) ,1999
- SQL open heterogeneous data accessPublished by Association for Computing Machinery (ACM) ,1998
- Heuristic and randomized optimization for the join ordering problemThe VLDB Journal, 1997
- The GMAP: a versatile tool for physical data independenceThe VLDB Journal, 1996
- Cost-based optimization for magicPublished by Association for Computing Machinery (ACM) ,1996
- Query execution techniques for caching expensive methodsPublished by Association for Computing Machinery (ACM) ,1996
- Answering queries using templates with binding patterns (extended abstract)Published by Association for Computing Machinery (ACM) ,1995
- Join queries with external text sourcesPublished by Association for Computing Machinery (ACM) ,1995
- Predicate migrationPublished by Association for Computing Machinery (ACM) ,1993
- An algorithm for ordering subgoals in NAIL?Published by Association for Computing Machinery (ACM) ,1988