天天看點

OCP 1Z0 053 26 IMPORT CATALOG

26.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 commands: 

RMAN> CONNECT CATALOG rco11/[email protected] 

RMAN> IMPORT CATALOG rcat10/[email protected] NO UNREGISTER; 

Which two statements are true regarding the tasks accomplished with these commands? (Choose two.) 

A. They import all metadata from the RCAT10 catalog. 

B. They unregister the database from the RCAT10 catalog. 

C. They do not register the databases registered in the RCAT10 catalog. 

D. They register all databases registered in the RCAT10 catalog. 

Answer: AD 

http://docs.oracle.com/cd/B28359_01/backup.111/b28273/rcmsynta026.htm#RCMRF198

IMPORT CATALOG

Purpose

Use the 

IMPORT CATALOG

 command to import the metadata from one recovery catalog schema into a different catalog schema. If you created catalog schemas of different versions to store metadata for multiple target databases, then this command enables you to maintain a single catalog schema for all databases.

Semantics

Syntax Element Description

connectStringSpec

Specifies the connection string for the source recovery catalog, which is the catalog whose metadata will be imported.

DBID

integer

Specifies the list of DBIDs for the databases whose metadata should be imported from the source catalog schema (see Example 2-85).

When not specified, RMAN merges metadata for all database IDs from the source catalog schema into the destination catalog schema. RMAN issues an error if the database whose metadata is merged is already registered in the recovery catalog schema.

DB_NAME

database_name

Specifies the list of databases whose metadata should be imported from the source catalog schema (see Example 2-85).

When not specified, RMAN merges metadata for all databases from the source catalog schema into the destination catalog schema. RMAN issues an error if the same DBID is registered in both recovery catalogs.

NO UNREGISTER

Forces RMAN to keep imported database IDs in the source catalog schema. By default, the imported database IDs are unregistered from source recovery catalog schema.