- 论坛徽章:
- 0
|
原帖由 0727 于 2006-10-17 10:35 发表
alter system switch logfile 与 alter system archive log current区别
引用oracle官方文档中的原话:
http://download-west.oracle.com/ ... s_2013.htm#i2282125
SWITCH LOGFILE Clause
The SWITCH LOGFILE clause lets you explicitly force Oracle Database 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 Database 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.
ARCHIVE LOG 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 Database 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. |
|