The complexity of evaluating conjunctive queries without self-joins is well understood: Acyclicity is the boundary for being able to test whether there is a solution in linear time, and free-connexity is the boundary for being able to compute the set of solutions in linear input + output time. Moreover, free-connex acyclic queries can be enumerated with constant delay. In the presence of self-joins, the situation is not that clear. All the upper-bounds mentioned above remain, but not the lower bounds. We provide preliminary results for the fine-grained complexity analysis of the evaluation of conjunctive queries with self-joins. We settle the case of queries with arity two or less and for queries with cyclic cores. We also provide a toolbox that can be used to show hardness or easiness of queries with self-joins. We illustrate the toolbox by identifying tractable cases that were not known to be efficiently solvable and identifying sufficient conditions for hardness.
翻译:评估不自喜的共产质问的复杂性是十分清楚的:周期性是能够测试线性时间是否有解决办法的边界,自由共产性是能够计算线性输入+输出时间的一套解决办法的边界。此外,自由共产质问可以不断拖延地列举。在自欢时,情况并不那么清楚。上述所有上限都依然存在,但并非下限。我们为评估与自欢的共产质问的精细微复杂分析提供了初步结果。我们用两种或两种以下的均匀性解决询问,用周期性核心解决询问。我们还提供了一个工具箱,可以用来显示自欢质询问的硬性或易易懂性。我们通过识别已知的不易处理的案件和确定足够坚硬性的条件来说明工具箱。