MYSQL Course: maximum data table size limit

Source: Internet
Author: User
MYSQL Tutorial: maximum data table size restrictions for different MySQL Data Table types restrictions on data table size: a single data table in ISAM. ISD and. the maximum size of the ISM file is 4 GB. MYD and. the default maximum size of the MYI file is 4 GB, but you can use the AVG_ROW_LENGTH and MAX_ROWS options when creating a data table to increase the maximum value to 800.

MYSQL Tutorial: maximum data table size restrictions for different MySQL Data Table types restrictions on data table size: a single data table in ISAM. ISD and. the maximum size of the ISM file is 4 GB. MYD and. the default maximum size of the MYI file is 4 GB, but you can use the AVG_ROW_LENGTH and MAX_ROWS options when creating a data table to increase the maximum value to 800.

MYSQL Tutorial: maximum data table size limit

Restrictions on data table sizes for different MySQL Data Table types:

The maximum size of a single. ISD and. ISM file in the ISAM data table is 4 GB;

The default maximum size of a single. MYD and. MYI file in the MyISAM data table is also 4 GB. However, you can use the AVG_ROW_LENGTH and MAX_ROWS options to increase the maximum value to 8 million TB when creating the data table.

The maximum size of a MERGE data table is the sum of the maximum sizes of its various MyISAM data tables.

The size of the BDB data table is limited by the maximum size of the. db file allowed by the BDB processing program. The maximum size varies with the page size of the data table (determined at compilation), but the maximum size of the. db file can be 2 TB even if the smallest page size is 512 bytes.

The maximum tablespace size of the InnoDB data table is 4 billion pages. The default page size is 16 K. The value can be between 8 K and 64 K, which is determined during compilation. The maximum size of the InnoDB data table is the maximum size of the tablespace.

The size of a file is limited by the operating system. Generally, the size of a single file cannot exceed 2 GB. This constraint limits database files. InnoDB data tables can bypass this restriction by using unformatted hard disks as tablespaces.

For data tables that store two files separately from the data and index, if any file reaches the maximum size of the operating system file, the maximum size of the database table is reached.

Tables that contain the AUTO_INCREMENT data column are limited by the maximum upper limit of the data column type.

Because InnoDB data tables are managed using tablespaces, a single tablespace can contain multiple data tables in the same time and space, the maximum size of the data table is limited by the space of the system file and the data table in the same tablespace.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.