首页 > Linux操作系统 > Linux操作系统 > 043-062


原创 Linux操作系统 作者:jbymy2000 时间:2012-03-06 11:17:10 0 删除 编辑
62. When performing a backup using Recovery Manager (RMAN), which fou
r types of files can be backed up with the RMAN BACKUPcommand? (Choos
e four.)
A. data file
B. password file
C. archivelog file
D. temporary file
E. online redo log file
F. the current control file
G. the tnsnames.ora file
H. current server parameter file
Answer: A, C, F, H
Online redo log file are not supported.
Avoiding the Backup of Online Redo Logs

Although it may seem that you should back up online redo logs along with the datafiles and control file, this technique is dangerous. You should not back up online redo logs for the following reasons:

* The best method for protecting the online logs against media failure is by multiplexing them, that is, having multiple log members in each group, on different disks and disk controllers.
* If your database is in ARCHIVELOG mode, then the archiver is already archiving the filled redo logs.
* If your database is in NOARCHIVELOG mode, then the only type of backups that you should perform. are closed, consistent, whole database backups. The files in this type of backup are all consistent and do not need recovery, so the online logs are not needed.
* You may accidentally restore backups of online redo logs while not intending to, thereby corrupting the database.

A number of situations are possible in which restoring the online logs cause significant problems to the database. The following sections describe scenarios that illustrate how restoring backed up online logs severely compromises recovery.

ARCHIVELOG mode时,rman backup中会发出alter system switch logfile 的命令,并备份archivelog ,等同于备份了online redo。
而noARCHIVELOG mode时,不能online backup,所以,redo log是没有用的。

另外,如果你备份online redo log,并在恢复时使用,覆盖现有的online redo log,可能会引起数据丢失

来自 “ ITPUB博客 ” ,链接:,如需转载,请注明出处,否则将追究法律责任。

上一篇: 043-061
下一篇: 043-063
请登录后发表评论 登录


  • 博文量
  • 访问量