ON DEMAND DATA CONVERSION
First Claim
1. A method of updating a database, the method comprising:
- providing a database comprising a first table having stored therein data in a first format, the of data comprising a plurality of records including a first record that comprises a plurality of fields;
determining that an application that uses the database to be updated, wherein the updated application is configured to be operable in either a pre-update version or an updated version, wherein the pre-update version of the application requires data to be stored in the database in the first format, and wherein the updated version of the application requires data to be stored in the database in a second format;
providing for a system constant to be assigned a first value, indicating that the application should continue to be operate in the pre-update version;
selecting a first data interface to provide access to the database, based on the first value of the system constant, wherein the first data interface provides access to data in the first format;
storing one or more additional records from the application in the first table, wherein the additional records are stored in the first format and are received via the first data interface;
providing for the system constant to be assigned a second value, indicating that the application should operate in the updated version;
selecting a second data interface to provide access to the database, based on the second value of the system constant, wherein the second data interface provides access to data in the second format;
receiving a request from the application, operating in the updated version, to access the first record in the first table;
based on the request, converting the first record to the second format for access by the application, wherein converting the first record comprises augmenting the first record with one or more additional fields and storing at least some of the one or more additional fields in a second table; and
providing the application with access with access to least some of the one or more additional fields via the second data interface, when the application is operating in the second version.
1 Assignment
0 Petitions
Accused Products
Abstract
Novel tools for updating data structures in a database. In an aspect, the tools are used to update a database'"'"'s structures in response to the update of an application (such as an enterprise application) that uses the database. In another aspect, the tools may convert a data set to a new format when the updated application attempts to access the data set; in some cases, other data sets within the database might remain unconverted until their use. Advantageously, this allows for a database (and/or a table within a database) to be updated incrementally and/or on demand. This feature can mitigate the impact of the update on users, for example, by avoiding the need to take the database (and/or application) offline to perform a batch process to update the database.
42 Citations
25 Claims
-
1. A method of updating a database, the method comprising:
-
providing a database comprising a first table having stored therein data in a first format, the of data comprising a plurality of records including a first record that comprises a plurality of fields; determining that an application that uses the database to be updated, wherein the updated application is configured to be operable in either a pre-update version or an updated version, wherein the pre-update version of the application requires data to be stored in the database in the first format, and wherein the updated version of the application requires data to be stored in the database in a second format; providing for a system constant to be assigned a first value, indicating that the application should continue to be operate in the pre-update version; selecting a first data interface to provide access to the database, based on the first value of the system constant, wherein the first data interface provides access to data in the first format; storing one or more additional records from the application in the first table, wherein the additional records are stored in the first format and are received via the first data interface; providing for the system constant to be assigned a second value, indicating that the application should operate in the updated version; selecting a second data interface to provide access to the database, based on the second value of the system constant, wherein the second data interface provides access to data in the second format; receiving a request from the application, operating in the updated version, to access the first record in the first table; based on the request, converting the first record to the second format for access by the application, wherein converting the first record comprises augmenting the first record with one or more additional fields and storing at least some of the one or more additional fields in a second table; and providing the application with access with access to least some of the one or more additional fields via the second data interface, when the application is operating in the second version. - View Dependent Claims (2, 3)
-
-
4. A method of updating a database, the method comprising:
-
providing a database for storing data for an application, the database comprising a first table, the first table being configured to store a plurality of data sets; determining that the application has been updated from a first version to a second version, wherein the first version of the application requires data to be stored in the database in a first format, and wherein the second version of the application requires data to be stored in the database in a second format; receiving a request from the application, operating in the second version, to access a first data set in the first table; converting the first data set to the second format for access by the application, based on the request; and providing the application with access to at least a portion of the first data set in the second format, when the application is operating in the second version. - View Dependent Claims (5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23)
-
-
24. A computer readable storage medium having encoded thereon a computer program comprising a set of instructions for programming a computer system to perform a set of operations, the computer program comprising:
-
instructions to provide a database for storing data for an application, the database comprising a first table, the first table being configured to store a plurality of data sets; instructions to determine that the application has been updated from a first version to a second version, wherein the first version of the application requires data to be stored in the database in a first format, and wherein the second version of the application requires data to be stored in the database in a second format; instructions to receive a request from the application, operating in the second version, to access a first data set in the first table; instructions to convert the first data set to the second format for access by the application, based on the request; and instructions to provide the application with access to at least a portion of the first data set in the second format, when the application is operating in the second version.
-
-
25. A computer system, comprising:
-
a database for storing data for an application, the database comprising a first table, the first table being configured to store a plurality of data sets; one or more processors in communication with the database; a computer readable storage medium having encoded thereon a computer program comprising a set of instructions for programming the one or more processors to perform a set of operations, the computer program comprising; instructions to determine that the application has been updated from a first version to a second version, wherein the first version of the application requires data to be stored in the database in a first format, and wherein the second version of the application requires data to be stored in the database in a second format; instructions to receive a request from the application, operating in the second version, to access a first data set in the first table; instructions to convert the first data set to the second format for access by the application, based on the request; and instructions to provide the application with access to at least a portion of the first data set in the second format, when the application is operating in the second version.
-
Specification