The Relia blog

Practical guides to production errors, monitoring and incidents, for teams without an SRE. 118 guides and counting.

Postgres Migration Froze Your App? ALTER TABLE Lock Fix

A simple ALTER TABLE during a deploy can freeze every query on that table. Learn why Postgres lock queues cause it, how to unblock a stuck migration, and how to run migrations safely.

Latest · Rutik Vasani · · 7 min read

All guides

118 guides

Rather not debug it from a blog post?

Relia watches your product and tells you what broke, who it hits and how to fix it, before your users do.