Index-Tuning

Category: index-tuning

Why Indexes Reduce Locks for Update and Delete Queries

Why Indexes Reduce Locks for Update and Delete Queries

on March 14, 2017

Category: index-tuning , locking

Indexes help queries run faster in SQL Server for several reasons. One of those reasons is that indexes can help your update and delete statements lock fewer rows. And I’m not only talking about shared locks, either.

Continue reading

Overindexing: Missing Index DMVs and the Database Tuning Advisor

Overindexing: Missing Index DMVs and the Database Tuning Advisor

on March 8, 2017

Category: index-tuning

SQL Server has tools that suggest indexes– and they’ll even auto-create the indexes for you.

I’m not a huge fan of these tools because they’ve got some notable flaws: they lead to creating more indexes than you need, and they aren’t super smart about the indexes they recommend.

Continue reading

How to Quickly Tell if an Execution Plan has Multiple Missing Index Requests

How to Quickly Tell if an Execution Plan has Multiple Missing Index Requests

on March 7, 2017

Category: index-tuning

Ever see those little green messages at the top of an execution plan?

Those are missing index suggestions.

SQL Server loves toΒ suggest that you consider changing up your index game.

Continue reading

Understanding avg_total_user_cost and avg_user_impact in Missing Index Requests

Understanding avg_total_user_cost and avg_user_impact in Missing Index Requests

on February 22, 2017

The hardest thing about looking at index requests in SQL Server is understanding what the column names mean.

Continue reading