您的位置:首页 > 其它

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

2013-10-27 20:34 393 查看
6.You are working on a CATDB database that contains an Oracle Database version 11.1 catalog schema
owned by the user RCO11. The INST1 database contains an Oracle Database version 10.1 catalog
schema owned by the user RCAT10.
You want the RMAN to import metadata for database IDs 1423241 and 1423242, registered in RCAT10,
into the recovery catalog owned by RCO11. You also want to deregister them from the catalog after import.
You executed the following commands to achieve this:
RMAN> CONNECT CATALOG rco11/password@catdb
RMAN> IMPORT CATALOG rcat10/oracle@inst1 DBID=1423241,1423242;
What happens if the RCO11 catalog has scripts with the same name as that of the scripts in RCAT10 catalog?
A. The scripts in the RCO11 catalog are overwritten.
B. RMAN renames the local stored scripts in the RCO11 catalog.
C. The RMAN session in which the command is executed aborts.
D. RMAN renames the global scripts that are imported from the RCAT10 catalog.
Answer: D
答案解析:
参考:http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmcatdb.htm#BRADV89699

global scripts:可以针对在恢复目录中注册的任何数据库执行.
在import时,如果 global scripts与目标方案的 global scripts名称相同,则RMAN会重新命名为
COPY
 OF
script_name。


A stored script is either global or local. It is possible for global scripts, but not local scripts, to have name conflicts during import because the destination schema contains the script name. In
this case, RMAN renames the global script name to
COPY OF
script_name
. For example, RMAN renames
bp_cmd
to
COPY
 OF bp_cmd
.

If the renamed global script is still not unique, then RMAN renames it to
COPY(2) OF
script_name
. If this script name also exists, then RMAN renames the script to
COPY(3) OF
script_name
.
RMAN continues the
COPY(
n
) OF
pattern until the script is uniquely named.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: