~/talk

Strategies to Edit Production Data

Talkat SREcon19 Americas · on Wednesday, 2019-03-27· at 11:45· Grand Ballroom ABC· [databases, devops-and-delivery]
slides:none on file

Five concrete strategies for making SQL writes safer: keep a shared spreadsheet for audit trail and peer review; run Python migration scripts locally with a dry‑run flag; run long jobs on an existing server (eg. Jenkins) but watch CPU so it doesn’t take down deploys; use a task runner to enforce code review and capture logs; or build an internal Script Runner service that provides centralized credentials, environment separation and parallelism. Real failures include accidental UPDATE over all rows and slow runs across 50 million products.

AI-written summary · about

  1. 0:00Intro
  2. 0:50Why We Edit Production Data
  3. 3:49Let's talk about strategies for safer editing
  4. 4:19Strategies for editing Raw SQL Local scripts Existing server Task runner
  5. 4:47How the strategy works What's great What's not great
  6. 5:08Develop a Review Process for Manual Edits
  7. 9:49Run Scripts Locally
  8. 12:55Run Scripts on an Existing Server
  9. 17:29Use a Task Runner
  10. 18:52Code review and automated tests
  11. 21:36Build a Script Runner Service
~/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.