~/talk

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

Talkat Voxxed Days Ticino 2018 · on Saturday, 2018-10-20· [databases]
slides:none on file

Argument that modern cost‑based engines (Oracle, SQL Server, PostgreSQL) produce algorithms developers wouldn’t pick: thousand-line-long SQL running against billion-row tables in far below a millisecond, use of window functions to compute cumulative daily revenue instead of nested maps/loops, and the optimizer choosing a surprising plan (scan ~5,400 film_actor rows + hash join rather than six indexed counts). Demo of execution plans, histograms, and adaptive execution plans (Oracle 12 / DB2) shows the DB rewrites algorithms at runtime and it works on real large datasets.

AI-written summary · about

  1. 0:00The power of SQL
  2. 4:43SQL vs Java productivity
  3. 7:09The complexity of Java
  4. 13:26Iterative data challenges
  5. 17:18Window functions in SQL
  6. 22:11Streams and declarative code
  7. 27:29SQL logical operations
  8. 32:23Understanding execution plans
  9. 39:14Indexing and data sets
  10. 44:20Database adaptability
  11. 48:06Conclusion and wrap-up
~/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.