Re: Backup failure Postgres

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Jethish Jethish <jethish777(at)gmail(dot)com>
Cc: Torsten Förtsch <tfoertsch123(at)gmail(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Backup failure Postgres
Date: 2024-05-23 12:31:44
Message-ID: 202405231231.53fwifecg76g@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message sud 2024-05-23 12:45:17 Re: Long running query causing XID limit breach
Previous Message Torsten Förtsch 2024-05-23 12:15:47 Re: Backup failure Postgres