Semantic Query Optimization in Datalog Programs.
Alon Y. Levy, Yehoshua Sagiv:
Semantic Query Optimization in Datalog Programs.
PODS 1995: 163-173@inproceedings{DBLP:conf/pods/LevyS95,
author = {Alon Y. Levy and
Yehoshua Sagiv},
title = {Semantic Query Optimization in Datalog Programs},
booktitle = {Proceedings of the Fourteenth ACM SIGACT-SIGMOD-SIGART Symposium
on Principles of Database Systems, May 22-25, 1995, San Jose,
California},
publisher = {ACM Press},
year = {1995},
isbn = {0-89791-730-8},
pages = {163-173},
ee = {http://doi.acm.org/10.1145/212433.220207, db/conf/pods/LevyS95.html},
crossref = {DBLP:conf/pods/95},
bibsource = {DBLP, http://dblp.uni-trier.de}
}
Abstract
Semantic query optimization refers to the process of using
integrity constraints (ic's) in order to optimize the evaluation of
queries. The process is well understood in the case of unions of
select-project-join queries (i.e., nonrecursive datalog). For
arbitrary datalog programs, however, the issue has largely remained an
unsolved problem. This paper studies this problem and shows when
semantic query optimization can be completely done in recursive rules
provided that order constraints and negated EDB subgoals appear only
in the recursive rules, but not in the ic's. If either order
constraints or negated EDB subgoals are introduced in ic's, then the
problem of semantic query optimization becomes undecidable. The
algorithm we describe also enables extending semantic query
optimization to SQL queries involving aggregation and duplicates, for
which previous techniques are not applicable. Since semantic query
optimization is closely related to the containment problem of a
datalog program in a union of conjunctive queries, our results also
imply new decidability and undecidability results for that problem
when order constraints and negated EDB subgoals are used.
Copyright © 1995 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.
Load The ACM SIGMOD Anthology, CDROM Edition, Volume 1-3, PODS '82-'98.
and ...
Load The ACM SIGMOD Anthology, Silver Edition, DVD 1, Proceedings.
and ...
Printed Edition
Proceedings of the Fourteenth ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems, May 22-25, 1995, San Jose, California.
ACM Press 1995, ISBN 0-89791-730-8
Contents
[Index Terms]
[Full Text in PDF Format, 1148 KB]
References
- [CGM88]
- ...
- [CGMH+94]
- Sudarshan S. Chawathe, Hector Garcia-Molina, Joachim Hammer, Kelly Ireland, Yannis Papakonstantinou, Jeffrey D. Ullman, Jennifer Widom:
The TSIMMIS Project: Integration of Heterogeneous Information Sources.
IPSJ 1994: 7-18
- [CV92]
- Surajit Chaudhuri, Moshe Y. Vardi:
On the Equivalence of Recursive and Nonrecursive Datalog Programs.
PODS 1992: 55-66
- [Kin81]
- ...
- [Klu88]
- Anthony C. Klug:
On conjunctive queries containing inequalities.
J. ACM 35(1): 146-160(1988)
- [LMS94]
- Alon Y. Levy, Inderpal Singh Mumick, Yehoshua Sagiv:
Query Optimization by Predicate Move-Around.
VLDB 1994: 96-107
- [LMSS93]
- Alon Y. Levy, Inderpal Singh Mumick, Yehoshua Sagiv, Oded Shmueli:
Equivalence, Query-Reachability, and Satisfiability in Datalog Extensions.
PODS 1993: 109-122
- [LS92]
- Alon Y. Levy, Yehoshua Sagiv:
Constraints and Redundancy in Datalog.
PODS 1992: 67-80
- [LS93]
- Alon Y. Levy, Yehoshua Sagiv:
Queries Independent of Updates.
VLDB 1993: 171-181
- [LSK95]
- Alon Y. Levy, Divesh Srivastava, Thomas Kirk:
Data Model and Query Evaluation in Global Information Systems.
J. Intell. Inf. Syst. 5(2): 121-143(1995)
- [SY81]
- Yehoshua Sagiv, Mihalis Yannakakis:
Equivalences Among Relational Expressions with the Union and Difference Operators.
J. ACM 27(4): 633-655(1980)
- [Ull88]
- Jeffrey D. Ullman:
Principles of Database and Knowledge-Base Systems, Volume I.
Computer Science Press 1988, ISBN 0-7167-8158-1
Contents - [Ull89]
- Jeffrey D. Ullman:
Principles of Database and Knowledge-Base Systems, Volume II.
Computer Science Press 1989, ISBN 0-7167-8162-X
Contents - [Var89]
- Moshe Y. Vardi:
Automata Theory for Database Theoreticans.
PODS 1989: 83-92
- [vdM92a]
- Ron van der Meyden:
The Complexity of Querying Indefinite Data about Linearly Ordered Domains.
PODS 1992: 331-345
- [vdM92b]
- ...
Copyright © Fri Mar 12 17:19:58 2010
by Michael Ley (ley@uni-trier.de)