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 language | English |
---|---|
Title of host publication | Relational and Algebraic Methods in Computer Science - 21st International Conference, RAMiCS 2024, Proceedings |
Editors | Uli Fahrenberg, Wesley Fussner, Roland Glück |
Publisher | Springer Science and Business Media Deutschland GmbH |
Pages | 175-192 |
Number of pages | 18 |
ISBN (Print) | 9783031682780 |
DOIs | |
Publication status | Published - 2024 |
Event | 21st International Conference on Relational and Algebraic Methods in Computer Science, RAMiCS 2024 - Prague, Czech Republic Duration: 19 Aug 2024 → 22 Aug 2024 Conference number: 21 https://ramics-conf.github.io/2024/ |
Publication series
Series | Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) |
---|---|
Volume | 14787 LNCS |
ISSN | 0302-9743 |
Conference
Conference | 21st International Conference on Relational and Algebraic Methods in Computer Science, RAMiCS 2024 |
---|---|
Abbreviated title | RAMICS 2024 |
Country/Territory | Czech Republic |
City | Prague |
Period | 19/08/24 → 22/08/24 |
Internet address |
Keywords
- Ampersand
- Data migration
- Generative software
- Incremental software deployment
- Invariants
- Relation algebra
- Schema change
- Zero downtime