1. 程式人生 > >OCP考試第6題

OCP考試第6題

6. You are working on a CATDB database that contains an Oracle Database version 11.1 catalog schema owned by the user RCO11.

你工作在11g的一個數據庫上,RCO11是catlog schema.

The INST1 database contains an Oracle Database version 10.1 catalog schema owned by the user RCAT10.

INST1是10g,RCAT10是catlog schema.

You want the RMAN to import metadata for database IDs 1423241 and 1423242, registered in RCAT10, into the recovery catalog owned by RCO11.

你想通過RMAN匯入 註冊在RCAT10中的兩個資料庫的metadata 至RCO11的恢復目錄中。

You also want to deregister them from the catalog after import. You executed the following commands to achieve this:

你還想匯入完成後取消註冊

RMAN> CONNECT CATALOG rco11/[email protected]

RMAN> IMPORT CATALOG rcat10/[email protected] DBID=1423241,1423242;

What happens if the RCO11 catalog has scripts with the same name as that of the scripts in RCAT10 catalog?

如果RCO11的catalog中含有和RCAT10一樣的指令碼會怎樣?

A. The scripts in the RCO11 catalog are overwritten.

RCO11中被覆蓋

B. RMAN renames the local stored scripts in the RCO11 catalog.

重新命名

C. The RMAN session in which the command is executed aborts.

Rman的session會被中斷

D. RMAN renames the global scripts that are imported from the RCAT10 catalog.

RMAN會對匯入RCAT10 catalog的全域性指令碼重新命名

 

知識點:

rman catalog代替控制檔案來儲存備份資訊

如果有指令碼有重名的話會重新命名全域性指令碼。