views:

142

answers:

2

I know some patterns to DB table schema:

  • one-one: same table.

  • one-many: Having 'many' table's primary key a member of 'one' table.

  • many-many: Having a new relationship table contains both table's primary key.

What are some other patterns?

A: 

How about?:

Corbin March
thank you. those are what i am looking for. great!
5YrsLaterDBA
A: 

I wouldn't consider those 'patterns' since the term patterns are used for more or less complex problem solutions in a given technology, including some notion on the circumstances in which one pattern in superior to another applicable pattern.

The examples you are giving are more the very basic building blocks of relational database schema design. If you want to learn more about this I suggest search for 'database normalization'.

Some terms that could be considered patterns in the database world are:

star schema snowflake schema Entity-attribute-value model

Jens Schauder