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
D不对,见: http://docs.oracle.com/cd/E11882_01/backup.112/e10643/rcmsynta026.htm#RCMRF198
Ensure that the same database is not registered in both the source recovery catalog schema and destination catalog schema. If a database is registered in both schemas, then
http://docs.oracle.com/cd/E11882_01/backup.112/e10643/rcmsynta026.htm#RCMRF198
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
D不对,见: http://docs.oracle.com/cd/E11882_01/backup.112/e10643/rcmsynta026.htm#RCMRF198
Ensure that the same database is not registered in both the source recovery catalog schema and destination catalog schema. If a database is registered in both schemas, then
UNREGISTER
this database from source recovery catalog and execute the
IMPORT
command again.
http://docs.oracle.com/cd/E11882_01/backup.112/e10643/rcmsynta026.htm#RCMRF198
Semantics
Syntax Element | Description |
---|---|
connectStringSpec | Specifies the connection string for the source recovery catalog, which is the catalog whose metadata is imported. |
DBID integer | Specifies the list of DBIDs for the databases whose metadata is imported from the source catalog schema (see Example 2-93). 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 is imported from the source catalog schema (seeExample 2-93). When not specified, RMAN merges metadata forall 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 areunregistered from source recovery catalog schema. |