Inheritance in Database Design

后端 未结 5 604
星月不相逢
星月不相逢 2021-01-06 02:56

I am designing a new laboratory database with MANY types of my main entities.

The table for each entity will hold fields common to ALL types of that entity (entity_i

5条回答
  •  情书的邮戳
    2021-01-06 03:41

    The "Option 1" patterns is also called the "Universal Relation" At first look it seems like a short cut to not doing potentially difficult data modeling. It trades effortless data modeling for not being able to do simple select, update, delete without dramatically more effort than it would take on more usual looking data model with multiple tables.

提交回复
热议问题