r/SQLServer • ‪ ‪Microsoft Employee ‪ • 2d ago

Community Share Trying Database Agents with Azure SQL Database

When an Azure SQL Database issue shows up, Database Agents in Fabric Database Hub can help investigate supported performance conditions and show the evidence and guidance behind the issue. Azure SQL Database support includes Hyperscale and serverless.

Database Hub also brings together a wider SQL estate, including SQL Server on Azure VMs and SQL Server enabled by Azure Arc. Agent support is narrower than the Hub’s overall coverage.

If you try it, I’d be interested in hearing about an issue you investigated. Did the evidence help you understand what was happening? What would you want to see next?

7 Upvotes

3 comments sorted by

1

u/ei7024 2d ago

I would more interested in the cost aspect.

1

u/Simple_Brilliant_491 2d ago edited 2d ago

Hi Patrick, thanks for all the awesome Guy In a Cube videos!

Agents looks interesting and I'd love to give it a try, but I don't have any databases that meet the limitation "The database must be in the supported region associated with the Fabric tenant home region."

A couple of suggestions for the Database Hub overall:

  1. On the Estate tab, the name column only shows the database name for Azure SQL and Fabric SQL databases. But that is not unique across the estate since you will commonly have Dev, Test and Prod (or more) environments with the same database name. The server name for Azure SQL databases and the workspace name for Fabric should also be shown. The same issue exists when you click "Review n warnings" from the Suggestions tab of the Overview.
  2. Some of the "findings" may be things you have done intentionally, for example "Customer-managed keys not enabled" or "Optimize your cost with PAYG license" for a SQL VM using Azure Hybrid Benefit. There should be a way to dismiss recommendations you not interested in, similar to the "Approve it as a baseline" option is the SQL Vulnerability Assessment, see https://learn.microsoft.com/en-us/azure/defender-for-cloud/sql-azure-vulnerability-assessment-find?tabs=server%2Cdatabase-level#ways-to-remediate-a-finding .

1

u/Discordbothost 2d ago

For a lock-wait incident, I'd want to see which session started the blocking chain and how long its transaction had been open. A list of the slowest queries can send you chasing the ones stuck waiting.