Compiling data-parallel Datalog
Thomas Gilray, Sidharth Kumar, Kristopher Micinski · ACM SIGPLAN International Conference on Compiler Construction (CC) · 2021
Datalog allows intuitive declarative specification of logical inference tasks while enjoying efficient implementation via state-of-the-art engines such as LogicBlox and Soufflé. These engines enable high-performance implementation of complex logical tasks including graph mining, program analysis, and business analytics. However, all efficient modern Datalog solvers make use of shared memory, and present inherent challenges scalability. In this paper, we leverage recent insights in parallel relational algebra and present a methodology for constructing data-parallel deductive databases. Our approach leverages recent developments in parallelizing relational algebra to create an efficient data-parallel semantics for Datalog. Based on our methodology, we have implemented the first MPI-based data-parallel Datalog solver. Our experiments demonstrate comparable performance and improved single-node scalability versus Soufflé, a state-of-art solver.
Cited by 8 works. doi:10.1145/3446804.3446855
Authors
References
- Abstract interpretation
- SIAM Journal on Computing
- Control flow analysis in scheme
- Overview of the 2003 KDD Cup
- Sort vs. Hash revisited
- Foundations of Databases: The Logical Level
- The Parma Polyhedra Library: Toward a complete set of numerical abstractions for the analysis and verification of hardware and software systems
- Strictly declarative specification of sophisticated points-to analyses
- Parallel symbolic execution for automated real-world software testing
- Strictly declarative specification of sophisticated points-to analyses