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 > maximum limit of a mySQL database?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-16-07, 10:58
Panoy Panoy is offline
Registered User
 
Join Date: Mar 2007
Posts: 77
maximum limit of a mySQL database?

Hi to all,

If I am going to deploy my program which uses mySQL as its database server, I would like to ask if what is the maximum limit of a mySQL database? is it over 1 TB? or lower? I know that I can search this query on google, but I'd rather take the info from the experts here.

Thanks and god bless!
Reply With Quote
  #2 (permalink)  
Old 05-16-07, 11:10
aschk aschk is offline
Registered User
 
Join Date: Mar 2007
Location: 636f6d7075746572
Posts: 770
For MyISAM 256TB as of MySQL 5.0.6 however this can be increased.
For InnoDB the max tablespace is 64TB.
Bear in mind it also depends on what OS you have as individual files are limited :
Win32 w/NTFS : 2TB (possibly larger)
Linux 2.4+ : (using ext3 filesystem) 4TB

so really you'll be looking at splitting tables up into sizeable chunks in reality...
Reply With Quote
  #3 (permalink)  
Old 05-16-07, 11:13
Panoy Panoy is offline
Registered User
 
Join Date: Mar 2007
Posts: 77
If in Windows XP, you mean that I can only have a 2 TB size of a mySQL database?
Reply With Quote
  #4 (permalink)  
Old 05-16-07, 11:15
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
__________________
George
Twitter | Blog
Reply With Quote
  #5 (permalink)  
Old 05-16-07, 12:32
Panoy Panoy is offline
Registered User
 
Join Date: Mar 2007
Posts: 77
they are referring here about mySQL tables, which its limit size is 4 GB. Is it the same of what I meant about the 'database' size? To be specific, I am asking about the whole size of a single database in mySQL, not just the 'table' size.
Reply With Quote
  #6 (permalink)  
Old 05-16-07, 12:48
Panoy Panoy is offline
Registered User
 
Join Date: Mar 2007
Posts: 77
by the way georgedev, the link you have given is not working.

Thanks anyways
Reply With Quote
  #7 (permalink)  
Old 05-16-07, 14:22
guelphdad guelphdad is offline
Registered User
 
Join Date: Mar 2004
Posts: 440
the link works for me.
Reply With Quote
  #8 (permalink)  
Old 05-16-07, 14:52
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,534
george, i really must know -- what was your purpose in linking to (a mirror of) the ancient 3.23 mysql manual???

that's like someone asking for help with windows and you point them to the windows 3.1 manual

why?
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #9 (permalink)  
Old 05-16-07, 15:57
Panoy Panoy is offline
Registered User
 
Join Date: Mar 2007
Posts: 77
sorry about that george, it does work
Reply With Quote
  #10 (permalink)  
Old 05-17-07, 03:36
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
Lol alright Rudy, but if you read the first few lines you get a lovely answer of
Quote:
Originally Posted by that site
MySQL Version 3.22 has a 4G limit on table size. With the new MyISAM in MySQL Version 3.23 the maximum table size is pushed up to 8 million terabytes (2 ^ 63 bytes).
Which was reasonably applicable imo
__________________
George
Twitter | Blog
Reply With Quote
  #11 (permalink)  
Old 05-17-07, 08:26
guelphdad guelphdad is offline
Registered User
 
Join Date: Mar 2004
Posts: 440
Unless of course that information had changed and was not applicable in the current versions.
Reply With Quote
  #12 (permalink)  
Old 05-17-07, 08:29
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
Has it changed?
__________________
George
Twitter | Blog
Reply With Quote
  #13 (permalink)  
Old 05-17-07, 11:07
guelphdad guelphdad is offline
Registered User
 
Join Date: Mar 2004
Posts: 440
not sure, all i'm saying is you are pointing to something over three years old and there have been a lot of other changes in mysql over that time.
Reply With Quote
  #14 (permalink)  
Old 05-17-07, 11:09
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
Will the constaints have been decreased with new versions - I doubt it.
But I guess you're right. I only did I quick look in my links, never noticed the version etc (doesn't help that I don't have practical knowledge of mySQL, only theoretical )
__________________
George
Twitter | Blog
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