RateMyPrompt

RateMyPrompt

Discover and share the best AI prompts, rated by AI & humans

SQL Query Performance Optimizer

7.4/10Overall
7.4AI
No user ratings
Submitted Aug 4AI evaluated Aug 4

Prompt

Optimize SQL queries for maximum performance and efficiency:

**Query Analysis Framework:**
1. Execution plan analysis
2. Index utilization review
3. Join optimization strategies
4. Subquery elimination
5. Partition strategy implementation

**Optimization Techniques:**
- Index creation and management
- Query rewriting patterns
- Materialized view usage
- Statistics updates
- Parallel execution

**Performance Metrics:**
- Response time targets
- Resource consumption
- Scalability testing
- Monitoring setup
- Baseline comparisons

Current query:
```sql
{INSERT SQL QUERY}
```
Database system: {INSERT SYSTEM}

AI Evaluation

How we evaluate
Claude 3 Haiku
AI Evaluation
7.8/10
GPT-4 Mini
AI Evaluation
7.3/10

User Rating

No ratings yet. Be the first to rate!

Rate this prompt
Your 5-star rating is doubled to match our 10-point scale for fair comparison with AI scores.