diff --git a/doc/src/sgml/ref/create_index.sgml b/doc/src/sgml/ref/create_index.sgml index dc4b645452a..fb1ecb9ff6a 100644 --- a/doc/src/sgml/ref/create_index.sgml +++ b/doc/src/sgml/ref/create_index.sgml @@ -565,6 +565,16 @@ Indexes: sort high, in queries that depend on indexes to avoid sorting steps. + + The regularly system collects statistics on all of a table's + columns. Newly-created non-expression indexes can immediately + use these statistics to determine an index's usefulness. + For new expression indexes, it is necessary to run ANALYZE or wait for + the autovacuum daemon to analyze + the table to generate statistics about new expression indexes. + + For most index methods, the speed of creating an index is dependent on the setting of .