Online upgrading of a database environment using transparently-patched seed data tables
First Claim
1. A computer implemented method for online upgrading of a software application in a database environment using transparently-patched seed data, the transparently-patched seed data including initial data accessed by the software application that is upgraded to correspond to an upgrade to the software application, the method comprising:
- creating a copy of seed data by copying, while the software application is running, the seed data in database table rows from a data table to new database table rows in the data table that are temporarily inaccessible by the software application;
applying at least one patch to modify the copy of the seed data in the data table;
stopping the software application and changing the new database table rows temporarily inaccessible by the software application to become accessible by the software application; and
starting the software application to point to the copy of the seed data that includes the new database table rows to which the at least one patch has been applied.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, system, and computer program product for managing upgrades of database systems using a transparently-patched seed data table. The method commences on a running system by copying (while software applications are running) portions of data comprising a seed data table to database table rows that are temporarily inaccessible by the software applications. The copy operation creates new rows (a seed data table copy) in a database table. The method continues while software applications are running by modifying the seed data table copy (e.g., by applying a patch). For a brief time, the method stops the software applications, then changes the database table rows that were temporarily inaccessible by the software applications to become accessible by the software applications and restarts the software application to point to the patched seed data table copy. The patch can add or change a column of the seed data table copy or its schema.
84 Citations
20 Claims
-
1. A computer implemented method for online upgrading of a software application in a database environment using transparently-patched seed data, the transparently-patched seed data including initial data accessed by the software application that is upgraded to correspond to an upgrade to the software application, the method comprising:
-
creating a copy of seed data by copying, while the software application is running, the seed data in database table rows from a data table to new database table rows in the data table that are temporarily inaccessible by the software application; applying at least one patch to modify the copy of the seed data in the data table; stopping the software application and changing the new database table rows temporarily inaccessible by the software application to become accessible by the software application; and starting the software application to point to the copy of the seed data that includes the new database table rows to which the at least one patch has been applied. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer system for online upgrading of a software application in a database environment using a transparently-patched seed data, the transparently-patched seed data including initial data accessed by the software application that is upgraded to correspond to an upgrade to the software application, comprising:
-
a computer processor to execute a set of program code instructions; and a memory to hold the program code instructions, in which the program code instructions comprises program code which, when executed by the computer processor, causes the computer processor to; create a seed data copy at least by copying, while the software application is running, the seed data in database table rows from a data table to new database table rows in the data table that are temporarily inaccessible by the software application; apply at least one patch to modify the copy of the seed data in the data; stop the software application and change the new database table rows temporarily inaccessible by the software application to become accessible by the software application; and start the software application to point to the copy of the seed data that includes the new database table rows to which the at least one patch has been applied. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer program product embodied in a non-transitory computer readable medium, the computer readable medium having stored thereon a sequence of instructions which, when executed by a processor causes the processor to execute a set of acts to implement online upgrading of a software application in a database environment using transparently-patched seed data including initial data accessed by the software application that is upgraded to correspond to an upgrade to the software application, the set of acts comprising:
-
creating a copy of seed data by copying, while the software application is running, the seed data in database table rows from a data table to new database table rows in the data table that are temporarily inaccessible by the software application; applying at least one patch to modify the copy of the seed data in the data table; stopping the software application and changing the new database table rows temporarily inaccessible by the software application to become accessible by the software application; and starting the software application to point to the copy of the seed data that includes the new database table rows to which the at least one patch has been applied. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification