OCP-1Z0-053-V12.02-306题

 

306.If you back up a database without connecting to the recovery catalog, which operations will cause the

recovery catalog to be updated? (Choose all that apply.)

A. The next time you back up the database when you are also connected to the recovery catalog and the

target database

B. The next time you are connected to the target database and the recovery catalog database and issue

the resync command

C. The next time you connect RMAN to just the recovery catalog

D. The next time you connect to the recovery catalog and the target database with RMAN

E. Connecting to the recovery catalog and issuing the resync all databases command

Answer: AB

答案解析:

参考:http://blog.csdn.net/rlhua/article/details/13169205

RMAN 执行重新同步时,会对恢复目录和目标数据库的当前控制文件或备份/备用控制文件进行比较,然后用缺失或更改的信息来更新恢复目录。
重新同步有两种类型:部分和完全。对于部分重新同步,RMAN 会比较控制文件和恢复目录,并使用与备份、归档重做日志、数据文件副本等有关的任何元数据更新恢复目录。
对于完全重新同步,RMAN 先创建控制文件快照,该快照只是控制文件的临时副本。它使用快照与恢复目录进行比较。它比较和更新部分重新同步处理的所有数据,还包括所有数据库结构更改。例如,完全重新同步包括数据库方案更改或新表空间。
注:数据库方案包括数据文件、重做日志文件、归档日志文件、还原段的名称和位置以及在控制文件中找到的其它信息。
如果只对控制文件中由CONTROL_FILE_RECORD_KEEP_TIME控制的记录进行更改,则使用部分重新同步即可。否则,需使用完全重新同步。也可以通过发出RESYNC CATALOG命令执行完全重新同步。
选项A,在下一次连接恢复目录数据库和目标数据库,在备份时,会自动重新同步。
选项B,或者执行手动命令RESYNC CATALOG来执行同步。

原文地址:https://www.cnblogs.com/hzcya1995/p/13316725.html