Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/2213556.2213584acmconferencesArticle/Chapter ViewAbstractPublication PagespodsConference Proceedingsconference-collections
research-article

A dichotomy in the complexity of deletion propagation with functional dependencies

Published: 21 May 2012 Publication History
  • Get Citation Alerts
  • Abstract

    A classical variant of the view-update problem is deletion propagation, where tuples from the database are deleted in order to realize a desired deletion of a tuple from the view. This operation may cause a (sometimes necessary) side effect---deletion of additional tuples from the view, besides the intentionally deleted one. The goal is to propagate deletion so as to maximize the number of tuples that remain in the view. In this paper, a view is defined by a self-join-free conjunctive query (sjf-CQ) over a schema with functional dependencies. A condition is formulated on the schema and view definition at hand, and the following dichotomy in complexity is established. If the condition is met, then deletion propagation is solvable in polynomial time by an extremely simple algorithm (very similar to the one observed by Buneman et al.). If the condition is violated, then the problem is NP-hard, and it is even hard to realize an approximation ratio that is better than some constant; moreover, deciding whether there is a side-effect-free solution is NP-complete. This result generalizes a recent result by Kimelfeld et al., who ignore functional dependencies. For the class of sjf-CQs, it also generalizes a result by Cong et al., stating that deletion propagation is in polynomial time if keys are preserved by the view.

    References

    [1]
    F. Bancilhon and N. Spyratos. Update semantics of relational views. ACM Trans. Database Syst., 6(4):557--575, 1981.
    [2]
    C. Beeri and M. Y. Vardi. A proof procedure for data dependencies. J. ACM, 31(4):718--741, 1984.
    [3]
    P. Buneman, S. Khanna, and W. C. Tan. On propagation of deletions and annotations through views. In PODS, pages 150--158, 2002.
    [4]
    G. Cong, W. Fan, and F. Geerts. Annotation propagation revisited for key preserving views. In CIKM, pages 632--641, 2006.
    [5]
    G. Cong, W. Fan, F. Geerts, J. Li, and J. Luo. On the complexity of view update analysis and its application to annotation propagation. IEEE Trans. Knowl. Data Eng., 24(3):506--519, 2012.
    [6]
    S. S. Cosmadakis and C. H. Papadimitriou. Updates of relational views. J. ACM, 31(4):742--760, 1984.
    [7]
    Y. Cui and J. Widom. Run-time translation of view tuple deletions using data lineage. Technical report, Stanford University, 2001. http://dbpubs.stanford.edu:8090/pub/2001-24.
    [8]
    N. N. Dalvi, K. Schnaitter, and D. Suciu. Computing query probability with incidence algebras. In PODS, pages 203--214, 2010.
    [9]
    N. N. Dalvi and D. Suciu. Efficient query evaluation on probabilistic databases. VLDB J., 16(4):523--544, 2007.
    [10]
    U. Dayal and P. A. Bernstein. On the correct translation of update operations on relational views. ACM Trans. Database Syst., 7(3):381--416, 1982.
    [11]
    R. Fagin, J. D. Ullman, and M. Y. Vardi. On the semantics of updates in databases. In PODS, pages 352--365. ACM, 1983.
    [12]
    A. M. Keller. Algorithms for translating view updates to database updates for views involving selections, projections, and joins. In PODS, pages 154--163. ACM, 1985.
    [13]
    B. Kimelfeld. A dichotomy in the complexity of deletion propagation with functional dependencies (extended version). Accessible from the author's home page, 2012.
    [14]
    B. Kimelfeld, J. Vondrák, and R. Williams. Maximizing conjunctive views in deletion propagation. In PODS, pages 187--198, 2011.
    [15]
    P. G. Kolaitis and E. Pema. A dichotomy in the complexity of consistent query answering for queries with two atoms. In press, 2011.
    [16]
    D. Maslowski and J. Wijsen. On counting database repairs. In LID, pages 15--22, 2011.
    [17]
    A. Meliou, W. Gatterbauer, J. Y. Halpern, C. Koch, K. F. Moore, and D. Suciu. Causality in databases. IEEE Data Eng. Bull., 33(3):59--67, 2010.
    [18]
    A. Meliou, W. Gatterbauer, K. F. Moore, and D. Suciu. The complexity of causality and responsibility for query answers and non-answers. PVLDB, 4(1):34--45, 2010.

    Cited By

    View all
    • (2023)Tractable Orders for Direct Access to Ranked Answers of Conjunctive QueriesACM Transactions on Database Systems10.1145/357851748:1(1-45)Online publication date: 13-Mar-2023
    • (2023)Deletion Propagation Revisited for Multiple Key Preserving ViewsIEEE Transactions on Knowledge and Data Engineering10.1109/TKDE.2021.311085135:3(2445-2456)Online publication date: 1-Mar-2023
    • (2021)Tractable Orders for Direct Access to Ranked Answers of Conjunctive QueriesProceedings of the 40th ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems10.1145/3452021.3458331(325-341)Online publication date: 20-Jun-2021
    • Show More Cited By

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    PODS '12: Proceedings of the 31st ACM SIGMOD-SIGACT-SIGAI symposium on Principles of Database Systems
    May 2012
    332 pages
    ISBN:9781450312486
    DOI:10.1145/2213556
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 21 May 2012

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. complexity dichotomy
    2. deletion propagation
    3. dunctional dependencies

    Qualifiers

    • Research-article

    Conference

    SIGMOD/PODS '12
    Sponsor:

    Acceptance Rates

    PODS '12 Paper Acceptance Rate 26 of 101 submissions, 26%;
    Overall Acceptance Rate 642 of 2,707 submissions, 24%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)6
    • Downloads (Last 6 weeks)1
    Reflects downloads up to 27 Jul 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2023)Tractable Orders for Direct Access to Ranked Answers of Conjunctive QueriesACM Transactions on Database Systems10.1145/357851748:1(1-45)Online publication date: 13-Mar-2023
    • (2023)Deletion Propagation Revisited for Multiple Key Preserving ViewsIEEE Transactions on Knowledge and Data Engineering10.1109/TKDE.2021.311085135:3(2445-2456)Online publication date: 1-Mar-2023
    • (2021)Tractable Orders for Direct Access to Ranked Answers of Conjunctive QueriesProceedings of the 40th ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems10.1145/3452021.3458331(325-341)Online publication date: 20-Jun-2021
    • (2020)Aggregated deletion propagation for counting conjunctive query answersProceedings of the VLDB Endowment10.14778/3425879.342589214:2(228-240)Online publication date: 16-Nov-2020
    • (2020)New Results for the Complexity of Resilience for Binary Conjunctive Queries with Self-JoinsProceedings of the 39th ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems10.1145/3375395.3387647(271-284)Online publication date: 14-Jun-2020
    • (2020)Computing Optimal Repairs for Functional DependenciesACM Transactions on Database Systems10.1145/336090445:1(1-46)Online publication date: 17-Feb-2020
    • (2020)New Results on the Complexity of Deletion PropagationAlgorithmic Aspects in Information and Management10.1007/978-3-030-57602-8_30(336-345)Online publication date: 9-Aug-2020
    • (2019)Deletion Propagation for Multiple Key Preserving Conjunctive Queries: Approximations and Complexity2019 IEEE 35th International Conference on Data Engineering (ICDE)10.1109/ICDE.2019.00052(506-517)Online publication date: Apr-2019
    • (2019)Triangle edge deletion on planar glasses-free RGB-digraphsTheoretical Computer Science10.1016/j.tcs.2018.10.034788:C(2-11)Online publication date: 8-Oct-2019
    • (2019)Enumeration Complexity of Conjunctive Queries with Functional DependenciesTheory of Computing Systems10.1007/s00224-019-09937-964:5(828-860)Online publication date: 16-Aug-2019
    • Show More Cited By

    View Options

    Get Access

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media