advanced
Analyze and Optimize SQL Execution Plan
Interpret a complex SQL execution plan and propose optimizations.
📝 Prompt-Inhalt
Analyze a provided execution plan for a complex SQL query involving multiple joins, subqueries, and window functions. Identify the most expensive operations in the plan, such as full table scans or hash joins that could be optimized. Propose specific indexing strategies to improve the query performance and suggest query rewrites to minimize the data processed during execution.