GoldenGate, Streams and Distributed Database (MOSC)

MOSC Banner

Archive log deletion after confirmation on applying on streams database.

edited Sep 9, 2012 9:25PM in GoldenGate, Streams and Distributed Database (MOSC) 3 commentsAnswered
Hi,
We have streams database.

Primary Database - Source database
Stream Database - Target database

Last day, few archive files got deleted without shipping/applying to streams database. I was under assumption that RMAN will not delete the archive files until it shipped to target.
How can I make sure archives logs on sources get deleted only after applying archives on target database.
My current script is as below:

RUN {
ALLOCATE CHANNEL ch00 TYPE 'SBT_TAPE';
BACKUP
FILESPERSET 20
FORMAT 'al_%s_%p_%t'
ARCHIVELOG ALL DELETE INPUT;
RELEASE CHANNEL ch00;
}

Thanks,
Brijesh

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center