Solved

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

Posted on 2009-07-15
3
356 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
  • 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Calculating percentages per course - Oracle Query 3 41
Parametric query in oracle 6 49
null value 15 92
SQL Query 34 79
Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
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

947 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now