PredicateLockManager
Short Description
Waiting to access predicate lock information used by serializable transactions.
Additional Informationβ
The Predicate Lock Manager is waiting to access lock information used by serializable transactions. Predicate locks are used to monitor dependencies between transactions when the Serializable Isolation level is selected and are generally higher level than just a row lock.
How to reduce this waitβ
Use Serializable Isolation level where appropriate and βcatchβ the SQLSTATE of β40001β to ensure that transaction failures can be rerun.
Additional Linksβ
PostgreSQL documentation - pg_locks
PostgresPro blog - Relation-level locks
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.