sqlserver-indexes
Pass
Audited by Gen Agent Trust Hub on Jun 29, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill includes several SQL scripts designed to query system Dynamic Management Views (DMVs) like
sys.dm_db_index_usage_statsandsys.dm_db_index_physical_stats. These scripts are used to identify performance optimization opportunities by examining index usage and fragmentation metadata. - [COMMAND_EXECUTION]: A reference guide in
references/index-strategies.mddemonstrates how to use dynamic SQL viasp_executesqlto automate index maintenance tasks. The script constructsALTER INDEXcommands using schema and object names retrieved from system metadata, which is a standard administrative pattern for SQL Server maintenance.
Audit Metadata