Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 How do we resend a PLOG?

 A PLOG can be resent from the MINE process to the APPLY process by using an internal engine command. Please see API and Internal Commands for more information.

The process is:

  1. Stop the MINE and APPLY processes
  2. In the console type (use the PLOG sequence instead of X):

    No Format
    dbvrep> ENGINE MINE RESET TO PLOG X


  3. On the target or apply database, run:

    No Format
    SQL> delete dbvrep.dbrsapply_plog_history where sequence>=X;


    Note

    Please create a dummy dbrsapply_plog_history table before executing above command for backup purpose. ( i.e :dbrsapply_plog_history_temp)


  4. On the target or Apply server, move all the plogs >= sequence X that are in the "apply" directory to another location for backup purposes. 
  5. On the source or Mine server, move all the plogs >= sequence X that are in the "mine" directory to another location for backup purposes.  
  6. Restart MINE process
  7. Restart APPLY process

...