Link to home
Start Free TrialLog in
Avatar of itbossman
itbossman

asked on

SQL server 2005 DTA suggests Index with same index_keys multiple times?

I had used dta for index suggestions and applied those suggestion.

i run sp_helpindex[tablename] on one of my table and seems like dta had suggested indexes which are already there. as you can see in the screenshot i have different indexes created for same index_keys. Is it every time I run DTA, it suggests index even though the index is already created for those keys? User generated image
ASKER CERTIFIED SOLUTION
Avatar of lundnak
lundnak

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of itbossman
itbossman

ASKER

thanks. Ya the include clause was different when i actually looked at the script. But I am not sure why DTA would put that one column on the include clause because I could create the same index making it a key column. It is not of the datatype not allowed by the key column, nor does it fulfil the index key size.

The leaf level of an index with the include column is a little bit smaller.  I suppose that is why it suggested the include column instead of a key column.
answered