On the Complexity of View Update Analysis and Its Application to Annotation Propagation

Gao Cong, Wenfei Fan, Floris Geerts, Jianzhong Li, Jizhou Luo

Research output: Contribution to journalArticlepeer-review

Abstract / Description of output

This paper investigates three problems identified in [1] for annotation propagation, namely, the view side-effect, source side-effect, and annotation placement problems. Given annotations entered for a tuple or an attribute in a view, these problems ask what tuples or attributes in the source have to be annotated to produce the view annotations. As observed in [1], these problems are fundamental not only for data provenance but also for the management of view updates. For an annotation attached to a single existing tuple in a view, it has been shown that these problems are often intractable even for views defined in terms of simple SPJU queries [1]. We revisit these problems by considering several dichotomies: 1) views defined in various subclasses of SPJU, versus SPJU views under a practical key preserving condition; 2) annotations attached to existing tuples in a view versus annotations on tuples to be inserted into the view; and 3) a single-tuple annotation versus a group of annotations. We provide a complete picture of intractability and tractability for the three problems in all these settings. We show that key preserving views often simplify the propagation analysis. Indeed, some problems become tractable for certain key preserving views, as opposed to the intractability of their counterparts that are not key preserving. However, group annotations often make the analysis harder. In addition, the problems have quite diverse complexity when annotations are attached to existing tuples in a view and when they are entered for tuples to be inserted into the view.
Original languageEnglish
Pages (from-to)506-519
Number of pages14
JournalIEEE Transactions on Knowledge and Data Engineering
Issue number3
Publication statusPublished - 2012


Dive into the research topics of 'On the Complexity of View Update Analysis and Its Application to Annotation Propagation'. Together they form a unique fingerprint.

Cite this