UPdate vacuum man page to be clearer.

This commit is contained in:
Bruce Momjian 2000-04-14 17:37:54 +00:00
parent 9edb0f7ec2
commit 91cce19de8
1 changed files with 10 additions and 10 deletions

View File

@ -1,5 +1,5 @@
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/vacuum.sgml,v 1.8 2000/04/05 21:51:11 momjian Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/ref/vacuum.sgml,v 1.9 2000/04/14 17:37:54 momjian Exp $
Postgres documentation Postgres documentation
--> -->
@ -179,15 +179,15 @@ NOTICE: Index <replaceable class="PARAMETER">index</replaceable>: Pages 28;
The open database is the target for <command>VACUUM</command>. The open database is the target for <command>VACUUM</command>.
</para> </para>
<para> <para>
We recommend that active production databases be cleaned nightly, in order We recommend that active production databases be
to keep statistics relatively current. The <command>VACUUM</command> <command>VACUUMM</command>-ed nightly, in order to keep remove
query may be executed at any time, however. In particular, after expired rows. After copying a large class into
copying a large class into <productname>Postgres</productname> <productname>Postgres</productname> or after deleting a large number
or after deleting a large number of of records, it may be a good idea to issue a <command>VACUUM
records, it may be a good idea to issue a <command>VACUUM ANALYZE</command> ANALYZE</command> query. This will update the system catalogs with
query. This will update the system catalogs with the results of all the results of all recent changes, and allow the
recent changes, and allow the <productname>Postgres</productname> <productname>Postgres</productname> query optimizer to make better
query optimizer to make better choices in planning user queries. choices in planning user queries.
</para> </para>
</refsect2> </refsect2>