Database Normalization

后端 未结 13 1894
死守一世寂寞
死守一世寂寞 2020-11-29 11:33

I\'m new to database design and I have been reading quite a bit about normalization. If I had three tables: Accommodation, Train Stations and Airports. Would I have address

13条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-29 12:16

    There are times when you want to denormalize to make queries more efficient. But this should be done very cautiously, only after you have good reason to believe that the fully normalized model creates serious inefficiency problems. In my humble experience, most programmers are far to quick to denormalize, usually with a quick "oh, breaking that out into a separate table is too much trouble".

提交回复
热议问题