
In this course you going to learn how to automate SQL Server performance tuning.
What is the goal of SQL Black Box?
What is performance tuning specific to an OLTP environment.
What does the application do?
Let's get granular in this lesson.
What's a module?
What language is the app written in and why?
Learning how to properly use sp_whoisactive is the difference between the average and the superior DBAs.
It's the one tool that can tell you what's going on at the instance level in minutes.
Let's learn about it in this short lesson.
In this lesson let's create the stored procedure that adds the indexes at the instance level.
In this lesson let's create the C# application to call the stored procedure that adds the high impact indexes.
I'll also show you how to test each module with profiler before it goes into production.
Is the index we just created being used?
If not we probably shouldn't have created it.
The good news is the stats on almost every index the tool creates will show marked improvement.
In this lesson let's create the application we will call to rebuild all the indexes on all the user databases on the instance.
In this lesson let's create the application that will update all the stats on all the user defined databases.
In this lesson let's learn about the three modules I'd suggest you start with.
In this lecture let's fix the database growth settings.
I don't think you'd have to create a module unless you were going to implement a more dynamic solution.
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.