r/SQLServer • • Feb 27 '19

SQL Server Indexes – Usage Script (Tutorial)

https://www.youtube.com/watch?v=ekOTr1nrLSA&t=408s
28 Upvotes

9 comments sorted by

View all comments

Show parent comments

1

u/JoshBurnsTech Feb 28 '19

Very useful and right timing too as I have been planning on doing a index maintenance soon. Look forward to more things like this.

Great to hear that! I am working on a new video regarding Missing Indexes, which will be up on the Channel soon as well.

1

u/Traust Feb 28 '19

Will be great if you can keep the scripts somewhat backwards compatible too. I'm still running 2012 and unable to upgrade for a while. :(

1

u/JoshBurnsTech Feb 28 '19

Will be great if you can keep the scripts somewhat backwards compatible too. I'm still running 2012 and unable to upgrade for a while. :(

Absolutely! Did you test the script on your SQL Server Instance? It should definitely be compatible with SQL Server 2012.

1

u/Traust Feb 28 '19

Worked beautifully except for the part where it showed a number of unused indexes with a huge amount of updates.

1

u/JoshBurnsTech Feb 28 '19

Worked beautifully except for the part where it showed a number of unused indexes with a huge amount of updates.

So, yours did not return any Indexes that had a lot of updates?
You may not have any indexes with a lot of updates that are not being used.