未验证 提交 e08cedf8 编写于 作者: L Lisa Owen 提交者: GitHub

docs - add -a (no prompt) option to analyzedb call in script (#10985)

上级 f4bf9be6
......@@ -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</pre></p>
analyzedb -a -s pg_catalog -d $DBNAME</pre></p>
<p>If the system catalogs become significantly bloated, you must run <codeph>VACUUM
FULL</codeph> during a scheduled downtime period. During this period, stop all catalog
activity on the system; <codeph>VACUUM FULL</codeph> takes <codeph>ACCESS EXCLUSIVE</codeph>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册