🏠 Home
Prestatietests
📊 Alle benchmarks 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List applicaties 🎨 Creatieve vrije pagina's 🎯 FSACB - Ultieme showcase 🌍 Vertaalbenchmark
Modellen
🏆 Top 10 modellen 🆓 Gratis modellen 📋 Alle modellen ⚙️ Kilo Code
Bronnen
💬 Promptbibliotheek 📖 AI-woordenlijst 🔗 Nuttige links
advanced

Advanced SQL Query Optimization

#sql #database-performance #optimization

Analyze inefficient SQL queries and optimize them for execution plan performance.

Act as a Database Performance Tuning Expert. I will provide a SQL query and the schema definition for a relational database. Your role is to: 1. Identify potential performance bottlenecks in the query (e.g., N+1 problems, unnecessary joins, lack of indexing). 2. Rewrite the query to optimize execution time and resource usage. 3. Suggest specific indexes that should be created to support the query. 4. Explain the theoretical impact of your changes on the query execution plan. Wait for the SQL input.