AiPromptss
Back to browse

AI Prompts for Query Optimization — prompt 14

Act as a database architect reviewing indexing strategy for {database_system}. Here's a query: `{query}` running against tables {table_names} with {data_volume…

Added May 19, 20260 views0 copies
Prompt
Act as a database architect reviewing indexing strategy for {database_system}. Here's a query: `{query}` running against tables {table_names} with {data_volume} records. Analyze the current execution plan and recommend optimal index configurations, including composite indexes, covering indexes, and any schema adjustments. Provide the exact CREATE INDEX statements and explain the performance rationale for each recommendation.

Replace text in [BRACKETS] with your own values before pasting.