Mastering the Basics of SQL Server Query Optimization (Udemy.com)
Learn to Create Optimal Execution Plans for Your Queries
Created by: Mike West
Last updated February 2016
What you will learn
- At the conclusion of this course you'll understand how the optimizer works at a very high level.
- You will be able to read showplans. These are created when a query is executed.
- You'll understand the caching mechanisms behind SQL Server optimizer.
Course Description
Student Warning: Even though this is a beginners class it's fast paced and will require some outside study on your part.
I've included 4 different preview lessons so you could better gauge the speed of the course. Please take a moment to preview all of them. If those lessons are too fast then please take this course after you've taken my entry level courses. Thanks.... Mike
Recent Unsolicited Testimonials
“Learned lots from this well constructed and easy to follow course - thanks Mike!” – Caroline
“Feel much more confident in MSSQL now. Thanks!” Jef Yo
“This short course is excellent and will give you a good understanding of the basics in SQL server administration.” Luke Dunn
In this course we are going to delve into the Query Optimizer, easily one of the most complicated pieces of software ever written.
The Query Optimizer is the SQL Server component that tries to give you an optimal execution plan for your queries. The Query Optimizer tries to find that execution plan as quickly as possible. Not the perfect plan but a good one.
The SQL Server Query Optimizer is a cost-based optimizer. It analyzes a number of execution plans for a given query, estimates the cost of each of these plans, and chooses the plan with the lowest cost.
The optimizer seeks to find balance between the optimization time and the quality of the selected plan.
The course will be a balance of hands on query performance tuning and understanding the basics of the optimizer’s architecture.
We are going to learn about the execution engine, statistics and cost estimation, index selection and the optimization process.
At the core of the SQL Server Database Engine are two major components: the storage engine and the query processor also called the relational engine.
In this course our sole focus will be on the query processor. This part of the engine accepts all queries submitted to SQL Server and creates a plan for optimal execution.
See you in the course!!!
Instructor Details
- 4.2 Rating
1,153 Reviews
Mike West
I'm the founder of LogikBot. I've worked at Microsoft and Uber. I helped design courses for Microsoft's Data Science Certifications. If you're interested in machine learning, I can help.
I've worked with databases for over two decades. I've worked for or consulted with over 50 different companies as a full time employee or consultant. Fortune 500 as well as several small to mid-size companies. Some include: Georgia Pacific, SunTrust, Reed Construction Data, Building Systems Design, NetCertainty, The Home Shopping Network, SwingVote, Atlanta Gas and Light and Northrup Grumman.
Over the last five years I've transitioned to the exciting world of applied machine learning. I'm excited to show you what I've learned and help you move into one of the single most important fields in this space.
Experience, education and passion
I learn something almost every day. I work with insanely smart people. I'm a voracious learner of all things SQL Server and I'm passionate about sharing what I've learned. My area of concentration is performance tuning. SQL Server is like an exotic sports car, it will run just fine in anyone's hands but put it in the hands of skilled tuner and it will perform like a race car.
Certifications
More courses by Mike West
An Introduction to Machine Learning for Data Engineers (2025)
4.5 (5,385 Reviews)
Provider: Udemy
Time: 1.2h
$64.99
The Top 5 Machine Learning Libraries in Python (2025)
4.6 (4,607 Reviews)
Provider: Udemy
Time: 1.7h
Free
How To Begin Your Career As a SQL Server DBA (2018)
4.1 (3,152 Reviews)
Provider: Udemy
Time: 1.9h
$74.99
An Introduction to Google Cloud Platform for Data Engineers (2021)
4.6 (2,266 Reviews)
Provider: Udemy
Time: 3h
$69.99
Advanced SQL Server Transaction Log Analysis (2017)
4.6 (1,347 Reviews)
Provider: Udemy
Time: 48 mins
$54.99
10 Things Every Production SQL Server Should Have (2016)
4.4 (1,027 Reviews)
Provider: Udemy
Time: 1.6h
$54.99
More SQL courses
SQL - The Complete Developer's Guide (MySQL, PostgreSQL) (2025)
4.8 (2,153 Reviews)
Provider: Udemy
Time: 19.7h
$94.99
70-461 Session 3: Querying Microsoft SQL Server (T-SQL code) (2025)
4.8 (1,093 Reviews)
Provider: Udemy
Time: 3.6h
$19.99
The Ultimate MySQL Bootcamp: Go from SQL Beginner to Expert (2026)
4.7 (109,622 Reviews)
Provider: Udemy
Time: 17.9h
$129.99
Reviews
By mg0x7BE ⠀ on 9/13/2023
This course isn't bad, but it could be better. It's quite short, and the topics are discussed rather superficially. Since English isn't my first language, I sometimes had significant problems understanding what the author was saying at a given moment due to their specific accent
By Baljinder Singh Ghuman on 12/8/2022
Mr. Mike I must say you are the best teacher in SQL server DBA. your courses are so precise and give the write knowledge needed. no howering around the problem with lot of theory. I must say this course had some theory, but this theory is very necessary to know all the important parts of query execution plans.thanks again Mr. Mike. I am a SQL DBA for few years now but taking your course made me learn so many new things which i had no idea. you are a great teacher and your way of teaching is very enthusiatic. you teach in a way as you are also a colleague student and we are working together on an assignment. it has been an amazing journey taking your course. God bless you Mr. Mike. and enlightening us with the amazing knowledge you have. Regards.
By Thomas Polaschek on 1/12/2021
Der Kurs taucht nicht besonders tief in die Materie ein. Die einzelnen Lektionen sind sehr sehr kurz und haben fast alle ein abruptes Ende. Es gibt kostenlose Youtube Videos die dieses Thema mit deutlich mehr Tiefgang beleuchten. Das was erklärt wurde war verständlich, aber insgesamt ist der Kurs wirklich sehr sparsam aufgebaut und es gibt zwischen den Kapiteln zuviel Text zum Lesen. Von einem Video-Kurs erwarte ich mir Videos und keinen Text.
By Anonymized User on 9/26/2019
Very detailed explanation of execution plans and how queries can be optimized. I finally understand what's happening and how to read the execution plan and, more importantly, what to do about it. Only complaint is that there were instances where the slides were out of focus (quickly corrected) and where the presenter talked a little too fast and I had to rewind and watch again. Otherwise, great course.
By Andrew Lee on 12/27/2018
Editing/upgrading my original rating because I believe the creator deserves some credit for creating a SQL lesson that many people, like myself, want to understand and are looking for detailed instructions. It's the only course I found that addressed this topic in SQL Server, so I appreciate that.
By Susheel Vig on 12/5/2018
Excellent course, that is what I was looking for. Very good course for understanding the execution plans. This will greatly help in optimising the queries. I would love to join more advanced course on this subject.
By Reynaldo Z Moreno on 4/10/2018
this was an excellent course covering the basics. the pace is good but the detail needs some improvement. i have to slow down or stop the video and find what the instructor was looking at. maybe it comes with more practice. it would be nice if the instructor had some scripts that would "dirty-up" the database some so we could practice looking at what the instructor was pointing out. overall an excellent course and i plan on repeating it a few times until i am more proficient. thank you.
By James Moore on 10/13/2017
I am enjoying how the instructor is starting from the beginning to break down how the query optimizer functions and all of the associated processes. I really like this approach because since this is the first time in the course I have been asked to rate the course, I can only assume he is going to build on this foundation of knowledge so when execution plans are created and discussed during the remainder of the course, I will have the knowledge he started the course with to help make learning easier as the course progresses. Especially on a topic I have worked with for a couple of years but the "light bulb" just hasn't quite gone off. It's more like a very "dim bulb" before starting this course. I will say that already, I can see the way Mike has organized the course it is helping me to organize my thought process to the point I am hoping when I complete the course, the "light bulb" will finally have gone off and bright! Again, this is the first time I have been asked to rate this course which was immediately after the exercise Mike had us do to where he asked various questions regarding the material we had covered up to that point and it was up to me to provide the answer. After a period of time, Mike would flash the answer on the screen so I could check to see if I answered correctly or if I couldn't remember, I made sure I took notes on every question and the answer that went with each question. I'll have to say, this is the first course that interested me enough to where I am actually taking notes! I believe that has to do with the way Mike is teaching the course. When asked to rate this course from this point going forward, I plan on skipping until the very end of the course. I will then compare how I rated the course and my comments from the beginning to see whether or not my theory about Mike's process for teaching this course made the difference. Actually, what I'm really looking for is this the course that will finally make that "light bulb" go off over my head and it was so profound I can say in the future it was this course than changed it all for me when it comes to performance tuning and query plans. So far, very good, Mike.
By Jonathan Shields on 4/24/2016
This is an introductory course and wont make you an overnight expert, but it will give you a headstart. It isnt for beginners in SQL Server and you need a reasonable level of understanding of querying SQL Server, JOIN, GROUP BY , ORDER BY etc before beginning this course. You also need to understand the basics of SQL Server indexes. Those caveats aside, I feel I have improved my understanding of query tuning and can now go off and apply what I have learned. Another good course for really very little money.
By Jeremy Greaves on 2/23/2016
Nicely put together and presented. I appreciate the off-the-cuff comments when something doesn't quite go as planned as in demonstrating the Maintenance plan wizard for instance, "Well I didn't want to do that anyway", as there is a far better way of doing it.
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 84 / 100












