Parallel-Correctness and Parallel-Boundedness for Datalog Programs
Parallel-Correctness and Parallel-Boundedness for Datalog Programs
复制标题
数据记录程序的并行正确性和并行有界性
DOI:
--
复制
发表时间:
2019
期刊:
影响因子:
--
通讯作者:
Brecht Vandevoort
中科院分区:
文献类型:
--
作者:
F. Neven;T. Schwentick;Christopher Spinrath;Brecht Vandevoort
Recently, Ketsman et al. started the investigation of the parallel evaluation of recursive queries in the Massively Parallel Communication (MPC) model. Among other things, it was shown that parallel-correctness and parallel-boundedness for general Datalog programs is undecidable, by a reduction from the undecidable containment problem for Datalog. Furthermore, economic policies were introduced as a means to specify data distribution in a recursive setting. In this paper, we extend the latter framework to account for more general distributed evaluation strategies in terms of communication policies. We then show that the undecidability of parallel-correctness runs deeper: it already holds for fragments of Datalog, e.g., monadic and frontier-guarded Datalog, with a decidable containment problem, under relatively simple evaluation strategies. These simple evaluation strategies are defined w.r.t. data-moving distribution constraints. We then investigate restrictions of economic policies that yield decidability. In particular, we show that parallel-correctness is 2EXPTIME-complete for monadic and frontier-guarded Datalog under hash-based economic policies. Next, we consider restrictions of data-moving constraints and show that parallel-correctness and parallel-boundedness are 2EXPTIME-complete for frontier-guarded Datalog. Interestingly, distributed evaluation no longer preserves the usual containment relationships between fragments of Datalog. Indeed, not every monadic Datalog program is equivalent to a frontier-guarded one in the distributed setting. We illustrate the latter by considering two alternative settings where in one of these parallel-correctness is decidable for frontier-guarded Datalog but undecidable for monadic Datalog.
DOI:
10.14778/2350229.2350250
发表时间:
2012
期刊:
Proc. VLDB Endow.
影响因子:
--
作者:
V. Bárány;B. ten Cate;M. Otto
通讯作者:
M. Otto