US 12,248,443 B2
Database migration
Milena Bergant, San Mateo, CA (US); Hefeng Yuan, Sammamish, WA (US); Hemanth Siddulugari, Dublin, CA (US); and Nithya Muthukrishnan, Fremont, CA (US)
Assigned to Salesforce, Inc., San Francisco, CA (US)
Filed by Salesforce, Inc., San Francisco, CA (US)
Filed on Mar. 3, 2023, as Appl. No. 18/178,251.
Prior Publication US 2024/0296149 A1, Sep. 5, 2024
Int. Cl. G06F 16/21 (2019.01); G06F 16/27 (2019.01)
CPC G06F 16/214 (2019.01) [G06F 16/27 (2019.01)] 17 Claims
OG exemplary drawing
 
1. A method to migrate a database from a first storage cluster to a second storage cluster, the method comprising:
identifying, by a computer system, a current state of the database that is managed by a first database application that enables a first client application to access data of the database stored at the first storage cluster;
copying, by the computer system, first particular data of the database that is associated with the current state from the first storage cluster to the second storage cluster;
after the copying, the computer system:
transitioning the first database application to a read-only mode; and
copying, from the first storage cluster to the second storage cluster, second particular data of the database that was generated by the first database application during the copying of the first particular data; and
instantiating, by the computer system, a second database application in association with the second storage cluster;
causing, by the computer system, write traffic directed at the database to be sent to the second database application instead of the first database application; and
deallocating, by the computer system, the first database application after the instantiating of the second database application.