SQL Server Query Execution: Expectation vs Reality
summary
Covers surprising differences between expected and actual SQL Server query execution behavior (like slower execution after changing options, queries never starting or hanging, and index seeks turning into full scans). Explains internals of SQL Server — query planning, execution choices and related settings — to show why those unexpected outcomes occur and how execution decisions are made.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:13Parameter sniffing
- 8:54Worst sniffing case
- 16:23SSMS vs app timing
- 16:43Cardinality Estimation
- 25:51CE impact
- 26:11Deadlocks in SQL Server
- 31:43Deadlocks and bugs
- 39:24Optimizer internals
- 45:56Optimizer timeout
- 46:17Summary
related talks
49mPerformance Features in SQL Server and Azure SQL
20mLevel up your SQL skills as a developer
53mSQL Server Internals: The Practical Angle
50mHow SQL Databases Come up with Algorithms that You Would Have Never Dreamed Of
53mThe Most Important Performance Factor in SQL Server and Azure SQL
18mApparently, you can "debug" your SQL queries
53mBanishing Slow Queries with Intelligent Query Processing
01h 00mWhen SQL Server Best Practices Don’t Work
