Bug #10023 | Limit of 4G rows per table for MyISAM and MERGE | ||
---|---|---|---|
Submitted: | 20 Apr 2005 7:26 | Modified: | 1 May 2006 16:35 |
Reporter: | Geert Vanderkelen | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S2 (Serious) |
Version: | 4.1.11 | OS: | Any (*) |
Assigned to: | MC Brown | CPU Architecture: | Any |
[20 Apr 2005 7:26]
Geert Vanderkelen
[20 Apr 2005 10:14]
Geert Vanderkelen
Extra note: as of 5.0.4 the standard binaries available from MySQL AB are compiled with option --with-big-tables by default. This options works also for Merge engine tables.
[1 May 2006 16:35]
MC Brown
Documented in refman-5.0 and refman-5.1. For MyISAM: There is a limit of 2<superscript>32</superscript> (~4.295E+09) rows in a <literal>MyISAM</literal> table. You can increase this limitation if you build MySQL with the <literal>--with-big-tables</literal> option then the row limitation is increased to (2<superscript>32</superscript>)<superscript>2</superscript> (1.844E+19) rows. See <xref linkend="configure-options"/>. Beginning with MySQL 5.0.4 all standard binaries are built with this option. For MERGE: There is a limit of 2<superscript>32</superscript> (~4.295E+09)) rows to a <literal>MERGE</literal> table, just as there is with a <literal>MyISAM</literal>, it is therefore not possible to merge multiple <literal>MyISAM</literal> tables that exceed this limitation. However, you build MySQL with the <literal>--with-big-tables</literal> option then the row limitation is increased to (2<superscript>32</superscript>)<superscript>2</superscript> (1.844E+19) rows. See <xref linkend="configure-options"/>. Beginning with MySQL 5.0.4 all standard binaries are built with this option.