Re: PGbackrest very slow!

Поиск
Список
Период
Сортировка
От Ilya Kosmodemiansky
Тема Re: PGbackrest very slow!
Дата
Msg-id CAG95seVdRDzVnZ9iqzrh4oZ8XHRF950CcrSdRHOgC9MmXFgCDg@mail.gmail.com
обсуждение исходный текст
Ответ на PGbackrest very slow!  (Pär Mattsson <par.x.mattsson@gmail.com>)
Список pgsql-admin
Hi Pär,

On Thu, Oct 23, 2025 at 10:59 AM Pär Mattsson <par.x.mattsson@gmail.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@dataegret.com



В списке pgsql-admin по дате отправления: