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: Noons <wizofoz2k_at_yahoo.com.au>
Date: 29 Jan 2006 18:38:26 -0800
Message-ID: <1138588706.545788.161390@g47g2000cwa.googlegroups.com>


Sybrand Bakker wrote:
>
> 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

and to make life easier for yourself, create the new ones before you drop the old ones.
Then all you need is to switch logfile when you hit the old one that is still being used. Received on Sun Jan 29 2006 - 20:38:26 CST

Original text of this message

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