JOURNAL ARTICLE

Optimizing recursive queries with monotonic aggregates in DeALS

Abstract

The exploding demand for analytics has refocused the attention of data scientists on applications requiring aggregation in recursion. After resisting the efforts of researchers for more than twenty years, this problem is being addressed by innovative systems that are raising logic-oriented data languages to the levels of generality and performance that are needed to support efficiently a broad range of applications. Foremost among these new systems, the Deductive Application Language System (DeALS) achieves superior generality and performance via new constructs and optimization techniques for monotonic aggregates which are described in the paper. The use of a special class of monotonic aggregates in recursion was made possible by recent theoretical results that proved that they preserve the rigorous least-fixpoint semantics of core Datalog programs. This paper thus describes how DeALS extends their definitions and modifies their syntax to enable a concise expression of applications that, without them, could not be expressed in performance-conducive ways, or could not be expressed at all. Then the paper turns to the performance issue, and introduces novel implementation and optimization techniques that outperform traditional approaches, including Semi-naive evaluation. An extensive experimental evaluation was executed comparing DeALS with other systems on large datasets. The results suggest that, unlike other systems, DeALS indeed combines superior generality with superior performance.

Keywords:
Generality Computer science Datalog Recursion (computer science) Syntax Semantics (computer science) Deductive database Theoretical computer science Monotonic function Analytics Class (philosophy) Programming language Range (aeronautics) Artificial intelligence Data science

Metrics

46
Cited By
5.67
FWCI (Field Weighted Citation Impact)
44
Refs
0.96
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Advanced Database Systems and Queries
Physical Sciences →  Computer Science →  Computer Networks and Communications
Logic, Reasoning, and Knowledge
Physical Sciences →  Computer Science →  Artificial Intelligence
Data Management and Algorithms
Physical Sciences →  Computer Science →  Signal Processing

Related Documents

JOURNAL ARTICLE

Optimizing Recursive Queries with Progam Synthesis

Yisu Remy WangMahmoud Abo KhamisHung Q. NgoReinhard PichlerDan Suciu

Journal:   Proceedings of the 2022 International Conference on Management of Data Year: 2022 Pages: 79-93
JOURNAL ARTICLE

Optimizing Nested Recursive Queries

Amir ShaikhhaDan SuciuMaximilian SchleichHung Q. Ngo

Journal:   Proceedings of the ACM on Management of Data Year: 2024 Vol: 2 (1)Pages: 1-27
JOURNAL ARTICLE

Optimizing recursive queries in SQL

Carlos Ordońẽz

Year: 2005 Pages: 834-839
JOURNAL ARTICLE

On Monotonic Determinacy and Rewritability for Recursive Queries and Views

Michael BenediktStanislav KikotPiotr Ostropolski-NalewajaMiguel Romero

Journal:   ACM Transactions on Computational Logic Year: 2023 Vol: 24 (2)Pages: 1-62
© 2026 ScienceGate Book Chapters — All rights reserved.