Online database migration
First Claim
1. A method for performing an online migration of a plurality of databases between server systems, the method comprising:
- initiating transfer, from a source database server in a source server system to a target database server in a target server system, of a plurality of databases, wherein the source server system is online and responding to database requests during transfer of the plurality of databases, and wherein the source database server and the target database server are distinct servers;
for each particular database within the plurality of databases;
determining, using a scheduler computer system, a particular time at which the particular database is to be copied to the target database server;
initializing, by the scheduler computer system, copying of the particular database to the target database server at the determined particular time; and
recording, by the source server system, a chronological indication of when the copying of the particular database was initialized by the scheduler computer system,wherein the copying of each of the plurality of databases is initialized by the scheduler computer system at a different time, and wherein the copying of each of the plurality of databases requires a different length of time;
during the copying of the plurality of databases, receiving, by the source server system, a plurality of change requests, each change request associated with at least one of the plurality of databases;
storing, by the source server system, the plurality of change requests and, for each change request of the plurality of change requests, a chronological indication of when the change request was received; and
for each particular change request of the received plurality of change requests;
determining one or more of the particular databases affected by the particular change request;
comparing the chronological indication of when the particular change request was received to the one or more chronological indications of when the copying of the one or more of the particular affected databases was initialized; and
determining whether to apply the particular change request to the source server system or the target server system, based on the comparison of the chronological indication of when the particular change request was received to the chronological indications of when the copying of the particular affected databases was initialized; and
verifying, by the target server system, the plurality of databases.
1 Assignment
0 Petitions
Accused Products
Abstract
Various arrangements for performing an online migration between server systems is presented. A transfer, from a source server system to a target server system, of a database, may be initiated. During the transfer, the database of the source server system may remain online. A timing indication of when transfer of the database was initiated may be recorded. While transferring the database, modifications to the records of the database may be received. The plurality of modifications may be stored, and, for each modification of the plurality of modifications, a timing indication of when the modification was received may be stored. After completing the transfer of the database to the target server system, the plurality of modifications to the database stored by the target server system may be applied while the source server system is online.
-
Citations
20 Claims
-
1. A method for performing an online migration of a plurality of databases between server systems, the method comprising:
-
initiating transfer, from a source database server in a source server system to a target database server in a target server system, of a plurality of databases, wherein the source server system is online and responding to database requests during transfer of the plurality of databases, and wherein the source database server and the target database server are distinct servers; for each particular database within the plurality of databases; determining, using a scheduler computer system, a particular time at which the particular database is to be copied to the target database server; initializing, by the scheduler computer system, copying of the particular database to the target database server at the determined particular time; and recording, by the source server system, a chronological indication of when the copying of the particular database was initialized by the scheduler computer system, wherein the copying of each of the plurality of databases is initialized by the scheduler computer system at a different time, and wherein the copying of each of the plurality of databases requires a different length of time; during the copying of the plurality of databases, receiving, by the source server system, a plurality of change requests, each change request associated with at least one of the plurality of databases; storing, by the source server system, the plurality of change requests and, for each change request of the plurality of change requests, a chronological indication of when the change request was received; and for each particular change request of the received plurality of change requests; determining one or more of the particular databases affected by the particular change request; comparing the chronological indication of when the particular change request was received to the one or more chronological indications of when the copying of the one or more of the particular affected databases was initialized; and determining whether to apply the particular change request to the source server system or the target server system, based on the comparison of the chronological indication of when the particular change request was received to the chronological indications of when the copying of the particular affected databases was initialized; and verifying, by the target server system, the plurality of databases. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system for performing an online migration between server systems, the system comprising:
a source server system, configured to; initiate a transfer, from a source database server in the source server system to a target database server in a target server system, of a plurality of databases, wherein the source server system is online and responding to database requests during transfer of the plurality of databases, and wherein the source database server is distinct from the target database server; for each particular database within the plurality of databases; determine, using a scheduler computer system, a particular time at which the particular database is to be copied to the target database server; initialize, by the scheduler computer system, copying of the particular database to the target database server at the determined particular time, and record a chronological indication of when the copying of the particular database was initialized by the scheduler computer system, wherein the copying of each of the plurality of databases is initialized by the scheduler computer system at a different time, and wherein the copying of each of the plurality of databases requires a different length of time;
during the transferring of the plurality of databases,receive a plurality of change requests, each change request associated with at least one of the plurality of databases, store the plurality of change requests and, for each change request of the plurality of change requests, a chronological indication of when the change request was received; and for each particular change request of the received plurality of change requests; determine one or more of the particular databases affected by the particular change request; compare the chronological indication of when the particular change request was received to the one or more chronological indications of when the copying of the one or more of the particular affected databases was initialized; and determine whether to apply the particular change request to the source server system or the target server system, based on the comparison of the chronological indication of when the particular change request was received to the chronological indications of when the copying of the particular affected databases was initialized. - View Dependent Claims (11, 12, 13, 14, 15)
-
16. A computer-readable memory device comprising a set of instructions stored therein which, when executed by a processor, cause the processor to perform an online migration between database systems by:
-
initiating a transfer, from a source database server in a source database system to a target database server in a target database system, of a plurality of databases, wherein the source database system is online and responding to database requests during transfer of the plurality of databases, and wherein the source database server and the target database server are distinct servers; for each particular database within the plurality of databases; determining, using a scheduler computer system, a particular time at which the particular database is to be copied to the target database server; initializing, by the scheduler computer system, copying of the particular database to the target database server at the determined particular time; and recording a chronological indication of when the copying of the particular database was initialized by the scheduler computer system, wherein the copying of each of the plurality of databases is initialized by the scheduler computer system at a different time, and wherein the copying of each of the plurality of databases requires a different length of time; receiving a plurality of change requests while copying the plurality of databases, each change request associated with at least one of the plurality of databases; storing the plurality of change requests and, for each change request of the plurality of change requests, a chronological indication of when the change request was received; and for each particular change request of the received plurality of change requests; determining one or more of the particular databases affected by the particular change request; comparing the chronological indication of when the particular change request was received to the one or more chronological indications of when the copying of the one or more of the particular affected databases was initialized; and determining whether to apply the particular change request to the source database system or the target database system, based on the comparison of the chronological indication of when the particular change request was received to the chronological indications of when the copying of the particular affected databases was initialized; and verifying the plurality of databases. - View Dependent Claims (17, 18, 19, 20)
-
Specification