I'm new to a company and started going through some index usage using the system DMs (dm_db_index_usage_stats, dm_db_index_physical_stats, etc) and seeing that several of the indexes aren't being used. I've also noticed that framentation is really high for many of the same tables. So I'm wondering does the query optimizer take into account the fragmentation levels to make decisions and if I started a deframentation regiment would these indexes start being?
thanks,
Sean