PGbackrest very slow!

From: Pär Mattsson <par(dot)x(dot)mattsson(at)gmail(dot)com>
To: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: PGbackrest very slow!
Date: 2025-10-23 08:59:23
Message-ID: CAE9Bupympsqn=7emjt6T5ug6dg1yKKsBRTx9Venf2cZWULZQtw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi!
I have 3 node postgres cluster with repmgr and pgpool.

Pgbackrest is configed like this
We use pgbackrest with this config
=======================================

[global]

backup-standby=y

repo1-path=/postgresql/backup

repo1-retention-full=2

start-fast=y

[PG]

pg1-path=/postgresql/data

pg2-host=node2

pg2-host-user=postgres

pg2-path=/postgresql/data

pg3-host=node3

pg3-host-user=postgres

pg3-path=/postgresql/data

=================================================

I run the backuplike this

/usr/bin/pgbackrest --log-level-console=detail --stanza=PG --type=full
backup

The backup of 50GB took 40 min.

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.

Br Pär

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Ilya Kosmodemiansky 2025-10-23 09:54:42 Re: PGbackrest very slow!
Previous Message Ron Johnson 2025-10-22 16:44:04 Re: does BUG #18942 and BUG #18938 solution available in Pg16 latest release 16.10