Solved

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

Posted on 2009-07-15
3
353 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.

Join & Write a Comment

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

760 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

20 Experts available now in Live!

Get 1:1 Help Now