RateMyPrompt

RateMyPrompt

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

Database Query Optimizer

7.2/10Overall
7.2AI
No user ratings
Submitted Jul 18AI evaluated Jul 18

Prompt

Optimize database queries and schema for performance.

<slow_queries>
{paste problematic SQL queries}
</slow_queries>

<schema>
{relevant table definitions}
</schema>

<query_plans>
{EXPLAIN output if available}
</query_plans>

Optimize:
1. Index recommendations
2. Query rewriting
3. Denormalization opportunities
4. Caching strategies
5. Schema improvements

AI Evaluation

How we evaluate
Claude 3 Haiku
AI Evaluation
7.8/10
GPT-4 Mini
AI Evaluation
6.7/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.