Re: Backup failure Postgres - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Backup failure Postgres
Date
Msg-id 202405231231.53fwifecg76g@alvherre.pgsql
Whole thread Raw
In response to Re: Backup failure Postgres  (Jethish Jethish <jethish777@gmail.com>)
List pgsql-general
On 2024-May-23, Jethish Jethish wrote:

> I have tried by increasing the max_standby_streaming_delay but I'm facing
> lag issues on the replica server.
> 
> When i increase the max_standby_streaming_delay even if a query runs for 2
> minutes I'm facing lag issues for 2 minutes.

You could use a separate replica for backups, with a larger max delay.

> Data size is 3TB

I think pg_dump is not an appropriate tool for backups on an instance
this size.  Have you considered using pgbarman or such, instead?

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/



pgsql-general by date:

Previous
From: Torsten Förtsch
Date:
Subject: Re: Backup failure Postgres
Next
From: sud
Date:
Subject: Re: Long running query causing XID limit breach