A Performance Study of Query Optimization Algorithms on a Database System Supporting Procedures.
Anant Jhingran:
A Performance Study of Query Optimization Algorithms on a Database System Supporting Procedures.
VLDB 1988: 88-99@inproceedings{DBLP:conf/vldb/Jhingran88,
author = {Anant Jhingran},
editor = {Fran\c{c}ois Bancilhon and
David J. DeWitt},
title = {A Performance Study of Query Optimization Algorithms on a Database
System Supporting Procedures},
booktitle = {Fourteenth International Conference on Very Large Data Bases,
August 29 - September 1, 1988, Los Angeles, California, USA,
Proceedings},
publisher = {Morgan Kaufmann},
year = {1988},
isbn = {0-934613-75-3},
pages = {88-99},
ee = {db/conf/vldb/Jhingran88.html},
crossref = {DBLP:conf/vldb/88},
bibsource = {DBLP, http://dblp.uni-trier.de}
}
Abstract
POSTGRES allows fields of a relation to have procedural (executable) objects.
POSTQUEL is the query language supporting access to these fields, and in this paper we consider the optimizing process for such queries.
The simplest algorithm for optimization assumes that the procedural objects are executed in full, whenever needed.
As a refinement to this basic process, we propose an algorithm wherein cost savings are achieved by modifying the procedural queries before executing them.
In another direction of refinement, we consider the caching of the materialized results.
Two caching strategies-caching in tuples, and separate caching-are considered.
The fifth algorithm is flattening, where a POSTQUEL query is modified into an equivalent flat query, and then optimized through a traditional optimizer.
We study the relative performances of these algorithms under varying conditions and parameters.
Our results show that caching wins when updates do not occur with a high frequency, and that separate caching is, in general, better than caching in tuples.
We further show that when the composition of the objects in the procedural field is predictable and parameterizable, flattening is a good option.
Copyright © 1988 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 4, VLDB '75-'88" and ...
DVD Version: Load ACM SIGMOD Anthology DVD 1" and ...
Printed Edition
François Bancilhon, David J. DeWitt (Eds.):
Fourteenth International Conference on Very Large Data Bases, August 29 - September 1, 1988, Los Angeles, California, USA, Proceedings.
Morgan Kaufmann 1988, ISBN 0-934613-75-3
References
- [CODD70]
- E. F. Codd:
A Relational Model of Data for Large Shared Data Banks.
Commun. ACM 13(6): 377-387(1970)
- [HANS88]
- Eric N. Hanson:
Processing Queries Against Database Procedures: A Performance Analysis.
SIGMOD Conference 1988: 295-302
- [IEEE87]
- ...
- [JARK84]
- Matthias Jarke, Jürgen Koch:
Query Optimization in Database Systems.
ACM Comput. Surv. 16(2): 111-152(1984)
- [JHIN87]
- ...
- [KIM82]
- Won Kim:
On Optimizing an SQL-like Nested Query.
ACM Trans. Database Syst. 7(3): 443-469(1982)
- [ROWE87]
- Lawrence A. Rowe, Michael Stonebraker:
The POSTGRES Data Model.
VLDB 1987: 83-96
- [SELI79]
- 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
- [SELL87]
- Timos K. Sellis:
Efficiently Supporting Procedures in Relational Database Systems.
SIGMOD Conference 1987: 278-291
- [SELL88]
- Timos K. Sellis:
Multiple-Query Optimization.
ACM Trans. Database Syst. 13(1): 23-52(1988)
- [STON75]
- Michael Stonebraker:
Implementation of Integrity Constraints and Views by Query Modification.
SIGMOD Conference 1975: 65-78
- [STON83]
- ...
- [STON86]
- Michael Stonebraker, Lawrence A. Rowe:
The Design of Postgres.
SIGMOD Conference 1986: 340-355
- [STON87]
- Michael Stonebraker, Jeff Anton, Eric N. Hanson:
Extending a Database System with Procedures.
ACM Trans. Database Syst. 12(3): 350-376(1987)
- [WONG76]
- Eugene Wong, Karel Youssefi:
Decomposition - A Strategy for Query Processing.
ACM Trans. Database Syst. 1(3): 223-241(1976)
- [ZAIN83]
- Carlo Zaniolo:
The Database Language GEM.
SIGMOD Conference 1983: 207-218
- [ZANI85]
- Carlo Zaniolo:
The Representation and Deductive Retrieval of Complex Objects.
VLDB 1985: 458-469
Copyright © Tue Mar 16 02:21:59 2010
by Michael Ley (ley@uni-trier.de)