US 9,811,332 B2
Deploying incremental scripts
Xiao Long Chen, Beijing (CN); Na Lv, Beijing (CN); Xi Ning Wang, Beijing (CN); Zhe Yan, Beijing (CN); and Zhuo Zhao, Beijing (CN)
Assigned to International Business Machines Corporation, Armonk, NY (US)
Filed by International Business Machines Corporation, Armonk, NY (US)
Filed on Feb. 18, 2016, as Appl. No. 15/47,148.
Application 15/047,148 is a continuation of application No. 14/674,017, filed on Mar. 31, 2015, granted, now 9,513,901.
Prior Publication US 2016/0291960 A1, Oct. 6, 2016
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 9/445 (2006.01); G06F 9/44 (2006.01); G06F 17/30 (2006.01)
CPC G06F 8/68 (2013.01) [G06F 8/65 (2013.01); G06F 17/30371 (2013.01); G06F 17/30377 (2013.01); G06F 17/30489 (2013.01); G06F 17/30598 (2013.01); G06F 17/30604 (2013.01)] 7 Claims
OG exemplary drawing
 
1. A method for deploying incremental script updates, the method comprising:
receiving a first script and a second script, wherein the first script is associated with a database, and wherein the second script is a potential update to the first script;
creating a first set and a second set by comparing the first script and the second script, wherein the first set includes elements that are present in only the second script, and wherein the second set includes elements that are present in the first script and the second script;
classifying the elements associated with the first set, wherein classifying the elements associated with the first set comprises adding metadata tags to the elements associated with the first set corresponding to the function of the element;
creating a context model, wherein the context model includes the elements and corresponding metadata tags associated with the first set and elements associated with the second set;
classifying the elements associated with the first set as structural changes to the database;
creating a data migration script based on the elements classified as structural changes;
creating a third script from the elements classified as structural changes and the data migration script; and
deploying the third script as an update to the first script.