arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1712.07705cs.DB
收藏

功能性故障的最优修复计算

Computing Optimal Repairs for Functional Dependencies

Ester Livshits, Benny Kimelfeld, Sudeepa Roy

摘要:

我们调查的复杂性计算的不一致的数据库的最佳修复,在完整性约束的情况下,功能的重复性(FD)。我们专注于两种类型的修复:一个最佳的子集修复(最佳S-修复),这是由最小数量的元组删除,和最佳的更新修复(最佳U-修复),这是由最小数量的值(细胞)更新。为了计算一个最佳的S-修复,我们提出了一个多项式时间算法,成功的某些集合的FD和失败的其他。我们证明了以下关于算法。当它成功时,它还可以合并加权元组和重复元组。当它失败时,问题是NP难的,实际上是APX完全的(因此,不能比某个常数更好地近似)。因此,我们在计算最优S-修复的复杂性中建立了一个二分法。我们提出了一般的分析技术计算的最佳U-修复的复杂性,一些基于S-修复的二分法。我们还提请连接到过去的二分法的复杂性,找到一个“最可能的数据库”,满足一组FD与一个单一的属性在左手边;一般FD的情况下是开放的,我们展示了我们的二分法如何提供失踪的泛化,从而解决了开放的问题。

英文摘要:

We investigate the complexity of computing an optimal repair of an inconsistent database, in the case where integrity constraints are Functional Dependencies (FDs). We focus on two types of repairs: an optimal subset repair (optimal S-repair) that is obtained by a minimum number of tuple deletions, and an optimal update repair (optimal U-repair) that is obtained by a minimum number of value (cell) updates. For computing an optimal S-repair, we present a polynomial-time algorithm that succeeds on certain sets of FDs and fails on others. We prove the following about the algorithm. When it succeeds, it can also incorporate weighted tuples and duplicate tuples. When it fails, the problem is NP-hard, and in fact, APX-complete (hence, cannot be approximated better than some constant). Thus, we establish a dichotomy in the complexity of computing an optimal S-repair. We present general analysis techniques for the complexity of computing an optimal U-repair, some based on the dichotomy for S-repairs. We also draw a connection to a past dichotomy in the complexity of finding a "most probable database" that satisfies a set of FDs with a single attribute on the left hand side; the case of general FDs was left open, and we show how our dichotomy provides the missing generalization and thereby settles the open problem.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑