How to enable profiling of long lasting database transactions in Postgres

Solution Verified - Updated -


Some database transactions are long enough that it's hard to recognize whether the transaction
got stuck or it's still running.

In order to distinguish the stuck transaction from the running one you'll need to enable additional
transaction logging which can help identifying these.


Generally spoken any application using postgresql database engine and database transactions

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content