I have found several missing Non Clustered Index from the SQL tables. I just want to know the impact if I will implement the missing Non Clustered Index that I found.
Thanks
I have found several missing Non Clustered Index from the SQL tables. I just want to know the impact if I will implement the missing Non Clustered Index that I found.
Thanks
You can see that in the Execution Plan, find this button on SSMS:
Now paste the query into SSMS and press F5, the query will be executed. Now go into the Execution plan tab:
this query for example has an high impact:
(Sometimes SSMS suggest you how to improve the query sometimes no; don't expect to see this green phrase all the time.)
Now, from here to tell you that by adding that index the query will be
99.6192
faster is a long shot.SQL Serve is suggesting you that adding that index might help a lot.
The best way would be to:
Keep in mind that if you are using SQL Server 2016 or later you can use Query Store, which is the equivalent of the Execution plan but on steroids.
If you want more info use sp_BlitzIndex and get familiar with it.
Use Database Health Monitor, IDERA SQL Check, isitsql which are free tool and will help you take some screenshot about the graphical view of the query.
Basically you have to prove to your manager that the change you put in place has improved the performances.
EDIT:
I think your question is very pertinent and in I will also give you a query from Pinal Dave that will allow you to have impact of the missing index:
The
Avg_Estimated_Impact
is calculate by the formula:So don't expect this value to be between 0 and 100. Is not on a scale.
Overall I think is a genius idea calculating the factor this way and ultimately your question was pertinent.
I know you are new, please next time post some code.