Efficiently ordering subgoals with access constraints
Efficiently ordering subgoals with access constraints
复制标题
通过访问限制有效地排序子目标
DOI:
--
复制
发表时间:
2006
期刊:
影响因子:
--
通讯作者:
V. Chaudhri
中科院分区:
文献类型:
--
作者:
Guizhen Yang;M. Kifer;V. Chaudhri
In this paper, we study the problem of ordering subgoals under binding pattern restrictions for queries posed as nonrecursive Datalog programs. We prove that despite their limited expressive power, the problem is computationally hard—PSPACE-complete in the size of the nonrecursive Datalog program even for fairly restricted cases. As a practical solution to this problem, we develop an asymptotically optimal algorithm that runs in time linear in the size of the query plan. We also study extensions of our algorithm that efficiently solve other query planning problems under binding pattern restrictions. These problems include conjunctive queries with nested grouping constraints, distributed conjunctive queries, and first-order queries.