SQL Server Database Health Check


Database Health Check


The database health check screen runs performance and configuration diagnostic tests against a database and gives warnings & recommendations based on what it finds.
Results are either "Warning" - action should be taken to remedy the problem; "Info Only" - a definite course of action cannot be given but user experimentation should be performed or "Ok" - the test passed.
Clicking on a warning in the grid will display and related details in the textbox at the bottom of the screen. These may include information like table and files effected by the health check and amounts such as disk sizes of over thresholds.

SQL Server database diagnostic health check application

The diagnostics include T-SQL checks to identify code that may need altering to avoid common performance pitfalls as well as database configuration issues.

SQL Server Database Health Check List

  • MAXDOP used
  • Unpartitioned Large Tables
  • Scalar functions
  • Wildcard used to begin search
  • Computed column not persisted
  • ExecSql not used
  • Slow reads
  • Slow writes
  • Forced Parameterization Enabled
  • Disabled Indexes
  • Triggers On User Tables
  • No Clustered Index On Table
  • Collation different to server
  • Auto Create Stats
  • Involved In Replication
  • Untrusted Check Constraints
  • Untrusted FK constraints
  • Is Auto Close Disabled
  • Full Backups Within Last Month
  • File % Growth
  • Files On C Drive
  • Uneven file growth
  • Log Larger Than Data File
  • Multiple Log Files On A Drive
  • Auto Update Stats Enabled
  • Auto Shrink Disabled
  • Optimal page verification
  • Is data correlation on
  • Non Aligned Indexes
  • Snap shot source
  • Old Compatability Level
  • Procedures 'with recompile'
  • Missing Indexes
  • Unused Indexes

These health checks are at the database level - miniDBA also has server health checks