6 min read
The Postgres Migration Review Checklist I Use Before Approving Any Schema Change
Production migration review is mostly lock review. The SQL can be correct and still dangerous if it rewrites a table, validates too much, or blocks writes.
Notes for the problems that show up after launch: bad plans, awkward migrations, index debt, vacuum pressure, replica lag, and the small decisions that make PostgreSQL easier to operate.
Production migration review is mostly lock review. The SQL can be correct and still dangerous if it rewrites a table, validates too much, or blocks writes.
JSONB columns are great. JSONB indexing has a steeper learning curve than the docs admit. Here is what works in production.