开发者

The case of the Missing-Index-Not!

开发者 https://www.devze.com 2022-12-19 02:29 出处:网络
I ran the code found here: SQLServerPedia Find Missing Indexes (sic) and it reported an index missing (one column in the equality column, none in the inequality column, and none in the included column

I ran the code found here: SQLServerPedia Find Missing Indexes (sic) and it reported an index missing (one column in the equality column, none in the inequality column, and none in the included column).

However, this index already exists! I've updated stats on the index, on the table, dropped and recreated the index in question, run sp_recompile on the table. It still shows up in the list as MIA (and at the top of the list to boot)...

Any ideas on what to do from here? TIA for the help开发者_如何学编程...


Try adding "DESC" to the index. And then restart the SQL instance to reset the informations

It worked before: Database Tuning Advisor recommends to create an existing index

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号