Re: Fast backup/restore

From: Vivek Khera <vivek(at)khera(dot)org>
To: "Steve Poe" <steve(dot)poe(at)gmail(dot)com>
Cc: "Pgsql-General(at)Postgresql(dot)Org general" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Fast backup/restore
Date: 2006-10-17 18:43:28
Message-ID: 7AD3163F-C1AC-4BC4-B489-49CD6A14C7F3@khera.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rafal Pietrak 2006-10-17 18:53:29 Re: A query planner that learns
Previous Message Steve Poe 2006-10-17 18:35:15 Re: Fast backup/restore