1 follower Follow

Dbvisit Replicate and Sequences


I am going to use Dbvisit Replicate. What do I need to know about sequences? Are they replicated?


This is a frequently asked question and deserves a full answer. In our example we will assume this is an Oracle database replicating to an Oracle database.

A sequence is basically a number generator in Oracle. When the sequence populates a column in Oracle the actual value is inserted into the row in the table. That value also makes it to the Oracle redo logs.

The MINE process will grab the value from the redo log. Notice how the MINE process doesn't even know (or care) that the value came from a sequence. It grabs the data and then puts the data into the PLOG. The APPLY process will read the PLOG and place the data into the target database.

The exception to this rule is if you are running bidirectional replication. There you will want to make sure that sequences are different on each side.

See for more details.

Chris Lawless Answered

Please sign in to leave a comment.