Systems and/or methods for migrating live database schemas to support zero downtime deployments with zero data losses
AssigneeSoftware AG
InventorAjay Singh Bamel
Life of this patent
Estimating the term…
Loading patent…
AssigneeSoftware AG
InventorAjay Singh Bamel
Estimating the term…
Certain example embodiments relate to data migration. During setup, migration reference and change log tables are created. The former includes instructions for implementing changes to accommodate the migration. A custom migration procedure is generated to process these instructions. Triggers are created to automatically record, in the change log table, information about data-related actions performed on tables structured using the source schema. During backup, the triggers are activated, and the migration procedure is run to conform a restored version of the data in the tables structured using the source schema to the target schema. During migration, data modifications made to the tables structured using the source schema during the backup stage are replicated in the tables structured using the target schema, by processing the information about the data-related actions recorded in the change log table using the migration procedure, while the triggers also replay further data-related actions encountered during the migration.
A method for migrating data in a database provided by a database server to a target database schema from tables structured according to a source database schema, the database server being configured to receive and respond to requests from external client devices using the database, the method comprising:
A non-transitory computer readable storage medium storing instructions that, when executed by at least one processor of a database server configured to receive and respond to requests from external client devices using a database hosted thereon, cause the database server to migrate data in the database to a target database schema from tables structured according to a source database schema by performing operations comprising:
A database server, comprising:
Dependencies are inferred from the claim text.