Re: pg_dump vs pg_basebackup

From: Ilya Kosmodemiansky <ilya(dot)kosmodemiansky(at)postgresql-consulting(dot)com>
To: gianfranco caca <limpcaca(at)yahoo(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:11:32
Message-ID: CAG95seUjO2Az7bgwz66RvAzfWNV-ApXd0B+CoFhc_jabsf6X2g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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 gianfranco caca 2014-03-25 07:19:43 Re: pg_dump vs pg_basebackup
Previous Message Ilya Kosmodemiansky 2014-03-25 07:05:51 Re: slow join not using index properly