Optimization of Queries with User-defined Predicates.
Surajit Chaudhuri, Kyuseok Shim:
Optimization of Queries with User-defined Predicates.
VLDB 1996: 87-98@inproceedings{DBLP:conf/vldb/ChaudhuriS96,
author = {Surajit Chaudhuri and
Kyuseok Shim},
editor = {T. M. Vijayaraman and
Alejandro P. Buchmann and
C. Mohan and
Nandlal L. Sarda},
title = {Optimization of Queries with User-defined Predicates},
booktitle = {VLDB'96, Proceedings of 22th International Conference on Very
Large Data Bases, September 3-6, 1996, Mumbai (Bombay), India},
publisher = {Morgan Kaufmann},
year = {1996},
isbn = {1-55860-382-4},
pages = {87-98},
ee = {db/conf/vldb/ChaudhuriS96.html},
crossref = {DBLP:conf/vldb/96},
bibsource = {DBLP, http://dblp.uni-trier.de}
}
Abstract
Relational databases provide the ability to
store user-defined functions and predicates
which can be invoked in SQL queries.
When evaluation of a user-defined predicate is relatively expensive,
the traditional methods of evaluating predicates as
early as possible is no longer a sound heuristic.
There are two previous approaches for optimizing such queries.
However, none of these approaches is able to guarantee
the optimal plan over the desired execution space.
We present an efficient technique that is able to
guarantee the choice of an optimal plan over the desired
execution space.
The optimization algorithm that we present has the desirable properties that
(a) it is an extension of the algorithm used by commercial
optimizers and never requires exhaustive enumeration of join ordering,
(b) the complexity of the algorithm is bounded by a
polynomial in the number of user-defined functions and
(c) requires no special assumptions on the cost
formulas for join.
We also propose a conservative local heuristic that is
even simpler but produces nearly optimal plans.
We have implemented the algorithms
by extending a System-R style optimizer.
Copyright © 1996 by the VLDB Endowment.
Permission to copy without fee all or part of this material is granted provided that the copies are not made or
distributed for direct commercial advantage, the VLDB
copyright notice and the title of the publication and
its date appear, and notice is given that copying
is by the permission of the Very Large Data Base
Endowment. To copy otherwise, or to republish, requires
a fee and/or special permission from the Endowment.
Online Paper
CDROM Version: Load the CDROM "Volume 1 Issue 5, VLDB '89-'97" and ...
DVD Version: Load ACM SIGMOD Anthology DVD 1" and ...
Printed Edition
T. M. Vijayaraman, Alejandro P. Buchmann, C. Mohan, Nandlal L. Sarda (Eds.):
VLDB'96, Proceedings of 22th International Conference on Very Large Data Bases, September 3-6, 1996, Mumbai (Bombay), India.
Morgan Kaufmann 1996, ISBN 1-55860-382-4
Contents
Electronic Edition
References
- [CGK89]
- Danette Chimenti, Ruben Gamboa, Ravi Krishnamurthy:
Towards on Open Architecture for LDL.
VLDB 1989: 195-203
- [CS93]
- Surajit Chaudhuri, Kyuseok Shim:
Query Optimization in the Presence of Foreign Functions.
VLDB 1993: 529-542
- [CS94]
- Surajit Chaudhuri, Kyuseok Shim:
Including Group-By in Query Optimization.
VLDB 1994: 354-366
- [CS96]
- ...
- [GHK92]
- Sumit Ganguly, Waqar Hasan, Ravi Krishnamurthy:
Query Optimization for Parallel Execution.
SIGMOD Conference 1992: 9-18
- [Hel94]
- Joseph M. Hellerstein:
Practical Predicate Placement.
SIGMOD Conference 1994: 325-335
- [HS93]
- Joseph M. Hellerstein, Michael Stonebraker:
Predicate Migration: Optimizing Queries with Expensive Predicates.
SIGMOD Conference 1993: 267-276
- [IK90]
- Yannis E. Ioannidis, Younkyung Cha Kang:
Randomized Algorithms for Optimizing Large Join Queries.
SIGMOD Conference 1990: 312-321
- [KBZ86]
- Ravi Krishnamurthy, Haran Boral, Carlo Zaniolo:
Optimization of Nonrecursive Queries.
VLDB 1986: 128-137
- [KMS92]
- Alfons Kemper, Guido Moerkotte, Michael Steinbrunn:
Optimizing Boolean Expressions in Object-Bases.
VLDB 1992: 79-90
- [MS79]
- ...
- [PHH92]
- Hamid Pirahesh, Joseph M. Hellerstein, Waqar Hasan:
Extensible/Rule Based Query Rewrite Optimization in Starburst.
SIGMOD Conference 1992: 39-48
- [SAC+79]
- Patricia G. Selinger, Morton M. Astrahan, Donald D. Chamberlin, Raymond A. Lorie, Thomas G. Price:
Access Path Selection in a Relational Database Management System.
SIGMOD Conference 1979: 23-34
- [WK90]
- Kyu-Young Whang, Ravi Krishnamurthy:
Query Optimization in a Memory-Resident Domain Relational Calculus Database System.
ACM Trans. Database Syst. 15(1): 67-95(1990)
Copyright © Fri Mar 12 17:22:54 2010
by Michael Ley (ley@uni-trier.de)