oracle文档这样解释
ALTER SYSTEM SWITCH LOGFILE ;
SWITCH LOGFILE Clause
The SWITCH LOGFILE clause lets you explicitly force Oracle to begin writing to a new redo log file group, regardless of whether the files in the current redo log file group are full. When you force a log switch, Oracle begins to perform a checkpoint but returns control to you immediately rather than when the checkpoint is complete. To use this clause, your instance must have the database open. 
ALTER SYSTEM ARCHIVE LOG CURRENT ;
CURRENT Clause
Specify CURRENT to manually archive the current redo log file group of the specified thread, forcing a log switch. If you omit the THREAD parameter, then Oracle archives all redo log file groups from all enabled threads, including logs previous to current logs. You can specify CURRENT only when the database is open.
ALTER SYSTEM ARCHIVE LOG CURRENT NOSWITCH;
NOSWITCH
Specify NOSWITCH if you want to manually archive the current redo log file group without forcing a log switch. This setting is used primarily with standby databases to prevent data divergence when the primary database shuts down. Divergence implies the possibility of data loss in case of primary database failure.
You can use the NOSWITCH clause only when your instance has the database mounted but not open. If the database is open, then this operation closes the database automatically. You must then manually shut down the database before you can reopen it
itpub玉面飞龙斑竹这样解释:
在自动归档的情况下:
lgwr 切换写下一个日志文件的时候,它触发一个checkpoint 过程,这个checkpoint过程要触发DBWR去将上一个日志文件中redo修改的存储在buffer cache中的dirty buffer全部写回磁盘中,然后ckpt进程纪录scn到controlfile (增量检查点);同时lgwr还会触发archive进程 通知归档说可以归档某个日志文件了。 checkpoint过程和归档过程之间没有依赖性。
当上面lwgr触发的checkpoint 过程完成后,会将日志文件的状态从active转到inactive; 这时候这个日志文件才可以被重新写。也就说 并不是日志文件被归档后就可以被覆盖。而要等待发生在该日志文件的检查点过程结束。
如果lgwr要覆盖一个其上检查点过程没有结束的日志文件,lgwr会等待dbwr完成,且应用session会hang住;在alter.log文件中 会出现,checkpoint not complete,unable to allocate new redo log file 类似的错误
当然,如果这个时候db不是自动归档,那么发出switch logfile之后,只会触发ckpt,arc进程不会触发,要使得redo归档,必须手工发出alter system archive log current
This work is licensed under a CC A-S 4.0 International License.