How to enable profiling of long lasting database transactions in Postgres
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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
