< Back to previous page

Publication

Parallel-Correctness and Transferability for Conjunctive Queries under Bag Semantics

Journal Contribution - Journal Article

Abstract:

Single-round multiway join algorithms first reshuffle data over many servers and then evaluate the query at hand in a parallel and communication-free way. A key question is whether a given distribution policy for the reshuffle is adequate for computing a given query. This property is referred to as parallel-correctness. Another key problem is to detect whether the data reshuffle step can be avoided when evaluating subsequent queries. The latter problem is referred to as transfer of parallel-correctness. This article extends the study of parallel-correctness and transfer of parallel-correctness of conjunctive queries to incorporate bag semantics. We provide semantical characterizations for both problems, obtain complexity bounds, and discuss the relationship with their set semantics counterparts. Finally, we revisit both problems under a modified distribution model that takes advantage of a linear order on compute nodes and obtain tight complexity bounds.

Published in: ACM Transactions on Computational Logic
ISSN: 1529-3785
Issue: 2
Volume: 26
Pages: 1-26
Publication year:2025
Keywords:bag semantics, Conjunctive queries, distributed evaluation, Computer science/information technology
Accessibility:Open
Review status:Peer-reviewed