Re: a neophytish normalization question



On Oct 30, 8:36 pm, justaguy <your.mas...@xxxxxxxxx> wrote:
Hi all,

I am designing a database for a social science project I'm doing. It
is based on a Linnaen taxonomy (family, subfamily, etc). I know to
get it up to 3rd normal form, I will have to have separate tables for
each level in the hierarchy, with UIDs in each:

tblFamily
UID Name
1 Fam1
2 Fam2

tblSubfamily
UID Name DominatedBy
1 SubFam1 FamUID_1
2 SubFam2 FamUID_1
3 SubFam3 FamUID_2

tblBranch
UID Name DominatedBy
1 Branch1 SubFamUID_3

... and so on.

As I understand things (having never taken a formal database design
course), I can keep it in 3rd normal form by moving down the levels
and only keeping the DominatedBy field on an "immediate ancestor"/
nontransitive basis. And there is actually not all that much other
attribute data until I get to the bottom level.

My problem is that as I move down through the levels, the
classifications become more and more controversial, as they are wont
to do. And while I am going to assign things on the bottom a certain
way, I am also going to release this database to others for them to
change as they see fit. So, in a way, I need to build in a 4th form
capacity, because things on the bottom may have a many-to-many
relationship by the time somebody else gets done with it.

So my question is, how do I build in the 4th form? I think I do it by
doing this:

tblBranch
UID Name DominatedBySubFam DominatedByFam
1 Branch1 SubFamUID_3 FamUID_2

I hope I am not mucking up my explanation of the problem. Any advice
is sincerely appreciated.

Guy

You might want to take a look at nested sets.
.



Relevant Pages

  • a neophytish normalization question
    ... I am designing a database for a social science project I'm doing. ... I can keep it in 3rd normal form by moving down the levels ... And while I am going to assign things on the bottom a certain ...
    (comp.databases)
  • Re: a neophytish normalization question
    ... I am designing a database for a social science project I'm doing. ... As I understand things (having never taken a formal database design ... I can keep it in 3rd normal form by moving down the levels ... attribute data until I get to the bottom level. ...
    (comp.databases)
  • Re: sql express 2005 table
    ... Take a look into 3rd normal form while designing your database model.THis ... boundary otherwise penalty for either storage or performance will occur. ...
    (microsoft.public.sqlserver.msde)
  • Re: Relational database & OO
    ... The RDB Data Model and the solution's Class Model will typically be different for non-CRUD/USER applications because they need to be optimized differently. ... all the business systems I've participated coding or designing spent little production time changing data. ... Given statistics like these it makes little sense to design your application or OO model before designing your database. ... And OO Class Models are routinely normalized as part of the basic paradigm methodology. ...
    (comp.object)
  • Re: Good Books on MultiValue Databases
    ... have to admit I was intrigued by the multivalue database, however, I ... Databases over to SQL Server would be great. ... multivalue going beyond the 4th normal form, ...
    (comp.databases.pick)