The ARCH process will open a file for output when an online redo log file needs to be archived. This still applies if there are multiple ARCn processes. Once the online redo log has been copied, or archived, then the ARCH process closes that file. ARCH will not reopen the archived redo log again. It will only open the specific archived log file that is is *currently* archiving. The system knows which file is currently being archived by its log sequence number. Hopefully, you use a LOG_ARCHIVE_FORMAT with '%S' in it so that each archived redo log has the log sequence number in the filename. This way, each archived log is guaranteed to have a unique filename.
For More Information
- Dozens more answers to tough Oracle questions from Brian Peasland 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 December 2002