Skip to main content
Log in

Preserving mapping consistency under schema changes

  • Published:
The VLDB Journal Aims and scope Submit manuscript

Abstract.

In dynamic environments like the Web, data sources may change not only their data but also their schemas, their semantics, and their query capabilities. When a mapping is left inconsistent by a schema change, it has to be detected and updated. We present a novel framework and a tool (ToMAS) for automatically adapting (rewriting) mappings as schemas evolve. Our approach considers not only local changes to a schema but also changes that may affect and transform many components of a schema. Our algorithm detects mappings affected by structural or constraint changes and generates all the rewritings that are consistent with the semantics of the changed schemas. Our approach explicitly models mapping choices made by a user and maintains these choices, whenever possible, as the schemas and mappings evolve. When there is more than one candidate rewriting, the algorithm may rank them based on how close they are to the semantics of the existing mappings.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Abiteboul S, Duschka OM (1998) Complexity of answering queries using materialized views. In: PODS, pp 254-263

  2. Bohannon P, Freire J, Haritsa JR, Ramanath M, Roy P, Siméon J (2002) LegoDB: Customizing relational storage for XML documents. In: VLDB, pp 1091-1094

  3. Bertino E, Haas LM, Lindsay BG (1983) View management in distributed data base systems. In: VLDB, pp 376-378

  4. Banerjee J, Kim W, Kim H, Korth HF (1987) Semantics and implementation of schema evolution in object-oriented databases. In: SIGMOD, pp 311-322

  5. Bernstein P, Rahm E (2003) Data warehouse scenarios for model management. In: ER, pp 1-15

  6. Claypool KT, Jin J, Rundensteiner EA (1998) SERF: Schema evolution through an extensible re-usable and flexible FRAMEWORK. In: CIKM, pp 314-321

  7. Ceri S, Widom J (1991) Deriving production rules for incremental view maintenance. In: VLDB, pp 277-289

  8. Florescu D, Kossmann D (1999) Storing and querying XML data using an RDMBS. IEEE Data Eng Bull 22(3):27-34

    Google Scholar 

  9. Fagin R, Kolaitis PG, Miller RJ, Popa L (2003) Data exchange: semantics and query answering. In: ICDT, pp 207-224

  10. Fagin R, Kolaitis P, Popa L, Tan W (2004) Composing schema mappings: second-order dependencies to the rescue. In: PODS

  11. Gyssens M, Lakshmanam L, Subramanian IN (1995) Tables as a paradigm for querying and restructuring. In: PODS, pp 93-103

  12. Grahne G, Mendelzon AO (1999) Tableau techniques for querying information sources through global schemas. In: ICDT, pp 332-347

  13. Gupta A, Mumick I, Ross K (1995) Adapting materialized views after redefinition. In: SIGMOD, pp 211-222

  14. Halevy A, Ives Z, Suciu D, Tatarinov I (2003) Schema mediation in peer data management systems. In: ICDE, pp 505-517

  15. Kantola M, Mannila H, Räihä K-J, Siirtola H (1992) Discovering functional and inclusion dependencies in relational databases. Int J Intell Sys 7(7):591-607

    MATH  Google Scholar 

  16. Kotidis Y, Roussopoulos N (1999) DynaMat: a dynamic view management system for data warehouses. In: SIGMOD, pp 371-382

  17. Kotidis Y, Roussopoulos N (2001) A case for dynamic view management. ACM Trans Database Sys 26(4):388-423

    Article  Google Scholar 

  18. Lenzerini M (2002) Data integration: a theoretical perspective. In: PODS, pp 233-246

  19. Lerner BS (2000) A model for compound type changes encountered in schema evolution. ACM Trans Database Syst 25(1):83-127

    Article  Google Scholar 

  20. Lee AJ, Nica A, Rundensteiner EA (2002) The EVE approach: view synchronization in dynamic distributed environments. Trans Knowl Data Eng 14(5):931-954

    Article  Google Scholar 

  21. Levy AY, Rajaraman A, Ordille JJ (1996) Querying heterogeneous information sources using source descriptions. In: VLDB, pp 251-262

  22. Madhavan J, Bernstein P, Rahm E (2001) Generic schema matching with Cupid. In: VLDB, pp 49-58

  23. Mohania MK, Dong G (1996) Algorithms for adapting materialised views in data warehouses. In: CODAS, pp 309-316

  24. Madhavan J, Halevy AY (2003) Composing mappings among data sources. In: VLDB

  25. Miller RJ, Haas LM, Hernandez M (2003) Schema mapping as query discovery. In: VLDB, pp 77-88

  26. Maier D, Mendelzon AO, Sagiv Y (1979) Testing implications of data dependencies. ACM Trans Database Syst 4(4):455-469

    Article  MATH  Google Scholar 

  27. McBrien P, Poulovassilis A (2002) Schema evolution in heterogeneous database architectures, a schema transformation approach. In: CAiSE, pp 484-499

  28. Mumick IS, Quass D, Mumick BS (1997) Maintenance of data cubes and summary tables in a warehouse. In: SIGMOD, pp 100-111

  29. Melnik S, Rahm E, Bernstein P (2003) Rondo: a programming platform for generic model management. In: SIGMOD, pp 193-204

  30. Popa L, Tannen V (1999) An equational chase for path-conjunctive queries, constraints, and views. In: ICDT, pp 39-57

  31. Popa L, Velegrakis Y, Miller RJ, Hernandez MA, Fagin R (2002) Translating Web data. In: VLDB, pp 598-609

  32. Rahm E, Bernstein PA (2001) A survey of approaches to automatic schema matching. VLDB J 10(4):334-350

    Article  Google Scholar 

  33. Spaccapietra S, Parent C (1994) View integration: a step forward in solving structural conflicts. Trans Knowl Data Eng 6(2):258-274

    Article  Google Scholar 

  34. Shamir R, Tsur D (1999) Faster subtree isomorphism. J Algorithms 33(2):267-280

    Article  MathSciNet  MATH  Google Scholar 

  35. Velegrakis Y (2004) Managing schema mappings in highly heterogeneous environments. PhD thesis, University of Toronto (in preparation)

  36. Velegrakis Y, Miller RJ, Popa L (2003) Mapping adaptation under evolving schemas. In: VLDB, pp 584-595

  37. Vassalos V, Papakonstantinou Y (1997) Describing and using query capabilities of heterogeneous sources. In: VLDB, pp 256-265

  38. W3C (2001) XML Schema Part 0: Primer. http://www.w3.org/TR/xmlschema-0/, W3C Recommendation

  39. Widom J (1995) Research problems in data warehousing. In: CIKM, pp 25-30

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Yannis Velegrakis.

Additional information

Received: 13 January 2004, Accepted: 26 March 2004, Published online: 12 August 2004

Edited by: M. Carey

Rights and permissions

Reprints and permissions

About this article

Cite this article

Velegrakis, Y., Miller, R.J. & Popa, L. Preserving mapping consistency under schema changes. VLDB 13, 274–293 (2004). https://doi.org/10.1007/s00778-004-0136-2

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00778-004-0136-2

Keywords

Navigation