For most major sites that you can preform CRUD operations does each user have their own database table? I would love to see an example of a database structure which multiple users, I’m looking at my wordpress database structure and just can’t picture how twitter, tumblr, or even stackoverflow actually runs a database. Is it that easy to create a table for a user dynamically? Thanks in advance.
Share
Why would each user have their own table? A user should simply be an entry in a table. You then use the id of that user to look up other records in other tables.
If you database contained sy 6 tables then each time you added a user youd also have to add the other tables again too.
so now you have 10 users and 60 tables.