How to analyze heavyweight locks, part 1
Heavyweight locks, both relation- and row-level, are acquired by a query and always held until the end of the transaction this query belongs to.
Heavyweight locks, both relation- and row-level, are acquired by a query and always held until the end of the transaction this query belongs to.
Sometimes we need to reindex many indexes – or all of them – and want to do it faster.
In day 60, we discussed how to add a column and that under load you need low lock_timeout and retries (also see: Zero-downtime Postgres schema migrations need…