Method and apparatus for a combined bulk and transactional database synchronous scheme
First Claim
1. A method for duplicating a plurality of entries of a first database to a second database and maintaining said entries in synchronization between the first database and second database using a combined bulk and transactional update scheme, wherein bulk updating refers to the initial updating of the second database with sets of multiple entries from the first database and transactional updating refers to the updating of entries as they are applied to the first database to the second database for entries that are no longer subject to said initial bulk updating, wherein said updating of the second database includes committing the entry or entries to the second database;
- the method comprising;
initializing each of a plurality of groups of said entries as requiring bulk updating prior to commencing updating of the second database with said entries, wherein, at least one of said groups of entries includes a plurality of said entries, and each of said entries are included in one of said groups;
wherein said groups are associated with indications identifying which groups still require said bulk updating;
wherein said initializing includes initializing said indications to identify that all of the groups of entries still require said bulk updating; and
after said initializing, systematically bulk updating entries from each of the plurality of groups until all groups are identified as no longer requiring said bulk updating;
wherein said indications are updated to reflect which groups still require said bulk updating; and
receiving a new request prior to said identification that all groups no longer require bulk updating, and in response;
updating the first database based on the new request, and determining whether or not a particular group of entries of said groups of entries to which said new request corresponds still requires bulk updating in order to determine whether to transactional update the second database with the new request or to allow said systematic bulk updating to update the second database with the new request.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and apparatus are disclosed for a combined bulk and transactional database synchronization scheme. A dynamically changing primary database is initially duplicated to a secondary database using bulk and transactional updates. Then, the secondary database is maintained in synchronization with the primary database using transactional updates. In one implementation, the primary database is divided into synchronization groups. Initially, all the groups are marked as requiring bulk synchronization. Systematically, entries from a group are combined into a bulk update message and relayed to a secondary device or component to bulk update the secondary database. When a new update to the primary database is made, if the group to which it belongs is in the process of, or still requires bulk updating, this new update will be propagated to the secondary database in due course with a subsequent bulk update. Otherwise, the new update is placed in transactional update message.
61 Citations
20 Claims
-
1. A method for duplicating a plurality of entries of a first database to a second database and maintaining said entries in synchronization between the first database and second database using a combined bulk and transactional update scheme, wherein bulk updating refers to the initial updating of the second database with sets of multiple entries from the first database and transactional updating refers to the updating of entries as they are applied to the first database to the second database for entries that are no longer subject to said initial bulk updating, wherein said updating of the second database includes committing the entry or entries to the second database;
- the method comprising;
initializing each of a plurality of groups of said entries as requiring bulk updating prior to commencing updating of the second database with said entries, wherein, at least one of said groups of entries includes a plurality of said entries, and each of said entries are included in one of said groups;
wherein said groups are associated with indications identifying which groups still require said bulk updating;
wherein said initializing includes initializing said indications to identify that all of the groups of entries still require said bulk updating; and
after said initializing, systematically bulk updating entries from each of the plurality of groups until all groups are identified as no longer requiring said bulk updating;
wherein said indications are updated to reflect which groups still require said bulk updating; andreceiving a new request prior to said identification that all groups no longer require bulk updating, and in response;
updating the first database based on the new request, and determining whether or not a particular group of entries of said groups of entries to which said new request corresponds still requires bulk updating in order to determine whether to transactional update the second database with the new request or to allow said systematic bulk updating to update the second database with the new request. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
- the method comprising;
-
13. One or more computer-readable media containing computer-executable instructions for performing operations for duplicating a plurality of entries of a first database to a second database and maintaining said entries in synchronization between the first database and second database using a combined bulk and transactional update scheme, wherein bulk updating refers to the initial updating of the second database with sets of multiple entries from the first database and transactional updating refers to the updating of entries as they are applied to the first database to the second database for entries that are no longer subject to said initial bulk updating, wherein said updating of the second database includes committing the entry or entries to the second database;
- said operations comprising;
initializing each of a plurality of groups of said entries as requiring bulk updating prior to commencing updating of the second database with said entries, wherein, at least one of said groups of entries includes a plurality of said entries, and each of said entries are included in one of said groups;
wherein said groups are associated with indications identifying which groups still require said bulk updating;
wherein said initializing includes initializing said indications to identify that all of the groups of entries still require said bulk updating; and
after said initializing, systematically bulk updating entries from each of the plurality of groups until all groups are identified as no longer requiring said bulk updating;
wherein said indications are updated to reflect which groups still require said bulk updating; andreceiving a new request prior to said identification that all groups no longer require bulk updating, and in response;
updating the first database based on the new request, and determining whether or not a particular group of entries of said groups of entries to which said new request corresponds still requires bulk updating in order to determine whether to transactional update the second database with the new request or to allow said systematic bulk updating to update the second database with the new request. - View Dependent Claims (14)
- said operations comprising;
-
15. A system for duplicating a plurality of entries of an active database to a second database and maintaining said entries in synchronization between the active database and second database using a combined bulk and transactional synchronization scheme, wherein bulk synchronization refers to the initial updating of the second database with sets of multiple entries from the active database and transactional synchronization refers to the updating of entries as they are applied to the active database to the second database for entries that are no longer subject to said initial bulk synchronization, wherein said updating of the second database includes committing the entry or entries to the second database, the system comprising:
-
an active controller including; the active database further comprising an indication of which of the plurality of entries require bulk synchronization, wherein said indication is initialized to reflect that all of said entries require bulk synchronization prior to commencement of said bulk synchronization; an active controller bulk updater to compose a plurality of bulk update messages for communicating the plurality of entries indicated as requiring bulk synchronization to the standby controller; and an active controller transactional updater to compose a plurality of transactional update messages prior to the indication indicating that none of the plurality of entries still requires bulk synchronization; wherein a new request received prior to identifying that none of the plurality of entries still requires bulk synchronization is forwarded to the standby controller by the active controller bulk updater if the new request corresponds to an entry identified as still requiring bulk synchronization else by the transactional updater; and a standby controller including; a second database; and a standby database updater to receive the plurality of bulk update messages from the active controller, to extract the group of the plurality of entries from the received bulk update messages, and to update the second database with the plurality of entries. - View Dependent Claims (16, 17, 18)
-
-
19. An apparatus including means for duplicating a plurality of entries of a first database to a second database and maintaining said entries in synchronization between the first database and second database using a combined bulk and transactional update scheme, wherein bulk updating refers to the initial updating of the second database with sets of multiple entries from the first database and transactional updating refers to the updating of entries as they are applied to the first database to the second database for entries that are no longer subject to said initial bulk updating, wherein said updating of the second database includes committing the entry or entries to the second database;
- wherein said means for duplicating and maintaining said entries includes;
means for initializing each of a plurality of groups of said entries as requiring bulk updating prior to commencing updating of the second database with said entries, wherein, at least one of said groups of entries includes a plurality of said entries, and each of said entries are included in one of said groups;
wherein said groups are associated with indications identifying which groups still require said bulk updating;
wherein said initializing includes initializing said indications to identify that all of the groups of entries still require said bulk updating;means for systematically bulk updating entries from each of the plurality of groups until all groups are identified as no longer requiring said bulk updating;
wherein said indications are updated to reflect which groups still require said bulk updating; andmeans for updating the first database based on a new request received prior to said identification that all groups no longer require bulk updating, said means for updating the first database based on the new request including means for determining whether or not a particular group of entries of said groups of entries to which said new request corresponds still requires bulk updating in order to determine whether to transactional update the second database with the new request or to allow said systematic bulk updating to update the second database with the new request. - View Dependent Claims (20)
- wherein said means for duplicating and maintaining said entries includes;
Specification