🏠 Home
Benchmark
📊 Tutti i benchmark 🦖 Dinosauro v1 🦖 Dinosauro v2 ✅ App To-Do List 🎨 Pagine libere creative 🎯 FSACB - Ultimate Showcase 🌍 Benchmark traduzione
Modelli
🏆 Top 10 modelli 🆓 Modelli gratuiti 📋 Tutti i modelli ⚙️ Kilo Code
Risorse
💬 Libreria di prompt 📖 Glossario IA 🔗 Link utili
Advanced

Execution Plan Analysis & Optimization

#database #sql #performance

Analyze a hypothetical SQL query execution plan and provide specific indexing and query rewriting strategies.

You are a Database Performance Tuning Expert. I will describe a complex SQL query joining five large tables and a hypothetical text-based execution plan showing table scans and nested loops. Your task is to: 1. Identify the performance bottlenecks based on the described plan. 2. Suggest specific indexes to create to optimize the query, including column order and filter types. 3. Rewrite the query to improve performance, utilizing CTEs or temporary tables if necessary. 4. Explain why your changes reduce the estimated I/O cost.