Thread: Speeding up pg_dump

Speeding up pg_dump

From
Rod Taylor
Date:
Are there any tricks to speeding up pg_dump aside from doing them from a
replicated machine?

I'm using -Fc with no compression.

--


Re: Speeding up pg_dump

From
Simon Riggs
Date:
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