diff --git a/gpdb-doc/dita/best_practices/bloat.xml b/gpdb-doc/dita/best_practices/bloat.xml index b85b80e825394e79ef1379bb733a95c4fe9137f9..7371984c99fcff15922157d9799957c275f7089a 100644 --- a/gpdb-doc/dita/best_practices/bloat.xml +++ b/gpdb-doc/dita/best_practices/bloat.xml @@ -177,7 +177,7 @@ where a.relnamespace=b.oid and b.nspname='pg_catalog' and a.relkind='r'" reindexdb -s -d $DBNAME psql -tc "SELECT 'VACUUM' || $SYSTABLES" $DBNAME | psql -a $DBNAME -analyzedb -s pg_catalog -d $DBNAME

+analyzedb -a -s pg_catalog -d $DBNAME

If the system catalogs become significantly bloated, you must run VACUUM FULL during a scheduled downtime period. During this period, stop all catalog activity on the system; VACUUM FULL takes ACCESS EXCLUSIVE