Re: How to determine a database is intact? - Mailing list pgsql-general

From Tom Lane
Subject Re: How to determine a database is intact?
Date
Msg-id 19866.1094652717@sss.pgh.pa.us
Whole thread Raw
In response to Re: How to determine a database is intact?  (Wes <wespvp@syntegra.com>)
Responses Re: How to determine a database is intact?  (Wes <wespvp@syntegra.com>)
List 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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Postgresql and scripting
Next
From: "Ashok......"
Date:
Subject: Need Help in interface..