Inheritance in Database Design

后端 未结 5 562
星月不相逢
星月不相逢 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:27

    Oracle can deal with sparsely filled tables quite well. I think you can use a similar approach as company salesforce uses. They use tables with a lot of columns, they create columns when needed. You can index those columns much better than an eav model.

    So it is flexible but it performs better than an eav model.

    Read: Ask Tom 1, Ask Tom 2, High Scalabilty and SalesForce.

提交回复
热议问题