11<!--
2- $PostgreSQL: pgsql/doc/src/sgml/ref/analyze.sgml,v 1.21 2007/01/31 23:26:02 momjian Exp $
2+ $PostgreSQL: pgsql/doc/src/sgml/ref/analyze.sgml,v 1.22 2007/05/15 19:13:55 neilc Exp $
33PostgreSQL documentation
44-->
55
@@ -20,7 +20,7 @@ PostgreSQL documentation
2020
2121 <refsynopsisdiv>
2222<synopsis>
23- ANALYZE [ VERBOSE ] [ <replaceable class="PARAMETER">table</replaceable> [ (<replaceable class="PARAMETER">column</replaceable> [, ...] ) ] ]
23+ ANALYZE [ VERBOSE ] [ <replaceable class="PARAMETER">table</replaceable> [ ( <replaceable class="PARAMETER">column</replaceable> [, ...] ) ] ]
2424</synopsis>
2525 </refsynopsisdiv>
2626
@@ -29,10 +29,11 @@ ANALYZE [ VERBOSE ] [ <replaceable class="PARAMETER">table</replaceable> [ (<rep
2929
3030 <para>
3131 <command>ANALYZE</command> collects statistics about the contents
32- of tables in the database, and stores the results in the system
33- table <literal>pg_statistic</literal>. Subsequently, the query
34- planner uses these statistics to help determine the most efficient
35- execution plans for queries.
32+ of tables in the database, and stores the results in the <link
33+ linkend="catalog-pg-statistic"><structname>pg_statistic</></>
34+ system catalog. Subsequently, the query planner uses these
35+ statistics to help determine the most efficient execution plans for
36+ queries.
3637 </para>
3738
3839 <para>
@@ -125,7 +126,7 @@ ANALYZE [ VERBOSE ] [ <replaceable class="PARAMETER">table</replaceable> [ (<rep
125126 will change slightly each time <command>ANALYZE</command> is run,
126127 even if the actual table contents did not change. This might result
127128 in small changes in the planner's estimated costs shown by
128- <command>EXPLAIN</command >. In rare situations, this
129+ <xref linkend="sql-explain" endterm="sql-explain-title" >. In rare situations, this
129130 non-determinism will cause the query optimizer to choose a
130131 different query plan between runs of <command>ANALYZE</command>. To
131132 avoid this, raise the amount of statistics collected by