File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -675,6 +675,16 @@ Indexes:
675
675
sort high</quote>, in queries that depend on indexes to avoid sorting steps.
676
676
</para>
677
677
678
+ <para>
679
+ The regularly system collects statistics on all of a table's
680
+ columns. Newly-created non-expression indexes can immediately
681
+ use these statistics to determine an index's usefulness.
682
+ For new expression indexes, it is necessary to run <link
683
+ linkend="sql-analyze"><command>ANALYZE</command></link> or wait for
684
+ the <link linkend="autovacuum">autovacuum daemon</link> to analyze
685
+ the table to generate statistics about new expression indexes.
686
+ </para>
687
+
678
688
<para>
679
689
For most index methods, the speed of creating an index is
680
690
dependent on the setting of <xref linkend="guc-maintenance-work-mem"/>.
You can’t perform that action at this time.
0 commit comments