If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Design Question/Performance Question

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-30-08, 14:38
johnnysc johnnysc is offline
Registered User
 
Join Date: Nov 2004
Posts: 28
Design Question/Performance Question

I have an idea for a site and currently am beginning the design stage of the database. Basically the site is for a local area where I will get clients to sign up and pay for advertising. The site is area specific but if this goes well I want to expand this to other areas which means additional sites. These sites could possibly overlay each other, as in one client could have advertising on two sites because they are geographically close enough.

At first I thought of just having one DB for each site, which would require multiple entries for that client in each database. But then I was thinking of having one DB for all the sites which means only one client table and then I can have a 'site' table to flag on what site(s) that client should appear in.

I have made the rough draft and tested my site with this design and it works well, my main question is how performance is with MySQL. I know DB design is critical with performance but is it more dependent on who I host with? The concern is (fingers crossed) this goes well and there will be alot of people accessing multiple sites, but would be accessing the same DB. Should I just pay the extra money and get a good shared or dedicated hosting vs my current hosting company, DreamHost.

Any suggestions are much appreciated.

Thanks,
John

Last edited by johnnysc; 08-30-08 at 14:43.
Reply With Quote
  #2 (permalink)  
Old 08-31-08, 00:17
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,605
One database will almost certainly do, and will probably be orders of magnitude easier to manage than a separate database for each web site. Be sure that your host can support the web traffic you expect... Most can, but it pays (a lot) to ask up front.

-PatP
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On