1
1
<!--
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 $
3
3
PostgreSQL documentation
4
4
-->
5
5
@@ -20,7 +20,7 @@ PostgreSQL documentation
20
20
21
21
<refsynopsisdiv>
22
22
<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> [, ...] ) ] ]
24
24
</synopsis>
25
25
</refsynopsisdiv>
26
26
@@ -29,10 +29,11 @@ ANALYZE [ VERBOSE ] [ <replaceable class="PARAMETER">table</replaceable> [ (<rep
29
29
30
30
<para>
31
31
<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.
36
37
</para>
37
38
38
39
<para>
@@ -125,7 +126,7 @@ ANALYZE [ VERBOSE ] [ <replaceable class="PARAMETER">table</replaceable> [ (<rep
125
126
will change slightly each time <command>ANALYZE</command> is run,
126
127
even if the actual table contents did not change. This might result
127
128
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
129
130
non-determinism will cause the query optimizer to choose a
130
131
different query plan between runs of <command>ANALYZE</command>. To
131
132
avoid this, raise the amount of statistics collected by
0 commit comments