Microsoft announced preview of AI-assisted query performance tuning in SSMS GitHub Copilot Agent mode on November 25, 2026. The experience analyzes a query and execution plan, then suggests potential improvements for review. Microsoft announcement.
My proposed pilot would use a development or test database and one representative query. Agree on the expected result and baseline measurements before evaluating any suggested change.
Confirm the Preview Setup
Microsoft lists SSMS 22.12.1 or later, the AI Assistance workload, Copilot Agent mode access, and SQL tools MCP preview features among the prerequisites. Setup requirements.
Record the SSMS version, database environment, and the owner responsible for the test. Use representative approved data and document the query's expected output.
Separate Estimates from Observations
Microsoft says the agent analyzes an estimated execution plan by default and asks permission before a step that runs the query to collect actual runtime information. The preview analyzes one query at a time. Preview behavior.
I would retain the baseline duration, CPU, logical reads, plan, and test conditions. Compare any proposed rewrite against the same conditions and verify that it returns the correct result.
Review Index and Hint Trade-offs
Microsoft notes that additional indexes consume storage and can slow writes. Recommendation considerations.
Have the database owner review the proposed change and its effect on the wider workload. Record the expected benefit, measured result, deployment owner, and recovery procedure before using the established change process.
Practical Cloud Engineer Takeaway
Use a development or test database with approved data.
Capture baseline metrics and the expected query result.
Review proposed SQL and distinguish estimated from actual evidence.
Measure read improvements alongside write and storage costs.
Who Should Care?
Azure SQL developers, database administrators, and engineers investigating query performance with SSMS.
Bottom Line
The preview can help structure a query investigation. The adoption decision still needs a correct result, measured performance, and an owner-reviewed change plan.
No query, database, index, SSMS setting, or Azure resource was changed for this article.
Sources
Stay radical, stay curious, and keep pushing the boundaries of what is possible in the cloud.
Chriz
Beyond Cloud with Chriz
Comments