Research Challenges in Relational Database Management Systems for LLM Queries

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Akillioglu, Kerem, Chakraborty, Anurag, Voruganti, Sairaj, Özsu, M. Tamer
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912557929857024
author Akillioglu, Kerem
Chakraborty, Anurag
Voruganti, Sairaj
Özsu, M. Tamer
author_facet Akillioglu, Kerem
Chakraborty, Anurag
Voruganti, Sairaj
Özsu, M. Tamer
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2508_20912
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Research Challenges in Relational Database Management Systems for LLM Queries
Akillioglu, Kerem
Chakraborty, Anurag
Voruganti, Sairaj
Özsu, M. Tamer
Databases
Artificial Intelligence
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.
title Research Challenges in Relational Database Management Systems for LLM Queries
topic Databases
Artificial Intelligence
url https://arxiv.org/abs/2508.20912