PGSQL PERFORMANCE 20 SPEEDING UP PG DUMP
From: pg@no-spam (Rod Taylor)
Subject: Speeding up pg_dump
Date: Tue, 14 Dec 2004 12:36:46 -0500


Are there any tricks to speeding up pg_dump aside from doing them from a replicated machine?

I'm using -Fc with no compression.

--
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@no-spam so that your message can get through to the mailing list cleanly












From: simon@no-spam (Simon Riggs)
Subject: Re: Speeding up pg_dump
Date: Tue, 14 Dec 2004 23:11:27 +0000

On Tue, 2004-12-14 at 17:36, Rod Taylor wrote:
> Are there any tricks to speeding up pg_dump aside from doing them from a > replicated machine?
> > I'm using -Fc with no compression.

Run a separate pg_dump for larger tables and run them concurrently so you use more cpu and disk resources.

The lower compression levels are fast and nearly as good (in my testing)
as full compression. Using compression tends to use up the CPU that would otherwise be wasted since the pg_dump is disk intensive, and then saves further I/O by reducing the output file size.

-- Best Regards, Simon Riggs
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@no-spam