~/talk

Adam Furmanek: You Must Test Your Databases And Here Is How

Talkat TestCon Europe 2024 · 2024-10-22..10-25· [databases, testing]
slides:none on file

Unit tests miss how queries run so slow queries slip into production: one ORM join returns 300,000 rows and takes 25 seconds in production, a CTE refactor goes from 8s to 13s, and migrations can take minutes or hours or even days. Capture execution plans and metrics with OpenTelemetry, project local queries onto production schemas and test with HypoPG/hypothetical indexes or read replicas, extend CI/CD to store plans and fail on bad plans, and run end‑to‑end ETL on small production‑like datasets.

AI-written summary · about

  1. 0:00Database testing challenges
  2. 2:37Testing approaches fall short
  3. 8:57Common database problem areas
  4. 12:53Query changes break performance
  5. 21:44Isolated vs production testing
  6. 29:59ORM limitations and complexities
  7. 32:06Database guardrails with observability
  8. 36:39OpenTelemetry for query analysis
  9. 41:14Guardrails prevent production issues
  10. 42:59Summary and Q&A
~/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.