# DiagDBench: Evaluating Agentic LLMs on Interactive Database Diagnosis and Anomaly Remediation

DevFeed: [DiagDBench: Evaluating Agentic LLMs on Interactive Database Diagnosis and Anomaly Remediation](<https://devfeed.tech/articles/diagdbench-evaluating-agentic-llms-on-interactive-database-diagnosis-and-anomaly-remediation-121005.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.07339>)

Author: Xinxin Zhao, Rong Kang, Tieying Zhang, Cuiping Li, Hong Chen, Jing Zhang

Published: 2026-11-06T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Databases](<https://devfeed.tech/sources/arxiv-databases.md>)

Topics: [LLM evaluation / benchmarking](<https://devfeed.tech/topics/llm-evaluation-benchmarking.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>)

Tags: [benchmark](<https://devfeed.tech/tags/benchmark.md>), [cs-db](<https://devfeed.tech/tags/cs-db.md>), [database](<https://devfeed.tech/tags/database.md>), [diagnosis](<https://devfeed.tech/tags/diagnosis.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [framework](<https://devfeed.tech/tags/framework.md>), [gpt](<https://devfeed.tech/tags/gpt.md>), [gpt-6-astra](<https://devfeed.tech/tags/gpt-6-astra.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [incident](<https://devfeed.tech/tags/incident.md>), [incidents](<https://devfeed.tech/tags/incidents.md>), [interactive](<https://devfeed.tech/tags/interactive.md>), [llms](<https://devfeed.tech/tags/llms.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [performance](<https://devfeed.tech/tags/performance.md>), [performance-optimization](<https://devfeed.tech/tags/performance-optimization.md>), [pipelines](<https://devfeed.tech/tags/pipelines.md>), [react](<https://devfeed.tech/tags/react.md>), [real-time](<https://devfeed.tech/tags/real-time.md>), [real-world](<https://devfeed.tech/tags/real-world.md>), [remediation](<https://devfeed.tech/tags/remediation.md>)

## AI overview

DiagDBench evaluates database agents in executable environments for interactive diagnosis and anomaly remediation, with optional workload optimization. Its samples pair an issue request and anomaly-verified workload with an environment for monitoring, diagnosis, remediation, and execution. Two pipelines build the data: Manual-Guided Anomaly Synthesis creates scenarios grounded in DBA manuals and official documentation; Incident-Guided Anomaly Reproduction reconstructs cases from enterprise diagnosis incidents. After filtering, expert review, and refinement, the benchmark contains 6,940 training samples and 454 expert-annotated test samples across two DBMSs, three schemas, and three hardware configurations. In the reported evaluations, ReAct with GPT-6 Astra scores highest at 56.24, while most agents score below 45, indicating that the benchmark remains challenging.

## Source excerpt

arXiv:2611.07339v1 Announce Type: new Abstract: Database diagnosis and anomaly remediation are essential to reliable database management system (DBMS) operation. Despite advances in large language model (LLM)-based database agents, constructing live DBMS environments that reproduce diverse anomalies at scale remains challenging, limiting the availability of executable samples for database agent training and evaluation. To this end, we introduce DiagDBench, a large-scale benchmark for training and evaluating database agents on interactive diagnosis, anomaly remediation, and optional workload performance optimization across diverse, realistic anomaly scenarios. Each sample pairs a user request, comprising an issue description and an anomaly-verified workload under which the issue was observed, with a self-contained, executable DBMS environment that supports real-time monitoring, interactive diagnosis, remediation, and workload execution. To construct these samples at scale, we propose an LLM-based framework with two complementary pipelines: Manual-Guided Anomaly Synthesis, which sequentially synthesizes user requests, database modifications, and anomaly-injection scripts grounded in DBA manuals and official DBMS documentation; and Incident-Guided Anomaly Reproduction, which reconstructs anomaly samples end to end from real-world enterprise online diagnosis incidents. Built using this framework with sample filtering, expert review, and refinement, DiagDBench comprises 6,940 synthesized training samples and a held-out test set of 454 expert-annotated samples, spanning three hardware configurations, two DBMSs, and three database schemas. Extensive evaluations of database agents powered by multiple LLMs demonstrate that even the best-performing agent, ReAct with GPT-6 Astra, scores only 56.24, whereas most agents score below 45, underscoring the difficulty of DiagDBench.