Query Tuner
Paste any SQL query. Get prioritized execution-plan analysis, index recommendations with DDL, and rewrite suggestions with before/after examples.
Analyze execution plans, indexes, deadlocks, code quality, and server health. Get prioritized, ready-to-run fixes in minutes. Powered by GPT-5.4 and Claude on Microsoft Foundry.
Windows 10/11 · SQL Server, Azure SQL Database, Azure SQL Managed Instance & Fabric SQL Database
Six focused tuning goals, one workspace. Pick the goal that matches your problem: Query Tuner for a specific slow query, Index Tuning for database-wide gains, and more.
Paste any SQL query. Get prioritized execution-plan analysis, index recommendations with DDL, and rewrite suggestions with before/after examples.
Find every missing, duplicate, and unused index across your databases, with the impact data to prove each one is worth fixing.
Evaluate your SQL Server's health so you know what's working well, what's at risk, and what to fix first.
Review your stored procedures, functions, views and triggers against best practices for performance and transaction management. Get actionable refactor guidance.
Find what is causing your deadlocks and how to fix them.
Investigate any active blocking and locking to determine their root cause. Identify fixes and their impact.
Query Tuner analyzes any individual SQL query you provide. It pulls the estimated execution plan, identifies every referenced table, and gathers targeted metadata. Then it feeds everything to an AI reasoning model and returns a prioritized HTML report.
Plays inline. Clicking loads the YouTube player from youtube-nocookie.com.
Switch models per analysis. Models are hosted on Azure using Microsoft Foundry; your data stays inside the Azure trust boundary. Prefer your own deployment? Bring your own Foundry endpoint with our 5-step setup guide.
| Model | Availability | Best for |
|---|---|---|
| OpenAI GPT-5.4 | All editions | General-purpose reasoning across all tuning goals. |
| Anthropic Claude Sonnet 4.6 | All editions | Strong everyday tuning with a faster response. |
| Anthropic Claude Opus 4.6 | Corporate only | Proven deep analysis for tough queries — a dependable heavy-duty option. |
| Anthropic Claude Opus 4.7 | Corporate only | Extended reasoning for complex, multi-table workloads. |
| Anthropic Claude Opus 4.8 | Corporate only | Anthropic's newest Opus — the deepest reasoning available in AI SQL Tuner Studio. |
Three steps. No agents to install. No log shipping.
Point at your database with a least-privileged SQL login.
SQL Server, Azure SQL Database, Managed Instance, and Fabric SQL Database. Windows or SQL authentication.
Choose your tuning goal and run it.
Six built-in goals — from a single slow query to a full server health check.
Receive a prioritized HTML report (opens in a new tab) you can act on immediately.
Includes execution-plan analysis, ready-to-run DDL scripts, and query rewrites.
Four editions: one free for SQL Server Developer Edition, three paid editions for production. Free Edition needs no credit card. The 14-day trial of any paid edition requires a credit card.
For SQL Server Developer Edition.
SQL Server Standard Edition and Managed Instance General Purpose, Azure and Fabric SQL DBs.
All Editions, including SQL Server Enterprise Edition and Managed Instance Business Critical.
All Editions, Unlimited Connections.
All paid editions support SQL Server, Azure SQL Database, Azure SQL Managed Instance, and Fabric SQL Database. Models are hosted on Microsoft Foundry; bring your own AI endpoint if you prefer.
AI SQL Tuner Studio is built by Kevin A. Feit, founder and CEO of AI SQL Tuner LLC. Kevin has worked with SQL Server since 1990 across database administration, application development, data engineering, and business intelligence for Fortune 500 companies, non-profits, and SMBs.
AI SQL Tuner Studio is a Windows desktop tool that uses AI to analyze SQL Server, Azure SQL Database, Azure SQL Managed Instance, and Fabric SQL Database. It finds slow queries, missing indexes, deadlocks, code-quality issues, and server-health problems, and returns prioritized fixes in minutes.
Query Tuner analyzes any individual SQL query you paste in. It retrieves the estimated execution plan, identifies every referenced table, collects targeted metadata, and produces a prioritized HTML report with execution-plan analysis, index recommendations with ready-to-run DDL, query-rewrite suggestions with before/after examples, and parameter-sniffing mitigation strategies.
OpenAI GPT-5.4 and Anthropic Claude Sonnet 4.6 are available on every edition. Anthropic Claude Opus 4.6, Opus 4.7 and Opus 4.8 are included exclusively with the Corporate edition. All models are hosted on Azure using Microsoft Foundry. You can also bring your own Azure OpenAI endpoint; see Configure Your Azure OpenAI Endpoint: 5 Easy Steps.
Microsoft SQL Server (on-prem and IaaS), Azure SQL Database, Azure SQL Managed Instance, and Microsoft Fabric SQL Database.
Four editions, three paid. Free: $0, SQL Server Developer Edition, no credit card. Standard: $125/yr, up to 2 connections, SQL Server Standard. Pro: $250/yr, up to 2 connections, SQL Server Enterprise. Corporate: $600/yr, unlimited connections, includes Claude Opus 4.6, 4.7 and 4.8. Paid editions include a 14-day trial; the trial requires a credit card.
AI SQL Tuner Studio runs against a least-privileged SQL login. It's a 3-step setup — see Least Privileged Account For AI SQL Tuner Studio: 3 Secure Steps.
AI SQL Tuner Studio runs on your Windows workstation and connects directly to your database. Targeted metadata and execution-plan content are sent to the chosen AI model, which is hosted on Azure (Microsoft Foundry); your traffic stays inside the Azure trust boundary. If you'd rather use your own deployment, configure a bring-your-own endpoint.
Run your first analysis in minutes. Download the Free Edition — no credit card required — or start a 14-day trial of any paid edition.
© 2026 AI SQL Tuner LLC · AI-Powered SQL Server Optimization. All rights reserved.