Add mention of ANALYZE after object restore.
authorBruce Momjian
Tue, 18 Mar 2003 00:02:11 +0000 (00:02 +0000)
committerBruce Momjian
Tue, 18 Mar 2003 00:02:11 +0000 (00:02 +0000)
doc/src/sgml/backup.sgml
doc/src/sgml/ref/pg_dump.sgml
doc/src/sgml/ref/pg_dumpall.sgml
doc/src/sgml/ref/pg_restore.sgml

index 327990e5584698ef39dea558090408aaa789bd28..a58945f1ef04770a3499d8c33a60720020712316 100644 (file)
@@ -1,5 +1,5 @@
 
 
  Backup and Restore
@@ -125,6 +125,13 @@ psql dbname < 
     authentication settings.
    
 
+   
+    Once restored, it is wise to run ANALYZE on each
+    database so the optimizer has useful statistics. You
+    can also run vacuumdb -a -z to ANALYZE all
+    databases.
+   
+
    
     The ability of pg_dump and psql to
     write to or read from pipes makes it possible to dump a database
index d8ae789fbe2797b3b73b78ee6a748bb3da9c65c6..3b35c0da69847cf77c75e64f862f0b73997f48ab 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -650,6 +650,11 @@ CREATE DATABASE foo WITH TEMPLATE template0;
 
   
 
+   
+    Once restored, it is wise to run ANALYZE on each
+    restored object so the optimizer has useful statistics.
+   
+
   
    pg_dump has a few limitations:
 
@@ -682,6 +687,12 @@ CREATE DATABASE foo WITH TEMPLATE template0;
    other output formats is not limited, except possibly by the
    operating system.
   
+
+  
+   Once restored, it is wise to run ANALYZE on each
+   restored object so the optimizer has useful statistics.
+  
+
  
 
  
index 64cea1f4a63f97387f10ea7bbf5f8a242d0192cc..b584bb447ab1af14da8fb47394e2684d37c01713 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -258,10 +258,17 @@ PostgreSQL documentation
    pg_dumpall will need to connect several
    times to the PostgreSQL server.  If password
    authentication is configured, it will ask for a password each time. In
-   that case it would be convenient to set up a password file.
+   that case it would be convenient to set up a .pgpass 
+   password file.
+  
+
+  
+   Once restored, it is wise to run ANALYZE on each
+   database so the optimizer has useful statistics. You
+   can also run vacuumdb -a -z to ANALYZE all
+   databases.
   
 
-  But where is that password file documented?
  
 
 
index be76f55a36cbffc3ce0f78116c094cc9c74c3e60..427cbd4551456bb1bb3c8a2410de2b0eb5dbf6ca 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
 
  
@@ -589,6 +589,12 @@ CREATE DATABASE foo WITH TEMPLATE = template0;
    See also the  documentation for details on
    limitations of pg_dump.
   
+
+  
+   Once restored, it is wise to run ANALYZE on each
+   restored object so the optimizer has useful statistics.
+  
+