Re: Fast backup/restore - Mailing list pgsql-general

From Vivek Khera
Subject Re: Fast backup/restore
Date
Msg-id 7AD3163F-C1AC-4BC4-B489-49CD6A14C7F3@khera.org
Whole thread Raw
In response to Re: Fast backup/restore  ("Steve Poe" <steve.poe@gmail.com>)
Responses Re: Fast backup/restore
List pgsql-general
On Oct 17, 2006, at 2:35 PM, Steve Poe wrote:

> Vivek,
>
> What methods of backup do you recommend for medium to large
> databases? In our example, we have a 20GB database and it takes 2
> hrs to load from a pg_dump file.
>

my largest db is about 60Gb with indexes.  reloading the data (about
30Gb) takes 1 hour from compressed format pg_dump, and another two to
reindex.

for increasing reload size, bump your checkpoint_segments to
something big, like 128 or 256 depending on how much disk space you
can spare for it.



Attachment

pgsql-general by date:

Previous
From: "Steve Poe"
Date:
Subject: Re: Fast backup/restore
Next
From: Rafal Pietrak
Date:
Subject: Re: A query planner that learns