Changing the Rules: Transformations for Rule-Based Optimizers.
Mitch Cherniack, Stanley B. Zdonik:
Changing the Rules: Transformations for Rule-Based Optimizers.
SIGMOD Conference 1998: 61-72@inproceedings{DBLP:conf/sigmod/CherniackZ98,
author = {Mitch Cherniack and
Stanley B. Zdonik},
editor = {Laura M. Haas and
Ashutosh Tiwary},
title = {Changing the Rules: Transformations for Rule-Based Optimizers},
booktitle = {SIGMOD 1998, Proceedings ACM SIGMOD International Conference
on Management of Data, June 2-4, 1998, Seattle, Washington, USA},
publisher = {ACM Press},
year = {1998},
isbn = {0-89791-995-5},
pages = {61-72},
ee = {http://doi.acm.org/10.1145/276304.276311, db/conf/sigmod/CherniackZ98.html},
crossref = {DBLP:conf/sigmod/98},
bibsource = {DBLP, http://dblp.uni-trier.de}
}
Abstract
Rule-based optimizers are extensible because they consist of
modifiable sets of rules. For modification to be straightforward, rules
must be easily reasoned about (i.e., understood and verified).
At the same time, rules must be expressive and efficient (to fire) for
rule-based optimizers to be
practical. Production-style rules (as in [15])
are expressed with code and are hard to reason about. Pure rewrite rules
(as in [1]) lack code, but cannot atomically express complex transformations
(e.g., normalizations). Some systems allow rules to be grouped,
but sacrifice efficiency by providing limited control over their firing.
Therefore, none of these approaches succeeds in making rules expressive, efficient
and understandable.
We propose a language (COKO) for expressing an alternative form of input to
a rule-based optimizer. A COKO transformation consists of a set of declarative
(KOLA) rewrite rules and a
(firing) algorithm that specifies their firing. It is
straightforward to reason about COKO transformations because all query modification
is expressed with declarative rewrite rules. Firing
is specified algorithmically with an expressive language that provides
direct control over how query representations are
traversed, and under what conditions rules are fired.
Therefore, COKO achieves a delicate balance of
understandability, efficiency and expressivity.
Copyright © 1998 by the ACM,
Inc., used by permission. Permission to make
digital or hard copies is granted provided that
copies are not made or distributed for profit or
direct commercial advantage, and that copies show
this notice on the first page or initial screen of
a display along with the full citation.
CDROM Version: Load the CDROM "DiSC, Volume 1 Number 1" and ...
Online Version (ACM WWW Account required): Full Text in PDF Format
DVD Version: Load ACM SIGMOD Anthology DVD 1" and ...
Printed Edition
Laura M. Haas, Ashutosh Tiwary (Eds.):
SIGMOD 1998, Proceedings ACM SIGMOD International Conference on Management of Data, June 2-4, 1998, Seattle, Washington, USA.
ACM Press 1998, ISBN 0-89791-995-5
,
SIGMOD Record 27(2),
June 1998
Contents
[Abstract]
[Full Text (Postscript)]
References
- [1]
- Ludger Becker, Ralf Hartmut Güting:
Rule-Based Optimization and Query Processing in an Extensible Geometric Database System.
ACM Trans. Database Syst. 17(2): 247-303(1992)

- [2]
- ...
- [3]
- ...
- [4]
- ...
- [5]
- Mitch Cherniack, Stanley B. Zdonik:
Rule Languages and Internal Algebras for Rule-Based Optimizers.
SIGMOD Conference 1996: 401-412

- [6]
- Béatrice Finance, Georges Gardarin:
A Rule-Based Query Rewriter in an Extensible DBMS.
ICDE 1991: 248-256

- [7]
- Béatrice Finance, Georges Gardarin:
A Rule-Based Query Optimizer with Multiple Search Strategies.
Data Knowl. Eng. 13(1): 1-29(1994)

- [8]
- Goetz Graefe:
The Cascades Framework for Query Optimization.
IEEE Data Eng. Bull. 18(3): 19-29(1995)

- [9]
- Goetz Graefe, William J. McKenna:
The Volcano Optimizer Generator: Extensibility and Efficient Search.
ICDE 1993: 209-218

- [10]
- ...
- [11]
- Won Kim:
On Optimizing an SQL-like Nested Query.
ACM Trans. Database Syst. 7(3): 443-469(1982)

- [12]
- ...
- [13]
- Gail Mitchell, Umeshwar Dayal, Stanley B. Zdonik:
Control of an Extensible Query Optimizer: A Planning-Based Approach.
VLDB 1993: 517-528

- [14]
- Inderpal Singh Mumick, Sheldon J. Finkelstein, Hamid Pirahesh, Raghu Ramakrishnan:
Magic is Relevant.
SIGMOD Conference 1990: 247-258

- [15]
- Hamid Pirahesh, Joseph M. Hellerstein, Waqar Hasan:
Extensible/Rule Based Query Rewrite Optimization in Starburst.
SIGMOD Conference 1992: 39-48

- [16]
- ...
- [17]
- Edward Sciore, John Sieg Jr.:
A Modular Query Optimizer Generator.
ICDE 1990: 146-153

- [18]
- Praveen Seshadri, Joseph M. Hellerstein, Hamid Pirahesh, T. Y. Cliff Leung, Raghu Ramakrishnan, Divesh Srivastava, Peter J. Stuckey, S. Sudarshan:
Cost-Based Optimization for Magic: Algebra and Implementation.
SIGMOD Conference 1996: 435-446

Copyright © Fri Mar 12 17:21:34 2010
by Michael Ley (ley@uni-trier.de)