Q

What happens when ARCH writers are writing the archive logs?

We have a database that runs three archiving processes. We have another process (Tivoli Storage Manager) to remove

the achive files to tape; via a Unix script. Can you tell me what happens when the ARC writers are writing the archive logs and what would happen if I was to remove one of those files? I have noticed that the archive writers open and close the files each time they write, but what I do not know is how it is all kept in sync.

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


This was first published in December 2002

Dig deeper on Oracle database design and architecture

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close