Re: Pgbackrest backup is too slow

From: Ajay Pratap <ajaypratap(at)ameyo(dot)com>
To: Brad Nicholson <bradn(at)ca(dot)ibm(dot)com>
Cc: Stephen Frost <sfrost(at)snowman(dot)net>, Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Pgbackrest backup is too slow
Date: 2019-10-17 07:22:59
Message-ID: CABi=8qxMk=1_xvXZXSxZeHvQ4xHR3kddnKga4AkSprwpMtjAJA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks for your previous replies.
It turns out my machine was having kernel Issues, which made it slow.
I setup another cluster in different machine now I could able to backup 42G
in 6 min(s).
<EOM>

On Fri, Oct 11, 2019 at 7:23 PM Brad Nicholson <bradn(at)ca(dot)ibm(dot)com> wrote:

> Stephen Frost <sfrost(at)snowman(dot)net> wrote on 2019/10/11 08:50:53 AM:
>
> > From: Stephen Frost <sfrost(at)snowman(dot)net>
> > To: Ajay Pratap <ajaypratap(at)ameyo(dot)com>
> > Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
> > Date: 2019/10/11 08:51 AM
> > Subject: [EXTERNAL] Re: Pgbackrest backup is too slow
> >
> > Greetings,
> >
> > * Ajay Pratap (ajaypratap(at)ameyo(dot)com) wrote:
> > > I have a Centos 7 server which runs Postgresql 10.7. I am using
> pgbackrest
> > > to take db backup.
> > > Problem is backup is too slow.
> >
> > Have you tried running 'top' to see what's going on?
> >
> > > My data dir size is 9.6G and full backup runtime is 22 mins
> > > I also tried using process-max=3, full backup runtime = 21 mins
> >
> > Erm, those numbers don't make any sense to me- as an example, we
> > regularly back up a 12GB database, from Dallas to San Fran, in 5
> > minutes.
>
>
> How many database objects do you have? For databases with a lot of tables
> and/or indexes (think tens of thousands), backup performance will slow
> down. This has improved a lot in newer versions, but still impacts
> performance of the backups.
>
> Brad.
>

--

*Disclaimer:* The information in this communication is confidential and
may be legally privileged. It is intended solely for the use of the
individual or entity to whom it is addressed and others authorized to
receive it. If you are not the intended recipient you are hereby notified
that any disclosure, copying, distribution or taking action in reliance of
the contents of this information is strictly prohibited and may be
unlawful. Drishti is neither liable for the improper, incomplete
transmission of the information contained in this communication nor any
delay in its receipt. The communication is not intended to operate as an
electronic signature under any applicable law. Drishti assumes no
responsibility for any loss or damage resulting from the use of e-mails.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ajay Pratap 2019-10-17 07:48:23 pgbackrest with PAF(corosync and pacmaker)
Previous Message Morris de Oryx 2019-10-17 06:52:32 Has there been any discussion of custom dictionaries being defined in the database?