~/talk

Why databases cry at night?

Talkat NDC Oslo 2019 · 2019-06-17..06-21· [databases]
speakerdeck:myarichuk
slides:none on file

Dives into concrete NoSQL failure modes and fixes: shows how a select N+1 anti-pattern becomes dozens of queries but embedding order details drops that to two queries; demonstrates a 30-join query cut to three joins and runtime falling from ~4 minutes to ~300 ms; profiles JSON serialization 30–40% CPU with json.net and switches to an offset-based format to avoid allocations; reveals production surprises like 200 DBs I/O storm at startup and 300 background indexes exhausting threads — emphasizes query/index planning, monitoring, and picking optimistic vs pessimistic concurrency.

AI-written summary · about

  1. 0:00Introduction
  2. 12:49MongoDB example
  3. 16:59Query complexity
  4. 21:32Reducing joins
  5. 22:59The root cause
  6. 24:02Another riddle
  7. 31:04Resources
  8. 37:10Concurrency
~/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.