PIM (product information manager) Database design query
Lets presume 1000 users with 100,000 products per user. Each user needs to store their own 100k products in the database which can be modified independantly by each user (non shared data)
Looking for the best way to store this data in the mysql table, taking into account that is expandable / future proof should the user base significantly increase to say 10,000 users Also taking into account speed / corruption
At the moment i'm thinking of creating independent stock tables with the user_id added to table name e.g. stock_1001, stock_1002 (where 1001 + 1002 are the user id's)
Another idea was to create complete seperate databases for each user e.g. db_1001, db_1002, but i'm thinking this might be slow / bad design as the rest of the database contains other tables such as users / permissions / settings for the main application so getting getting seperate databases to talk to each other may be poor design / slow?
Does independent stock tables for each user sound the best design method?