Abstract :
The `parts explosion´ is a classical problem, which is hard for relational database systems, due to recursion. A simple solution is suggested, which packs information of an ancestor path of a tuple into a fixed-length code, called signature. The coding technique is carefully adjusted to enable an efficient retrieval of the transitive closure, in terms of both disk accesses and DBMS calls. The code is lossy, and its purpose is to define a reasonably small superset of the closure, as well as establish an effective order of clustering. The method performs best for tree-structured hierarchies, where the processing time typically decreases by a factor of more than ten, compared to the trivial method. Also general directed graphs, both acyclic and cyclic, can be handled more efficiently
Keywords :
directed graphs; encoding; relational databases; coding technique; general directed graphs; path signatures; recursive relationships; relational database systems; relational implementation; transitive closure; tree-structured hierarchies; Application software; CADCAM; Computer aided manufacturing; Computer aided software engineering; Computer science; Explosions; Object oriented databases; Relational databases; Software systems; Tree graphs;