When to Denormalize a Database Design

前端 未结 9 1919
半阙折子戏
半阙折子戏 2020-11-29 15:52

I know that normalization has been extensively discussed on Stack Overflow. I\'ve read many of the previous discussions. I\'ve got some additional questions though.

I

9条回答
  •  时光取名叫无心
    2020-11-29 16:41

    Database normalization removes duplicates and makes sql queries for data update more efficient (and gives some other improvements).

    But if most of your queries are used for data selecting and select queries connect to several tables at the time, you may consider denormalization of these tables. It will increase the amount of disk space needed for data, time execution of sql update queries but will improve select queries.

提交回复
热议问题