Skip site navigation (1) Skip section navigation (2)

Re: pg_dump additional options for performance

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, Tom Dunstan <pgsql(at)tomd(dot)cc>,Dimitri Fontaine <dfontaine(at)hi-media(dot)com>,pgsql-hackers(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: pg_dump additional options for performance
Date: 2008-02-26 14:12:26
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On Tue, Feb 26, 2008 at 08:28:11AM -0500, Andrew Dunstan wrote:
> Simon Riggs wrote:
> >Separate files seems much simpler...
> >
> >  
> Yes, We need to stick to the KISS principle.
> ISTM that we could simply invent a new archive format of "d" for directory.

Yeah, you can always ZIP (or whatever) the resulting directory when you're

But looking at it from a "backup tool perspective", like if you want to
integrate it in your network backup solution, that might make it harder.
Being able to deliver over a single, or over multiple, pipes is what's
needed there. If you need to dump it to disk first and can only "pick it
up" later, that'll require a lot more I/O and disk space.

But I'm not sure that's a concern we need to think about in this case,
just wanted to mention it.

> BTW, parallel dumping might be important, but is really much less so 
> than parallel restoring in my book.

By far. The only case where you want the backup to max out your system
would be during an "offline upgrade"... You don't want a regular backup to
max things out, because it will slow other things down. Whereas if you're
doing a restore, you most likely want your data back up ASAP.


In response to


pgsql-hackers by date

Next:From: Simon RiggsDate: 2008-02-26 14:15:33
Subject: Re: pg_dump additional options for performance
Previous:From: Roberts, JonDate: 2008-02-26 14:10:09
Subject: Re: pgAgent job limit

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group