Method, system, and product for maintaining software objects during database upgrade
First Claim
1. A computer program product for upgrading a database of objects, comprising a computer-usable medium having embodied therein computer-readable program codes for marking objects in a first database as either modifiable or read-only, wherein marking objects in the first database comprises marking first and second objects in the first database as modifiable and read-only, respectively, wherein modifiable objects are allowed to be changed during upgrade of the first database, and wherein read-only objects are not allowed to be changed during upgrade of the first database;
- generating a second database of objects based on objects in the first database;
identifying modifiable objects in the first database that have been changed from versions used to generate the second database; and
updating objects in the second database based on modified objects in the first database.
0 Assignments
0 Petitions
Accused Products
Abstract
Techniques to support modification of certain data in a database during an upgrade to a new version. In one method, objects in an original database are marked as either modifiable or read-only, with changes being allowed for modifiable objects during the upgrade. An upgraded database of objects is generated based on objects in the original database (e.g., by copying objects in the original database and upgrading the copied objects to new schema and binaries). Changes to modifiable objects in the original database (e.g., after these objects have been copied) are logged. After the upgraded database has been created, objects in this database may be updated (e.g., individually or all at once) by identifying modifiable objects in the original database having changes not yet incorporated into the upgraded database and updating objects in the upgraded database based on the modified objects in the original database.
-
Citations
24 Claims
-
1. A computer program product for upgrading a database of objects, comprising a computer-usable medium having embodied therein computer-readable program codes for
marking objects in a first database as either modifiable or read-only, wherein marking objects in the first database comprises marking first and second objects in the first database as modifiable and read-only, respectively, wherein modifiable objects are allowed to be changed during upgrade of the first database, and wherein read-only objects are not allowed to be changed during upgrade of the first database; -
generating a second database of objects based on objects in the first database;
identifying modifiable objects in the first database that have been changed from versions used to generate the second database; and
updating objects in the second database based on modified objects in the first database. - View Dependent Claims (3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 24)
-
-
2. (canceled)
-
17. In a computer system, a method for upgrading a database of objects, comprising:
-
marking objects in a first database as either modifiable or read-only, wherein marking objects in the first database comprises marking first and second objects in the first database as modifiable and read-only respectively, wherein modifiable objects are allowed to be changed during upgrade of the first database, and wherein read-only objects are not allowed to be changed during upgrade of the first database;
generating a second database of objects based on objects in the first database;
logging changes to modifiable objects in the first database;
identifying modifiable objects in the first database that have been changed from versions used to generate the second database; and
updating objects in the second database based on modified objects in the first database.
-
-
18. In a computer system, a method for upgrading a database of objects, comprising:
-
marking objects in a first database as either modifiable or read-only, wherein marking objects in the first database comprises marking first and second objects in the first database as modifiable and read-only, respectively, wherein modifiable objects are allowed to be changed during upgrade of the first database, and wherein read-only objects are not allowed to be changed during upgrade of the first database;
receiving an indication to start logging changes to modifiable objects;
logging changes to modifiable objects in the first database in response to receiving the indication;
receiving a request for one or more modifiable objects in the first database; and
sending representations that include changes for the one or more requested modifiable objects. - View Dependent Claims (19, 20)
-
-
21. (canceled)
-
22. (canceled)
-
23. A computer program product for upgrading a repository of objects, comprising:
-
code for marking objects in a first database as either modifiable or read-only, wherein the code for marking includes code for marking first and second objects in the first database as modifiable and read-only, respectively, wherein modifiable objects are allowed to be changed during upgrade of the first database, and wherein read-only objects are not allowed to be changed during upgrade of the first database;
code for generating a second database of objects based on objects in the first database;
code for logging changes to modifiable objects in the first database;
code for identifying modifiable objects in the first database that have been changed from versions used to generate the second database;
code for updating objects in the second database based on corresponding modified objects in the first database; and
a data storage medium configured to store the codes.
-
Specification