Jump to content

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)

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.