]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 228423: Document adjustment of MySQL 4GB default table size limit
authorbugreport%peshkin.net <>
Sat, 20 Mar 2004 13:51:43 +0000 (13:51 +0000)
committerbugreport%peshkin.net <>
Sat, 20 Mar 2004 13:51:43 +0000 (13:51 +0000)
r=kiko, a=justdave

docs/xml/installation.xml

index 1000ef0ccfddbb69d4c3120826d4e18ea582f51b..b0995ed5359a68bee3ec92a85ede7ca050f54e84 100644 (file)
@@ -1,5 +1,5 @@
 <!-- <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"> -->
-<!-- $Id: installation.xml,v 1.64 2004/03/07 01:24:12 jocuri%softhome.net Exp $ -->
+<!-- $Id: installation.xml,v 1.65 2004/03/20 05:51:43 bugreport%peshkin.net Exp $ -->
 <chapter id="installing-bugzilla">
   <title>Installing Bugzilla</title>
 
   # Allow packets up to 1M
   set-variable = max_allowed_packet=1M</screen>
       </section>
+
+      <section>
+        <title>Permit attachments table to grow beyond 4GB</title>
+        <para>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 or if you are using RAID.  To set a higher
+        limit, follow these instructions.</para>
+        <para>Run the <filename>MySQL</filename> command-line client and
+        enter:</para>
+
+        <screen>  <prompt>mysql&gt;</prompt> ALTER TABLE attachments 
+          AVG_ROW_LENGTH=1000000, MAX_ROWS=20000;
+        </screen>
+        <para>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.</para>
+      </section>
             
       <section id="install-setupdatabase-adduser">
         <title>Add a user to MySQL</title>