Q

Add or drop inactive online redo log files

Can we add or drop (inactive) online redo log files at the open stage?

Can we add or drop (inactive) online redo log files at the open stage?

I have been known to do this from time to time. On occasion, I have been required to move the online redo logs...

from one disk volume to another. Not wanting to schedule downtime for this action, I have devised the following strategy for doing this online:

Ensure your redo log group is INACTIVE by querying V$LOG. If ACTIVE, switch the log (ALTER SYSTEM SWITCH LOGFILE) and wait until the status is INACTIVE.

Next, drop the online redo log (with the ALTER DATABASE DROP LOGFILE GROUP x) command.

With the group removed, add the group anew in the new location (ALTER DATABASE ADD LOGFILE command.

Continue the above process until all logfile groups are moved to their new disk volume(s).

This was last published in August 2007

Dig Deeper on Oracle database backup and recovery

PRO+

Content

Find more PRO+ content and other member only offers, here.

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.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close