Re: Hierarchcal Task Lists

From: Jan Hidders <hidders_at_REMOVE.THIS.uia.ua.ac.be>
Date: 14 Nov 2002 13:40:50 +0100
Message-ID: <3dd399d2$1_at_news.uia.ac.be>


stu wrote:
>Has anybody seen or designed a DB for tasks where 1 task can have any number
>of sub tasks using the relational model? Could Celkos Nested Set be used
>for this? Or is there a simple way?

The most important question is if the nesting depth is bounded or not. So can you have subtasks, subsubtasks, subsubsubtasks, et cetera. If there is no limit or the limit is large then you should start thinking about special constructs for representing hierarchical data. In that case there are roughly 4 approaches and which one is best depends upon how your data typically looks and what your acces patterns are, i.e., what the typical queries and updates look like and how often they are done.

The 4 approaches are:

Take your pick.

  • Jan Hidders
Received on Thu Nov 14 2002 - 13:40:50 CET

Original text of this message