Research Challenges in Relational Database Management Systems for LLM Queries

Kerem Akillioglu, Anurag Chakraborty, Sairaj Voruganti, M. Tamer Özsu
8/28/2025
cs.DBcs.AI

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

Large language models (LLMs) have become essential for applications such as text summarization, sentiment analysis, and automated question-answering. Recently, LLMs have also been integrated into relational database management systems to enhance querying and support advanced data processing. Companies such as Amazon, Databricks, Google, and Snowflake offer LLM invocation directly within SQL, denoted as LLM queries, to boost data insights. However, open-source solutions currently have limited functionality and poor performance. In this work, we present an early exploration of two open-source systems and one enterprise platform, using five representative queries to expose functional, performance, and scalability limits in today's SQL-invoked LLM integrations. We identify three main issues: enforcing structured outputs, optimizing resource utilization, and improving query planning. We implemented initial solutions and observed improvements in accommodating LLM powered SQL queries. These early gains demonstrate that tighter integration of LLM+DBMS is the key to scalable and efficient processing of LLM queries.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{akillioglu2025research,
  title  = {Research Challenges in Relational Database Management Systems for LLM Queries},
  author = {Kerem Akillioglu and Anurag Chakraborty and Sairaj Voruganti and M. Tamer Özsu},
  year   = {2025},
  eprint = {2508.20912},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.20912v1}
}

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/2508.20912.svg)](https://codeofpaper.com/paper/2508.20912)

Discussion