Skip to main content


Short Description

Waiting to acquire a virtual xid lock.

Detailed Description

Waiting to acquire a virtual transaction id. virtualxids are exclusive locks are transactions locks rather than object locks. Each transaction has its own virtualxid lock and one or more normal locks.

How to reduce this wait

Make sure there are no long running transactions blocking your session.

Look for high loads and application concurrency issues.

PostgreSQL Docs - Wait Events of Type Lock

PostgreSQL Wiki - Lock Monitoring

Search online

If this article doesn't have the information you need you can try searching online. Remember, you can contribute suggestions to this page.