~/talk

Database Stalls, From the Ordinary to the Obscure

links:none on file
slides:none on file

VividCortex detects short database stalls down to 1 second by modeling Little’s Law and watching threads_running (concurrency) against queries per second (throughput); a 13‑second example shows concurrency spiking while throughput dips then rebounds. Causes found include exhausted EBS credits, MySQL query cache mutex, and Transparent Huge Pages. Recommended fixes are work‑centric metrics, inspect MySQL thread states not just processlist, add rate‑limits/queues or max_connections, prioritize requests, and use features like MySQL 8’s skip‑locked to reduce back pressure.

AI-written summary · about

  1. 0:00Introduction
  2. 2:00What are stalls
  3. 7:46Where do stalls come from
  4. 11:10Workcentric monitoring
  5. 13:30Slowness
  6. 14:10Work
  7. 15:23System Stall
  8. 16:33Lock Contortion
  9. 16:54Stall Chart
  10. 17:45Log IO Chart
  11. 18:16Query Latency Chart
  12. 18:38Causation vs Correlation
  13. 19:09The Typical Interpretation
  14. 20:09The Alternative
  15. 23:18Back Pressure
  16. 24:51The Onion
  17. 26:13Hypothesis
  18. 27:13Query throughput diagram
  19. 28:38Fast queries
  20. 29:49Dealing with back pressure
  21. 33:09Can you eliminate stalls
  22. 34:16Conclusion
~/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.