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).
Dig Deeper on Oracle database administration
Related Q&A from Brian Peasland
In this expert answer, Brian Peasland explains how to call a stored procedure inside user-defined functions in Oracle Database. Continue Reading
One reader asks how he can make a copy of his Oracle Database but not have any data in it, for test purposes. Continue Reading
Learn how to add disk to ASM diskgroup with two-way mirroring and how to specify a failgroup in this tip from Oracle expert Brian Peasland. Continue Reading