On the Computation of Recursion in Relational Databases

On the Computation of Recursion in Relational Databases

Yangjun Chen (University of Winnipeg, Canada)
Copyright: © 2003 |Pages: 15
DOI: 10.4018/978-1-93177-747-6.ch015
OnDemand PDF Download:
No Current Special Offers


A composite object represented as a directed graph is an important data structure which requires efficient support in CAD/CAM, CASE, office systems, software management, Web databases and document databases. It is cumbersome to handle such an object in relational database systems when it involves recursive relationships. In this chapter, we present a new encoding method to support the efficient computation of recursion. In addition, we devise a linear time algorithm to identify a sequence of reachable trees (w.r.t.) a directed acyclic graph (DAG), which covers all the edges of the graph. Together with the new encoding method, this algorithm enables us to compute recursion w.r.t. a DAG in time O(e), where e represents the number of edges of the DAG. More importantly, this method is especially suitable for a relational environment.

Complete Chapter List

Search this Book: