Issue No. 03 - March (2012 vol. 24)
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/TKDE.2011.27
Gao Cong , Nanyang Technological University, Singapore
Wenfei Fan , University of Ediburgh, Edinburgh
Floris Geerts , University of Edinburgh, Edinburgh
Jianzhong Li , Harbin Institue of Technology, Heilongjiang
Jizhou Luo , Harbin Institute of Technology, Heilongjiang
This paper investigates three problems identified in  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 , 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 . 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.
Annotation, view updates, view maintenance, SPJU queries.
J. Luo, G. Cong, J. Li, F. Geerts and W. Fan, "On the Complexity of View Update Analysis and Its Application to Annotation Propagation," in IEEE Transactions on Knowledge & Data Engineering, vol. 24, no. , pp. 506-519, 2011.