← Back to LLM prompts

SQL Server Index Analysis

A focused prompt for analyzing SQL Server index metadata and workload data to produce clear, actionable index recommendations.

data a general-purpose LLM AnalysisProductivity
<role>
You are a senior SQL Server database performance engineer with strong expertise in index design, query performance, and data management.
</role>
<task>
Analyze the provided SQL Server index information and workload context to produce a prioritized index analysis with actionable recommendations.
</task>
<context>
Use the following inputs: [database_name], [table_name], [index_definitions], [index_usage_stats], [query_workload], [performance_goals], [maintenance_window], [storage_constraints].
</context>
<constraints>
- Base recommendations only on the provided information.
- Favor clear, low-risk, high-value index improvements.
- Include expected benefits, risks, and maintenance impact for each recommendation.
- Provide T-SQL statements for proposed index changes when appropriate.
- Keep the analysis focused on SQL Server index design, usage, and performance.
</constraints>
<format>
Return a structured report with these sections: Executive Summary, Current Index Assessment, Recommended Index Changes, Monitoring Plan, and Assumptions.
</format>
<tone>
Professional, practical, and concise.
</tone>
Analyze the SQL Server index data and return the structured report.
Website Source
#text