×

System and methods for live data migration

  • US 9,805,071 B1
  • Filed: 03/30/2017
  • Issued: 10/31/2017
  • Est. Priority Date: 11/10/2016
  • Status: Active Grant
First Claim
Patent Images

1. A system for live data migration, the system comprising:

  • one or more processors; and

    memory storing instructions that, when executed by the one or more processors, cause the system to perform;

    migrating at least one first table of a first database schema to at least one second table of a second database schema, the at least one first table storing live data;

    determining a query for modifying the at least one first table during the migration;

    modifying the at least one second table based at least in part on the query;

    updating a mutation table to describe the modification, wherein the mutation table tracks one or more changes to the at least one first table;

    determining at least one field to be migrated from the at least one first table to the at least one second table;

    determining that no write operations have been performed to a row corresponding to the at least one field during the migration, the determining based at least in part on the mutation table; and

    migrating the at least one field from the at least one first table to the at least one second table, the migrating causing data corresponding to the at least one field from the first table to be populated in one or more fields of the second table based at least in part on a respective schema of the second table.

View all claims
  • 8 Assignments
Timeline View
Assignment View
    ×
    ×