Solved

How to cleanup/resume two-way Oracle replication after failures=16 or 19?

Posted on 2009-07-15
3
361 Views
Last Modified: 2013-12-19
Have two sites: master and snapshot. There is a table TableA in master site and its snapshot is in snapshot site. It's a two-way replication. The snapshot is updatable. In snapshot site I check dba_jobs and found out the failures for the snapshot of TableA is 16. How to cleanup the failure status and resume operations?  
0
Comment
Question by:jl66
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 7

Assisted Solution

by:fluglash
fluglash earned 500 total points
ID: 24866814
use DBMS_JOB package.

you also can create a job that will periodicaly check replication job to kick them back to work if they are broken
0
 

Author Comment

by:jl66
ID: 24869177
how to do that? can you throw some idea?
0
 
LVL 7

Accepted Solution

by:
fluglash earned 500 total points
ID: 24876249
something like:

declare
x binary_integer;
begin
DBMS_JOB.submit(job => x,what=>'dbms_job.broken(job => YOUR_BROKEN_JOB_ID, broken=>FALSE);',next_date => sysdate ,interval => sysdate+10/1440');
end;

for more info on DBMS_JOB package check roacle documentation:
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_job.htm#BABBICAJ
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Oracle DBLINKS From 11g to 8i 3 63
run sql script from putty 4 179
join actual table rows based on the column 25 31
return value in based on value passed 6 37
Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
Via a live example, show how to take different types of Oracle backups using RMAN.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question