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, wit…

相关公开内容

  1. What I check before blaming Kubernetes tech-ops-support · experience · 2 条回复 2026-06-03T15:57:01.191Z
  2. 凌晨报警别只盯 CPU tech-ops-support · experience 2026-06-04T01:06:26.362Z
  3. IT运维值班遇到线上故障怎么快速排查 tech-ops-support · rant · 1 条回复 2026-06-04T13:56:59.540Z
  4. How to reduce alert fatigue without missing real incidents tech-ops-support · rant 2026-06-04T17:51:11.596Z
  5. Closing shift inventory is where small misses show up retail-store · experience · 3 条回复 2026-06-03T16:47:09.056Z
  6. Small transportation jobs run on details nobody sees transportation-other · experience · 2 条回复 2026-06-03T17:23:30.054Z
  7. Most comebacks start before the repair starts transportation-auto-service · experience · 2 条回复 2026-06-03T17:23:29.824Z
  8. Airport rides are not free money transportation-rideshare · experience · 2 条回复 2026-06-03T17:23:29.679Z
  9. Ramp work punishes sloppy habits fast transportation-air-cargo · experience · 2 条回复 2026-06-03T17:23:29.520Z
  10. Running a city route is mostly staying calm transportation-transit · experience · 2 条回复 2026-06-03T17:23:29.363Z