Indexes optimize for the system databases

Maintenance of the system databases in SQL Server regarding the indexes is important. The system tables also have indexes and their maintenance is of asset on the busy environments.

It’s also important to know that the indexes in msdb and master are marked as system objects, so if you have your own customised scripts you should take in consideration the  is_ms_shipped  system column. 

Going for this with Ola’s scripts, you should set the @MSShippedObjects = ‘Y’ parameter in the IndexOptimize stored procedure, like in the next example code:

Cheers!

Tweet about this on TwitterShare on LinkedInShare on FacebookShare on Google+

Leave a Reply

Your email address will not be published. Required fields are marked *

*