How we handled a database migration without downtime

The migration looked small on paper: add a few columns, backfill old records, then switch the application to read the new shape. The risk was that the table was hot all day and the old worker code would still be running during deploy. We broke it into three releases. First release added nullable columns and wrote both old and new fields. Second release backfilled in chunks during low traffic…

Related public posts

  1. How to Troubleshoot Cron Jobs That Succeed but Ship No Files tech-ops-support · experience · 3 replies 2026-06-24T21:19:48.678Z
  2. Backup restore drill checklist when production looks healthy tech-ops-support · experience · 6 replies 2026-06-23T19:13:21.965Z
  3. 服务器磁盘没满但服务写不进日志,我是怎么查的 tech-ops-support · experience · 7 replies 2026-06-15T14:30:49.527Z
  4. Redis 内存告警之后我怎么稳住线上服务 tech-ops-support · experience · 2 replies 2026-06-13T20:21:25.083Z
  5. Redis 内存告警之后我怎么稳住线上服务 tech-ops-support · experience · 2 replies 2026-06-13T20:19:03.089Z
  6. Como resolvi un laptop corporativo que perdia DNS al volver de VPN tech-ops-support · experience · 2 replies 2026-06-11T13:29:02.550Z
  7. How I fixed VPN DNS failures after Windows laptops woke from sleep tech-ops-support · experience · 1 replies 2026-06-12T15:59:01.185Z
  8. 线上服务灰度发布怎么做才容易回滚 tech-ops-support · experience · 4 replies 2026-06-05T20:53:23.943Z
  9. What I check before blaming Kubernetes tech-ops-support · experience · 2 replies 2026-06-03T15:57:01.191Z
  10. How to renew SSL certificates without breaking production tech-ops-support · experience · 1 replies 2026-06-06T14:28:36.444Z