Re:PostgreSQL Locking Revealed
by lobster_johnson on Sunday November 08, 2015 @09:02PM
(#10531007)
I believe that if you set the foreign key constraint as deferred, the lock won't be attempted until commit time (and then only briefly), which should help a lot -- assuming your problem is with long-running transactions that hold locks while they are open.
[ Parent
| on HN ]
There are no comments on this comment yet.