🏠 首页
基准测试
📊 所有基准测试 🦖 恐龙 v1 🦖 恐龙 v2 ✅ 待办事项应用 🎨 创意自由页面 🎯 FSACB - 终极展示 🌍 翻译基准测试
模型
🏆 前 10 名模型 🆓 免费模型 📋 所有模型 ⚙️ 🛠️ 千行代码模式
资源
💬 💬 提示库 📖 📖 AI 词汇表 🔗 🔗 有用链接
Advanced

SQL Query Performance Tuning

#database #sql #performance

Optimize a highly inefficient SQL query by analyzing execution plans and indexing strategies.

Given a provided schema definition and a slow, complex SQL query involving multiple joins and subqueries, analyze the potential bottlenecks. Rewrite the query to improve performance. Explain the specific execution plan changes you expect, recommend necessary indexing strategies to support the new query, and discuss the trade-offs of your suggested approach regarding write performance vs. read speed.