VIP 👤
🏠 Главная
Бенчмарки
📊 Все бенчмарки 🦖 Динозавр v1 🦖 Динозавр v2 ✅ Приложения To-Do List 🎨 Творческие свободные страницы 🎯 FSACB - Ультимативный показ 🌍 Бенчмарк перевода
Модели
🏆 Топ-10 моделей 🆓 Бесплатные модели 📋 Все модели ⚙️ Режимы Kilo Code
Ресурсы
💬 Библиотека промптов 📖 Глоссарий ИИ 🔗 Полезные ссылки 🔌 API и маршрутизаторы
Expert

SQL Query Performance Optimizer

#sql #database #optimization

Reviews complex SQL queries for performance bottlenecks and suggests execution plan improvements.

Review the provided SQL query. Assume a standard relational database schema with millions of rows in the referenced tables. Analyze the query for potential full table scans, inefficient joins, and suboptimal use of CTEs or subqueries. Rewrite the query to optimize performance. Provide a line-by-line explanation of why your changes improve the execution plan, suggesting specific indexes that would further boost performance.