Jump to content

Question about how to design databases for larger site for users


programming.name

Recommended Posts

Hi,

 

As a database designer or DBA, how do you design the database for a site where there are lots of people and a single user writes a lot of threads? For a small sized site, I think it is possible to create only one table to store users' info and other info. But as the site get bigger, I think a single table may be used for a single user since there are lots of info like PHP's threads and MySQL's thread, ect to store. If I am wrong would you explain how to design the database please?

 

Thanks!

 

how do you design the database for a site where there are lots of people and a single user writes a lot of threads?

 

What do you mean by writes a lot of threads? You can use:

 

CREATE TEMPORARY TABLE table_name SELECT * FROM table_name

 

For each user and allow only an admin access to the actual table_name (UPDATE, INSERT, DELETE)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.