ACM Home Page
Please provide us with feedback. Feedback
One-sided recursions
Full text PdfPdf (2.78 MB)
Source Symposium on Principles of Database Systems archive
Proceedings of the sixth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems table of contents
San Diego, California, United States
Pages: 340 - 348  
Year of Publication: 1987
ISBN:0-89791-223-3
Author
J. F. Naughton  Standford University
Sponsors
SIGMOD: ACM Special Interest Group on Management of Data
SIGOPS: ACM Special Interest Group on Operating Systems
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 1,   Downloads (12 Months): 9,   Citation Count: 20
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/28659.28695
What is a DOI?

ABSTRACT

The performance of systems with recursive query languages can be improved by recognizing simple, easily evaluable classes of recursions and using algorithms tailored to these classes whenever possible. In this paper we identify a useful subset of recursive definitions, the one-sided recursions. We show how to detect one-sided recursions, and give two simple evaluation algorithms that cover one-sided definitions in that for any selection on a one-sided definition, at least one of the two algorithms will apply. These algorithms have simple termination conditions, maintain minimal state and use selections on the recursively defined relation whenever possible. We show that there are no similar algorithms for many-sided recursions We also prove that it is undecidable whether an arbitrary definition has an equivalent one-sided definition. However, we do present a procedure that converts many potentially one-sided recursions to one-sided form, and prove it complete for a useful class of recursions.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

1
2
3
 
4
C Chang On the evaluation of queries containing derived relationds in a relational data base In H Gallalre, J Minker, and J Nicolas, edilors, Advances in Data Base Theory, Volume 1, Plenum Press, 1981
 
5
Hiam Gaifman, Harry Manson, Yehoshua Sagiv, and Moshe Y Vardi Undecidable optimization problems for database logic programs December 1986 Unpublsihed manuscript
 
6
Micheal R Genesereth The MRS Casebook Technical Report IIPP-83-26, Stanford University. May 1983
7
 
8
H V Jagadish and Rakesh Agtawal A study of transitive closure as a recutslon mechanism 1986 Unpublished Manuscript
 
9
Paris C Kanellakis Logic Programming and Parallel Complexity Technical Report CS-86 23, Brown University, October 1986
 
10
Jack Minker and Jean M Nicolas On recursive axioms in relational databases lnformation Systems, 8(1) 1 13, 1q82
11
 
12
Jeffrey F Naughton One sided recursions 1987 Stanford TR, to appear
 
13
 
14
15

CITED BY  20