Building an Automated SQL Server Performance Tuning Engine

Real World Automated SQL Server Performance Tuning

Recent Reviews:

What you’ll learn

  • At the end of the course you’ll be able to take what you’ve learned and the code I’ve provided to completely automate tuning a production SQL Server instance..
  • The students will have a solid understanding of how the process of performance tuning at the instance level works..

Course Content

  • What is our Goal?.
  • Building The Engine.

Building an Automated SQL Server Performance Tuning Engine


  • A solid understanding of SQL Server.
  • Basic C# skills would be beneficial but aren’t required..
  • An Instance of SQL Server Installed.
  • Visual Studio 2015 Installed.

Recent Reviews: 

“Mike has given a great template that will allow DBAs to ease their admin tasks. Really well done.” — Doug Alderson

“This is a great tool to help DBAs and non- database system administrator for performance fine tuning” — Bernard Bernard

Welcome to Building an Automated SQL Server Performance Tuning Engine.

In this course, we are going to build a completely automated application for tuning a SQL Server instance.

The application has been running on live production instances for several years. These SQL Servers have needed no performance tuning attention since the tool was installed.

I’ve created the software and named it SQL Black Box. I choose the name because for most in the organization the inner workings of the tool will be a black box.

The software in the course will be written in C# and the SQL Server code will obviously be transact-sql.

This is not a step by step on how I authored the code. This course assembles the sundry components that make up the application.

You’ll be able to take the application and install it on any SQL Server you want.  You won’t be able to resale any portion of the code but that’s the only restriction.

Regardless of your skill level this application will ease your administrative burden.

Advanced students will be able to choose what modules they want to implement. I use the term module within the software to denote individual unit of work.

For example, there will be a module that removes exact duplicates and there will be a module that adds high impact indexes to the instance.

Please note I used the word instance and not databases. We don’t tune databases; we tune the instance they are on because all the critical resources are shared at that level.

Those students newer to SQL Server will be able to change a couple of lines of code, build the modules and then use task scheduler to automated their schedules.

Thank you for your interest in Building an Automated SQL Server Performance Tuning Engine and we will see you in the course.

Who this course is for:
  • Anyone who wants to learn how to build an automated SQL Server performance tuning engine.
  • SQL Server DBAs, Developers and Network Administrators who want to automate the tuning of their SQL Servers.
Get Tutorial