|
ABSTRACT
Two types of redundancies in datalog program are considered. Redundancy based on reachability eliminates rules and predicates that do not participate in any derivation tree of a fact for the query predicate. Redundancy based on irrelevance is similar, but considers only minimal derivation trees, that is, derivation trees having no pair of identical atoms, such that one is an ancestor of the other. Algorithms for detecting these redundancies are given, including the case of programs with constraint literals. These algorithms not only detect redundancies in the presence of constraints, but also push constraints from the given query and rules to the EDB predicates. Under certain assumptions discussed in the paper, the constraints are pushed to the EDB as tightly as possible.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
BK*89
|
Balbin, I., Kemp, D.B., Meenakshi, K., and Ramamohanarao, K. Propagating constraints in recursive deductive databases. North American Conf. on Logic Programming, 1989, pp. 16- 20.
|
 |
BS91
|
|
| |
Co91
|
|
 |
KKR90
|
Paris C. Kanellakis , Gabriel M. Kuper , Peter Z. Revesz, Constraint query languages (preliminary report), Proceedings of the ninth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.299-313, April 02-04, 1990, Nashville, Tennessee, United States
[doi> 10.1145/298514.298582]
|
| |
Ki88
|
Kifer, M. On safety, domain independence, and capturability of database queries. Proc. Int. Conf. on Data and Knowledge Bases, Jerusalem, 1988.
|
 |
Kl88
|
|
 |
MF*90
|
Inderpal Singh Mumick , Sheldon J. Finkelstein , Hamid Pirahesh , Raghu Ramakrishnan, Magic conditions, Proceedings of the ninth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.314-330, April 02-04, 1990, Nashville, Tennessee, United States
[doi> 10.1145/298514.298584]
|
| |
Sag88
|
|
 |
Sar90
|
|
 |
Sh87
|
|
| |
SS90
|
|
| |
Ull89
|
|
 |
VG90
|
|
 |
Va89
|
|
CITED BY 25
|
|
|
|
|
Alon Levy , Inderpal Singh Mumick , Yehoshua Sagiv , Oded Shmueli, Equivalence, query-reachability and satisfiability in Datalog extensions, Proceedings of the twelfth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.109-122, May 25-28, 1993, Washington, D.C., United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Alon Y. Levy , Anand Rajaraman , Jeffrey D. Ullman, Answering queries using limited external query processors (extended abstract), Proceedings of the fifteenth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.227-237, June 04-06, 1996, Montreal, Quebec, Canada
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|