SQL Server Profiler   «Prev  Next»

Lesson 8 Index Tuning Wizard
Objective Use the Index Tuning Wizard (legacy) and apply its modern replacements: Query Store, Database Engine Tuning Advisor (DTA), and Automatic Tuning.

Index Tuning Wizard (Legacy) and Modern Query Store Tuning Workflow

Older SQL Server releases (SQL Server 7.0 / 2000 era) included the Index Tuning Wizard as a guided, “click-through” experience for generating index recommendations from a captured workload. That wizard is now a historical artifact: the UI workflow is no longer the tuning baseline for modern SQL Server.

In current SQL Server environments, the tuning workflow is typically split into two responsibilities:

Why the Index Tuning Wizard is no longer the right mental model

The Index Tuning Wizard focused on a narrow outcome (index suggestions) and assumed you already had a trace-based workload. Modern SQL Server tuning is broader and more operationally cautious:

Modern workflow: Query Store → DTA → validation → controlled deployment

Step 1: Use Query Store to find “top tuning” candidates

Query Store keeps a history of queries, plans, and runtime statistics inside the database. In SSMS, you can quickly surface tuning candidates by focusing on queries that are:

Step 2: Feed a workload into Database Engine Tuning Advisor

DTA is the supported successor workflow for index-tuning analysis. Instead of guessing at indexes, you provide a workload and let DTA recommend a candidate physical design (indexes, indexed views, and—where appropriate—partitioning).

Workload sources commonly include a saved .sql file, plan cache, and (in modern workflows) Query Store as the workload source, which reduces the need to run trace collection just to tune a database.

Step 3: Validate recommendations before applying them

Treat index recommendations as hypotheses, not instructions. Before applying changes:

Step 4: Consider modern “automatic” options

In more recent SQL Server generations and Azure SQL platforms, performance management increasingly centers on Query Store-based features: plan forcing for regressions, and (in certain environments) automated index creation/removal based on observed workload behavior.

Legacy image gallery: Index Tuning Wizard walkthrough (historical)

The following screens are preserved as historical reference so you can recognize legacy tuning workflows when maintaining older documentation or troubleshooting older environments. In modern practice, use Query Store and DTA as described above.

Index Tuning
1) Welcome screen (legacy). The Index Tuning Wizard introduced the tuning process and explained that it would analyze a workload and propose index changes.

The select server and database screen allows you select what SQL Server and Database to tune.
2) Select server and database (legacy). In modern workflows, you still scope tuning to a database, but the analysis is typically driven from Query Store and evaluated via DTA.

The Identify Workload screen allows you to identify
3) Identify workload (legacy). Today, your “workload” commonly comes from Query Store history or a curated SQL script, then is analyzed via DTA.

Specify Workload screen
4) Specify workload (legacy). This is conceptually similar to selecting a workload source in DTA (Query Store, plan cache, trace file/table, or a SQL script).

The Select Tables to Tune screen allows you to specify which tables in the database you want to tune.
5) Select tables (legacy). Modern tuning is usually query-driven: identify expensive queries first, then validate which tables and indexes matter for those execution plans.

The Evaluation screen appears while SQL Server is evaluated what indexes are needed.
6) Evaluation (legacy). Modern analysis is performed by DTA (what-if physical design evaluation) and validated with Query Store metrics after controlled changes.

Index Recommendations screen list the indexes recommended by the Index Tuning Wizard.
7) Recommendations (legacy). Treat recommendations as candidates: verify benefit, watch DML overhead, and avoid index sprawl.

The Schedule Index Update Job screen allows you to schedule any changes you want to take place.
8) Scheduling changes (legacy). In modern environments, changes should follow operational controls (change windows, online index operations where applicable, and post-change monitoring in Query Store).

Warning: Index recommendations do not automatically equal better performance. New indexes can increase storage and slow down inserts, updates, and deletes.
In the next lesson, you will transition from “wizard-driven” tuning to a repeatable analysis workflow using Query Store reports and measured validation.

SEMrush Software 8 SEMrush Banner 8