Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

Index not being used by SQL server

$
0
0

Hi All,

 I was provided by the application team with the list of missing indexes and was asked to provide the amount of benefit which they are going to get by creating those indexes.

1. When i have verified the index which was there within the missing index list was already available. I have checked from my end also using the missing index script and could see the index was showing up within the missing index list. When verified in detail could see that there were two indexes on the same columns with different names.

Would an index not be used if we have same index with different name?

Below is the example which i have given to understand the issue, there are two indexes Index 1 and Index 2 on the same column of table Adventure.

Ex: Index 1 - Created on table Adventure on column(number, name ,salary)

Index 2 - Created on table Adventure on column(number, name ,salary)

2. What column should be checked while creating a new index, when i ran the missing index script the avg_user_impact is 80 and avg_total_user_cost is 7. What is the difference between these values and based on which value should i go with the index creation?

Thanks in Advance.

Regards,
Kranthi


Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>