How Modern SQL Databases Come up with Algorithms that You Would Have Never Dreamed Of (vJUG)
summary
Argues that declarative SQL routinely beats hand‑written Java algorithms by showing concrete examples: using the Sakila DVD schema to compute per‑film per‑day revenue and a running total via window functions instead of nested loops and nested maps; inspection of an execution plan where the optimizer chooses a hash join loading 5,462 rows rather than six index seeks; explains histograms, cost estimates vs actual runtime, adaptive plans, and recommends jOOQ for type‑safe SQL in Java (MySQL 8 gains needed features).
AI-written summary · about
chapters (25)
- 0:00Introduction
- 3:30Virtual Java User Group
- 4:15Sequel
- 5:15What is Sequel
- 6:27Database Example
- 8:22Java Class
- 8:38Java Getters
- 11:29Java Money
- 12:19Java Tree Map
- 15:08Average Enterprise
- 16:50Secret Developer
- 18:00Cumulative Daily Revenue
- 18:52Cumulative Sum
- 19:18Algorithms are Boring
- 21:28Stream API
- 21:56Similarities
- 22:44Java Algorithm
- 23:56Cross Supply
- 25:31Time Spent
- 25:47Sequel Solution
- 26:36Equal Solution
- 31:25Execution Plan
- 34:18Algorithmic Complexity
- 36:23Histograms
- 37:09Indexing
