Traversal recursion: a practical approach to supporting recursive applications
Authors:
Open Access
- 15 June 1986
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGMOD Record
- Vol. 15 (2) , 166-176
Abstract
Many capabilities that are needed for recursive applications in engineering and project management are not well supported by the usual formulations of recursion. We identify a class of recursions called “traversal recursions” (which model traversals of a directed graph) that have two important properties they can supply the necessary capabilities and efficient processing algorithms have been defined for them. First we present a taxonomy of traversal recursions based on properties of the recursion on graph structure and on unusual types of metadata. This taxonomy is exploited to identify solvable recursions and to select an execution algorithm. We show how graph traversal can sometimes outperform the more general iteration algorithm. Finally we show how a conventional query optimizer architecture can be extended to handle recursive queries and views.Keywords
This publication has 9 references indexed in Scilit:
- Spatial query processing in an object-oriented database system1986
- Probe: A Knowledge-Oriented Database Management System1986
- Implementation of logical query languages for databasesACM Transactions on Database Systems, 1985
- An optimizing prolog front-end to a relational query system1984
- An enhanced inference mechanism for generating relational algebra queries1984
- On compiling queries in recursive first-order databasesJournal of the ACM, 1984
- Design of an external schema facility to define and process recursive structuresACM Transactions on Database Systems, 1981
- The functional data model and the data languages DAPLEXACM Transactions on Database Systems, 1981
- Universality of data retrieval languages1979