Abstract
We present an algorithm for the efficient evaluation of a useful subset of recursive queries. Like the magic sets tranformation, 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 0(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.
| Original language | English |
|---|---|
| Title of host publication | Proceedings of the 1989 ACM SIGMOD International Conference on Management of Data, SIGMOD 1989 |
| Publisher | Association for Computing Machinery |
| Pages | 235-242 |
| Number of pages | 8 |
| ISBN (Electronic) | 0897913175 |
| DOIs | |
| State | Published - 1 Jun 1989 |
| Event | 1989 ACM SIGMOD International Conference on Management of Data, SIGMOD 1989 - Portland, United States Duration: 31 May 1989 → 2 Jun 1989 |
Publication series
| Name | Proceedings of the ACM SIGMOD International Conference on Management of Data |
|---|---|
| Volume | Part F130127 |
| ISSN (Print) | 0730-8078 |
Conference
| Conference | 1989 ACM SIGMOD International Conference on Management of Data, SIGMOD 1989 |
|---|---|
| Country/Territory | United States |
| City | Portland |
| Period | 31/05/89 → 2/06/89 |
Bibliographical note
Publisher Copyright:© 1989 ACM.