I have two routes,
1) creating sub-tables for each user and saving his individual content
2) creating several tables and saving data of all users in them.
eg.
1) 100,000 tables with 1,000 rows
2) 50 Tables with 2,000,000 rows
I want to know which route is the best and most effective.
Context: like Facebook, for millions of users, their posts, photos, tags. All this information is in some gigantic tables for all users, or each user has their own sub-tables.
user689751
source share