Preprint · 2026 · Open access

Agentic Cost-Aware Query Planning with Knowledge Distillation for Big Data Analytics

Mahdi Naser Moghadasi

arXiv · Published 18 May 2026 · DOI 10.48550/arxiv.2605.17831

Open PDFView at the publisherCite this paper

In brief

“Agentic Cost-Aware Query Planning with Knowledge Distillation for Big Data Analytics” is a 2026 preprint by Mahdi Naser Moghadasi, published in arXiv. OpenAlex counts 0 citations as of 30 November 2026. It is open access: the full text is free to read at arXiv.

Citations
0
References
10
Authors
1

Abstract

Query optimization in big data analytics remains computationally expensive, particularly for resource-constrained environments where traditional optimizers fail to satisfy memory and latency constraints. We present an agentic query planning system that combines a rule-based teacher planner, UCB1 bandit exploration, cost-aware prediction, and knowledge distillation to a lightweight student planner. Our teacher planner generates SQL plans using six key optimization strategies, while UCB1 bandit search efficiently explores the plan space under explicit resource constraints. A Random Forest cost model predicts query latency from plan features, enabling cost-aware decisions. A distilled student planner (Logistic Regression or Gradient Boosting) learns to mimic teacher-bandit decisions for fast inference. Evaluation on NYC Taxi and IMDB datasets demonstrates 23% latency reduction compared to default planners while maintaining 94% constraint satisfaction. The student planner achieves 89% accuracy in replicating optimal plans with 15x faster inference time. Our single-file implementation enables reproducible big-data analytics on resource-limited machines and is publicly available at https://github.com/mahdinaser/agentic-kd-planner.

Cite this paper

Formatted from the catalogue record. Check names, capitals and page numbers against the paper before you submit.

APA 7

Moghadasi, M. N. (2026). Agentic Cost-Aware Query Planning with Knowledge Distillation for Big Data Analytics. arXiv. https://doi.org/10.48550/arxiv.2605.17831

MLA 9

Moghadasi, Mahdi Naser. “Agentic Cost-Aware Query Planning with Knowledge Distillation for Big Data Analytics.” arXiv, 2026. https://doi.org/10.48550/arxiv.2605.17831.

Chicago

Moghadasi, Mahdi Naser. 2026. “Agentic Cost-Aware Query Planning with Knowledge Distillation for Big Data Analytics.” arXiv. https://doi.org/10.48550/arxiv.2605.17831.

Harvard

Moghadasi, M. N. (2026) ‘Agentic Cost-Aware Query Planning with Knowledge Distillation for Big Data Analytics’, arXiv. doi:10.48550/arxiv.2605.17831.

IEEE

M. N. Moghadasi, “Agentic Cost-Aware Query Planning with Knowledge Distillation for Big Data Analytics,” arXiv, 2026, doi: 10.48550/arxiv.2605.17831.

BibTeX

@misc{moghadasi2026agentic,
  title     = {{Agentic Cost-Aware Query Planning with Knowledge Distillation for Big Data Analytics}},
  author    = {Moghadasi, Mahdi Naser},
  howpublished = {arXiv},
  year      = {2026},
  doi       = {10.48550/arxiv.2605.17831},
  url       = {https://doi.org/10.48550/arxiv.2605.17831}
}

Download for a reference manager: BibTeX (.bib) · RIS for Zotero, Mendeley and EndNote (.ris)

Topic and keywords

Physical Sciences › Computer Science › Information Systems › Advanced Database Systems and Queries

  • query optimization
  • knowledge distillation
  • resource-constrained environments
  • big data analytics

Work with this paper

Most-cited papers in Computer Science

All highly cited Computer Science papers

Questions about this paper

How do I cite this paper in APA style?

Moghadasi, M. N. (2026). Agentic Cost-Aware Query Planning with Knowledge Distillation for Big Data Analytics. arXiv. https://doi.org/10.48550/arxiv.2605.17831

How many times has this paper been cited?

0 times, according to OpenAlex on 30 November 2026. Google Scholar and Scopus count different sets of sources, so their numbers differ.

Is this paper free to read?

Yes. It is open access at arXiv: sign in and open the PDF from this page.

Who wrote this paper?

Mahdi Naser Moghadasi.

What is the DOI of this paper?

10.48550/arxiv.2605.17831, permanently at https://doi.org/10.48550/arxiv.2605.17831. Sign in and open it from this page.

Bibliographic data from OpenAlex (CC0), last checked 30 November 2026. ResearchGuru does not host this paper; once you are signed in, the links open it at the publisher or the repository that does.