🏠 Trang chủ
Benchmark
📊 Tất cả benchmark 🦖 Khủng long v1 🦖 Khủng long v2 ✅ Ứng dụng To-Do List 🎨 Trang tự do sáng tạo 🎯 FSACB - Trình diễn cuối cùng 🌍 Benchmark dịch thuật
Mô hình
🏆 Top 10 mô hình 🆓 Mô hình miễn phí 📋 Tất cả mô hình ⚙️ Kilo Code
Tài nguyên
💬 Thư viện prompt 📖 Thuật ngữ AI 🔗 Liên kết hữu ích
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.