Re: Database restore speed - Mailing list pgsql-performance

From Simon Riggs
Subject Re: Database restore speed
Date
Msg-id 1133613528.2906.731.camel@localhost.localdomain
Whole thread Raw
In response to Re: Database restore speed  (Stephen Frost <sfrost@snowman.net>)
List pgsql-performance
On Fri, 2005-12-02 at 15:18 -0500, Stephen Frost wrote:

> The other thought, of course, is that you could use PITR for your
> backups instead of pgdump...

Yes, it is much faster that way.

Over on -hackers a few optimizations of COPY have been discussed; one of
those is to optimize COPY when it is loading into a table created within
the same transaction as the COPY. This would allow pg_dumps to be
restored much faster, since no WAL need be written in this case.
I hope to work on this fairly soon.

Dumping/restoring data with pg_dump has wider uses than data protecting
backup.

Best Regards, Simon Riggs


pgsql-performance by date:

Previous
From: David Lang
Date:
Subject: Re: Database restore speed
Next
From: Jan Wieck
Date:
Subject: Re: 15,000 tables - next step