Data Migration Under a Changing Schema in Ampersand

Sebastiaan Joosten*, Stef Joosten

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference Article in proceedingAcademicpeer-review

Abstract

Software generators that compile and deploy a specification into a functional information system can help to increase the frequency of releases in the software process. They achieve this by reducing development time and minimizing human-induced errors. However, many software generators lack support for data migration. This can inhibit a steady pace of releases, especially for increments that alter the system’s schema in production. Consequently, schema-changing data migrations often face challenges, leading developers to resort to manual migration or employ workarounds. To address this issue, this paper proposes a foundational approach for data migration, aiming to generate migration scripts for automating the migration process. The overarching challenge is preserving the business semantics of data amidst schema changes. Specifically, this paper tackles the task of generating a migration script based on the schemas of both the existing and the desired system, under the condition of zero downtime. The proposed solution was validated by a prototype demonstrating its efficacy. Notably, the approach is technology-independent, articulating systems in terms of invariants, thereby ensuring applicability across various scenarios. The migration script generator will be implemented in a software generator named Ampersand.

Original languageEnglish
Title of host publicationRelational and Algebraic Methods in Computer Science - 21st International Conference, RAMiCS 2024, Proceedings
EditorsUli Fahrenberg, Wesley Fussner, Roland Glück
PublisherSpringer Science and Business Media Deutschland GmbH
Pages175-192
Number of pages18
ISBN (Print)9783031682780
DOIs
Publication statusPublished - 2024
Event21st International Conference on Relational and Algebraic Methods in Computer Science, RAMiCS 2024 - Prague, Czech Republic
Duration: 19 Aug 202422 Aug 2024
Conference number: 21
https://ramics-conf.github.io/2024/

Publication series

SeriesLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume14787 LNCS
ISSN0302-9743

Conference

Conference21st International Conference on Relational and Algebraic Methods in Computer Science, RAMiCS 2024
Abbreviated titleRAMICS 2024
Country/TerritoryCzech Republic
CityPrague
Period19/08/2422/08/24
Internet address

Keywords

  • Ampersand
  • Data migration
  • Generative software
  • Incremental software deployment
  • Invariants
  • Relation algebra
  • Schema change
  • Zero downtime

Fingerprint

Dive into the research topics of 'Data Migration Under a Changing Schema in Ampersand'. Together they form a unique fingerprint.

Cite this