mazimum size of a database in mysql? when we create a table
then how many tables actually created? write there name?



mazimum size of a database in mysql? when we create a table then how many tables actually created?..

Answer / nirajkumar

If the operating system or filesystem places a limit on the
number of files in a directory, MySQL is bound by that
constraint. The efficiency of the operating system in
handling large numbers of files in a directory can place a
practical limit on the number of tables in a database. If
the time required to open a file in the directory increases
significantly as the number of files increases, database
performance can be adversely affected.
The amount of available disk space limits the number of
tables.
MySQL 3.22 had a 4GB (4 gigabyte) limit on table size. With
the MyISAM storage engine in MySQL 3.23, the maximum table
size was increased to 65536 terabytes (2567 – 1 bytes).
With this larger allowed table size, the maximum effective
table size for MySQL databases is usually determined by
operating system constraints on file sizes, not by MySQL
internal limits.
The InnoDB storage engine maintains InnoDB tables within a
tablespace that can be created from several files. This
allows a table to exceed the maximum individual file size.
The tablespace can include raw disk partitions, which
allows extremely large tables. The maximum tablespace size
is 64TB.
The following table lists some examples of operating system
file-size limits. This is only a rough guide and is not
intended to be definitive. For the most up-to-date
information, be sure to check the documentation specific to
your operating system.
Operating System File-size Limit
Linux 2.2-Intel 32-bit 2GB (LFS: 4GB)
Linux 2.4+ (using ext3 filesystem) 4TB
Solaris 9/10 16TB
NetWare w/NSS filesystem 8TB
Win32 w/ FAT/FAT32 2GB/4GB
Win32 w/ NTFS 2TB (possibly larger)
MacOS X w/ HFS+ 2TB

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MySQL Interview Questions

Can mysql handle big data?

0 Answers  


What is the use of mysqli_connect in php?

0 Answers  


What is the purpose of using a heap table?

0 Answers  


What happens if a table has one column defined as TIMESTAMP?

1 Answers  


Which statement is used in a select query for partial matching?

0 Answers  






Can we write procedure in mysql?

0 Answers  


What are the advantages of myisam over innodb?

0 Answers  


Give the syntax of Grant and Revoke commands?

1 Answers  


Write a query to display current date and time?

0 Answers  


Can we store files in mysql?

0 Answers  


What are the differences between innodb and myisam engines?

0 Answers  


What is DML in MySQL?

1 Answers  


Categories