I'm not really sure what you're asking. Are you asking how to delete archived redo log files?
If that's what you're asking my response is that after you've either moved them to tape or some other safe storage device where they can be retrieved in the case you'd need to restore from them, then you can simply delete those files from the directory where they are kept. This could be done with a batch file which could be ran on some kind of schedule and executed as part of the script that either moves your archived files to tape or other storage media.
I don't have a generic script to do this but I'd think it should be pretty straightforward to write one to suit your environment.
For More Information
- Dozens more answers to tough Oracle questions from Karen Morton are available.
- The Best Oracle Web Links: tips, tutorials, scripts, and more.
- Have an Oracle or SQL tip to offer your fellow DBAs and developers? The best tips submitted will receive a cool prize. Submit your tip today!
- Ask your technical Oracle and SQL questions -- or help out your peers by answering them -- in our live discussion forums.
- Ask the Experts yourself: Our SQL, database design, Oracle, SQL Server, DB2, metadata, object-oriented and data warehousing gurus are waiting to answer your toughest questions.
This was first published in November 2002