Question: I have been backing-up my
archived redo log files bit the files are not being removed
from the archived redo log directory. What is the RMAN
command to delete archived redo log files after they have
In RMAN there is no need to
manually go to the OS and delete archived redo log files
after they have been backed up, RMAN will do this for you.
You can use the "delete all input" or "delete input"
commands to delete archived redo log files after they have
Be careful using the "delete all"
command because this deletes all archived redo logs files
from all archived redo log file destimations.
example, Oracle docs offer this example of the difference
between "delete all input" and "delete input":
"Assume that you archive to
/arc_dest3, and you run the following
BACKUP DEVICE TYPE sbt
DELETE ALL INPUT;
In this case RMAN backs up only one copy
of each log sequence number in these directories, and then
deletes all copies of any log
that it backed up from the archiving destinations. If you
then RMAN would only delete the specific archived redo log
files that it backed up (for example, it would delete the
archived redo log files in
/arc_dest1 if those
were the files used as the source of the backup, but it
would leave the contents of the
/arc_dest3 intact) ."
Burleson is the American Team
documentation was created as a support and Oracle training reference for use by our
DBA performance tuning consulting professionals.
Feel free to ask questions on our
considering using the services of an Oracle support expert should
independently investigate their credentials and experience, and not rely on
advertisements and self-proclaimed expertise. All legitimate Oracle experts
Oracle technology is changing and we
strive to update our BC Oracle support information. If you find an error
or have a suggestion for improving our content, we would appreciate your
and include the URL for the page.
Copyright © 1996 - 2020
All rights reserved by
is the registered trademark of Oracle Corporation.