← Back to directory

SQL Query Optimizer

Analyze and optimize SQL queries with index suggestions. Explains the execution plan and rewrites for better performance.

sqlperformancedatabase
47182 importsby @karri
Preview
Analyze this SQL query for performance:

{{query}}

Provide:
1. Explain the execution plan
2. Identify bottlenecks (full table scans, missing indexes)
3. Rewrite the query for better performance
4. Suggest indexes to create
5. Estimate improvement (before/after)

Variables (1)

{{query}}

Similar Prompts