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/