sp_BlitzIndex Custom Collection #793
DavidWiseman
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Intro
sp_BlitzIndex is a community script that provides a health check for your indexes - from missing indexes to duplicate and unused indexes. DBA Dash doesn't currently provide any form of index advice so sp_Blitz can be useful to fill this gap.
Prerequisites
We need sp_BlitzIndex deployed on our monitored instances. Also, we probably need to pass some parameters to sp_BlitzIndex but custom collections don't support this in the current version. This is easy to work around with a wrapper stored procedure.
To collect from a specific DB:
To collect from all DBs:
The DBA Dash service account will need appropriate permissions to run sp_BlitzIndex.
Follow the instructions here for creating the custom collection.
Reports
Run the script below to replace the default reports.
Beta Was this translation helpful? Give feedback.
All reactions