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 @@ -741,6 +741,16 @@ Indexes:
741
741
sort high</quote>, in queries that depend on indexes to avoid sorting steps.
742
742
</para>
743
743
744
+ <para>
745
+ The regularly system collects statistics on all of a table's
746
+ columns. Newly-created non-expression indexes can immediately
747
+ use these statistics to determine an index's usefulness.
748
+ For new expression indexes, it is necessary to run <link
749
+ linkend="sql-analyze"><command>ANALYZE</command></link> or wait for
750
+ the <link linkend="autovacuum">autovacuum daemon</link> to analyze
751
+ the table to generate statistics about new expression indexes.
752
+ </para>
753
+
744
754
<para>
745
755
For most index methods, the speed of creating an index is
746
756
dependent on the setting of <xref linkend="guc-maintenance-work-mem"/>.
You can’t perform that action at this time.
0 commit comments