数据库的非无害化优先修复
Unambiguous Prioritized Repairing of Databases
摘要:
在其传统定义中,不一致数据库的修复是以“最小方式”区别于不一致数据库的一致数据库。通常情况下,修复并不同样合法,因为人们希望选择一个而不是另一个;例如,一个事实被认为比另一个更可靠,或者一个最近的事实应该优先于一个早期的事实。出于这些考虑,研究人员已经介绍和调查的框架,首选的修复,在否认约束和子集修复的背景下。在那里,事实之间的优先级关系被提升到一致数据库之间的优先级关系,并且修复被限制在提升意义上最优的修复。提出了三种提升(和最优修复)的概念:帕累托,全局和完成。在本文中,我们调查的复杂性,决定是否有足够的优先级关系,以明确地清理数据库,或者换句话说,是否正好有一个最佳的修复。我们表明,不同的提升语义带来了高度不同的复杂性。在帕累托最优性下,对于每一组函数依赖(FD),除了(等价于)每个关系一个FD的易处理的情况外,该问题在数据复杂度上是coNP完全的。在全局最优性条件下,每个关系只有一个FD仍然是容易处理的,但是我们建立了具有两个FD的关系的$Π^{p}_{2}$ -完全性。相反,在完备最优性下,对于每一组FD,问题在多项式时间内都是可解的。事实上,我们提出了一个多项式时间算法的任意冲突超图。我们进一步表明,在一般假设的传递性,该算法解决了问题,甚至为全局最优。该算法非常简单,但其正确性的证明是相当复杂的。
英文摘要:
In its traditional definition, a repair of an inconsistent database is a consistent database that differs from the inconsistent one in a "minimal way". Often, repairs are not equally legitimate, as it is desired to prefer one over another; for example, one fact is regarded more reliable than another, or a more recent fact should be preferred to an earlier one. Motivated by these considerations, researchers have introduced and investigated the framework of preferred repairs, in the context of denial constraints and subset repairs. There, a priority relation between facts is lifted towards a priority relation between consistent databases, and repairs are restricted to the ones that are optimal in the lifted sense. Three notions of lifting (and optimal repairs) have been proposed: Pareto, global, and completion. In this paper we investigate the complexity of deciding whether the priority relation suffices to clean the database unambiguously, or in other words, whether there is exactly one optimal repair. We show that the different lifting semantics entail highly different complexities. Under Pareto optimality, the problem is coNP-complete, in data complexity, for every set of functional dependencies (FDs), except for the tractable case of (equivalence to) one FD per relation. Under global optimality, one FD per relation is still tractable, but we establish $Π^{p}_{2}$-completeness for a relation with two FDs. In contrast, under completion optimality the problem is solvable in polynomial time for every set of FDs. In fact, we present a polynomial-time algorithm for arbitrary conflict hypergraphs. We further show that under a general assumption of transitivity, this algorithm solves the problem even for global optimality. The algorithm is extremely simple, but its proof of correctness is quite intricate.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。