Modeling independent attributes on m:n links

This is a discussion on Modeling independent attributes on m:n links within the databases forums in Other Databases category; Axel, > That is certainly not an EAV design...

Go Back   Database Forum > Other Databases > databases

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #11  
Old 08-26-2008, 03:32 PM
Default Re: Modeling independent attributes on m:n links

Axel,

> That is certainly not an EAV design <

Indeed this was not a good comparison. My apologies if this introduced
some confusion.

To come back to Roberts question as to which design I would prefer
when (without boolean flags!). I can basically see two situations:

1) Some simple m:n relationships which just differ by some sort of
"relation_type" column and carry no further attributes with them. This
will fit well into one table (see Joes example)

2) Several independent relationships between the same tables which are
very different creatures (see the example I was giving) having
different business rules and their own attributes. They might not fit
well into one table, unless you get rid of most constraints and might
also be unable to assign a proper primary key. Further you would
introduce columns which apply to one relationship, but not to the
other. That was how I was understanding the initial post and therefore
was thinking at the mindset of "one-table-does-it-all" which also
drives EAV and OTLT/MUCT.

brgds

Philipp Post
Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 09:31 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by bbpixel2008 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.