EUVIMEDObjevte EUVIMED
Crossref

Optimizing Nested Recursive Queries

Amir Shaikhha, Dan Suciu, Maximilian Schleich, Hung Ngo

Proceedings of the ACM on Management of Data · 2024-03-12 · 2 (1) · 1-27

DOI: 10.1145/3639271 ↗

At a glance

Journal article in Proceedings of the ACM on Management of Data, published online on 2024-03-26. Written by Amir Shaikhha and 3 co-authors. Cited 6 times so far (Crossref); 75 references. Funded by: NSF.

AbstraktBibliografické údajeCiteRelated studies

Abstract (original language)

Datalog is a declarative programming language that has gained popularity in various domains due to its simplicity, expressiveness, and efficiency. But "pure" Datalog is limited to monotone queries, and cannot be used in most practical applications. For that reason, newer systems are relaxing the language by allowing non-monotone queries to be freely combined with recursion. But by departing from the elegant fixpoint semantics of pure datalog, these systems often result in inefficient query execution, for example they perform redundant computations, or use redundant storage. In this paper, we propose Temporel, a system that allows recursion to be freely combined with non-monotone operators. Temporel optimizes the program by compiling it into a novel intermediate representation that we call TempoDL. Our experimental results show that our system outperforms a state-of-the-art Datalog engine as well as a vectorized and a compiled in-memory database system for a wide range of applications from machine learning to graph processing.

Funding

  • NSF

Cite

APA

Shaikhha, A., Suciu, D., Schleich, M., & Ngo, H. (2024). Optimizing Nested Recursive Queries. Proceedings of the ACM on Management of Data, 2(1), 1-27. https://doi.org/10.1145/3639271

Vancouver

Shaikhha A, Suciu D, Schleich M, Ngo H. Optimizing Nested Recursive Queries. Proceedings of the ACM on Management of Data. 2024;2(1):1-27. doi:10.1145/3639271

BibTeX
@article{Shaikhha2024,
  author = {Shaikhha, Amir and Suciu, Dan and Schleich, Maximilian and Ngo, Hung},
  title = {Optimizing Nested Recursive Queries},
  journal = {Proceedings of the ACM on Management of Data},
  year = {2024},
  volume = {2},
  number = {1},
  pages = {1--27},
  doi = {10.1145/3639271}
}
Start for free →