Smart Index Management

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.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.