Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Moving redo log files on a live system

Re: Moving redo log files on a live system

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Sun, 29 Jan 2006 21:58:24 +0100
Message-ID: <j0bqt19vbvsb57ahs88ucut8ht15pgmqo1@4ax.com>


On 29 Jan 2006 11:55:29 -0800, "nmizekan_at_gmail.com" <nmizekan_at_gmail.com> wrote:

>Hello All,
>
>I am in a situation where I have to move redo logs on a live system
>hosted on hp-ux. Is there a way to do this. Any advice will be greatly
>appreciated.
>
>Thanks

alter database drop logfile group <n>

alter database add logfile group <n> ('<filename>','<filename>') size ...

You must make sure the logfile is not in use which you can verify by querying v$log.
If it is in use
alter system switch logfile

--
Sybrand Bakker, Senior Oracle DBA
Received on Sun Jan 29 2006 - 14:58:24 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US