skip to main content
research-article

Update rewriting and integrity constraint maintenance in a schema evolution support system: PRISM++

Published:01 November 2010Publication History
Skip Abstract Section

Abstract

Supporting legacy applications when the database schema evolves represents a long-standing challenge of practical and theoretical importance. Recent work has produced algorithms and systems that automate the process of data migration and query adaptation; however, the problems of evolving integrity constraints and supporting legacy updates under schema and integrity constraints evolution are significantly more difficult and have thus far remained unsolved. In this paper, we address this issue by introducing a formal evolution model for the database schema structure and its integrity constraints, and use it to derive update mapping techniques akin to the rewriting techniques used for queries. Thus, we (i) propose a new set of Integrity Constraints Modification Operators (ICMOs), (ii) characterize the impact on integrity constraints of structural schema changes, (iii) devise representations that enable the rewriting of updates, and (iv) develop a unified approach for query and update rewriting under constraints. We then describe the implementation of these techniques provided by our PRISM++ system. The effectiveness of PRISM++ and its enabling technology has been verified on a testbed containing evolution histories of several scientific databases and web information systems, including the Genetic DB Ensembl (410+ schema versions in 9 years), and Wikipedia (240+ schema versions in 6 years).

References

  1. S. Abiteboul and O. M. Duschka. Complexity of answering queries using materialized views. In PODS, pages 254--263, 1998. Google ScholarGoogle Scholar
  2. S. Abiteboul, R. Hull, and V. Vianu. Foundations of databases. Addison Wesley, 1995. Google ScholarGoogle Scholar
  3. F. N. Afrati and P. G. Kolaitis. Repair checking in inconsistent databases: algorithms and complexity. In ICDT, pages 31--41, 2009. Google ScholarGoogle Scholar
  4. M. Arenas, L. Bertossi, and J. Chomicki. Consistent query answers in inconsistent databases. In PODS, pages 68--79, 1999. Google ScholarGoogle Scholar
  5. F. Bancilhon and N. Spyratos. Update semantics of relational views. ACM Trans. Database Syst., 6(4):557--575, 1981. Google ScholarGoogle Scholar
  6. P. A. Bernstein. Applying model management to classical meta data problems. In CIDR, 2003.Google ScholarGoogle Scholar
  7. P. A. Bernstein, T. J. Green, S. Melnik, and A. Nash. Implementing mapping composition. VLDB J., 17(2):333--353, 2008. Google ScholarGoogle Scholar
  8. A. Bohannon, B. C. Pierce, and J. A. Vaughan. Relational lenses: a language for updatable views. In PODS, pages 338--347, 2006. Google ScholarGoogle Scholar
  9. A. Cleve and J.-L. Hainaut. Co-transformations in database applications evolution. In GTTSE, pages 409--421, 2006. Google ScholarGoogle Scholar
  10. C. Curino, M. Ham, F. Moroni, and C. Zaniolo. Pantha rei data set: http://data.schemaevolution.org/. 2009.Google ScholarGoogle Scholar
  11. C. Curino, H. J. Moon, and C. Zaniolo. Graceful database schema evolution: the prism workbench. PVLDB, 1(1):761--772, 2008. Google ScholarGoogle Scholar
  12. 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. Google ScholarGoogle Scholar
  13. A. Deutsch, A. Nash, and J. Remmel. The chase revisited. In PODS, pages 149--158, 2008. Google ScholarGoogle Scholar
  14. A. Deutsch and V. Tannen. Mars: A system for publishing xml from mixed and redundant storage. In VLDB, pages 201--212, 2003. Google ScholarGoogle Scholar
  15. Ensembl development team. Ensembl Genetic DB http://www.ensembl.org, 2009. {Online}.Google ScholarGoogle Scholar
  16. R. Fagin, P. G. Kolaitis, L. Popa, and W.-C. Tan. Composing schema mappings: Second-order dependencies to the rescue. ACM Trans. Database Syst., 30(4):994--1055, 2005. Google ScholarGoogle Scholar
  17. R. Fagin, P. G. Kolaitis, L. Popa, and W.-C. Tan. Quasi-inverses of schema mappings. In PODS, pages 123--132, 2007. Google ScholarGoogle Scholar
  18. R. Fagin, P. G. Kolaitis, L. Popa, and W. C. Tan. Reverse data exchange: coping with nulls. In PODS, pages 23--32, 2009. Google ScholarGoogle Scholar
  19. M. A. Hernández, R. J. Miller, and L. M. Haas. Clio: A semi-automatic tool for schema mapping. In SIGMOD, page 607, 2001. Google ScholarGoogle Scholar
  20. J.-M. Hick and J.-L. Hainaut. Database application evolution: a transformational approach. Data Knowl. Eng., 59(3):534--558, 2006. Google ScholarGoogle Scholar
  21. R. Hull. Non-finite specifiability of projections of functional dependency families. Theor. Comput. Sci., 39:239--265, 1985.Google ScholarGoogle Scholar
  22. Y. Kotidis, D. Srivastava, and Y. Velegrakis. Updates through views: A new hope. In ICDE, page 2, 2006. Google ScholarGoogle Scholar
  23. M. Lenzerini. Data integration: A theoretical perspective. In PODS, pages 233--246, 2002. Google ScholarGoogle Scholar
  24. Y. Liu, S. ren Zhang, and M. qi Fang. Ecological analysis on evolution of information systems. In I3E (2), pages 308--315, 2007.Google ScholarGoogle Scholar
  25. J. Madhavan and A. Y. Halevy. Composing mappings among data sources. In VLDB, pages 572--583, 2003. Google ScholarGoogle Scholar
  26. S. Melnik, E. Rahm, and P. A. Bernstein. Rondo: A programming platform for generic model management. In SIGMOD, pages 193--204, 2003. Google ScholarGoogle Scholar
  27. R. J. Miller, Y. E. Ioannidis, and R. Ramakrishnan. The use of information capacity in schema integration and translation. In VLDB, pages 120--133, 1993. Google ScholarGoogle Scholar
  28. R. J. Miller, Y. E. Ioannidis, and R. Ramakrishnan. Schema equivalence in heterogeneous systems: bridging theory and practice. Inf. Syst., 19(1):3--31, 1994. Google ScholarGoogle Scholar
  29. H. J. Moon, C. Curino, A. Deutsch, C.-Y. Hou, and C. Zaniolo. Managing and querying transaction-time databases under schema evolution. PVLDB, 1(1):882--895, 2008. Google ScholarGoogle Scholar
  30. Y.-G. Ra. Relational schema evolution for program independency. Intelligent Information Technology, pages 273--281, 2005. Google ScholarGoogle Scholar
  31. J. D. Ullman. Information integration using logical views. Theor. Comput. Sci., 239(2):189--210, 2000. Google ScholarGoogle Scholar
  32. Y. Velegrakis, R. J. Miller, and L. Popa. Mapping adaptation under evolving schemas. In VLDB, pages 584--595, 2003. Google ScholarGoogle Scholar
  33. C. Yu and L. Popa. Semantic adaptation of schema mappings when schemas evolve. In VLDB, pages 1006--1017, 2005. Google ScholarGoogle Scholar

Index Terms

  1. Update rewriting and integrity constraint maintenance in a schema evolution support system: PRISM++

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in

      Full Access

      • Published in

        cover image Proceedings of the VLDB Endowment
        Proceedings of the VLDB Endowment  Volume 4, Issue 2
        November 2010
        105 pages

        Publisher

        VLDB Endowment

        Publication History

        • Published: 1 November 2010
        Published in pvldb Volume 4, Issue 2

        Qualifiers

        • research-article

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader