Efficient evaluation of right-, left-, and multi-linear rules

Jeffrey F. Naughton, Raghu Ramakrishnan, Y. Sagiv, J. D. Ullman

1989 · 40 citations · 9 references

DOIFull text

Open access

Concepts

Abstract

We present an algorithm for the efficient evaluation of a useful subset of recursive queries. Like the magic sets transformation, the algorithm consists of a rewriting phase followed by semi-naive bottom-up evaluation of the resulting rules. We prove that on a wide range of recursions, this algorithm achieves a factor of Ο(n) speedup over magic sets. Intuitively, the transformations in this algorithm achieve their performance by reducing the arity of the recursive predicates in the transformed rules.

References

9