7 Tips for Dealing with Locks in PostgreSQL · HackerTrans