|
1 |
| -<!-- $PostgreSQL: pgsql/doc/src/sgml/perform.sgml,v 1.71 2009/06/17 21:58:49 tgl Exp $ --> |
| 1 | +<!-- $PostgreSQL: pgsql/doc/src/sgml/perform.sgml,v 1.72 2009/08/07 20:54:31 alvherre Exp $ --> |
2 | 2 |
|
3 | 3 | <chapter id="performance-tips">
|
4 | 4 | <title>Performance Tips</title>
|
@@ -974,7 +974,10 @@ SELECT * FROM x, y, a, b, c WHERE something AND somethingelse;
|
974 | 974 | table. With no statistics or obsolete statistics, the planner might
|
975 | 975 | make poor decisions during query planning, leading to poor
|
976 | 976 | performance on any tables with inaccurate or nonexistent
|
977 |
| - statistics. |
| 977 | + statistics. Note that if the autovacuum daemon is enabled, it might |
| 978 | + run <command>ANALYZE</command> automatically; see |
| 979 | + <xref linkend="vacuum-for-statistics" endterm="vacuum-for-statistics-title"> |
| 980 | + and <xref linkend="autovacuum" endterm="autovacuum-title"> for more information. |
978 | 981 | </para>
|
979 | 982 | </sect2>
|
980 | 983 |
|
@@ -1054,7 +1057,9 @@ SELECT * FROM x, y, a, b, c WHERE something AND somethingelse;
|
1054 | 1057 | while loading the data, but don't bother increasing
|
1055 | 1058 | <varname>maintenance_work_mem</varname>; rather, you'd do that while
|
1056 | 1059 | manually recreating indexes and foreign keys afterwards.
|
1057 |
| - And don't forget to <command>ANALYZE</> when you're done. |
| 1060 | + And don't forget to <command>ANALYZE</> when you're done; see |
| 1061 | + <xref linkend="vacuum-for-statistics" endterm="vacuum-for-statistics-title"> |
| 1062 | + and <xref linkend="autovacuum" endterm="autovacuum-title"> for more information. |
1058 | 1063 | </para>
|
1059 | 1064 | </sect2>
|
1060 | 1065 | </sect1>
|
|
0 commit comments