THR882 · Theater
Stop tuning databases, start optimizing with AI
Speakers: Brian Holt
Microsoft’s player cannot open a video at a given time: once it plays, skip to the time shown.
What the session covers
Brian Holt, principal technical PM for Azure Postgres, presents database agent, which is in limited public preview and free during the preview. It runs proactive health checks and reactive investigations using Azure Monitor metrics, logs, query statistics, configuration, deployments and internal Azure data. Three demos in the VS Code PostgreSQL extension show a missing-index fix, a connection-exhaustion incident turned into a GitHub issue and a GitHub Copilot PR, and questioning the agent's reasoning through its MCP server. The session ends with opt-in auto-remediation that uses deterministic playbooks written by Microsoft engineers. Holt says GitHub issue filing and auto-remediation are coming soon and are not ready yet.
Best for: Best for DBAs, SREs and developers who run Azure Database for PostgreSQL and want to see AI-assisted incident diagnosis tied to GitHub Copilot and MCP.
New material starts at 02:44. The speaker intro and the 2 AM on-call problem end there, and the announcement of database agent and its capabilities begins.
Where to skip: Skip to 02:44 for the capability overview. The core is the GitHub issue and GitHub Copilot PR demo at 11:25, the MCP-based interrogation at 16:06 and auto-remediation at 21:44. You can skim the index demo at 06:22 and the recap at 19:47.
Chapters (8)
- 00:01 Recap Depth 100 · Novelty 0/3
Speaker intro and the 2 AM on-call problem: evidence gathering as the bottleneck
Brian Holt, principal technical PM on Azure Postgres, introduces the session on database agent, which he will show in Visual Studio Code (also possible through the website), with three short demos. He describes a 2:07 AM page for timing-out requests and argues that the first phase of incident response, collecting logs, metrics, active queries and deploys and pasting them into Copilot, is a repetitive, bounded problem that an agent watching the database could do continuously.
- 02:44 New Depth 200 · Novelty 3/3
Database agent: proactive health checks, reactive investigations and recommendations
The goal is to let on-call engineers skip evidence gathering and go straight to decisions; the agent collects evidence while humans keep all judgment. Database agent is in limited public preview, free during the preview with charging planned later, and runs proactive health checks plus reactive investigations (out of memory, dropped connections, pinned CPU, hanging transactions). It uses Azure Monitor metrics, database logs, query statistics, configuration, recent deployments, known failure patterns and internal Azure logs customers cannot access, and follows a detect-investigate-explain-recommend pattern whose outcome can be a recommended fix, further investigation or a GitHub issue. It works for Azure Database for PostgreSQL and the upcoming Fabric Postgres, exists for SQL Server, and is coming soon for Horizon DB.
- 06:22 Demo Depth 200 · Novelty 2/3
Demo 1: VS Code PostgreSQL extension, performance dashboard and a missing-index fix
Holt installs the PostgreSQL extension from the VS Code marketplace, which works with any Postgres (any cloud or local) and bundles database agent, and connects via Azure browsing, connection strings, IAM or a local container. The performance dashboard shows CPU spikes; the database agent issue shows the timeline, detections, expected outcomes and a recommended action to create a missing index concurrently. He can ask Copilot why the fix is safe, open the query in the editor and run it; the issue was caught before anyone was paged. The agent is designed to be useful under zero trust because DBAs want to make the call themselves.
- 11:25 Demo Depth 300 · Novelty 2/3
Demo 2: hanging transaction, filing a GitHub issue and assigning it to GitHub Copilot
The incident is long-lived sessions exhausting connections; killing queries brings relief but not a durable fix. Database agent does not connect to the database and will not run fixes itself, so for manual-intervention cases he uses the File GitHub issues button, which opens GitHub Copilot, calls the database agent MCP server and drafts a detailed issue against a chosen repository. He then assigns the issue to GitHub Copilot to get a PR that updates ARM, Bicep or Terraform; in his own repos Copilot auto-picks issues filed by database agent. Azure DevOps support is coming soon.
- 16:06 Demo Depth 300 · Novelty 2/3
Multiple fixes per incident and interrogating the agent via MCP server and Ask Copilot
One incident often needs several fixes: kill the bad query now, fix the code later, and possibly raise the database SKU; database agent supports multiple fixes per issue (2 AM, 8 AM, next week). Holt then reviews the PR and uses the sparkles button and Ask Copilot about this section, which sends a long tuned prompt to GitHub Copilot that pulls the full investigation context through the database agent MCP server. This lets users question the metrics and reasoning, request alternative solutions and change course instead of trusting the agent blindly.
- 19:47 Deep dive Depth 200 · Novelty 2/3
End-to-end value chain recap and the database agent MCP server in any harness
Holt recaps the flow: detection at 2 AM before paging, investigation using metrics, logs, query store and internal Microsoft data, one-click actions such as killing a query, filing an issue, and an auto-assigned GitHub Copilot PR waiting at 8 AM. The MCP server shipped with Visual Studio Code today, and it will be usable in any MCP-capable harness, including the Copilot app for postmortems in Word documents and other chat or coding harnesses.
- 21:44 New Depth 300 · Novelty 3/3
Opt-in auto-remediation via Microsoft-authored deterministic playbooks
For a class of low-impact issues such as autovacuum, users can opt in to auto-remediation, where the agent applies the fix immediately or at a quieter time. Fixes are not proposed by the agent but executed via deterministic playbooks written by Microsoft engineers; there are no automatic restarts, and actions are verified and always logged for audit. Microsoft has tested 31 real failure scenarios and playbooks and has identified about 150 it wants to build; without a matching signature the agent only provides evidence and an issue, since it has no direct database access.
- 24:19 Closing Depth 100 · Novelty 1/3
Closing: sign up for the free limited public preview; GitHub issues and auto-remediation pending
Holt invites attendees to sign up for database agent, free during the limited public preview, and notes he is the product manager. He clarifies that filing issues to GitHub and automated remediation are coming soon and not ready yet.
Announcements (9)
-
Database agent
AI agent that continuously monitors databases, investigates incidents, explains root causes with evidence and proposes recommended actions.
Free during the limited public preview; charging planned later
Speaker’s quote (at 03:12)
„I will have a QR code at the end as well where you can apply to be in the limited public preview.“
-
Database agent for Horizon DB
Extension of database agent support to Horizon DB.
Speaker’s quote (at 04:34)
„We also have this for SQL Server as well. It is coming soon for Horizon DB.“
-
Database agent for Fabric Postgres
Database agent support for the upcoming Fabric Postgres offering.
Speaker’s quote (at 04:34)
„So this will work for Azure Database Postgres as well as will work for the upcoming Fabric Postgres as well.“
-
Database agent: File GitHub issues
Uses GitHub Copilot and the database agent MCP server to draft a detailed GitHub issue from an investigation for durable fixes.
-
Database agent: Azure DevOps issue integration
Filing database agent issues into Azure DevOps in addition to GitHub.
Speaker’s quote (at 13:40)
„Now, today this is just for GitHub issues. Obviously we'll be launching with Azure DevOps quite soon as well.“
-
Database agent: multiple fixes per issue
Allows several staged fixes for one incident, such as an immediate fix, a code fix and a longer-term change.
Speaker’s quote (at 16:37)
„That's why with the database agent, we allowed you to do multiple fixes on any one of these things.“
-
Database agent MCP server in Visual Studio Code
MCP server that lets Copilot pull full database agent investigations into VS Code.
Speaker’s quote (at 20:43)
„So we shipped the MCP server with Visual Studio Code today.“
-
Database agent MCP server in any MCP harness
Extension of the MCP server so database agent issues can be pulled into any MCP-speaking harness, such as the Copilot app or other chat tools.
Speaker’s quote (at 21:10)
„You also will be available to have these in any harness.“
-
Database agent auto-remediation
Opt-in automatic application of Microsoft-controlled, low-risk, deterministic playbook fixes, verified and logged for audit.
Speaker’s quote (at 21:44)
„We'll have automated remediation. Not ready to go yet either.“
Demos (3)
-
A developer on call diagnoses high CPU caused by table scans and applies the agent's recommended missing-index fix from VS Code.
Steps (6)
- Open the Extensions marketplace in VS Code, search for Postgres and install the PostgreSQL extension.
- Click the elephant icon in the activity bar and connect to a database (browse Azure, paste a connection string, use IAM or create a local Postgres container).
- Open the performance dashboard and review CPU spikes, queries and sessions.
- Open database agent and select the issue to review the timeline, detections, expected outcomes and recommended actions.
- Review the recommended CREATE INDEX CONCURRENTLY statement and optionally ask Copilot why it is safe and why it was recommended.
- Click Open in editor and run the query against the database with the play button.
Prerequisites: VS Code with the PostgreSQL extension; a Postgres database (additional metrics on Azure); access to the database agent limited public preview (sign-up required).
-
An on-call engineer turns a connection-exhaustion incident into a durable fix by filing a GitHub issue and letting GitHub Copilot create a PR.
Steps (6)
- In the performance dashboard, identify CPU spikes and dropped connections from long-lived sessions.
- Open database agent and select the issue to view the timeline and recommended actions.
- Click File GitHub issues; GitHub Copilot opens in the side panel with the investigation log.
- Select the target repository (or preconfigure it in advance).
- Let Copilot call the database agent MCP server and draft the issue, then file it.
- Open the filed issue on GitHub and assign it to GitHub Copilot to generate a PR (optionally configure automatic assignment for issues from database agent).
Prerequisites: VS Code with the PostgreSQL extension, GitHub Copilot, a GitHub repository with infrastructure code (ARM, Bicep or Terraform), database agent preview access.
-
An engineer interrogates why database agent proposed a specific fix before accepting the PR.
Steps (5)
- Open the database agent issue and the related pull request and review changed files.
- Open GitHub Copilot in VS Code.
- Click the sparkles (AI) button on the technical details section.
- Click Ask Copilot about this section to send the prepared prompt to GitHub Copilot.
- Let Copilot pull the investigation through the database agent MCP server and ask follow-up questions about metrics, reasoning and alternatives.
Prerequisites: VS Code with the PostgreSQL extension and GitHub Copilot; database agent preview access.