Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: archive redo logfile
Lee <gnt00011_at_partner1.nri.co.jp> wrote in message news:<3F5EDB8D.ED7D3BD3_at_partner1.nri.co.jp>...
> Hello
> i use command 'alter system switch logfile' to switch redo logfile,
> i want to know if the redo logfile was archived atomatically
> at the same time?
> (database is Oracle9i , archivelog mode)
>
> Thanks in advance
>
> Lee
Lee, the answer depends on if your database is in archivelog mode (which you state) and if you have previously turned on automatic archiving.
You turn on auto archieving either by
alter system archive log start and/or setting init.ora parameter
log_archive_start = true
before starting the instance
By the way you could just go to the archive log destination directory and look a few seconds after issuing the command and see if the archived log is there.
HTH -- Mark D Powell -- Received on Wed Sep 10 2003 - 08:19:56 CDT