paper-with-me

홈 › Papers

Query Performance Explanation through Large Language Model for HTAP Systems

2024-12-02 · Haibo Xiu, Li Zhang, Tieying Zhang, Jun Yang, Jianjun Chen

In hybrid transactional and analytical processing (HTAP) systems, users often struggle to understand why query plans from one engine (OLAP or OLTP) perform significantly slower than those from another. Although optimizers provide plan details via the EXPLAIN function, these explanations are frequently too technical for non-experts and offer limited insights into performance differences across engines. To address this, we propose a novel framework that leverages large language models (LLMs) to explain query performance in HTAP systems. Built on Retrieval-Augmented Generation (RAG), our framework constructs a knowledge base that stores historical query executions and expert-curated explanations. To enable efficient retrieval of relevant knowledge, query plans are embedded using a lightweight tree-CNN classifier. This augmentation allows the LLM to generate clear, context-aware explanations of performance differences between engines. Our approach demonstrates the potential of LLMs in hybrid engine systems, paving the way for further advancements in database optimization and user support.

📄 PDF Abstract BibTeX arXiv:2412.01709

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage ModellingLarge Language ModelRAGRetrievalRetrieval-augmented Generation

Methods 이 논문이 사용한 방법론

BASE 설명 없음

Similar Papers 제목 키워드 기반

InteracSPARQL: An Interactive System for SPARQL Query Refinement Using Natural Language Explanations

2025-11-03 · Xiangru Jian, Zhengyuan Dong, M. Tamer Özsu arxiv

In recent years, querying semantic web data using SPARQL has remained challenging, especially for non-expert users, due to the language's complex syntax and the prerequisite of understanding intricate data structures. To…

Explain then Rank: Scale Calibration of Neural Rankers Using Natural Language Explanations from LLMs

2024-02-19 · Puxuan Yu, Daniel Cohen, Hemank Lamba, Joel Tetreault 외

In search settings, calibrating the scores during the ranking process to quantities such as click-through rates or relevance levels enhances a system's usefulness and trustworthiness for downstream users. While previous …

Document RankingLearning-To-Rank

TSQueryBench: LLM-as-a-Judge for Time Series Explanations

2026-04-02 · Preetham Sivalingam, Murari Mandal, Saurabh Deshpande, Dhruv Kumar arxiv

Natural language explanations of time series data are increasingly produced by foundation models in high stakes domains, making factual correctness critical. Evaluating such explanations differs fundamentally from standa…

Explanation GenerationAnomaly Detection

FaithLM: Towards Faithful Explanations for Large Language Models

2024-02-07 · Yu-Neng Chuang, Guanchu Wang, Chia-Yuan Chang, Ruixiang Tang 외

Large Language Models (LLMs) have become proficient in addressing complex tasks by leveraging their extensive internal knowledge and reasoning capabilities. However, the black-box nature of these models complicates the t…

Decision Making

GLARE: A Natural Language Interface for Querying Global Explanations

2026-06-18 · Bhavan Vasu, Rajesh Mangannavar arxiv

While global explanations are crucial for understanding vision models across datasets, classes, and decision contexts, their complex and monolithic nature often hinders practical exploration. Because users typically seek…