Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Question Regarding switching logfiles
Hi!
> >> What exactly is the difference between the following two commands:
> >>
> >> alter system switch logfile
[snip]
> >> alter system archive log current
> >
> > Causes the current log to be archived, and happens to also induce a
> > log switch. Not a meaningful command if you're not in archive log
> > mode.
[snip]
> Very subtle difference between the 2 commands.
Only when doing online backup, one should always rely on archive log current when considering a backup done - when archive log current completes, it is quaranteed, that the log is shipped to all mandatory locations. Alter system switch logfile is asynchronous in that sense..
Tanel. Received on Sun Apr 13 2003 - 13:02:21 CDT
![]() |
![]() |