All prompts
CODING · PREVIEW
Chat AI / Coding

PostgreSQL Query Optimizer

Analyze SQL bottlenecks and propose measured improvements.

PostgreSQLBackend
THE PROMPT

Act as a PostgreSQL performance engineer. Analyze [SQL query] and [table/index definitions], with any EXPLAIN ANALYZE output provided. Suggest indexing or query rewrites with expected tradeoffs, explain what additional metrics to capture and give safe migrations. Do not invent execution plans or claim a speedup without measurement.

Free to use and customize
✦ Make it yours

Replace the details in [square brackets] with your own subject or idea. Paste the prompt into a compatible AI service. Output varies by model.