Re: Long running query causing XID limit breach - Mailing list pgsql-general

From Torsten Förtsch
Subject Re: Long running query causing XID limit breach
Date
Msg-id CAKkG4_nLNSDSDd7emC+p4rEicmeCBCBJozzy3QRFvO7BWh3SRA@mail.gmail.com
Whole thread Raw
In response to Re: Long running query causing XID limit breach  (sud <suds1434@gmail.com>)
Responses Re: Long running query causing XID limit breach
List pgsql-general
On Sat, May 25, 2024 at 11:00 PM sud <suds1434@gmail.com> wrote:

But i have one question here , does max_standby_streaming_delay = 14 , means the queries on the standby will get cancelled after 14 seconds?

No, your query gets cancelled when it stalls replication for >14 sec. If your master is idle and does not send any WAL and the replica has caught up, the query can take as long as it wants. 

pgsql-general by date:

Previous
From: David HJ
Date:
Subject: Re: Long running query causing XID limit breach
Next
From: sud
Date:
Subject: Re: Long running query causing XID limit breach