I have been known to do this from time to time. On occasion, I have been required to move the online redo logs...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
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).
Related Q&A from Brian Peasland
Oracle expert Brian Peasland answers one reader's question about common pitfalls when connecting Oracle to outside programs.continue reading
One reader asks expert Brian Peasland a question about datafile sizes with the Oracle RMAN duplicate 10g command.continue reading
Managing parent table-child table relations in Oracle SQL environments is key to efficient programming.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.