Skip to main content
claudecodingadvancedrising

SQL Query Optimizer

Analyzes SQL for bottlenecks, proposes rewrite options and indexes, and explains how to verify with EXPLAIN.

Fill variables

Live preview

Tips

  • Include row counts and EXPLAIN output if available.
  • Ask whether reads can tolerate slight staleness.
  • Request a covering-index vs rewrite comparison.

Use cases

  • Slow dashboard queries
  • Report generation jobs
  • Migration prep

Related prompts

Browse more free templates in the trending AI prompts library. Prompts do not guarantee rankings or virality.