Tune SQL Server in minutes, not weekends.
Point AI SQL Tuner Studio at a database and get prioritized reports of index, query and server fixes, each with ready-to-run scripts you review before anything changes.
Free Edition needs no credit card. Get it from the Microsoft Store or by direct download, for Windows 10/11 and Windows Server. Watch the 2-minute tour.
- Table data never sent to the AI model
- Least-privileged login
- Open-source index engine (MIT)
A real Index Tuning report from a demo forum database. Open sample reports
Published benchmark
78% fewer logical reads, where SQL Server's own suggestions found 1%.
On a Stack Overflow OLTP workload, Studio's Index Tuning advice cut read logical reads by 78% and total execution time by 38%. Creating every missing-index suggestion as given cut them by 1% and 13.9%.
Mean of 5 trials, GPT-5.6 Luna at medium reasoning, SQL Server 2025 Enterprise Developer Edition. Method, noise floors and every result are public.
Reduction in read logical reads
Reduction in total execution time
Index Tuning · updated for SQL Server 2025
Tune every index in a database, not just the missing ones.
One run reads index usage, overlaps, Query Store, the plan cache and statistics, then ranks what to change and why. You get the script for each change and decide what runs.
Create
New rowstore and columnstore indexes, with key order and included columns checked against what already exists.
Consolidate
Widen one index or merge overlapping ones in place of adding another.
Drop
Duplicate and unused indexes, with what depends on each index shown before a drop is suggested.
Filtered indexes
Skewed, low-cardinality columns found from statistics histograms, even when SQL Server suggests nothing.
Query rewrites
Non-SARGable predicates such as YEAR(column) and implicit conversions, read from the plans of your top statements.
Statistics and rebuilds
Stale statistics, low page density and heaps with forwarded records.
Constraints
Untrusted foreign key and check constraints that hold the optimizer back.
SQL Server 2025 settings
Optional parameter plan optimization, DOP feedback and cardinality estimation feedback.
Six tuning goals, one workspace
Pick the goal that matches the problem in front of you.
Index Tuning
Find every missing, duplicate and unused index across a database, with the impact data to show each change is worth making.
- Storage each change adds or frees
- What depends on an index before a drop
- Filtered-index and columnstore candidates
Query Tuner
Paste one slow query into the AI SQL query optimizer and get execution-plan analysis, index recommendations and rewrite suggestions.
- Operator-level cost breakdown
- Index scripts with estimated size
- Before and after rewrite examples
Server Health Check
See what is working well, what is at risk and what to fix first across the whole server.
- What is working well
- What is at risk
- What to fix first
Enterprise: the comprehensive health check adds the deeper analyses your server needs and combines them into one plain-language plan.
Code Review
Review stored procedures, functions, views and triggers against performance and transaction best practices.
- Stored procedures and functions
- Views and triggers
- Actionable refactoring guidance
Fix Deadlocks
Find what is causing your deadlocks and get rewritten code that prevents them.
- The cause of each deadlock
- Rewritten code that prevents it
Locking and Blocking
Investigate active blocking and locking to find the root cause and its impact.
- Root cause of active blocking
- Fixes and their impact
How it works
Connect securely
Use a least-privileged SQL login, with Windows or SQL authentication. No agents to install.
Pick a goal
Choose from six goals, from a single slow query to a full server health check.
Get prioritized fixes
Receive an HTML report with ranked findings and ready-to-run scripts, in about a minute.
Check the work yourself
Full sample reports
Read complete reports for each tuning goal before you install anything.
Browse sample reportsA public benchmark
16 known tuning problems and three workloads, 5 trials each, with the method, noise floors and every result published.
Read the benchmarkAn open-source engine
The Index Tuning prompt and collectors are on GitHub under the MIT license.
View on GitHub
Built by Kevin A. Feit, working with SQL Server since 1990.
Editions
Every edition includes all six tuning goals and works with SQL Server, Azure SQL Database, Azure SQL Managed Instance and Fabric SQL Database.
Free
- 10 analyses per month
- 1 server connection
- GPT-5.6 Luna
- Low or Medium reasoning
- No credit card
Pro
- 50 analyses per month
- Up to 2 server connections
- GPT-5.6 Luna
- All reasoning levels
- Bring your own AI endpoint
Team Most popular
- 150 analyses per month
- Up to 2 server connections
- Adds GPT-6.2 Sol for deeper reasoning
- All reasoning levels
- Bring your own AI endpoint
Enterprise
- 400 analyses per month
- Unlimited server connections
- Comprehensive health check New
- GPT-5.6 Luna and GPT-6.2 Sol
- All reasoning levels
- Bring your own AI endpoint
The 14-day trial of a paid edition requires a credit card. Monthly analyses reset on the day your subscription started. Models are hosted on Microsoft Foundry; paid editions can bring their own AI endpoint.
Frequently asked questions
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). Table data and query results are never sent, and your analyses are not kept unless you choose to share them. Paid editions can use a bring-your-own endpoint.
What permissions does it need on my SQL Server?
A least-privileged SQL login is enough. See Least Privileged Account For AI SQL Tuner Studio: 3 Secure Steps.
Which database platforms are supported?
SQL Server (on-premises and IaaS), Azure SQL Database, Azure SQL Managed Instance and Fabric SQL Database, on every edition including Free.
Which AI models does it use?
GPT-5.6 Luna in every edition, plus GPT-6.2 Sol in Team and Enterprise, hosted on Microsoft Foundry. Both were chosen from our benchmark results. Paid editions can use their own endpoint.
How is Studio different from the open-source index tuner?
The open-source tool is a stored procedure for SQL Server 2025 that needs your own Azure OpenAI endpoint. Studio adds five more tuning goals, HTML reports, hosted models and support for SQL Server 2022 and earlier.
Run your first analysis in minutes.
The Free Edition needs no credit card and includes all six tuning goals.
Or book a 30-minute live demo · Have me tune it for you: fixed-price assessment