Go Back   Web Server Hosting Forum by BODHost > Support > MySQL Issues.
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 02-03-09, 09:13
BOD Member
 
Join Date: Jan 2009
Posts: 50
Default Why would you need multiple MySQL?

I see some hosting packages offer unlimited databases or a large number of them, at least. Why would someone need multiple databases within the same website?
Reply With Quote
  #2 (permalink)  
Old 02-03-09, 18:20
carl owen's Avatar
Super Moderator
 
Join Date: Nov 2008
Posts: 1,059
Smile

It is not necessary to have multiple MySQL databases for one website. It basically depends on the requirements of the customer. If someone needs multiple MySQL for same website, he can have them. It is also good to have multiple MySQL databases for the security as if one of the databases gets affected the other databases will not get affected and as a result the whole website will not get affected.
Reply With Quote
  #3 (permalink)  
Old 02-04-09, 06:31
BOD Member
 
Join Date: Jan 2009
Posts: 73
Default

You dont really need multiple databases, unless you have massive databases that is. Normal use wouldn't really cause much of a hit on a database, but if you have a ten gig database that is getting hammered all the time you might want to separate it into ten 1 gig databases and query then all at the same time - it would take much less time to return a result.

Last edited by php_rules : 02-04-09 at 06:32. Reason: grammar
Reply With Quote
  #4 (permalink)  
Old 02-04-09, 14:23
BodShane's Avatar
Chief Operating Officer
 
Join Date: Dec 2006
Posts: 1,087
Send a message via AIM to BodShane Send a message via MSN to BodShane
Default

Absolutely Correct. ;)
__________________
Redundant Dedicated Server Hosting Solutions Only at BODHost
24x7 Toll-Free ph. : +1. 866-662-0909
Email : sales@bodhost.com | MSN : sales@bodhost.com
Reply With Quote
  #5 (permalink)  
Old 02-04-09, 18:40
BOD Member
 
Join Date: Jan 2009
Posts: 195
Smile

PHP rules has answered your question. It is not really important to have multiple databases if your database is not that large. If you have a larger database then you can have multiple databases as it has more benefits.
Reply With Quote
  #6 (permalink)  
Old 02-06-09, 23:06
BOD Member
 
Join Date: Jan 2009
Posts: 98
Default

I'd say for security reasons, as someone else stated. That's the main reason why I use multiple databases, and as a tip, you should use a different password for your other databases just in case.
Reply With Quote
  #7 (permalink)  
Old 02-07-09, 09:54
BodShane's Avatar
Chief Operating Officer
 
Join Date: Dec 2006
Posts: 1,087
Send a message via AIM to BodShane Send a message via MSN to BodShane
Default

Password that has a mixture of Upercase and Lowercase alphabets with numbers. ;)
__________________
Redundant Dedicated Server Hosting Solutions Only at BODHost
24x7 Toll-Free ph. : +1. 866-662-0909
Email : sales@bodhost.com | MSN : sales@bodhost.com
Reply With Quote
  #8 (permalink)  
Old 02-07-09, 11:51
BOD Member
 
Join Date: Jan 2009
Posts: 73
Default

Dont forget about spaces =) most of my sensitive passwords are more like 'pass phrases' or 'pass stories' instead of using '14xDTbg67' which no one is going to remember but something like 'this is the red site that I like posting on' is going to be hard to brute force and easy to remember!!
Reply With Quote
  #9 (permalink)  
Old 02-09-09, 13:23
BOD Member
 
Join Date: Jan 2009
Posts: 226
Default

I think more host's will worry about a client demanding to have multiple (different) IP's than just more DB's. I have seen some scammer folk get busted for things like this.
Reply With Quote
  #10 (permalink)  
Old 02-10-09, 17:08
BodShane's Avatar
Chief Operating Officer
 
Join Date: Dec 2006
Posts: 1,087
Send a message via AIM to BodShane Send a message via MSN to BodShane
Default

Indeed. Allocation of IP addresses to the servers is a critical task and it's inappropriate to provide IPs without proper IP justification.

Regards,

Shane Phillips
__________________
Redundant Dedicated Server Hosting Solutions Only at BODHost
24x7 Toll-Free ph. : +1. 866-662-0909
Email : sales@bodhost.com | MSN : sales@bodhost.com
Reply With Quote
  #11 (permalink)  
Old 03-18-09, 13:10
BOD Member
 
Join Date: Jan 2009
Posts: 172
Default

You will need one mysql database if you're not running a business website. But if you do, you will need multiple databases for different web environments in order to store structured data of users' names, passwords, preferences and more.
Reply With Quote
  #12 (permalink)  
Old 03-19-09, 08:22
BOD Member
 
Join Date: Mar 2009
Posts: 50
Default

If you are using multiple scripts but want to separate them, you could use different databases as well. It is nice to organize everything by it self. Also, they offer that many to attract customers because they know most people won't use that many.
Reply With Quote
  #13 (permalink)  
Old 03-21-09, 05:34
BOD Member
 
Join Date: Mar 2009
Posts: 230
Default

We can not only use multiple MySQL databases for the security reasons but also to optimize performance on the website.
Reply With Quote
  #14 (permalink)  
Old 03-21-09, 10:21
BOD Member
 
Join Date: Feb 2009
Posts: 100
Default

I've always tried to use more than 1 or 2 databases but I don't really need to. Most of the times, multiple databases are for real, heavy-duty, users. Companies that need to keep stock and stuff like that may use more databases.
Reply With Quote
  #15 (permalink)  
Old 05-30-09, 13:24
BOD Member
 
Join Date: May 2009
Posts: 45
Default

Personally, I prefer to use multiple databases especially if I have multiple scripts running on the same website. Sure, I can get away with using only one, but it's just that much more organized to have the databases separated. Also, in case of database corruption, at least some parts of your site will still be up.
Reply With Quote
  #16 (permalink)  
Old 07-09-09, 17:18
BOD Member
 
Join Date: Jul 2009
Posts: 49
Default

I totally agree with userdan - the ability to create multiple databases keeps me organized. Most of my databases have over a dozen tables, and lumping them into one e database would give me more than the occasional headache.
Reply With Quote
  #17 (permalink)  
Old 07-10-09, 13:50
BOD Member
 
Join Date: Jan 2009
Posts: 226
Default

Quote:
Originally Posted by Shane Phillips View Post
Indeed. Allocation of IP addresses to the servers is a critical task and it's inappropriate to provide IPs without proper IP justification.
A friend of mine runs a fairly small reseller hosting company and has had this issue, and your post made me think back to it. How can you tell the difference between a real justification and a false one? He ended up with a false one and caught it late, after the power had already been abused. :(
Reply With Quote
  #18 (permalink)  
Old 07-10-09, 21:35
BOD Member
 
Join Date: May 2009
Posts: 98
Default

I try not to use one database for more than one application. Otherwise its a mess. Organization is key, and that is the reason for more than 1 database.

Plus you run the risk of two applications conflicting trying to use the same table or something, thus corrupting your data.
__________________
Jeremy J

* Bodhost VPS Linux Account Holder
* Network Information Systems Professional
Reply With Quote
  #19 (permalink)  
Old 11-17-09, 09:25
BOD Member
 
Join Date: Oct 2009
Posts: 49
Default

Quote:
Originally Posted by Shane Phillips View Post
Password that has a mixture of Upercase and Lowercase alphabets with numbers. ;)
And using symbols is also fun too. I try to randomize things and then nobody breaks into your account (or at least very rarely). I substitute in symbols for letters sometimes as well.
Reply With Quote
  #20 (permalink)  
Old 11-17-09, 17:46
carl owen's Avatar
Super Moderator
 
Join Date: Nov 2008
Posts: 1,059
Default

It is recommended that you do not save the passwords of the databases or servers and other important websites in your Browser or any other password saving tools and applications for better security
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 02:17.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.