Many database rows vs one comma separated values row

后端 未结 4 1514
萌比男神i
萌比男神i 2021-01-04 13:02

I\'m creating a table for allowing website users to become friends. I\'m trying to determine which is the best table design to store and return a user\'s friends. The goal i

4条回答
  •  囚心锁ツ
    2021-01-04 13:30

    Use the power of the relational database. Definitely go with the first approach. MySQL is faster than you think, and it regularly deals with VERY large datasets.

提交回复
热议问题