Assunto: Replication lag

From: Marcus Vinicius Castro <marcus_castro(at)yahoo(dot)com(dot)br>
To: wasimd60(at)gmail(dot)com, Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>, pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Assunto: Replication lag
Date: 2025-04-17 22:13:38
Message-ID: 1305520942.2647840.1744928018345@mail.yahoo.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

First you have to check the indexes and the query.
After that you can research on Google ways to increase the performance in database.
Best regards!

Yahoo Mail: Busque, organize e aumente sua produtividade

Em qui., 17 17e abr. 17e 2025 às 2:52, Wasim Devale<wasimd60(at)gmail(dot)com> escreveu: Hi everyone,
We have a setup of primary and replica database. We are using the replica as read only purpose. But the queries are long running queries that takes 30 minutes to complete.
Do we have any settings in place that will not show replication lag and the queries also executes on replica database without competition on WAL reply?
The settings:Hot standby is offAnd maximum streaming delay is set to -1
Thanks,Wasim 

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Laurenz Albe 2025-04-18 06:48:55 Re: Replication lag
Previous Message Gaspare Boscarino, P.Eng. 2025-04-17 22:04:52 Re: Replication lag