sql - Suggestions modelling nested data sets that change over time -


i looking suggestions on creating temporal nested data set model. trying improve performance reading sections. have node tree of ~1million nodes, frequent depths of 20+ nodes. tree stores categories can change on time, ability enter future changes.

the current data structure temporal adjacent node model, modelling changes node tree on time trivial simple data structure:

nodes
nodeid
[data]

edges
parentnodeid
childnodeid
validfromdate
validtodate

a nested data set makes fast read operations, current understanding of nested sets not support changes on time tree

nodes
nodeid
left
right
[data]

one thought had create series of "nesting maps" reflect left/right values @ given points in time, mean recreating entire node tree whenever single change-over-time modelled, make size of "nests" dataset large changes frequent.

nests
nodeid
left
right
validfromdate
validtodate

has created temporal nested dataset model, or know resources on subject?

the following papers have investigated archiving multiple versioned nested data (a simple form of xml, use of xml not essential.)

http://xarch.sourceforge.net/

and see papers:

homepages.inf.ed.ac.uk/opb/papers/tods2004.pdf


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -