Skip to main content
QUICK REVIEW

[Paper Review] Minimal-Change Integrity Maintenance Using Tuple Deletions

Jan Chomicki, Jerzy Marcinkowski|ArXiv.org|Dec 5, 2002
Advanced Database Systems and QueriesComputer Science35 references6 citations
TL;DR

This paper investigates minimal-change integrity maintenance in relational databases using only tuple deletions to restore consistency. It identifies tractable cases for repair checking and consistent query answering under denial constraints, functional and inclusion dependencies, and key/foreign key constraints, providing a complexity boundary between tractable and intractable scenarios.

ABSTRACT

We address the problem of minimal-change integrity maintenance in the context of integrity constraints in relational databases. We assume that integrity-restoration actions are limited to tuple deletions. We identify two basic computational issues: repair checking (is a database instance a repair of a given database?) and consistent query answers (is a tuple an answer to a given query in every repair of a given database?). We study the computational complexity of both problems, delineating the boundary between the tractable and the intractable. We consider denial constraints, general functional and inclusion dependencies, as well as key and foreign key constraints. Our results shed light on the computational feasibility of minimal-change integrity maintenance. The tractable cases should lead to practical implementations. The intractability results highlight the inherent limitations of any integrity enforcement mechanism, e.g., triggers or referential constraint actions, as a way of performing minimal-change integrity maintenance.

Motivation & Objective

  • To address the challenge of restoring database consistency with minimal changes when integrity constraints are violated.
  • To formalize minimal-change integrity maintenance as a post-update process, focusing on tuple deletions to preserve data as much as possible.
  • To analyze the computational complexity of two core problems: repair checking and consistent query answers.
  • To delineate the boundary between tractable and intractable cases for integrity constraint classes including denial, functional, and inclusion dependencies.
  • To provide a foundation for practical implementations in data integration and data warehouse applications where data inconsistency is common.

Proposed method

  • Define a repair as a minimal subset of the original database that satisfies all integrity constraints, using only tuple deletions.
  • Formulate repair checking as determining whether a given database instance is a valid repair of the original.
  • Study consistent query answers as answers that are true in every possible repair, using query rewriting and logical characterization.
  • Analyze complexity across different query types: quantifier-free, conjunctive, and simple conjunctive queries.
  • Classify complexity based on constraint types: denial constraints, functional dependencies (FDs), inclusion dependencies (INDs), and combinations.
  • Use reductions and complexity-theoretic analysis to prove PTIME tractability for specific combinations of query and constraint classes.

Experimental results

Research questions

  • RQ1Which combinations of integrity constraints and query types allow repair checking to be computed in polynomial time?
  • RQ2Under what conditions is consistent query answering tractable when only tuple deletions are allowed?
  • RQ3How do syntactic restrictions on functional and inclusion dependencies affect the complexity of integrity maintenance?
  • RQ4Can the restriction to tuple deletions alone preserve tractability for key and foreign key constraints?
  • RQ5What is the impact of acyclicity and unary structure in inclusion dependencies on the complexity of repair checking and consistent query answers?

Key findings

  • Repair checking is in PTIME for ground quantifier-free queries under arbitrary denial constraints.
  • Consistent query answers are computable in PTIME for closed simple conjunctive queries when at most one functional dependency exists per relation.
  • The problem of consistent query answering becomes intractable when general functional and inclusion dependencies are combined, even under acyclic INDs.
  • Acyclicity of inclusion dependencies does not guarantee tractability for consistent query answers, despite ensuring tractable repair checking.
  • The restriction to tuple deletions alone does not limit expressiveness for denial constraints, as deletions are the only way to resolve violations.
  • Syntactic restrictions that decouple FDs and INDs in the implication problem do not yield similar tractability in the repair and consistent query answer context due to the maximality constraint in repairs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.