Use case for hstore against multiple columns

前端 未结 2 1938
别跟我提以往
别跟我提以往 2020-12-18 05:33

I\'m having some troubles deciding on which approach to use.

I have several entity \"types\", let\'s call them A,B and C, who share a certain number of attributes (a

2条回答
  •  醉梦人生
    2020-12-18 06:36

    In my line of work, we have rapidly-changing requirements, and we rarely get downtime for proper schema upgrades. Having done both the big-record with lots on nulls and highly normalized (name,value), I've been thinking that it might be nice it have all the common attributes in proper columns, and the different/less common ones in a "hstore" bucket for the rest.

提交回复
热议问题