Re: idle in transaction query makes server unresponsive - Mailing list pgsql-general

From Chris Travers
Subject Re: idle in transaction query makes server unresponsive
Date
Msg-id CAKt_Zft42oRApV=WbeVh8+0REde8Aah9VNfnu2apPg6HsLEz+A@mail.gmail.com
Whole thread Raw
In response to Re: idle in transaction query makes server unresponsive  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
Responses Re: idle in transaction query makes server unresponsive
List pgsql-general
If it is truly idle in a transaction, maybe it has locks that are holding up other transactions?

Locks are usually held until commit time, except advisory locks iirc but those have to be explicitly checked, so if you don't know if you are using them you probably aren't.

Long-running transactions are generally a problem particularly when you  have idle blocks of space between them.  Try shortening your transactions and see if that helps.

Best Wishes,
Chris Travers

pgsql-general by date:

Previous
From: "Albe Laurenz"
Date:
Subject: Re: idle in transaction query makes server unresponsive
Next
From: "Albe Laurenz"
Date:
Subject: Re: idle in transaction query makes server unresponsive