What is maximum size of a database in MySQL?
Answers were Sorted based on User's Feedback
Answer / prathiba
The effective maximum table size for MySQL databases is
usually determined by operating system constraints on file
sizes, not by MySQL internal limits.
Is This Answer Correct ? | 117 Yes | 20 No |
Answer / vibhor gupta
Operating System File-size Limit
Win32 w/ FAT/FAT32 2GB/4GB
Win32 w/ NTFS 2TB (possibly larger)
Linux 2.2-Intel 32-bit 2GB (LFS: 4GB)
Linux 2.4+ (using ext3 filesystem) 4TB
Solaris 9/10 16TB
MacOS X w/ HFS+ 2TB
NetWare w/NSS filesystem 8TB
Is This Answer Correct ? | 78 Yes | 8 No |
Answer / rakesh
Operating System File-size Limit
Win32 w/ FAT/FAT32 2GB/4GB
Win32 w/ NTFS 2TB (possibly larger)
Linux 2.2-Intel 32-bit 2GB (LFS: 4GB)
Linux 2.4+ (using ext3 file system) 4TB
Solaris 9/10 16TB
MacOS X w/ HFS+ 2TB
NetWare w/NSS file system 8TB
Is This Answer Correct ? | 27 Yes | 7 No |
Answer / demon
The answer above applies to TABLES in a MySQL DB and not the
DB itself.
Thus the DB can get quite large
Is This Answer Correct ? | 20 Yes | 6 No |
Answer / shyam
Hi Pravina.. Regarding ur concern in answer #5.. There is no
such limitation on the db size.
It all depends on the table sizes which in turn depends on
the maximum file size the underlying operating system can
handle (for this refer answer# 3 by Vibhor Gupta). As the
table size increases, the db size too increases proportionally.
Of course you will have a drop in the performance if the db
grows in the range of several tera bytes provided you dont
scale your hardware and software correspondingly. That is
when u decide u cannot let the db grow anymore.. Relatively
for u this point may be the one where your db has reached
its maximum size.
Hope this addresses ur query :)
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / garun mishra
The MAX size of mysql database is depends on your operating
System.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / pravina
But the question is still unanswered...
How large can a DB be? There must be some limitation?
Is This Answer Correct ? | 8 Yes | 8 No |
Answer / krish
hahah 1 kb ;)
before you work with databases you should know one thing. Database addresses are loaded on to the primary memory. So guess what 32bit OS can only handle max 4gb ram which means only 4gb can be addressed. This results 32bit database can have max size of < 4GB.
If you have a 64bit Database you will be able to address 2^64 bytes. (currently available 256 TB)
krish
source: experience
Is This Answer Correct ? | 0 Yes | 2 No |
Answer / pravina
But if according to answer 3 a table can be 2TB then how can
a db size be smaller then that?
Am confused!!
Is This Answer Correct ? | 6 Yes | 11 No |
What is mysql aggregate functions? Explain
What is mysql sleep process?
How to enter numeric values as hex numbers?
can you tell the order of sql select statement? : Mysql dba
What does mysql flush privileges do?
What is int mysql?
What are the advantages/disadvantages of mysql and php?
What are different types of queries?
What is Database?
What is the use of mysqli_fetch_assoc?
How can we get the number of rows affected by query?
What is mysql good for?