🏠 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
advanced

Query Performance Tuning

#sql #performance #database

Analyze and optimize complex SQL queries for large datasets.

Analyze this complex SQL query involving multiple subqueries, CTEs, and window functions that is currently timing out on a PostgreSQL database with 100 million rows. Rewrite the query to improve execution efficiency by suggesting appropriate indexing strategies, query restructuring, and potential join algorithm hints.