Muhammad Nadeem Chaudhry's Blog


Reclaiming space in flash recovery area

Posted in Uncategorized by Muhammad Nadeem Chaudhry on December 30, 2010

If you physically delete archivelogs, Oracle isn’t aware of this, until you instruct RMAN to validate the files.
Therefore you should run these commands in RMAN :

CROSSCHECK ARCHIVELOG ALL;

DELETE EXPIRED ARCHIVELOG ALL;

CROSSCHECK BACKUP OF DATABASE;

DELETE EXPIRED BACKUP;

The CrossCheck is where RMAN validates Archivelogs. It if finds an ArchiveLog in it’s repository but not present on disk, it marks the file as “Expired” in it’s repository. The next command then “deletes”  the entries for these “Expired” file.

This should reduce the size of flash recovery

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 )

Connecting to %s


%d bloggers like this: