Maximizing conjunctive views in deletion propagation

Benny Kimelfeld, Jan Vondrák, Ryan Williams

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

In deletion propagation, tuples from the database are deleted in order to reflect the deletion of a tuple from the view. Such an operation may result in the (often necessary) deletion of additional tuples from the view, besides the intentionally deleted one. The complexity of deletion propagation is studied, where the view is defined by a conjunctive query (CQ), and the goal is to maximize the number of tuples that remain in the view. Buneman et al. showed that for some simple CQs, this problem can be solved by a trivial algorithm. This paper identifies additional cases of CQs where the trivial algorithm succeeds, and in contrast, it proves that for some other CQs the problem is NP-hard to approximate better than some constant ratio. In fact, this paper shows that among the CQs without self joins, the hard CQs are exactly the ones that the trivial algorithm fails on. In other words, for every CQ without self joins, deletion propagation is either APX-hard or solvable by the trivial algorithm. The paper then presents approximation algorithms for certain CQs where deletion propagation is APX-hard. Specifically, two constant-ratio (and polynomial-time) approximation algorithms are given for the class of star CQs without self joins. The first algorithm is a greedy algorithm, and the second is based on randomized rounding of a linear program. While the first algorithm is more efficient, the second one has a better approximation ratio. Furthermore, the second algorithm can be extended to a significant generalization of star CQs. Finally, the paper shows that self joins can have a major negative effect on the approximability of the problem.

Original languageEnglish
Title of host publicationPODS'11 - Proceedings of the 30th Symposium on Principles of Database Systems
Pages187-198
Number of pages12
DOIs
StatePublished - 2011
Externally publishedYes
Event30th Symposium on Principles of Database Systems, PODS'11 - Athens, Greece
Duration: 13 May 201115 May 2011

Publication series

NameProceedings of the ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems

Conference

Conference30th Symposium on Principles of Database Systems, PODS'11
Country/TerritoryGreece
CityAthens
Period13/05/1115/05/11

Keywords

  • Approximation
  • Deletion propagation
  • Dichotomy

All Science Journal Classification (ASJC) codes

  • Software
  • Information Systems
  • Hardware and Architecture

Fingerprint

Dive into the research topics of 'Maximizing conjunctive views in deletion propagation'. Together they form a unique fingerprint.

Cite this