Jump to content

Setingup an database for website.


Guest daleosmond

Recommended Posts

Guest daleosmond
Hey,
Right now I am going to start making an website a bit like my$pace.
my site offing free space, forums and accounts (of course) and in the future I might progress and add new services but my main question is shall I keep it all in one database or multiple but the sites user accounts will be used all over the site.

It would be greatly appreciated if you guys could give me some ideas on what to do.
Link to comment
Share on other sites

if you are keeping the database relational (Which I assume you are) I don't see why one database wouldn't be fine. As far as I know there isn't any real limit to tables in a database (I could be wrong).

If you are trying to do a project like myspace though (depending on how many users you have) you might eventually need to think about multiple servers and load balancing.
Link to comment
Share on other sites

One database is definitely preferable -- obviously, if you have thousands of tables, then there's a slight overhead for the actual I/O operation that opens & closes the files that represent the MyISAM tables. Otherwise, the only issue of all of these tables will be open simultaneously is tuning the table_cache size appropriately.
Link to comment
Share on other sites

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.