Oracle OCP IZ0-053 Q251(Rman Import Catalog)

abstractcyj發表於2016-03-18
251.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 executed the following RMAN commands:
RMAN> CONNECT CATALOG rco11/password@catdb
RMAN> IMPORT CATALOG rcat10/oracle@inst1;
What happens when you execute the above commands? (Choose all that apply.)
A. They deregister all databases registered in the RCAT10 catalog.
B. They import metadata for all registered databases in the RCAT10 database.
C. They register all the RCAT10-catalog registered databases in the RCO11 catalog.
D. They overwrite all stored scripts in the RCO11 catalog with the same name as that in the RCAT10
catalog.
Answer: ABC

http://docs.oracle.com/cd/E11882_01/backup.112/e10643/rcmsynta026.htm#RCMRF198

Examples

Example 2-92 Importing Metadata for All Registered Databases

In this example, database inst1 contains a 10.2 catalog schema owned by user rcat, while database catdb contains an 11.1 catalog schema owned by user rco. RMAN imports metadata for all database IDs registered in rcat into the recovery catalog owned by rco. All target databases registered in rcat are unregistered.

RMAN> CONNECT CATALOG rco@catdb

recovery catalog database Password: password connected to recovery catalog database
 
RMAN> IMPORT CATALOG rcat@prod;
 
Starting import catalog at 15-FEB-07
source recovery catalog database Password: password connected to source recovery catalog database
import validation complete
database unregistered from the source recovery catalog
Finished import catalog at 15-FEB-07

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/8520577/viewspace-2059481/,如需轉載,請註明出處,否則將追究法律責任。

相關文章