Re: How to determine a database is intact?
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Wes <wespvp@syntegra.com>
Cc: Jan Wieck <JanWieck@yahoo.com>, Richard Huxton <dev@archonet.com>, Postgres General <pgsql-general@postgresql.org>
Date: 2004-09-08T14:11:57Z
Lists: pgsql-general
Wes <wespvp@syntegra.com> writes: > There's more than 250 million rows. If I remember right, it's ballpark 25% > data reload, 75% index/foreign constraint rebuild. Pg_dumpall is something > like 3 hours or so. FWIW, increasing sort_mem for the reload process would probably help with the index and FK rebuilds. (8.0 rejiggers things so that the memory constraints for these operations are driven off a separate variable, but in 7.* you need to muck about with sort_mem. The appropriate value for one-off operations is a lot higher than what you would want multiple competing backends to be using.) regards, tom lane