Archive for September, 2012

Delete Archive Log using rman

This scenario is like you don’t have any space left in db_recovery_file_dest or any other archive destination and you need to delete some archive logs to bring the database up and running.

Don’t delete archive logs manually, instead use rman to do this job.

rman target /

Recovery Manager: Release - Production on Sun Sep 30 10:02:33 2012

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

connected to target database: ABABIL (DBID=1225231090)

RMAN>delete noprompt archivelog until time 'sysdate -5';

A Rahim Khan


Add REDO Group with Multiplexed Member

Use this script to add redo group with multiplexed Member.

alter database add logfile group 4 ('/redolog02fs/redo/ababil_redoG4M2.log','/redolog01fs/redo/ababil_redoG4M1.log')size 100M;


A Rahim Khan