---
title: "Anatomy of a Table Lock at Full Volume | Coming Soon"
lang: "en"
author: "Mohammad Abu Mattar"
canonical: https://mkabumattar.com/coming-soon/incidents/anatomy-migration-table-lock
---

[Coming Soon](/coming-soon)/[Incident](/coming-soon#incidents)

# Anatomy of a Table Lock at Full Volume

IncidentScheduled for 23 October 2027

How a schema migration that held its lock for 200 ms in staging stops every read and write on a busy table in production: the ALTER waits behind one long transaction, and every later query waits behind the ALTER. Covers lock timeouts with retry, CREATE INDEX CONCURRENTLY, expand-contract and shadow runs, with results from a local Postgres lab.

ReliabilityDatabasesPerformanceDevOps

[Back to Coming Soon](/coming-soon)
