ON THE POWER OF MAGIC.

Catriel Beeri*, Raghu Ramakrishnan

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

183 Scopus citations

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.

Original languageEnglish
Title of host publicationUnknown Host Publication Title
PublisherACM
Pages269-283
Number of pages15
ISBN (Print)0897912233, 9780897912235
DOIs
StatePublished - 1987
Externally publishedYes

Fingerprint

Dive into the research topics of 'ON THE POWER OF MAGIC.'. Together they form a unique fingerprint.

Cite this