- Community aggregator
- Country: United States
5 PostgreSQL Migrations That Take Down Production (And How to Lint Lock Hazards Before Deploy)
Most PostgreSQL outages during routine deploys aren't caused by slow SELECT queries — they happen because a 3-line ALTER TABLE or CREATE INDEX acquires an AccessExclusiveLock (or ShareLock ), blocks behind one long-running reporting query, and backs up every normal SELECT and UPDATE in the queue…