Jump to content

More Database equal more power?


TheFilmGod

Recommended Posts

Okay, so I'm designing this website. I'm designing for a high load of traffic (in the future, hopefully...)

 

My host allows me to have up to ten mysql databases. But each of these databases can have seperate "virtual databases" within myphpadmin.

 

Would there be any increase in performance if there were multiple databases? What about "virtual" databases?

 

Is it even worth it? I mean if a page load requires three database connections - that may be a huge problem...

Link to comment
Share on other sites

Would there be any increase in performance if there were multiple databases?

 

It would make queries and database normalization very difficult. Most heavy traffic sites use load balancing, ie sharing the load between two servers. Notice I highlighted the word server? Having seperate databases on the same server will achieve nothing.

Link to comment
Share on other sites

well yeah. I'm not stupid.

 

How do I SETUP load balancing?

 

You don't -- the "future" is very far away.  Leave it be, make sure you abstract the connection strings, and you can fiddle with load balancing later.  I've built 100s of websites on the same db server with no issues yet.

Link to comment
Share on other sites

well yeah. I'm not stupid.

 

How do I SETUP load balancing?

 

You don't -- the "future" is very far away.  Leave it be, make sure you abstract the connection strings, and you can fiddle with load balancing later.  I've built 100s of websites on the same db server with no issues yet.

 

Yes, I agree with you, but its a good thing to plan. Mind you, this isn't going to a be personnal/hobby page, more like a serious website. Is there anything else I would need to worry about?

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.