Re: pg_dump vs pg_basebackup

From: gianfranco caca <limpcaca(at)yahoo(dot)com>
To: "ik(at)postgresql-consulting(dot)com" <ik(at)postgresql-consulting(dot)com>
Cc: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: pg_dump vs pg_basebackup
Date: 2014-03-25 07:19:43
Message-ID: 1395731983.63241.YahooMailNeo@web161602.mail.bf1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hai ilya,

Thanks for the respond. The database is estimated over 100gb and the workload will be high. Can we use a pg_basebackup with pitr to restore based on transaction time?

Thanks

On Tuesday, 25 March 2014, 15:13, Ilya Kosmodemiansky <ilya(dot)kosmodemiansky(at)postgresql-consulting(dot)com> wrote:

Hi gianfranco,

How exactly large is your database and how heavy is a workload on it?
Usually if you have more than ~200Gb, better to use pg_basebackup
because pg_dump will take too long time. And please take in mind, that
pg_dump makes dump, which is  actually not the same thing as a backup.

Best regards,
Ilya

On Tue, Mar 25, 2014 at 5:45 AM, gianfranco caca <limpcaca(at)yahoo(dot)com> wrote:
> Hai,
>
> Can anyone tell me the difference and performance between pgdump and
> pg_basebackup if I want to backup a large database.
>
> Thanks

--
Ilya Kosmodemiansky,

PostgreSQL-Consulting.com
tel. +14084142500
cell. +4915144336040
ik(at)postgresql-consulting(dot)com

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Ilya Kosmodemiansky 2014-03-25 07:33:20 Re: pg_dump vs pg_basebackup
Previous Message Ilya Kosmodemiansky 2014-03-25 07:11:32 Re: pg_dump vs pg_basebackup