What's better - many small tables or one big table?

前端 未结 9 1199
半阙折子戏
半阙折子戏 2020-12-12 19:29

I\'ve got a database which will store profiles about individuals. These individuals have about 50 possible fields.

Some are common things like, first name, last nam

9条回答
  •  青春惊慌失措
    2020-12-12 19:42

    From what you've described I'd certainly break that into multiple tables. I wouldn't split on an arbitrary number of columns though, instead try to think of logical collections of columns that either make up an entity or match the access patterns you're going to be using to hit the data

提交回复
热议问题