×

Live migration of distributed databases

  • US 10,642,860 B2
  • Filed: 06/03/2016
  • Issued: 05/05/2020
  • Est. Priority Date: 06/03/2016
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • implementing, by a processing device, a first intermediate database access mode with respect to a distributed database to be migrated from an original set of storage servers to a destination set of storage servers, wherein, in the first intermediate database access mode, a plurality of records of the distributed database are copied from the original set of storage servers to the destination set of storage servers;

    dynamically adjusting a rate of the copying operation based on real-time measurements of a frontend transaction rate of the distributed database;

    receiving, in the first intermediate database access mode, a database update request comprising a primary key;

    identifying, by applying a first hash function to the primary key, a first storage server of the original set of storage servers;

    identifying, by applying a second hash function to the primary key, a second storage server of the original set of storage servers;

    routing the database update request to the first storage server and the second storage server;

    switching, by the processing device, to a second intermediate database access mode, in which database read requests are routed to the destination set of storage servers and database update requests are routed to both the original set of storage servers and the destination set of storage servers; and

    switching, by the processing device, to a post-migration database access mode, in which database read and update requests are routed to the destination set of storage servers.

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