×

Database migration sequencing using dynamic object-relationship diagram

  • US 10,838,930 B2
  • Filed: 09/27/2018
  • Issued: 11/17/2020
  • Est. Priority Date: 04/05/2018
  • Status: Active Grant
First Claim
Patent Images

1. A database migration system comprising:

  • at least one processor to execute machine readable instructions stored on at least one non-transitory computer readable medium, wherein the machine readable instructions are executable by the at least one processor to;

    receive a database schema for a first database, the database schema including objects in the first database;

    generate a dynamic object-relationship model for each object in the first database starting from a root object, wherein to generate the dynamic object-relationship model for each object, the at least one processor is to;

    determine an object attribute of a child object in the first database based on the database schema;

    determine whether the object attribute of the child object is a reference to another object in the first database;

    in response to determining the object attribute of the child object is the reference to the another object,determine whether the object attribute of the child object is editable or creatable, including determining if the object attribute of the child object refers to data outside of the child object;

    based on a determination that the object attribute of the child object is editable or creatable, determine whether the object attribute of the child object references itself;

    classify the child object as a self-related object when the child object references itself, or as a direct cross-related object when the child object does not reference itself;

    based on a determination that the object attribute of the child object is non-editable or non-creatable, wherein the object attribute of the child object is non-editable or non-creatable if the object attribute of the child object denotes a parent-child relationship, determine whether the child object is a foreign key of another object;

    classify the child object as an indirect cross-related object when the child object is a foreign key, and classify the child object as a parent-child related object when the child object is not a foreign key; and

    determine an object sequence for migrating the objects in the first database to a second database according to the dynamic object-relationship model, including prioritizing parents in an identified parent-child relationship followed by siblings of the child object in the identified parent-child relationship.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×