22-25 April 2026

21 Essential Scripts: Performance Tuning for EVERYONE

2019

TL; DR

This session solves many of the classic mysteries people have with related to performance tuning. In this session I will give them accurate, ready to get started script which will solve DBA's day to day problems.

Session Details

This session solves many of the classic mysteries people have related to performance tuning. In this session I will provide accurate, ready to get started scripts which will solve DBA`s day to day problems.

For DBAs, Developers, and Everyone

The biggest challenge in any organizations is the DBAs and Developers talk totally different language when it is about SQL Server Performance Tuning. They have very different ways and methodology for addressing the same problem. Whenever I go to any consulting engagement, I often see that individuals in an organization struggle when they do not have good data point to back up the claim.

I have carefully crafted this pre-con for DBAs and Developers. Even though if you are an IT-Manager, you want to attend this pre-con as during this training day you will learn quite lots of details which you may not learn in your daily job.

Why 21 Scripts?

I have been working with SQL Server for over 16 years. In my 16 years of career, I have learned that most of the time DBAs and Developers think that they know their stuff as they have read it somewhere but the reality is very different.

What we know is quite often very incorrect and the actual reality is very difficult. From my 16 years of experience, I have built a knowledge base which exclusively share during my consulting engagements. I have finally decided to make it public and let everyone learn along with me.

Tip of the Iceberg

The 21 scripts shared during the training serves as a Proof of Concepts, Quick Diagnosis Script as well as a ready cheat sheet to accomplish a complicated task which you have been dreaming to achieve. The scripts sound very simple but each of the scripts are carefully crafted to tell a unique story which you have not experienced before.

  • Script 00: How to clear the Cache?
  • Script 01: Why unused indexes are bad? (Insert/Delete)
  • Script 02: Why unused indexes are bad? (Select)
  • Script 03: How to identify UNUSED indexes in SQL Server?
  • Script 04: How to identify MISSING indexes in SQL Server?
  • Script 05: How to identify DUPLICATE indexes in SQL Server?
  • Script 06: How important is the file growth setting is for Database?
  • Script 07: Do COLUMNSTORE indexes help query performance?
  • Script 08: How to get started with OLTP In-Memory Tables
  • Script 09: What about OLTP In-Memory Ttables with COLUMNSTORE indexes?
  • Script 10: How do STATISTICS play a role in performance tuning?
  • Script 11: How does COMPATIBILITY Level play a role in performance tuning?
  • Script 12: What is the impact of functions on query performance? (Where clause)
  • Script 13: What is the impact of functions on query performance? (Select clause)
  • Script 14: How to identify frequently running functions?
  • Script 15: How to identify frequently running queries?
  • Script 16: How to identify resource bottlenecks for server with Wait Statistics?
  • Script 17: How to overcome CPU bottlenecks - under utilization / over utlization?
  • Script 18: How to overcome MEMORY bottlenecks?
  • Script 19: How to overcome IO bottlenecks?
  • Script 20: How to overcome Blocking in SQL Server?
  • Script 21: How IMPLICIT conversion can kill database performance?
  • Bonus Round: Interactive Game - WhichIndex and 3 Rules

Pre-requisites
Basics of SQL Server
Laptop Required:No

3 things you'll get out of this session

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.