From: Domas Mituzas Date: Mon, 5 Feb 2007 09:13:36 +0000 (+0000) Subject: In case tables are created as MyISAM, use row hints for MySQL <5.0 to avoid 4GB limit X-Git-Tag: 1.31.0-rc.0~54125 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=fd601e44bfdea5ed68450ff327801f7a2f685b9e;p=lhc%2Fweb%2Fwiklou.git In case tables are created as MyISAM, use row hints for MySQL <5.0 to avoid 4GB limit --- diff --git a/maintenance/tables.sql b/maintenance/tables.sql index 024675d4e4..28339f6c07 100644 --- a/maintenance/tables.sql +++ b/maintenance/tables.sql @@ -277,8 +277,8 @@ CREATE TABLE /*$wgDBprefix*/revision ( INDEX user_timestamp (rev_user,rev_timestamp), INDEX usertext_timestamp (rev_user_text,rev_timestamp) -) TYPE=InnoDB; - +) TYPE=InnoDB MAX_ROWS=10000000 AVG_ROW_LENGTH=1024; +-- In case tables are created as MyISAM, use row hints for MySQL <5.0 to avoid 4GB limit -- -- Holds text of individual page revisions. @@ -313,7 +313,8 @@ CREATE TABLE /*$wgDBprefix*/text ( PRIMARY KEY old_id (old_id) -) TYPE=InnoDB; +) TYPE=InnoDB MAX_ROWS=10000000 AVG_ROW_LENGTH=10240; +-- In case tables are created as MyISAM, use row hints for MySQL <5.0 to avoid 4GB limit -- -- Holding area for deleted articles, which may be viewed