Preventing change cycling using rules and redo tags in a redo log
First Claim
Patent Images
1. A method used for replicating particular changes to data made at a source database, the method comprising the steps of:
- an apply process applying to data at a destination database server a message describing a particular change of said particular changes;
wherein the step of applying causes generating a first redo record in a redo log, wherein the redo log contains redo records that record changes made to data at said destination database server, wherein said redo records include said first redo record, wherein said first redo record records a first change made by said apply process to data at said destination database server;
wherein said particular change comprises either;
a data definition change to a database object of said source database, or a data manipulation change to a database object of said source database;
wherein said first redo record includes a first value in a first field that specifies that said first change was caused by said process applying messages, said first value not identifying any particular database server;
a capture process scanning said redo log for redo records, including said first redo record, for which to generate messages for said changes made to said data at said destination database server; and
said capture process foregoing generating a message for said first redo record in response to detecting that said first field in said first redo record holds said first value.
1 Assignment
0 Petitions
Accused Products
Abstract
In some messaging system architectures, messages can cycle back to the originator of a message, who may then propagate the message, causing the cycle to be repeated. Described herein are techniques that use rules and fields in a redo log, to manage message flows such that undesired cycles are prevented. The techniques may be used in messaging systems that have various topologies.
58 Citations
14 Claims
-
1. A method used for replicating particular changes to data made at a source database, the method comprising the steps of:
-
an apply process applying to data at a destination database server a message describing a particular change of said particular changes; wherein the step of applying causes generating a first redo record in a redo log, wherein the redo log contains redo records that record changes made to data at said destination database server, wherein said redo records include said first redo record, wherein said first redo record records a first change made by said apply process to data at said destination database server; wherein said particular change comprises either;
a data definition change to a database object of said source database, or a data manipulation change to a database object of said source database;wherein said first redo record includes a first value in a first field that specifies that said first change was caused by said process applying messages, said first value not identifying any particular database server; a capture process scanning said redo log for redo records, including said first redo record, for which to generate messages for said changes made to said data at said destination database server; and said capture process foregoing generating a message for said first redo record in response to detecting that said first field in said first redo record holds said first value. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
Specification