Explaining Database Performance Regressions Using a Large Language Model

Revealing and explaining performance regressions in relational database workloads remain time-consuming tasks for database professionals, especially in distributed database systems. In this paper we use a large language model (LLM), specifically OpenAI’s o4-mini, to identify and explain regressions across different versions of the same database system. We focus on duration metrics available in modern database query histories, without any additional tracing. Experiments were conducted using semantic metric descriptions and structured metrics values as context for the LLM. The model was able to attribute differences to particular phases of execution or metric categories, and to recognize cases where differences in performance were caused by noise. While LLM-generated explanations were often informative, recommended practical actions had limited value. This work demonstrates the potential of LLMs as a new tool in analysis of database systems performance.

Authors

Institutions

Publication Details

Published
2025-08-07
DOI
https://doi.org/10.1109/acdsa65407.2025.11166119
Primary Topic
Data Quality and Management
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Explaining Database Performance Regressions Using a Large Language Model

Ihor Mykheliev, Arsenij Kroptya
Data Quality and Management
article

Explaining Database Performance Regressions Using a Large Language Model

Ihor Mykheliev, Arsenij Kroptya
article en

Abstract

Revealing and explaining performance regressions in relational database workloads remain time-consuming tasks for database professionals, especially in distributed database systems. In this paper we use a large language model (LLM), specifically OpenAI’s o4-mini, to identify and explain regressions across different versions of the same database system. We focus on duration metrics available in modern database query histories, without any additional tracing. Experiments were conducted using semantic metric descriptions and structured metrics values as context for the LLM. The model was able to attribute differences to particular phases of execution or metric categories, and to recognize cases where differences in performance were caused by noise. While LLM-generated explanations were often informative, recommended practical actions had limited value. This work demonstrates the potential of LLMs as a new tool in analysis of database systems performance.

Admiral Makarov National University of Shipbuilding (UA)
Openalex Percentile: Top 69%
Data Quality and Management
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.