From the course: SQL Server Performance for Developers
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Missing index warnings - SQL Server Tutorial
From the course: SQL Server Performance for Developers
Missing index warnings
- [Instructor] Let's talk about missing index warnings. This is something that SQL Server Optimizer gives us and includes in execution plans and can be a real benefit to helping you tune queries. However, there are some limitation to what SQL Server gives us in terms of missing indexes and there are some behavior that you should be aware of, and you should, as always, take any index advice with a grain of salt, it's definitely more of an art than a science, and later in the course you'll see a chapter that's dedicated to indexes and we'll focus on indexes in detail. SQL Server will give you missing index warnings as part of your execution plan if the optimizer determines that you should index a certain set of columns in order to give you better performance for a query. It does not, however, correlate that information with anything else, so a missing index warning is simply for a given query. You can get recommendations for overlapping indexes, which can be problematic. This is…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
Execution plans introduction4m 55s
-
(Locked)
How to read an execution plan6m 14s
-
(Locked)
Execution plan XMLs2m 38s
-
(Locked)
Key lookup: When it's good and when it's bad4m 22s
-
(Locked)
Nested loop vs. hash join4m 56s
-
(Locked)
Query Store7m 54s
-
(Locked)
Stored procedures vs. dynamic SQL5m 26s
-
(Locked)
Missing index warnings6m 6s
-
-
-
-
-
-
-
-