| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Best SQL hierarchical model for large/heavily updated graphs?
I'm looking for a concept for modeling a web hierarchy, which has the
potential to grow into the 10s of millions of nodes. The hierarchy is
technically a graph as nodes can have multiple parents. An example of a
node with multiple parents would be a web page linked under several
parent web pages. The technique cannot use any propriety syntaxes (ie.
CONNECT BY or CTEs) as the implementation requires support for a number
or databases.
The most common tasks performed on the hierarchy are:
Currently we are using the materialized path technique, mapping the path of nodes using a series of ascii characters. One of the fundamental floors of this technique is that if you want to link a particular branch into another part of the tree, you have to replicate the whole branch's materialized paths to the new position in the tree, rather than creating one link for the parent of that branch. If you require a branch to be linked in several places the table and indexes grow quickly.
I have reviewed several techniques including Celko's nested sets, Tropashko's nested intervals, adjacency lists etc, and I believe that these techniques are fit for specific scenarios, this being not one of those. Is there a model that someone can suggest that best fits this scenario? Or is this wishful thinking? Received on Mon Feb 06 2006 - 22:30:39 CST
![]() |
![]() |