Abstract
Insertion propagation problem is a class of view update problem in relational databases [1]. Given a source database D, a monotone relational algebraic query Q, and the view V generated by the query Q(D), insertion propagation problem is to find a set \(\varDelta D\) of tuples whose insertion into D will add the given tuples \(\varDelta V\) into the view V via Q without producing side-effect on view. In this paper, we consider the fd-restricted version insertion propagation problem ‘\({\textit{fd}}{\text {-}}\textsf {vsef}{\text {-}}{\textsf {ip}}\)’, in which we aim to find the \(\varDelta D\) not only view side-effect free but also without introducing inconsistency with respect to the predefined functional dependencies. We study both data and combined complexity of \({\textit{fd}}{\text {-}}\textsf {vsef}{\text {-}}{\textsf {ip}}\) under both single and group insertion. Interestingly, the problem ranges from \(\mathsf {PTime}\) to \(\mathsf {\Sigma }_{2}^{\mathrm {P}}\)-\(\mathsf {complete}\), for queries in different classes in either complexity aspect.We show that the fd-restricted version will be harder to get the optimal solution, contrary to its counterpart under deletion. Our study of this fd-restricted version insertion propagation problem generalize the computational issues involved in data lineage – the process by which databases updated through view insertion under fd.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Buneman, P., Khanna, S., Tan, W.C.: On propagation of deletions and annotations through views. In: Proceedings of the Twenty-First ACM SIGMOD-SIGACT-SIGART Symposium on Principles of Database Systems, PODS 2002, pp. 150–158. ACM, New York (2002)
Dayal, U., Bernstein, P.A.: On the correct translation of update operations on relational views. ACM Trans. Database Syst. 7(3), 381–416 (1982)
Bancilhon, F., Spyratos, N.: Update semantics of relational views. ACM Trans. Database Syst. 6(4), 557–575 (1981)
Cosmadakis, S.S., Papadimitriou, C.H.: Updates of relational views. J. ACM 31(4), 742–760 (1984)
Bohannon, A., Pierce, B.C., Vaughan, J.A.: Relational lenses: a language for updatable views. In: Proceedings of the Twenty-Fifth ACM SIGMOD-SIGACT-SIGART Symposium on Principles of Database Systems, PODS 2006, pp. 338–347. ACM, New York (2006)
Keller, A.M.: Algorithms for translating view updates to database updates for views involving selections, projections, and joins. In: Proceedings of the Fourth ACM SIGACT-SIGMOD Symposium on Principles of Database Systems, PODS 1985, pp. 154–163. ACM, New York (1985)
Cong, G., Fan, W., Geerts, F., Li, J., Luo, J.: On the complexity of view update analysis and its application to annotation propagation. IEEE Trans. Knowl. Data Eng. 24(3), 506–519 (2012)
Cong, G., Fan, W., Geerts, F.: Annotation propagation revisited for key preserving views. In: Proceedings of the 15th ACM International Conference on Information and Knowledge Management, CIKM 2006, pp. 632–641. ACM, New York (2006)
Kimelfeld, B., Vondrák, J., Williams, R.: Maximizing conjunctive views in deletion propagation. ACM Trans. Database Syst. 37(4), 24:1–24:37 (2012)
Kimelfeld, B.: A dichotomy in the complexity of deletion propagation with functional dependencies. In: Proceedings of the 31st Symposium on Principles of Database Systems, PODS 2012, pp. 191–202. ACM, New York (2012)
Kimelfeld, B., Vondrák, J., Woodruff, D.P.: Multi-tuple deletion propagation: approximations and complexity. Proc. VLDB Endow. 6(13), 1558–1569 (2013)
Miao, D., Liu, X., Li, J.: On the complexity of sampling query feedback restricted database repair of functional dependency violations. Theoret. Comput. Sci. 609, 594–605 (2016)
Abiteboul, S., Hull, R., Vianu, V.: Foundations of Databases. Addison-Wesley, Reading (1995)
Vardi, M.Y.: The complexity of relational query languages (extended abstract). In: Proceedings of the Fourteenth Annual ACM Symposium on Theory of Computing, STOC 1982, pp. 137–146. ACM, New York (1982)
Lechtenbörger, J., Vossen, G.: On the computation of relational view complements. ACM Trans. Database Syst. 28(2), 175–208 (2003)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2016 Springer International Publishing Switzerland
About this paper
Cite this paper
Miao, D., Cai, Z., Liu, X., Li, J. (2016). On the Complexity of Insertion Propagation with Functional Dependency Constraints. In: Dinh, T., Thai, M. (eds) Computing and Combinatorics . COCOON 2016. Lecture Notes in Computer Science(), vol 9797. Springer, Cham. https://doi.org/10.1007/978-3-319-42634-1_50
Download citation
DOI: https://doi.org/10.1007/978-3-319-42634-1_50
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-42633-4
Online ISBN: 978-3-319-42634-1
eBook Packages: Computer ScienceComputer Science (R0)