u/brunocborgesOraclein r/Database • Recommends
#sql#queryoptimizer#cost-basedoptimization
How Modern SQL Databases Come up with Algorithms that You Would Have Never Dreamed Of by Lukas Eder
172K subscribers • 52 videos on Hallway • Conference channel
- Recommended by 4 people: 3 on Hacker News and 1 in engineering communities.
- A classic. People kept recommending it from 2017 to 2023.
- Presented by Lukas Eder
Intermediate. Assumes working knowledge.
55K views9 years ago4 recommendations
Databases and dataSystems programmingSQLDatabase internalsPerformance and optimization
Lukas Eder explains how modern cost-based SQL query optimizers rewrite and plan complex queries to outperform hand-written retrieval algorithms.
SQL is the only ever successful, mainstream, and general-purpose 4GL (Fourth Generation Programming Language) and it is awesome! With modern cost based optimisation, relational databases like Oracle, SQL Server, PostgreSQL finally keep up to the promise of a powerful declarative programming model by adapting to ever changing productive data without performance penalties. Thousand-line-long, complex SQL statements can be run in far below a millisecond against billion-row strong tables if database developers know their ways around the SQL language - and the best news is: It's not that hard! In this talk, I'll show how the SQL database will constantly outperform any hand written data retrieval algorithm - or in other words - how SQL, being a logic language, is the best language for business logic.Why it's here
4 people recommend thisWhat people say. Recommended as an eye-opening demonstration of how smart modern SQL query engines are at optimizing execution plans.
nerdbaggyon Hacker News • Recommends
On “Medium-hard SQL interview questions”
loudlambdaon Hacker News • Recommends
On “A Hairy PostgreSQL Incident”
lukasederon Hacker News • Recommends
On “Permazen: Language-natural persistence to KV stores”
jodrellblankon Hacker News • Mentions
On “Joins In Steps”
tafferon Hacker News • Mentions
On “Modern Data Practice and the SQL Tradition”
lukasederon Hacker News • Mentions
On “Parsing SQL”