ACM Home Page
Please provide us with feedback. Feedback
On the power of magic
Full text PdfPdf (1.91 MB)
Source Symposium on Principles of Database Systems archive
Proceedings of the sixth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems table of contents
San Diego, California, United States
Pages: 269 - 284  
Year of Publication: 1987
ISBN:0-89791-223-3
Authors
C. Beeri  The Hebrew University
R. Ramakrishnan  University of Texas at Austin and MCC
Sponsors
SIGMOD: ACM Special Interest Group on Management of Data
SIGOPS: ACM Special Interest Group on Operating Systems
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 5,   Downloads (12 Months): 36,   Citation Count: 94
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/28659.28689
What is a DOI?

ABSTRACT

This paper considers the efficient evaluation of recursive queries expressed using Horn Clauses. We define sideways information passing formally and show how a query evaluation algorithm may be defined in terms of sideways information passing and control. We then consider a class of information passing strategies which suffices to describe most query evaluation algorithms in the database literature, and show that these strategies may always be implemented by rewriting a given program and evaluating the rewritten program bottom-up. We describe in detail several algorithms for rewriting a program. These algorithms generalize the Counting and Magic Sets algorithms to work with arbitrary programs. Safety and optimality of the algorithms are also considered.


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.

Bancilhon et al 86
Bancilhon and Ramakrishnan 86a
 
Bancilhon and Ramakrishnan 86b
"Performance Evaluation of Data Intensive Logic Programs," F Bancllhon and R Ramakmhnan, Preprmts of Workshop on Foundations of Deductive Databases and Logic Progranmung, Washington, D C, Aug ust 1986,
Beeri et al 87
Henschen and Naqvi 84
 
Kifer and Lozinskii 85
"Query Opumtzauon m Logm Databases," M Kffer and E Lozanskn, Techmcal Report, SUNY at Stonybrook, June 1985
 
Kifer and Lozinskii 86
" A Framework for an Efficient ImplementaUon of Deducuve Databases," M gafer and E Lozanskn, Proc Advanced Database Symposium, Tokyo, 1986
 
Lloyd 84
 
Lozinskii 85
"Evaluaung Queries m Deductive Databases by Generattng," E Lozmskn, Proc 11th internatwnal Joint Conference on Arttfictal lntelhgence, 1985
 
McKay and Shapiro 81
"Using Aclave Conneclaon Graphs for Reasonmg with Recurslve Rules," D McKay and S Shapn'o, Proc 7th lnternatwnal Joint Conference on Artificial Intelhgence, 1981
 
Rohmer and Lescoeur 85
"La Methode Alexandre une soluuon pour trmter les axlomes reeursffs darts les bases de donnees deduclaves ," Rohmer and Lescoeur, Colloque Reconnatssance de Formes et lntelhgence Art~ctelle, Grenoble, November 1985
Sacca and Zaniolo 86a
 
Sacca and Zaniolo 86b
Ullman 85
 
Van Gelder 86
"A Message Passmg Framework for Recurslve Query Evaluauon," A. Van Gelder, Proc SIG- MOD, 1986
 
Vieille 86
"Recurswe axioms m DeAucuve Databases The Query/Subquery Approach," L Vletlle, Proc Fwst Intl Conference on Expert Database Systents, Charleston, 1986

CITED BY  94

Collaborative Colleagues:
C. Beeri: colleagues
R. Ramakrishnan: colleagues