Archive for the ‘Smart Index Management’ Category

Smart Index Management

May 25, 2015 Leave a comment

Smart Index Management is a new way to do index management, where the maintenance window constraints prevents managing all indexes every week.

Goal of Project is to deal with following issues:

  • Rolling window maintenance
  • Full scan then maintenance
  • Can’t dynamically adjust MAXDOP
  • Operation type (rebuild vs reorganize)
  • Online vs offline
  • Transaction log space monitoring
  • Maintenance window constraint
  • How quickly do my index become fragmented?
  • What should be fill factor be?

You can download the code and try it out here.  I have used the code on 5TB with positive results.  Where the number of IOPS and data throughput both have decreased over time.  Because the script is learning how quickly indexes are being fragmented therefore only managing indexes based on the learning pattern.

%d bloggers like this: