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 11.2.0.3.0 - 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';

Thanks
A Rahim Khan

Advertisements
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: