Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> benefits of multiple switch logfile calls?
Testing hot backup strategy for Oracle 9.2.0.4. Due to space concerns I'm
not using RMAN right now, just putting tablespaces in backup mode and
gzipping datafiles to backup dir, similar to what we do now in Oracle
7.3.4.5.
One problem I have is that my test recover failed complaining that it needed to apply more archive logs. The logfile it asks for was not created. In my new backup script I call "ALTER DATABASE ARCHIVE LOG CURRENT" before copying over the log files.
However in the Oracle 7.3.4.5 (written by wiser consultant 5 years before my time) script, there are three "switch logfile" statements in succession followed by the archive log current, literally like this:
ALTER SYSTEM SWITCH LOGFILE; ALTER SYSTEM SWITCH LOGFILE; ALTER SYSTEM SWITCH LOGFILE;
![]() |
![]() |