Link to home
Start Free TrialLog in
Avatar of marrowyung
marrowyung

asked on

find missing unused index and missing index using Brent first response kit

ASKER CERTIFIED SOLUTION
Avatar of Máté Farkas
Máté Farkas
Flag of Hungary image

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 marrowyung
marrowyung

ASKER

It is not recommended to create or drop indexes automatically or programatically.

Open in new window



no , let the tools kit find out first and we review.

You have to check each cases and see what is the performance impact of deleting or creating indexes.

Open in new window


 we can check it query by query.

btw, what is your best way to find missing index and add it accordingly ? and how about unused index (it hurts Write operation, so we must be able to do it.

SOLUTION
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
What about one that is only used during year-end processing that makes a 15 hour process run in 1 hour?  If you remove that index because it is only used once a year, you can greatly impact performance next time that job runs.

Open in new window


yeah you are right! I will let developer to verify it before it drop, as simple as this!

DBA here usually do not know this logic as developer will not tell DBA.

so brent first response kit to generate the index for add and drop and let developer review it should be the fastest way ?

No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Split:
-- 'Máté Farkas' (https:#a43183557)
-- 'slightwv (䄆 Netminder)' (https:#a43183677)


If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

seth2740
Experts-Exchange Cleanup Volunteer