Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
SQL Server 2005 Performance Tuning
»
Performance Dashboard
Performance Dashboard
Rate Topic
Display Mode
Topic Options
Author
Message
Ryan D.
Ryan D.
Posted Wednesday, August 26, 2009 3:47 PM
SSC Journeyman
Group: General Forum Members
Last Login: 2 days ago @ 11:43 AM
Points: 92,
Visits: 1,270
Hi,
I have a question regarding the missing indexes section of the performance dashboard. What is the best way to approach the recommended indexes?
Post #777915
SQLRNNR
SQLRNNR
Posted Wednesday, August 26, 2009 5:52 PM
SSCoach
Group: General Forum Members
Last Login: Today @ 6:30 PM
Points: 18,733,
Visits: 12,330
I like to affix a cost / benefit value to the missing index (number of updates vs. number of lookups as part of it). From there, try to associate the most beneficial recommended missing index with poorly performing queries.
Test your indexing in dev and move the indexes up through the ranks to prod during maintenance windows.
Jason
AKA CirqueDeSQLeil
I have given a name to my pain...
MCM SQL Server 2008
SQL RNNR
Posting Performance Based Questions - Gail Shaw
Posting Data Etiquette - Jeff Moden
Hidden RBAR - Jeff Moden
VLFs and the Tran Log - Kimberly Tripp
Post #777976
Ryan D.
Ryan D.
Posted Thursday, August 27, 2009 7:03 AM
SSC Journeyman
Group: General Forum Members
Last Login: 2 days ago @ 11:43 AM
Points: 92,
Visits: 1,270
Thank for the reply, the issue I'm having is that the report is showing about 200 missing/recommend indexes. Based upon the different column values, which one should be looked at in the order of importance.
Post #778247
Grant Fritchey
Grant Fritchey
Posted Thursday, August 27, 2009 7:15 AM
SSChampion
Group: General Forum Members
Last Login: Today @ 12:19 PM
Points: 13,371,
Visits: 25,144
Ryan D. (8/26/2009)
Hi,
I have a question regarding the missing indexes section of the performance dashboard. What is the best way to approach the recommended indexes?
Slowly, maintain eye contact, and carry a really big stick...
Oh, you mean how do decide which one's to implement.
I wouldn't recommend that you use that data by itself. I'd combine it with a collection of long running queries and most frequently called queries. You'll need to collect that with a server side trace. Then, unfortunately, there's no easy way to marry the missing index data to specific queries... Unless you do something like I blogged about here. There are some other people that have also posted scripts that do the same thing (several of them better than mine) so you can do a search to track them down.
Once you decide that a query and a missing index match up and you're ready to use the index, test it. The missing index information is based on estimates within the optimizer, and it can be wrong.
----------------------------------------------------
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood..." Theodore Roosevelt
The Scary DBA
Author of:
SQL Server 2012 Query Performance Tuning
SQL Server 2008 Query Performance Tuning Distilled
and
SQL Server Execution Plans
Product Evangelist for
Red Gate Software
Post #778261
SQLRNNR
SQLRNNR
Posted Thursday, August 27, 2009 9:57 AM
SSCoach
Group: General Forum Members
Last Login: Today @ 6:30 PM
Points: 18,733,
Visits: 12,330
Ryan D. (8/27/2009)
Thank for the reply, the issue I'm having is that the report is showing about 200 missing/recommend indexes. Based upon the different column values, which one should be looked at in the order of importance.
You more than likely will not need to implement all of the "missing" indexes shown in the report. Sometimes the report will show multiple indexes for the same thing.
As Grant has mentioned, there are scripts here on SSC for determining which indexes might be of more use than others (based on cost/benefit).
Just Browse the Index Management section of the scripts area here at SSC - or do a search for index scripts. There are several scripts that could be of use.
Jason
AKA CirqueDeSQLeil
I have given a name to my pain...
MCM SQL Server 2008
SQL RNNR
Posting Performance Based Questions - Gail Shaw
Posting Data Etiquette - Jeff Moden
Hidden RBAR - Jeff Moden
VLFs and the Tran Log - Kimberly Tripp
Post #778435
Grant Fritchey
Grant Fritchey
Posted Thursday, August 27, 2009 11:18 AM
SSChampion
Group: General Forum Members
Last Login: Today @ 12:19 PM
Points: 13,371,
Visits: 25,144
Oops. I forgot to add a link to the blog.
Here it is.
----------------------------------------------------
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood..." Theodore Roosevelt
The Scary DBA
Author of:
SQL Server 2012 Query Performance Tuning
SQL Server 2008 Query Performance Tuning Distilled
and
SQL Server Execution Plans
Product Evangelist for
Red Gate Software
Post #778505
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.