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 @@ -568,6 +568,16 @@ Indexes:
568
568
sort high</>, in queries that depend on indexes to avoid sorting steps.
569
569
</para>
570
570
571
+ <para>
572
+ The regularly system collects statistics on all of a table's
573
+ columns. Newly-created non-expression indexes can immediately
574
+ use these statistics to determine an index's usefulness.
575
+ For new expression indexes, it is necessary to run <link
576
+ linkend="sql-analyze"><command>ANALYZE</command></link> or wait for
577
+ the <link linkend="autovacuum">autovacuum daemon</link> to analyze
578
+ the table to generate statistics about new expression indexes.
579
+ </para>
580
+
571
581
<para>
572
582
For most index methods, the speed of creating an index is
573
583
dependent on the setting of <xref linkend="guc-maintenance-work-mem">.
You can’t perform that action at this time.
0 commit comments