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

Claim 22:
23. A computer program product for generating a copy of a database using a data streaming protocol database, said computer program product comprising:
a computer readable storage medium having program instructions embodied therewith, said program instructions being executable by one or more computer processors to cause said one or more computer processors to:
set up a structure of a secondary database identical to a primary database;
configure parallel execution degrees of data objects to be copied from said primary database to said secondary database;
build a working set of data objects to be copied from said primary database to said secondary database;
prioritize data objects in said working set of data objects to be copied from said primary database to said secondary database over other data objects;
copy data objects from said primary database to said secondary database using a data streaming protocol for said prioritized data objects;
restore 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;
apply changes made to said data corresponding to a first data object of said data objects in said primary database during said copying of said first data object to corresponding elements in said secondary database, after said first data object has been copied; and
activate said secondary database for use as a duplicate of said primary database subsequent to said copy, said restore, and said apply of changes of all data from said primary database to said secondary database.