I'm the new DBA for this company. I'm seeing some of their tables have a LOT of indexes; for instance some have over 50 or 60.
Is this a good thing? From my research, it seems this is not good for performance.
How would you manage this?
I would like to delete all the indexes and start from 0. I think the developers have been using Tuning Advisor without really understanding indexes.
Best Answer
Probably some of those indexes are used, so deleting them all is not a good idea.
You can review index usage stats and find bad NC indexes with this query (taken from Glenn Berry's Diagnostic Queries):
You can also find recommended missing indexes using this query (again from Glenn Berry's diagnostic queries):
Instead of creating the recommended missing indexes as suggested, try to combine them with existing indexes and find a balance to keep the number of indexes low.