053316

Given a complete loss of your database, in what order would you need to perform the following
RMAN operations to restore it?
A. restore controlfile
B. restore database
C. restore spfile
D. recover database
E. alter database open
F. alter database open resetlogs
A. b, a, c, d, e
B. a, c, b, d, f
C. c, a, b, d, e
D. c, a, b, d, f
E. e, a, b, d, c 

  spfile和pfile是指定instance的初始化相关信息;装载database,就是用pfile or spfile里面指定的controlfiles来连接物理database。使Instance和database对应起来。
      controlfiles在mount阶段被读取,open阶段一直被使用 
      https://www.cnblogs.com/snake-hand/archive/2011/07/06/2452278.html
  一般在oracle做recover的时候,导致db或者说是控制文件中的scn与redolog中的不一致的时候,需要reset一下,这样就可以保持一致了。scn=system change number。
  使用resetlogs选项,会把当前的日志序号(log sequence number)重设为1,并抛弃所有日志信息。在以下条件时需要使用resetlogs选项:

  在不完全恢复(介质恢复);

  使用备份控制文件。

  使用resetlogs打开数据库后,务必要完整地进行一次数据库备份。

  

原文地址:https://www.cnblogs.com/Babylon/p/7814458.html