Skip to main content

Computing optimal repairs for functional dependencies

Publication ,  Journal Article
Livshits, E; Kimelfeld, B; Roy, S
Published in: ACM Transactions on Database Systems
February 17, 2020

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), which is obtained by a minimum number of tuple deletions, and an optimal update repair (optimal U-repair), which 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 Urepair, 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.

Duke Scholars

Published In

ACM Transactions on Database Systems

DOI

EISSN

1557-4644

ISSN

0362-5915

Publication Date

February 17, 2020

Volume

45

Issue

1

Related Subject Headings

  • Information Systems
  • 4609 Information systems
  • 4605 Data management and data science
  • 4009 Electronics, sensors and digital hardware
  • 0806 Information Systems
  • 0804 Data Format
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Livshits, E., Kimelfeld, B., & Roy, S. (2020). Computing optimal repairs for functional dependencies. ACM Transactions on Database Systems, 45(1). https://doi.org/10.1145/3360904
Livshits, E., B. Kimelfeld, and S. Roy. “Computing optimal repairs for functional dependencies.” ACM Transactions on Database Systems 45, no. 1 (February 17, 2020). https://doi.org/10.1145/3360904.
Livshits E, Kimelfeld B, Roy S. Computing optimal repairs for functional dependencies. ACM Transactions on Database Systems. 2020 Feb 17;45(1).
Livshits, E., et al. “Computing optimal repairs for functional dependencies.” ACM Transactions on Database Systems, vol. 45, no. 1, Feb. 2020. Scopus, doi:10.1145/3360904.
Livshits E, Kimelfeld B, Roy S. Computing optimal repairs for functional dependencies. ACM Transactions on Database Systems. 2020 Feb 17;45(1).

Published In

ACM Transactions on Database Systems

DOI

EISSN

1557-4644

ISSN

0362-5915

Publication Date

February 17, 2020

Volume

45

Issue

1

Related Subject Headings

  • Information Systems
  • 4609 Information systems
  • 4605 Data management and data science
  • 4009 Electronics, sensors and digital hardware
  • 0806 Information Systems
  • 0804 Data Format