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 > Database Server Software > MySQL > Optimize MYSQL DB

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-18-10, 11:26
pascal_22 pascal_22 is offline
Registered User
 
Join Date: May 2010
Location: in province of Quebec in Canada
Posts: 2
Question Optimize MYSQL DB

Hello,

I want to optimize my database in mysql v 5.1.32.

Actually i host a web site that use my DB, and all of my table is in one Data base!

At first, is taht correct to to only one database? Or it's better to have more?


Thank's for your help!

Pascal_22
Reply With Quote
  #2 (permalink)  
Old 05-18-10, 13:00
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,084
oui

until you need more than one database, use just one

if you are implementing different scripts like content management, e-commerce, etc., and they come with their own tables, then that might be a good reason to segregate the tables into different databases

size alone is not usually a good reason to have more than one database, because more than one introduces further complexities (e.g. single site signon)
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #3 (permalink)  
Old 05-18-10, 13:54
pascal_22 pascal_22 is offline
Registered User
 
Join Date: May 2010
Location: in province of Quebec in Canada
Posts: 2
Good, thak's for the comments.

If we talk about the maximun connexion allowed: is that a config for Apache or mysql ? or do we need to set up a maximum connexion for each Database in mysql??


Thank's

Pascal_22
Reply With Quote
Reply

Tags
databse, mysql, optimize

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

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