How do you determine how far to normalize a database?

前端 未结 13 2154
醉梦人生
醉梦人生 2020-11-29 06:36

When creating a database structure, what are good guidelines to follow or good ways to determine how far a database should be normalized? Should you create an un-normalized

13条回答
  •  旧巷少年郎
    2020-11-29 07:34

    Just try to use common sense.

    Also some say - and I have to agree with them - that, if you're finding yourself joining 6 (the magic number) tables together in most of your queries - not including reporting related ones- , than you might consider denormalizing a bit.

提交回复
热议问题