How to delete Archivelog from multiple locations for a RAC database
Last updated on OCTOBER 11, 2016
Applies to:Oracle Server - Enterprise Edition - Version: 188.8.131.52.0 to 10.2.0.1.0
Information in this document applies to any platform.
You have a 2 node RAC database with multiple archivelog destinations - with one on local
archivelog destination and the other on the shared disk .
The configuration is as follows
You are in a position to delete the archivelog which have been backed up from one of the destinations for both the nodes that is on the shared disk but not the archivelogs on the local disk and this is the case for the backups run from either of the nodes
allocate channel t1 type 'sbt_tape' CONNECT 'sys/sys@prod1';
allocate channel t2 type 'sbt_tape' CONNECT 'sys/sys@prod2';
BACKUP FORMAT '%d_ARCH_%T_%u_s%s_p%p' ARCHIVELOG ALL DELETE ALL INPUT;
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms