VIP 👤
🏠 Home
Benchmark Hub
📊 All Benchmarks 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List Applications 🎨 Creative Free Pages 🎯 FSACB - Ultimate Showcase 🌍 Translation Benchmark
Models
🏆 Top 10 Models 🆓 Free Models 📋 All Models ⚙️ Kilo Code
Resources
💬 Prompts Library 📖 AI Glossary 🔗 Useful Links 🔌 API & Routers
Advanced

SQL Query Optimization Plan

#sql #performance #database #optimization

Outline a strategy for optimizing a slow-performing SQL query.

Act as a senior database administrator. I have a SQL query joining five tables that is running slowly. Outline a step-by-step diagnostic strategy to identify the bottleneck. List specific commands or methods (like EXPLAIN) to use and common optimizations to check for, such as indexing or join order.