Tune SQL Server in minutes,
not weekends.
Analyze execution plans, indexes, deadlocks, code quality, and server health. Get prioritized, ready-to-run fixes in minutes. Powered by GPT-5.6 Luna and GPT-6 Sol on Microsoft Foundry.
Windows 10/11 · SQL Server, Azure SQL Database, Azure SQL Managed Instance & Fabric SQL Database
Everything you need to tune SQL Server
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.
Query Tuner
Paste any SQL query. Get prioritized execution-plan analysis, index recommendations with DDL, and rewrite suggestions with before/after examples.
Index Tuning
Find every missing, duplicate, and unused index across your databases, with the impact data to prove each one is worth fixing and the storage each change adds or frees.
Server Health
Evaluate your SQL Server's health so you know what's working well, what's at risk, and what to fix first. Run a fast SQL Server health check to get a prioritized, AI-powered report in minutes.
Database Code Review
Review your stored procedures, functions, views and triggers against best practices for performance and transaction management. Get actionable refactor guidance.
Deadlock Analysis
Find what is causing your deadlocks, and get rewritten code that prevents them.
Blocking and Locking Analysis
Investigate any active blocking and locking to determine their root cause. Identify fixes and their impact.
Fix one slow query, fast.
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.
- Execution-plan analysis: operator-level cost breakdown, plus warnings for TempDB spills, implicit conversions, and missing statistics.
- Index recommendations: ready-to-run DDL scripts you can review and deploy, with the estimated size of each index.
- Query rewrites: before/after examples, not vague advice.
- Statistics & parameter-sniffing: concrete mitigation strategies.
- Reasoning effort control: Low, Medium, or High to trade depth for speed. Medium is the default.
- Least-privileged setup: runs against a least-privileged SQL login. 3 secure steps to configure it.
Plays inline. Clicking loads the YouTube player from youtube-nocookie.com.
Two models, chosen by benchmark
We picked our models by running real Index Tuning, Query Tuner and Code Review workloads against every candidate and measuring what the advice actually did. See the benchmark results. Models are hosted on Azure using Microsoft Foundry. Pro, Team and Enterprise can bring their own Foundry endpoint with our 5-step setup guide.
| Model | Availability | Best for |
|---|---|---|
| OpenAI GPT-5.6 Luna | All editions | The default. Fast, dependable tuning across every goal, with reports in about a minute. |
| OpenAI GPT-6 Sol | Team & Enterprise | Premium reasoning for complex workloads, when you want a second, deeper opinion. |
How it works
Three steps. No agents to install. No log shipping.
Connect securely
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.
Pick a goal
Choose your tuning goal and run it.
Six built-in goals, from a single slow query to a full server health check.
Get prioritized fixes
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.
Editions
Four editions, and every one works with SQL Server, Azure SQL Database, Azure SQL Managed Instance and Fabric SQL Database. They differ in monthly analyses, server connections and models. Free Edition needs no credit card. The 14-day trial of any paid edition requires a credit card.
Free
Every tuning goal, on any SQL Server.
- 10 analyses per month
- Unlimited server connections
- All tuning goals
- GPT-5.6 Luna
- Low or Medium reasoning
- No credit card required
Pro
For DBAs and developers tuning regularly.
- 50 analyses per month
- Up to 2 server connections
- All tuning goals
- GPT-5.6 Luna
- All reasoning levels, including High
- Bring your own AI endpoint
- 14-day trial (credit card)
Team Most popular
Adds the premium GPT-6 Sol model.
- 150 analyses per month
- Up to 2 server connections
- All tuning goals
- GPT-5.6 Luna & GPT-6 Sol
- All reasoning levels, including High
- Bring your own AI endpoint
- 14-day trial (credit card)
Enterprise Unlimited connections
For large SQL estates, with unlimited connections.
- 400 analyses per month
- Unlimited server connections
- All tuning goals
- GPT-5.6 Luna & GPT-6 Sol
- All reasoning levels, including High
- Bring your own AI endpoint
- 14-day trial (credit card)
All editions support SQL Server, Azure SQL Database, Azure SQL Managed Instance, and Fabric SQL Database. Monthly analyses reset on the day your subscription started. Models are hosted on Microsoft Foundry; Pro, Team and Enterprise can bring your own AI endpoint if you prefer.
Built by a 30-year SQL Server veteran.
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.
Frequently asked questions
What is AI SQL Tuner Studio?
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.
What does the Query Tuner feature do?
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.
Which AI models are supported, and where are they hosted?
OpenAI GPT-5.6 Luna is available on every edition and is the default. OpenAI GPT-6 Sol is included with the Team and Enterprise editions. Both were chosen from our benchmark results. All models are hosted on Azure using Microsoft Foundry. On Pro, Team and Enterprise you can also bring your own Azure OpenAI endpoint; see Configure Your Azure OpenAI Endpoint: 5 Easy Steps.
Which database platforms does it support?
Microsoft SQL Server (on-prem and IaaS), Azure SQL Database, Azure SQL Managed Instance, and Microsoft Fabric SQL Database, on every edition including Free.
What are the editions and pricing?
Four editions, three paid, and all of them support every SQL Server platform. Free: $0, 10 analyses per month, unlimited connections, GPT-5.6 Luna, no credit card. Pro: $10/month, 50 analyses per month, up to 2 connections, GPT-5.6 Luna. Team: $15/month, 150 analyses per month, up to 2 connections, adds GPT-6 Sol. Enterprise: $20/month, 400 analyses per month, unlimited connections, GPT-5.6 Luna and GPT-6 Sol. Paid editions include High reasoning effort, the option to bring your own AI endpoint, and a 14-day trial; the trial requires a credit card.
What permissions does it require on my SQL Server?
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.
Is my data sent anywhere?
AI SQL Tuner Studio runs on your Windows workstation and connects directly to your database. Before each run, it shows you exactly what it will collect. Targeted metadata and execution-plan content are then sent to the chosen AI model, hosted on Azure (Microsoft Foundry); your traffic stays inside the Azure trust boundary. Table data and query results are never sent, and your analyses are not kept unless you choose to share them. If you'd rather use your own deployment, Pro, Team and Enterprise can configure a bring-your-own endpoint.
Ready to optimize your SQL Server performance?
Run your first analysis in minutes. Download the Free Edition with no credit card required, or start a 14-day trial of any paid edition.