22-25 April 2026
SQLBits 2020

Elementary! The Curious Case of Deceptive Query Optimizer

We will see two important case studies where the optimizer is obviously a criminal who has killed the query performance. We will together with carefully investigate inside the query optimizer understand the reason.

We will see two important case studies where the optimizer is obviously a criminal who has killed the query performance. We will together carefully investigate inside the query optimizer and attempt to understand why often it behaves in the manner which is beyond common sense.

While we investigate our crime scene of poorly running query we will learn come across many unusual and usual suspects like - statistics, query hints, indexes, cardinality, and compatibility.

Just like a true investigator, we will figure out why Query Optimizer is not a criminal but rather a victim of circumstances. Before we end the session, we will have a revelation of the true culprits.

The journey would not be an easy one, join only if you have a keen desire to solve the mystery and learn advanced level concepts of Query Optimizer. 

Speakers

Pinal Dave

blog.sqlauthority.com

Pinal Dave's previous sessions

Kick Start! SQL Server 2019 Performance Tips and Tricks
Every new release of SQL Server brings a whole load of new features that an administrator can add to their arsenal of efficiency. SQL Server 2019 has introduced many new features. Here is a glimpse of the features we wil
 
Elementary! The Curious Case of Deceptive Query Optimizer
We will see two important case studies where the optimizer is obviously a criminal who has killed the query performance. We will together with carefully investigate inside the query optimizer understand the reason.
 
Kick Start! SQL Server 2017/2019 Performance Tips and Trick
Every new release of SQL Server brings a whole load of new features that an administrator can add to their arsenal of efficiency. SQL Server 2017 / 2019 has introduced many new features.
 
Secrets of SQL Server-Database Worst Practices
This demo-oriented session will show many examples where database professionals were dumbfounded by their own mistakes, and could even bring back memories of your own early DBA days.
 
Kick Start! SQL Server 2016/2017 Performance Tips and Tricks
Every new release of SQL Server brings a whole load of new features that an administrator can add to their arsenal of efficiency. In this session we will discuss newly introduced SQL Server 2016 / 2017 features for performance.
 
Efficiency Tips and Tricks for Multi-Platform Data Client DBAs
Real-world scenarios and stories of a DBA who has to deal with different database platforms and their constant battle with efficiency. This session will offer neat solutions, demos, and tools to make your job more pleasant.