~/talk

Apparently, you can "debug" your SQL queries

Talkat Conf42 Observability 2023 · on Thursday, 2023-06-08· [databases, observability]
slides:none on file

Claims that SQL can be debugged like application code by reading execution plans and comparing EXPLAIN ANALYZE output (JSON/XML) to find mismatches such as a planned rows = 1 but actual rows = 0, or loops multiplying actual counts; shows how to spot wrong filters, unexpected duplication and large intermediate row counts. Demonstrates a cross‑database prototype called Query Flow that parses plans, visualizes node metrics and highlights the origin of empty or inflated results, and notes the tool is useful but still immature.

AI-written summary · about

  1. 0:00intro
  2. 0:21preface
  3. 2:18identify flaws in queries is tough
  4. 3:12buzzword alert! democratization of execution plans
  5. 3:36query execution flow
  6. 4:22let's explain explain
  7. 5:32explain anatomy
  8. 7:13chat gpt
  9. 9:46example: empty results
  10. 11:31aren't there easier ways?
  11. 12:53query flow
  12. 16:07pros and cons
  13. 17:06optimistic future
~/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.