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 @@ -704,6 +704,16 @@ Indexes:
704
704
sort high</quote>, in queries that depend on indexes to avoid sorting steps.
705
705
</para>
706
706
707
+ <para>
708
+ The regularly system collects statistics on all of a table's
709
+ columns. Newly-created non-expression indexes can immediately
710
+ use these statistics to determine an index's usefulness.
711
+ For new expression indexes, it is necessary to run <link
712
+ linkend="sql-analyze"><command>ANALYZE</command></link> or wait for
713
+ the <link linkend="autovacuum">autovacuum daemon</link> to analyze
714
+ the table to generate statistics about new expression indexes.
715
+ </para>
716
+
707
717
<para>
708
718
For most index methods, the speed of creating an index is
709
719
dependent on the setting of <xref linkend="guc-maintenance-work-mem"/>.
You can’t perform that action at this time.
0 commit comments