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 > Managing Large DataBase in Mysql

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-24-04, 03:56
Debarati Debarati is offline
Registered User
 
Join Date: Nov 2004
Posts: 2
Managing Large DataBase in Mysql

HI
I am facing problem in managing a huge database in Mysql.
I m having a database which holds 50 lakhs and more records.
i want to know ,how to compress the database so that my select query runs faster.
also how can i prevent my disk space from been run out due to this large database ,because my database will go on increasing.

shall i have to switch to another database or mysql has some solutions for it.

pls help me in this regard.

regards
debarati
Reply With Quote
  #2 (permalink)  
Old 11-24-04, 04:38
osy45 osy45 is offline
Registered User
 
Join Date: Nov 2002
Posts: 833
what are 50 lakhs ?
Reply With Quote
  #3 (permalink)  
Old 11-24-04, 07:16
guelphdad guelphdad is offline
Registered User
 
Join Date: Mar 2004
Posts: 440
Have you indexed your tables on the columns that you perform most of your joins on?
Reply With Quote
  #4 (permalink)  
Old 11-24-04, 07:22
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,534
Quote:
Originally Posted by osy45
what are 50 lakhs ?
http://en.wikipedia.org/wiki/Lakh
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #5 (permalink)  
Old 11-25-04, 02:18
Debarati Debarati is offline
Registered User
 
Join Date: Nov 2004
Posts: 2
Quote:
Originally Posted by osy45
what are 50 lakhs ?
50 lakhs means 50,00000 records.
it is an enoromous data , then how to do the entire database optimisation,
Reply With Quote
  #6 (permalink)  
Old 11-26-04, 06:23
healdem healdem is online now
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,262
5,000,000 isn't that large a database, MySQL should be able to handle it. I'm not to sure where the management tools are on MySQL. It doesn't come with equivalents to SQL Server Tools, but I have a suspiscion its self maitaining. Ie recovers space dynamically, self optimises. If you have bulk updates / deletes then it may be prudent to reindex the database - not too sure what the correct command for that is though.

Have you considered approach mySQL directly? I've always found them to be very approachable and helpful
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