Quantcast
Viewing all articles
Browse latest Browse all 15889

Missing Index DMVs suggesting index additions that already exist????

Hi all.

I have a missing index view utilising the views sys.dm_db_missing_index_group_stats, sys.dm_db_missing_index_groups and sys.dm_db_missing_index_details.  I have stumbled across a suggestion from this view which puzzles me.

On my table [task].[task], I have 2 indexes - 1 clustered PK and 1 non clustered index.  The NC index is based on columns TypeID, dtCompleted and dtScheduled.  The index was suggested to me by the missing view above.

Having run the missing index view after applying the NC index listed above, the view is still advising me to apply an index based on the columns already added.  TypeID and dtCompleted are in the EqualityColumns and dtScheduled is in the InEqualityColumns.

To try an remove this suggestion, I have restarted the server to reset all stats within these views - but the suggestion still pops up.

Since I already have an index based on these columns, why is the view advising me to apply an index that's already there?

Thanks in advance.


Viewing all articles
Browse latest Browse all 15889

Trending Articles