~/talk

Database Schema Migrations with Zero Downtime

Talkat PHP UK Conference 2018 · 2018-02-14..02-16· [databases, devops-and-delivery, php]

Claims practical, repeatable ways to migrate schemas without downtime: use expand-contract pattern and feature toggles to read/write both columns while rolling code, run migrations on replicas and failover to avoid pauses, or stream updates through a queue/CQRS to catch up later. Covers tools like Doctrine, Flyway and Percona Online Schema Change (shadow table + triggers) and real-world scale—supporting 50+ deployments per day—and argues rollbacks are usually impractical.

AI-written summary · about

  1. 0:00Introduction
  2. 2:00Database schema migrations
  3. 6:30Why rollbacks are bad
  4. 11:45Zero downtime deployments
  5. 16:00Backwards compatibility
  6. 16:35Rename
  7. 18:35Challenges
  8. 19:05Columns
  9. 20:15Feature Toggle
  10. 22:05Test Migrations
  11. 22:30Fake Data
  12. 24:15No Schema Land
  13. 24:35Migration during reads
  14. 25:50Migration housekeeping
  15. 26:20Large data sets
  16. 27:55Failover
  17. 29:50Kafka
  18. 31:15CQRS
  19. 33:40Migration tools
  20. 36:00Recap
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.