Re: PG backup performance - Mailing list pgsql-general

From Andy Colson
Subject Re: PG backup performance
Date
Msg-id 4C040A41.5020204@squeakycode.net
Whole thread Raw
In response to PG backup performance  (Isabella Ghiurea <isabella.ghiurea@nrc-cnrc.gc.ca>)
Responses Re: PG backup performance  (Isabella Ghiurea <isabella.ghiurea@nrc-cnrc.gc.ca>)
List pgsql-general
On 05/31/2010 11:05 AM, Isabella Ghiurea wrote:
> Hello PG list,
> I 'm looking for some tip, advice toimprove PG backups performance,
> presently running
> pg_dumpall compressed option on raid array 0 getting aprox14GB writes in
> 45 min, I'm backing up aprox 200GB database cluster daily .
> How can I improve this performance with the present hardware and PG
> version 8.3.6 , can I run parallel backups in PG ?
> Thank you
> Isabella
>

Short answer, yes, you can.
Long answer, we need more info.

We need to know what the slow part is.

Are you CPU bound or IO bound?
Are you backing up over a network?
How many tables?  (well, big tables... how many really big tables).
How many cores/cpu's do you have?

I bet all 200GB hardly changes, are you sure you need to back it all up over and over again?  Have you thought of
replication?

-Andy



pgsql-general by date:

Previous
From: Devrim Gündüz
Date:
Subject: Re: What Linux edition we should chose?
Next
From: Andy Colson
Date:
Subject: Re: Nested function invocation, but parameter does not exist