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

  • Authors:
  • J. F. Naughton;R. Ramakrishnan;Y. Sagiv;J. D. Ullman

  • Affiliations:
  • Department of Computer Science, Princeton University;Department of Computing Sciences, University of Wisconsin, Madison, Wisconsin;Department of Computing Sciences, Hebrew University, Jerusalem, Israel;Stanford University.

  • Venue:
  • SIGMOD '89 Proceedings of the 1989 ACM SIGMOD international conference on Management of data
  • Year:
  • 1989

Quantified Score

Hi-index 0.00

Visualization

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 &Ogr;(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.