Zero Downtime Migration

Plan a schema change on a live production database with no downtime using expand-contract — additive expand, dual-write, batched/throttled backfill, cutover, then contract — with lock duration and replication lag managed. Reach for this before any non-additive change to a hot table (NOT NULL, rename, type change, drop) or a large backfill. Pairs with db-incident-triage if a migration goes wrong.

mcorbett51090 Updated

File contents

mcorbett51090/RavenClaude commit c688787dd7

Frequently asked questions

npx get-skill add mcorbett51090/zero-downtime-migration