~/talk

Let's Get Scary and Continuously Deploy Database Changes!

Talkat NDC Oslo 2023 · 2023-05-22..05-26· [databases, devops-and-delivery]
links:none on file
slides:none on file

Shows how to automate database changes in CI/CD with concrete tools and pitfalls: uses SSDT (state‑based) and Flyway (migration‑based) against Azure SQL, keeps seven days of backups, and prefers to roll forward not restore. Demonstrates renaming a table with SSDT requires copy-to-temp and two scripts to preserve rows, while Flyway applies an ordered migration quickly. Describes a custom migration tool that allows out‑of‑order pull‑request deployments, supports 6–8 deployments per day, and avoids destructive rollbacks.

AI-written summary · about

  1. 0:00Introduction
  2. 1:48Agenda
  3. 2:53Automation
  4. 4:22Data is a problem
  5. 7:27Data stores
  6. 7:54transactional databases
  7. 12:19safe changes
  8. 14:17dropping changes
  9. 16:34naming changes
  10. 17:17Renaming a column
  11. 18:59Renaming a table
  12. 21:36Protecting against broken business logic
  13. 22:39Unit testing is your friend
  14. 24:47Stack Overflow example
  15. 26:38Time Check
  16. 27:24Managing Database Source Code
  17. 30:18Why are we always rolling forward
  18. 32:49Item potency
  19. 33:48SQL Server Data Tools
  20. 47:34Rename
  21. 49:11State Changes
  22. 53:34Running the Migration
~/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.