Should I use flat tables or a normalized database?

前端 未结 7 957
南方客
南方客 2021-02-19 03:39

I have a web application that I am currently working on that uses a MySQL database for the back-end, and I need to know what is better for my situation before I continue any fur

7条回答
  •  无人共我
    2021-02-19 04:31

    Normalized == fast searches, easier to maintain indexes, slower insert transactions (on multiple rows)

    Denormalized == fast inserts, ususally this is used when there are a lot of inserts (data warehouses that collect and record chronological data)

提交回复
热议问题