PostgreSQL Stories: A simple query with a big problem
Incident 10 min +100 XP
A seemingly simple indexed join with LIMIT 1 ran for over four hours on Render's staging PostgreSQL, holding a lock that blocked CREATE OR REPLACE VIEW migrations and stalled deploys.