~/talk

How Modern SQL Databases Come up with Algorithms that You Would Have Never Dreamed Of

Talkat Voxxed Days Zurich 2017 · on Thursday, 2017-02-23· [databases]
slides:none on file

Modern cost‑based optimisers (Oracle, SQL Server, PostgreSQL) routinely pick algorithms that beat handwritten code, turning thousand‑line queries into sub‑millisecond work on billion‑row tables. Examples include using a hash join instead of nested loops, computing cumulative totals with a window function, and Oracle’s adaptive execution plans that replan mid‑run. Execution plans show cardinality and cost estimates (often off by ~2×) and explain why adding or dropping an index changes the chosen algorithm.

AI-written summary · about

  1. 0:00Start
  2. 28:15Logical operations order
  3. 38:36Histogram
  4. 42:54How does SQL work?
~/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.