DiagDBench: Evaluating Agentic LLMs on Interactive Database Diagnosis and Anomaly Remediation
Xinxin ZhaoRong KangTieying ZhangCuiping LiHong ChenJing Zhang
Xinxin Zhao
Rong Kang
Tieying Zhang
Cuiping Li
Hong Chen
Jing Zhang
+6
DiagDBench is a large-scale benchmark for training and evaluating LLM-based database agents on interactive diagnosis, anomaly remediation, and optional workload performance optimization. Each sample pairs a user request (an issue description plus an anomaly-verified workload) with a self-contained executable DBMS environment supporting real-time monitoring, interactive diagnosis, remediation, and workload execution. Samples are built at scale by an LLM-based framework with two pipelines: Manual-Guided Anomaly Synthesis, grounded in DBA manuals and official DBMS documentation, and Incident-Guided Anomaly Reproduction, which reconstructs samples from real enterprise online diagnosis incidents, followed by filtering, expert review, and refinement. The benchmark contains 6,940 synthesized training samples and a held-out test set of 454 expert-annotated samples across three hardware configurations, two DBMSs, and three schemas; even the best agent, ReAct with GPT-6 Astra, scores only 56.24, with most below 45, underscoring its difficulty.

arXiv ·
· November 5, 2026