]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Added information about versioncache back in.
authormbarnson%sisna.com <>
Tue, 5 Nov 2002 12:07:18 +0000 (12:07 +0000)
committermbarnson%sisna.com <>
Tue, 5 Nov 2002 12:07:18 +0000 (12:07 +0000)
See bug 140332

docs/sgml/database.sgml
docs/xml/database.xml

index f0cda4589378ee643330a32772a44e895738908a..ae1918207cd6f325ba7421a12b569c63740df8c2 100644 (file)
@@ -8,6 +8,32 @@
     tables to document dependencies. Any takers?</para>
   </note>
 
+  <section id="dbmodify">
+      <title>Modifying Your Running System</title>
+
+      <para>Bugzilla optimizes database lookups by storing all relatively
+      static information in the 
+      <filename>versioncache</filename> file, located in the 
+      <filename class="directory">data/</filename>
+      subdirectory under your installation directory.</para>
+
+      <para>If you make a change to the structural data in your database (the
+      versions table for example), or to the 
+      <quote>constants</quote>
+
+      encoded in <filename>defparams.pl</filename>, you will need to remove 
+      the cached content from the data directory (by doing a 
+      <quote>rm data/versioncache</quote>
+
+      ), or your changes won't show up.</para>
+
+      <para> <filename>versioncache</filename> 
+      gets automatically regenerated whenever it's more than
+      an hour old, so Bugzilla will eventually notice your changes by itself,
+      but generally you want it to notice right away, so that you can test
+      things.</para>
+    </section>
+
   <section id="dbdoc">
     <title>MySQL Bugzilla Database Introduction</title>
 
index f0cda4589378ee643330a32772a44e895738908a..ae1918207cd6f325ba7421a12b569c63740df8c2 100644 (file)
@@ -8,6 +8,32 @@
     tables to document dependencies. Any takers?</para>
   </note>
 
+  <section id="dbmodify">
+      <title>Modifying Your Running System</title>
+
+      <para>Bugzilla optimizes database lookups by storing all relatively
+      static information in the 
+      <filename>versioncache</filename> file, located in the 
+      <filename class="directory">data/</filename>
+      subdirectory under your installation directory.</para>
+
+      <para>If you make a change to the structural data in your database (the
+      versions table for example), or to the 
+      <quote>constants</quote>
+
+      encoded in <filename>defparams.pl</filename>, you will need to remove 
+      the cached content from the data directory (by doing a 
+      <quote>rm data/versioncache</quote>
+
+      ), or your changes won't show up.</para>
+
+      <para> <filename>versioncache</filename> 
+      gets automatically regenerated whenever it's more than
+      an hour old, so Bugzilla will eventually notice your changes by itself,
+      but generally you want it to notice right away, so that you can test
+      things.</para>
+    </section>
+
   <section id="dbdoc">
     <title>MySQL Bugzilla Database Introduction</title>