Is it unreasonable to assign a MySQL database to each user on my site?

前端 未结 10 2084
情歌与酒
情歌与酒 2020-12-03 00:27

I\'m creating a user-based website. For each user, I\'ll need a few MySQL tables to store different types of information (that is, userInfo, quotesSubmitted, and ratesSubmit

10条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-03 00:34

    we've got a similar system, having many users and their relevant datas. We've followed a single database and common tables approach. This way you would have a single table holding user information and a table holding all their data. Along with the data we have a reference to the userid which helps us segregate the information.

提交回复
热议问题