Tail Recursion Elimination in Deductive Databases

5Citations
Citations of this article
6Readers
Mendeley users who have this article in their library.

Abstract

We consider an optimization technique for deductive and relational databases. The optimization technique is an extension of the magic templates rewriting, and it can improve the performance of query evaluation by not materializing the extension of intermediate views. Standard relational techniques, such as unfolding embedded view definitions, do not apply to recursively defined views, and so alternative techniques are necessary. We demonstrate the correctness of our rewriting. We define a class of "nonrepeating" view definitions, and show that for certain queries our rewriting performs at least as well as magic templates on nonrepeating views, and often much better. A syntactically recognizable property, called "weak right-linearity," is proposed. Weak right-linearity is a sufficient condition for nonrepetition, and is more general than right-linearity. Our technique gives the same benefits as right-linear evaluation of right-linear views, while applying to a significantly more general class of views.

References Powered by Scopus

MAGIC SETS AND OTHER STRANGE WAYS TO IMPLEMENT LOGIC PROGRAMS

447Citations
N/AReaders
Get full text

Contributions to the Theory of Logic Programming

397Citations
N/AReaders
Get full text

HiLog: A foundation for higher-order logic programming

232Citations
N/AReaders
Get full text

Cited by Powered by Scopus

A generalized QSQR evaluation method for horn knowledge bases

12Citations
N/AReaders
Get full text

An Empirical Approach to Query-Subquery Nets with Tail-Recursion Elimination

5Citations
N/AReaders
Get full text

Incorporating stratified negation into query-subquery nets for evaluating queries to stratified deductive databases

1Citations
N/AReaders
Get full text

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Cite

CITATION STYLE

APA

Ross, K. A. (1996). Tail Recursion Elimination in Deductive Databases. ACM Transactions on Database Systems, 21(2), 208–237. https://doi.org/10.1145/232616.232628

Readers' Seniority

Tooltip

Professor / Associate Prof. 3

100%

Readers' Discipline

Tooltip

Computer Science 4

100%

Save time finding and organizing research with Mendeley

Sign up for free