|
|
|
Right there with Babe
      
Group: General Forum Members
Last Login: Tuesday, June 11, 2013 11:56 AM
Points: 772,
Visits: 1,828
|
|
For both the Missing and Unused index tools it is good to remember that these are recommendations. The best tool is properly tuned squishware (that part of the system that exists between your ears).
How many programmers does it take to change a light bulb? None; It's a hardware problem. How many therapists does it take to change a light bulb. None; The light bulb must change on its own. The therapist is only a guide.
Likewise the missing index tool is a guide.
ATB
Charles Kincaid
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Monday, June 10, 2013 10:43 AM
Points: 1,411,
Visits: 4,517
|
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 4:08 PM
Points: 38,099,
Visits: 30,392
|
|
It's there in 2008.
Gail Shaw Microsoft Certified Master: SQL Server 2008, MVP SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter We stand on the bridge and no one may pass
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: 2 days ago @ 9:59 AM
Points: 9,
Visits: 56
|
|
Would someone kindly elaborate on sys.dm_db_missing_index_group_stats column user_scans. I tried all kinds of good and bad things in queries to bump user_scans in statistics and it doesnt budge. WHat will cause it to be non-zero?
|
|
|
|
|
SSCoach
         
Group: General Forum Members
Last Login: Today @ 3:33 PM
Points: 18,858,
Visits: 12,443
|
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Today @ 6:56 AM
Points: 47,
Visits: 780
|
|
Hi,
Nice article.
You can discover a lot more about DMVs in this forthcoming book www.manning.com/stirk. Chapter 1 can be downloaded for free and includes scripts for:
A simple monitor Finding your slowest queries Find your missing indexes Identifying what SQL is running now Quickly find a cached plan
Thanks Ian
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Friday, December 07, 2012 3:35 PM
Points: 13,
Visits: 185
|
|
I have found this feature very helpful but could be improved, I would even call it buggy:
- As Microsoft mentions, it does not consider trivial Plans. Why not? A trivial index from a trivial query on a huge table is missing - I'd like to know about it! - Actually recomended a few indexes that already existed!
|
|
|
|