diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml
index ae7718e1a93..bd0d59a6ac0 100644
--- a/doc/src/sgml/ref/pg_dump.sgml
+++ b/doc/src/sgml/ref/pg_dump.sgml
@@ -1393,7 +1393,7 @@ PostgreSQL documentation
- Dump statistics.
+ Dump optimizer statistics.
@@ -1403,7 +1403,7 @@ PostgreSQL documentation
Dump only the statistics, not the schema (data definitions) or data.
- Statistics for tables, materialized views, foreign tables,
+ Optimizer statistics for tables, materialized views, foreign tables,
and indexes are dumped.
@@ -1699,11 +1699,12 @@ CREATE DATABASE foo WITH TEMPLATE template0;
- If is specified,
+ When is specified,
pg_dump will include most optimizer statistics in the
- resulting dump file. However, some statistics may not be included, such as
- those created explicitly with or
- custom statistics added by an extension. Therefore, it may be useful to
+ resulting dump file. This does not include all statistics, such as
+ those created explicitly with ,
+ custom statistics added by an extension, or statistics collected by the
+ cumulative statistics system. Therefore, it may still be useful to
run ANALYZE after restoring from a dump file to ensure
optimal performance; see and for more information.
diff --git a/doc/src/sgml/ref/pg_dumpall.sgml b/doc/src/sgml/ref/pg_dumpall.sgml
index 9f639f61db0..8834b7ec141 100644
--- a/doc/src/sgml/ref/pg_dumpall.sgml
+++ b/doc/src/sgml/ref/pg_dumpall.sgml
@@ -639,7 +639,7 @@ exclude database PATTERN
- Dump statistics.
+ Dump optimizer statistics.
@@ -649,7 +649,7 @@ exclude database PATTERN
Dump only the statistics, not the schema (data definitions) or data.
- Statistics for tables, materialized views, foreign tables,
+ Optimizer statistics for tables, materialized views, foreign tables,
and indexes are dumped.
@@ -890,11 +890,12 @@ exclude database PATTERN
- If is specified,
+ When is specified,
pg_dumpall will include most optimizer statistics in the
- resulting dump file. However, some statistics may not be included, such as
- those created explicitly with or
- custom statistics added by an extension. Therefore, it may be useful to
+ resulting dump file. This does not include all statistics, such as
+ those created explicitly with ,
+ custom statistics added by an extension, or statistics collected by the
+ cumulative statistics system. Therefore, it may still be useful to
run ANALYZE on each database after restoring from a dump
file to ensure optimal performance. You can also run vacuumdb -a
-z to analyze all databases.