@@ -250,12 +250,13 @@ ANALYZE [ VERBOSE ] [ <replaceable class="parameter">table_and_columns</replacea
250
250
</para>
251
251
252
252
<para>
253
- If the table being analyzed has one or more children,
254
- <command>ANALYZE</command> will gather statistics twice: once on the
255
- rows of the parent table only, and a second time on the rows of the
256
- parent table with all of its children. This second set of statistics
257
- is needed when planning queries that traverse the entire inheritance
258
- tree. The autovacuum daemon, however, will only consider inserts or
253
+ If the table being analyzed has inheritance children,
254
+ <command>ANALYZE</command> gathers two sets of statistics: one on the rows
255
+ of the parent table only, and a second including rows of both the parent
256
+ table and all of its children. This second set of statistics is needed when
257
+ planning queries that process the inheritance tree as a whole. The child
258
+ tables themselves are not individually analyzed in this case.
259
+ The autovacuum daemon, however, will only consider inserts or
259
260
updates on the parent table itself when deciding whether to trigger an
260
261
automatic analyze for that table. If that table is rarely inserted into
261
262
or updated, the inheritance statistics will not be up to date unless you
@@ -271,15 +272,6 @@ ANALYZE [ VERBOSE ] [ <replaceable class="parameter">table_and_columns</replacea
271
272
partitioning it's guaranteed to be empty.
272
273
</para>
273
274
274
- <para>
275
- By contrast, if the table being analyzed has inheritance children,
276
- <command>ANALYZE</command> gathers two sets of statistics: one on the rows
277
- of the parent table only, and a second including rows of both the parent
278
- table and all of its children. This second set of statistics is needed when
279
- planning queries that process the inheritance tree as a whole. The child
280
- tables themselves are not individually analyzed in this case.
281
- </para>
282
-
283
275
<para>
284
276
The autovacuum daemon does not process partitioned tables, nor does it
285
277
process inheritance parents if only the children are ever modified.
0 commit comments