LLM As DBA

Xuanhe Zhou, Guoliang Li, Zhiyuan Liu
8/10/2023
21 citations
cs.DBcs.AIcs.CL

Official code: TsinghuaDatabaseGroup/DB-GPT (713 stars, Python, Apache-2.0, last commit 2025-12-27).

Abstract

Database administrators (DBAs) play a crucial role in managing, maintaining and optimizing a database system to ensure data availability, performance, and reliability. However, it is hard and tedious for DBAs to manage a large number of database instances (e.g., millions of instances on the cloud databases).

Show full abstract

Recently large language models (LLMs) have shown great potential to understand valuable documents and accordingly generate reasonable answers. Thus, we propose D-Bot, a LLM-based database administrator that can continuously acquire database maintenance experience from textual sources, and provide reasonable, well-founded, in-time diagnosis and optimization advice for target databases. This paper presents a revolutionary LLM-centric framework for database maintenance, including (i) database maintenance knowledge detection from documents and tools, (ii) tree of thought reasoning for root cause analysis, and (iii) collaborative diagnosis among multiple LLMs. Our preliminary experimental results that D-Bot can efficiently and effectively diagnose the root causes and our code is available at github.com/TsinghuaDatabaseGroup/DB-GPT.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

An LLM Based Diagnosis System (https://arxiv.org/pdf/2312.01454.pdf)

71396Python, VueApr 2, 202311 months agoApache-2.0
databasedbadiagnosistuning

Similar Papers

Cite this paper

@article{zhou2023paper,
  title  = {LLM As DBA},
  author = {Xuanhe Zhou and Guoliang Li and Zhiyuan Liu},
  year   = {2023},
  eprint = {2308.05481},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.05481v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2308.05481.svg)](https://codeofpaper.com/paper/2308.05481)

Discussion