Skip to main content

New Results on the Complexity of Deletion Propagation

  • Conference paper
  • First Online:
  • 883 Accesses

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 12290))

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

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

  1. Bancilhon, F., Spyratos, N.: Update semantics of relational views. ACM Trans. Database Syst. 6, 557–575 (1981)

    Article  Google Scholar 

  2. 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)

    Google Scholar 

  3. 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)

    Google Scholar 

  4. 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)

    Google Scholar 

  5. Cheney, J., Chiticariu, L., Tan, W.-C.: Provenance in databases: why, how, and where. Found. Trends databases 1, 379–474 (2009)

    Article  Google Scholar 

  6. 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)

    Google Scholar 

  7. 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)

    Article  Google Scholar 

  8. 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)

    Article  Google Scholar 

  9. Hastad, J.: Some optimal inapproximability results. J. ACM 48, 798–859 (2001)

    Article  MathSciNet  Google Scholar 

  10. 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)

    Google Scholar 

  11. Kimelfeld, B., Vondrák, J., Williams, R.: Maximizing conjunctive views in deletion propagation. ACM Trans. Database Syst. 37, 1–37 (2012)

    Article  Google Scholar 

  12. Kimelfeld, B., Vondrák, J., Woodruff, D.P.: Multi-tuple deletion propagation: approximations and complexity. Proc. VLDB Endow. 6, 1558–1569 (2013)

    Article  Google Scholar 

  13. 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)

    Article  Google Scholar 

  14. Meliou, A., Roy, S., Suciu, D.: Causality and explanations in databases. Proc. VLDB Endow. 7, 1715–1716 (2014)

    Article  Google Scholar 

  15. 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)

    Article  Google Scholar 

  16. 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)

    Article  MathSciNet  Google Scholar 

  17. Yakout, M., Elmagarmid, A.K., Nevillem, J., Ouzzani, M., Ilyas, I.F.: Guided data repair. Proc. VLDB Endow. 4, 279–289 (2011)

    Article  Google Scholar 

Download references

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

Authors

Corresponding author

Correspondence to Zhipeng Cai .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics