Abstract
The problem of deletion propagation in relational database has been studied in database community for decades, where tuples are deleted from the source database in order to realize a desired removal of tuples from the result of a certain query. The deletion may result in unexpected view and source side effects. To minimize the side effects, we study two problems: MaxDP which is to seek a deletion of source tuples that maximizes query result remaining after deleting some view tuples, and MinSD which is to seek a minimum set of source tuples that should be deleted. Two problems have been proved that they are polynomially tractable for conjunctive queries without existential variables (\(\forall \)-CQs). However, for \(\forall \)-CQs, the complexity of MaxDP is still unknown for deletion forbidden restriction, and so does MinSD in the presence of inclusion dependencies. In this paper, new complexity results are obtained on both problems for \(\forall \)-CQs. MaxDP is turned out to be not only NP-complete, but also NP-hard to approximate within \(O(n^{1/5-\epsilon })\) for any constant \(\epsilon >0\) when the deletion of some tuples is forbidden. We then show that even for linear queries, MinSD is no longer polynomially tractable in the presence of inclusion dependencies. The results shows that the complexity of deletion propagation is very sensitive to the presence of some simple constraints.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsReferences
Bancilhon, F., Spyratos, N.: Update semantics of relational views. ACM Trans. Database Syst. 6, 557–575 (1981)
Bohannon, A., Pierce, B.C., Vaughan, J.A.: Relational lenses: a language for updatable views. In: Proceedings of 25th ACM Symposium Principles of Database Systems, pp. 338–347 (2006)
Buneman, P., Chapman, A., Cheney, J.: Provenance management in curated databases. In: Proceedings of the ACM International Conference Management of Data, pp. 539–550 (2006)
Buneman, P., Khanna, S., Tan, W.-C.: On propagation of deletions and annotations through views. In: Proceedings of 21th ACM Symposium Principles of Database Systems, pp. 150–158 (2002)
Cheney, J., Chiticariu, L., Tan, W.-C.: Provenance in databases: why, how, and where. Found. Trends databases 1, 379–474 (2009)
Cong, G., Fan, W., Geerts, F.: Annotation propagation revisited for key preserving views. In: Proceedings of 15th International Conference Information and Knowledge Management, pp. 632–641 (2006)
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. 23, 506–519 (2012)
Freire, C., Gatterbauer, W., Immerman, N., Meliou, A.: The complexity of resilience and responsibility for self-join-free conjunctive queries. Proc. VLDB Endow. 9, 180–191 (2015)
Hastad, J.: Some optimal inapproximability results. J. ACM 48, 798–859 (2001)
Kimelfeld, B.: A dichotomy in the complexity of deletion propagation with functional dependencies. In: Proceedings of 31st ACM Symposium Principles of Database Systems, pp. 191–202 (2012)
Kimelfeld, B., Vondrák, J., Williams, R.: Maximizing conjunctive views in deletion propagation. ACM Trans. Database Syst. 37, 1–37 (2012)
Kimelfeld, B., Vondrák, J., Woodruff, D.P.: Multi-tuple deletion propagation: approximations and complexity. Proc. VLDB Endow. 6, 1558–1569 (2013)
Meliou, A., Gatterbauer, W., Moore, K.F., Suciu, D.: The complexity of causality and responsibility for query answers and non-answers. Proc. VLDB Endow. 4, 34–45 (2010)
Meliou, A., Roy, S., Suciu, D.: Causality and explanations in databases. Proc. VLDB Endow. 7, 1715–1716 (2014)
Miao, D., Cai, Z., Li, J.: On the complexity of bounded view propagation for conjunctive queries. IEEE Trans. Knowl. Data Eng. 30, 115–127 (2017)
Miao, D., Liu, X., Li, J.: On the complexity of sampling query feedback restricted database repair of functional dependency violations. Theor. Comput. Sci. 609, 594–605 (2016)
Yakout, M., Elmagarmid, A.K., Nevillem, J., Ouzzani, M., Ilyas, I.F.: Guided data repair. Proc. VLDB Endow. 4, 279–289 (2011)
Acknowledgement
This work is supported by the National Natural Science Foundation of China (NSFC) Grant NOs. 61972110, 61832003, U1811461, and the National Key R&D Program of China Grant NO. 2019YFB2101900.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
Miao, D., Li, J., Cai, Z. (2020). New Results on the Complexity of Deletion Propagation. In: Zhang, Z., Li, W., Du, DZ. (eds) Algorithmic Aspects in Information and Management. AAIM 2020. Lecture Notes in Computer Science(), vol 12290. Springer, Cham. https://doi.org/10.1007/978-3-030-57602-8_30
Download citation
DOI: https://doi.org/10.1007/978-3-030-57602-8_30
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-57601-1
Online ISBN: 978-3-030-57602-8
eBook Packages: Computer ScienceComputer Science (R0)