eG Monitoring
 

Measures reported by MsSqlMissingIdxTest

SQL Server allows you to put indexes on table columns, to speed up WHERE and JOIN statements on those columns. If a SQL query takes longer (much longer) to complete, it could be because one/more of these indexes are ‘missbing’. When the query optimizer optimizes a query, it identifies those indexes it would have liked to have used but were not available - these are called ‘missing indexes’.

With the help of the MsSqlMissingIdxTest test, you can be promptly alerted when the query optimizer finds one/more ‘missing indexes’. Besides reporting the count of the missing indexes, the test also reveals which queries require these indexes, thus enabling you to quickly initiate index creation and query optimization.

The measures made by this test are as follows:

Measurement Description Measurement Unit Interpretation
Missing_index_count Indicates the total number of missing indexes found in the queries that are currently executing on this database. Number The detailed diagnosis of this measure reveals the tables and the specific columns in those tables that are missing indexes. If the missing indexes are adversely impacting query performance, then database administrators can use this information to decide on the ideal approach to improving query performance - should new indexes be created? Or should queries be optimized to use existing indexes?