Todays’ post is about the ‘Rebuilding the Indexes’ criteria used by the ConfigMgr Maintenance task when it runs as per schedule. There were questions regarding which indexes are actually rebuild touched and what are not.
The option for enabling the Rebuild Indexes is shown below –
– The rebuilding of the indexes happens for the objects only if their FRAGMENTATION PERCENT is more than 10%.
– The index of type ‘HEAP’ are not considered (type = 0) for rebuild. Generally the types that are rebuild are CLUSTERED, NONCLUSTERED and XML.
The below query can be ran to find the tables whose indexes would be rebuild if the Maintenance task runs. [Sorted by the Most Fragmented first]
Hope it Helps !
Support Escalation Engineer | Microsoft System Center Configuration Manager