Back to browse
AI Prompts for Query Optimization — prompt 13
You are a database performance expert analyzing a slow query. Given this {database_system} query that currently takes {execution_time} to execute: `{query}`. T…
Added May 19, 20260 views0 copies
Prompt
You are a database performance expert analyzing a slow query. Given this {database_system} query that currently takes {execution_time} to execute: `{query}`. The query involves {table_names} with approximately {data_volume} records each. Analyze the query structure and provide 3-5 specific optimization recommendations ranked by impact, including rewritten query examples and expected performance improvements.Replace text in [BRACKETS] with your own values before pasting.