How to enable profiling of long lasting database transactions in Postgres

Solution Verified - Updated -

Issue

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.

Environment

Generally spoken any application using postgresql database engine and database transactions

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In