pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Speeding up pg_dump
2+ messages / 2 participants
[nested] [flat]

* Speeding up pg_dump
@ 2004-12-14 17:36  Rod Taylor <pg@rbt.ca>
  0 siblings, 1 reply; 2+ messages in thread

From: Rod Taylor @ 2004-12-14 17:36 UTC (permalink / raw)
  To: pgsql-performance

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

I'm using -Fc with no compression.

-- 




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Speeding up pg_dump
@ 2004-12-14 23:11  Simon Riggs <simon@2ndquadrant.com>
  parent: Rod Taylor <pg@rbt.ca>
  0 siblings, 0 replies; 2+ messages in thread

From: Simon Riggs @ 2004-12-14 23:11 UTC (permalink / raw)
  To: Rod Taylor <pg@rbt.ca>; +Cc: pgsql-performance

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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2004-12-14 23:11 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-12-14 17:36 Speeding up pg_dump Rod Taylor <pg@rbt.ca>
2004-12-14 23:11 ` Simon Riggs <simon@2ndquadrant.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox