Patent ID: 11960369
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A computer-implemented method for generating a copy of a database using a data streaming protocol, the method comprising:
setting up, by one or more computer processors, a structure of a secondary database identical to a primary database;
configuring, by the one or more computer processors, parallel execution degrees of data objects to be copied from said primary database to said secondary database;
building, by the one or more computer processors, a working set of data objects to be copied from said primary database to said secondary database;
prioritizing, by the one or more computer processors, data objects in said working set of data objects to be copied from said primary database to said secondary database over other data objects;
copying, by the one or more computer processors, data objects in parallel from said primary database to said secondary database using a data streaming protocol for said prioritized data objects;
restoring, by the one or more computer processors, data corresponding to said data objects in said secondary database in parallel to said copying data objects from said primary database to said secondary database;
applying, by the one or more computer processors, changes made to said data corresponding to said data object in said primary database during said copying of said data object to corresponding elements in said secondary database, after said data object has been copied; and
activating, by the one or more computer processors, said secondary database for use as a duplicate of said primary database, subsequent to copying, restoring, and applying changes of all data objects from said primary database to said secondary database.