Re: PGbackrest very slow!

From: Ilya Kosmodemiansky <ik(at)dataegret(dot)com>
To: Pär Mattsson <par(dot)x(dot)mattsson(at)gmail(dot)com>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: PGbackrest very slow!
Date: 2025-10-23 09:54:42
Message-ID: CAG95seVdRDzVnZ9iqzrh4oZ8XHRF950CcrSdRHOgC9MmXFgCDg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi Pär,

On Thu, Oct 23, 2025 at 10:59 AM Pär Mattsson <par(dot)x(dot)mattsson(at)gmail(dot)com> wrote:
>
> Hi!
> I have 3 node postgres cluster with repmgr and pgpool.
>
> Pgbackrest is configed like this
> We use pgbackrest with this config
> =======================================

It is a quite basic config,

> It is not a network issue. I tested to transfer 2GB between two host and it took 4 sec.
>
>
> I think backup-standby=y slows down the backup out of all minds.
>

so if you are sure it is not a network issue, your guess could be
right. You can try to compare with backup from primary and if it is
faster, it could be archiving process on standby which slows you down.
You can try to improve it with more processes [1] and with better zst
compression [2]. Async archiving [3] could also help

>
> Br Pär
>
>

[1] https://pgbackrest.org/configuration.html#section-general/option-process-max
[2] https://pgbackrest.org/configuration.html#section-general/option-compress
[3] https://pgbackrest.org/configuration.html#section-archive/option-archive-async

best regards,
Ilya Kosmodemiansky
CEO, Founder

Data Egret GmbH
Your remote PostgreSQL DBA team
T.: +49 6821 919 3297
ik(at)dataegret(dot)com

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Ribe 2025-10-23 13:14:20 Re: PGbackrest very slow!
Previous Message Pär Mattsson 2025-10-23 08:59:23 PGbackrest very slow!