Dichotomies in the Complexity of Preferred Repairs

被引:22
|
作者
Fagin, Ronald [1 ]
Kimelfeld, Benny [2 ,3 ]
Kolaitis, Phokion G. [1 ,4 ]
机构
[1] IBM Res Almaden, San Jose, CA 95120 USA
[2] Technion, Haifa, Israel
[3] LogicBlox Inc, Atlanta, GA USA
[4] UC Santa Cruz, Santa Cruz, CA USA
关键词
Inconsistent databases; database repairs; repair checking; preferred repairs; dichotomy in complexity;
D O I
10.1145/2745754.2745762
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The framework of database repairs provides a principled approach to managing inconsistencies in databases. Informally, a repair of an inconsistence database is a consistent database that differs from the inconsistent one in a "minimal way." A fundamental problem in this framework is the repair-checking problem: given two instances, is the second a repair of the first? Here, all repairs are taken into account, and they are treated on a par with each other. There are situations, however, in which it is natural and desired to prefer one repair over another; for example, one data source is regarded to be more reliable than another, or timestamp information implies that a more recent fact should be preferred over an earlier one. Motivated by these considerations, Staworko, Chomicki and Marcinkowski introduced the framework of preferred repairs. The main characteristic of this framework is that it uses a priority relation between conflicting facts of an inconsistent database to define notions of preferred repairs. In this paper we focus on the globally-optimal repairs, in the case where the constraints are functional dependencies. Intuitively, a globally-optimal repair is a repair that cannot be improved by exchanging facts with preferred facts. In this setting, it is known that there is a fixed schema (i.e., signature and functional dependencies) where globally-optimal repair-checking is coNP-complete. Our main result is a dichotomy in complexity: for each fixed relational signature and each fixed set of functional dependencies, the globally-optimal repair-checking problem either is solvable in polynomial time or is coNP-complete. Specifically, the problem is solvable in polynomial time if for each relation symbol in the signature, the functional dependencies are equivalent to either a single functional dependency or to a set of two key constraints; in all other cases, the globally-optimal repair-checking problem is coNP-complete. We also show that there is a polynomial-time algorithm for distinguishing between the tractable and the intractable cases. The setup of preferred repairs assumes that preferences are only between conflicting facts. In the last part of the paper, we investigate the effect of this assumption on the complexity of globally-optimal repair checking. With this assumption relaxed, we give another dichotomy theorem and another polynomial-time distinguishing algorithm. Interestingly, the two dichotomies turn out to have quite different conditions for distinguishing tractability from intractability.
引用
收藏
页码:3 / 15
页数:13
相关论文
共 50 条
  • [1] Dichotomies which ignore complexity
    Warwick Middleton
    Jeremy Butler
    Health Care Analysis, 1997, 5 (2) : 128 - 132
  • [2] Preferred repairs for inconsistent databases
    Greco, S
    Sirangelo, C
    Trubitsyna, I
    Zumpano, E
    SEVENTH INTERNATIONAL DATABASE ENGINEERING AND APPLICATIONS SYMPOSIUM, PROCEEDINGS, 2003, : 202 - 211
  • [3] Dichotomies which ignore complexity
    Middleton, W
    Butler, J
    HEALTH CARE ANALYSIS, 1997, 5 (02) : 128 - 132
  • [4] Counting and Enumerating (Preferred) Database Repairs
    Livshits, Ester
    Kimelfeld, Benny
    PODS'17: PROCEEDINGS OF THE 36TH ACM SIGMOD-SIGACT-SIGAI SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS, 2017, : 289 - 301
  • [5] Counting and enumerating preferred database repairs
    Kimelfeld, Benny
    Livshits, Ester
    Peterfreund, Liat
    THEORETICAL COMPUTER SCIENCE, 2020, 837 : 115 - 157
  • [6] DICHOTOMIES, DILEMMAS, AND AMBIGUITY: COPING WITH COMPLEXITY
    Sullivan, Peter
    JOURNAL OF MATHEMATICS TEACHER EDUCATION, 2006, 9 (04) : 307 - 311
  • [7] Dichotomies, Dilemmas, and Ambiguity: Coping with Complexity
    Peter Sullivan
    Journal of Mathematics Teacher Education, 2006, 9 (4) : 307 - 311
  • [8] Preferred database repairs under aggregate constraints
    Flesca, Sergio
    Furfaro, Filippo
    Parisi, Francesco
    SCALABLE UNCERTAINTY MANAGEMENT, PROCEEDINGS, 2007, 4772 : 215 - +
  • [9] Non-dichotomies in constraint satisfaction complexity
    Bodirsky, Manuel
    Grohe, Martin
    AUTOMATA, LANGUAGES AND PROGRAMMING, PT 2, PROCEEDINGS, 2008, 5126 : 184 - +
  • [10] Emergency Repairs Where a 45%+ Slope Is the Preferred Option
    Bartle, Brian D.
    Blanchette, Michael
    Sidhu, George
    PIPELINES 2016 - OUT OF SIGHT, OUT OF MIND, NOT OUT OF RISK, 2016, : 1534 - 1546