From: vladd%bugzilla.org <> Date: Thu, 8 Jun 2006 06:20:52 +0000 (+0000) Subject: Documentation patch for bug 314385: fine-tune the MySQL configuration instructions... X-Git-Tag: bugzilla-2.22.1~102 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4da79765fb56f9160783d372f0e927adbd026860;p=thirdparty%2Fbugzilla.git Documentation patch for bug 314385: fine-tune the MySQL configuration instructions for allowing large attachments to be stored; patch by Colin Ogilvie , r=vladd. --- diff --git a/docs/xml/installation.xml b/docs/xml/installation.xml index 33db264c00..dab2d416fd 100644 --- a/docs/xml/installation.xml +++ b/docs/xml/installation.xml @@ -1,5 +1,5 @@ - + Installing Bugzilla @@ -721,39 +721,6 @@ -
- Permit attachments table to grow beyond 4GB - - - By default, MySQL will limit the size of a table to 4GB. - This limit is present even if the underlying filesystem - has no such limit. To set a higher limit, follow these - instructions. - - - - Run the MySQL command-line client and - enter: - - - mysql> ALTER TABLE attachments - AVG_ROW_LENGTH=1000000, MAX_ROWS=20000; - - - - The above command will change the limit to 20GB. Mysql will have - to make a temporary copy of your entire table to do this. Ideally, - you should do this when your attachments table is still small. - - - - - This does not affect Big Files, attachments that are stored directly - on disk instead of in the database. - - -
-
Add a user to MySQL @@ -789,6 +756,43 @@ mysql> FLUSH PRIVILEGES;
+ +
+ Permit attachments table to grow beyond 4GB + + + By default, MySQL will limit the size of a table to 4GB. + This limit is present even if the underlying filesystem + has no such limit. To set a higher limit, follow these + instructions. + + + + After you have completed the rest of the installation (or at least the + database setup parts), you should run the MySQL + command-line client and enter the following, replacing $bugs_db + with your Bugzilla database name (bugs by default): + + + + mysql> use $bugs_db + mysql> ALTER TABLE attachments + AVG_ROW_LENGTH=1000000, MAX_ROWS=20000; + + + + The above command will change the limit to 20GB. Mysql will have + to make a temporary copy of your entire table to do this. Ideally, + you should do this when your attachments table is still small. + + + + + This does not affect Big Files, attachments that are stored directly + on disk instead of in the database. + + +