When upserts don’t update but still write: Debugging Postgres performance at scale
Case study 11 min +110 XP
A Postgres `INSERT ... ON CONFLICT DO UPDATE ... WHERE` upsert still locks the conflicting row even when the WHERE clause blocks the update.