Web Design Forums

Database Systems Help

Discussion and help on database systems such as MySQL, MSSql, SQLite, PostgreSQL

One or Many MySQL DBs????



Site of the Month Voting - Now Open. CAST YOUR VOTE NOW!

Reply
 
LinkBack Thread Tools
Old February 5 '10, 01:04 PM (#1)
niseidea is offline
New Member!
 
niseidea's Avatar
 
Join Date: February 2010
Posts: 2
niseidea is an unknown quantity at this point
One or Many MySQL DBs????

Ok all you MySQL geniuses, I have what I think is an easy question for the more experienced developers out there.

I'm building a franchise business site using LAMP. This back-office application will serve up to 1000 businesses, each with about 1000 customers to track.

My question is... should we pile all the information into one SUPER Database, OR spawn a smaller Database for each business then manage them from a sort of console?

A SUPER database will need EXTREME fault protection as so many businesses depend on it. Many smaller databases may have better fault protection BUT may be harder to manage?

Any advice? Experiences? Gottchas? LIMITATIONS?

Thanks for your help,
NiseIdea
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 5 '10, 01:50 PM (#2)
smoseley is online now
WDF Moderator
 
smoseley's Avatar
 
Join Date: March 2003
Location: Miami, FL
Posts: 8,719
smoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud ofsmoseley has much to be proud of
Depends on your business model. If you're an app service provider, and will be adding to your application over time, it will be significantly easier to manage using one database.

If you're selling a piece of software, and can charge individual customers for upgrades over time, you'll be better off with separate installations.

The decision should take the following business decisions into account:
  1. Are you building a software service or a software product (learn the difference)
  2. How simple should it be to deploy new customers? If this is a full-service solution, then the simplicity of application deployment is less important than if you want to sell a DIY product (e.g. an online service)
  3. How often will you be adding new features to the product or service, and how readily available will these be to customers? If you're doing an ASP model, you can easily roll out new features to your entire base of customers. As separate installations, you'll have to version each instance and deploy updates as packages to each. The benefit there is you can charge for the update process.
  4. How important is it to be able to report against all applications at once? This is a key reason some companies decide to use a single database. Of course, it's not necessary to do so if you need reporting, but if you go with separate DBs, you'll have to maintain a central server / DB that gets updated stats from each application periodically.

There's probably a lot more to consider, but that should give you a start!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 6 '10, 03:05 AM (#3)
niseidea is offline
New Member!
 
niseidea's Avatar
 
Join Date: February 2010
Posts: 2
niseidea is an unknown quantity at this point
yes, all of that is something to think about. we're leaning towards one big database with redundant back-ups. many smaller dbs still run the same chance of sharing a hardware failure on the same boxes. better to go safely bigger -plus the management would/should be better.

thanks for your advice
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

  Web Design Forums » Programming Help » Database Systems Help

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add, View, Edit & Delete from to MySQL database, Live Example (News System) making Database Systems Help 7 January 5 '09 11:59 AM
Damn mysql connect error, again ! toadeny Database Systems Help 5 December 10 '03 08:24 PM

 
User Infomation
Your Avatar

Site Of The Month
Nominate Your Site Now!

Advertisement
WolfCMS.org

Latest Articles
- by RickM
- by bfsog

Advertisement

Partner Links



All times are GMT -4. The time now is 02:01 PM.


WebDesignForums.net is Copyright © 2010 RikeMedia.

SEO by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164