zoukankan      html  css  js  c++  java
  • OCP-1Z0-053-V12.02-26题

     

    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/password@catdb

    RMAN> IMPORT CATALOG rcat10/oracle@inst1 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
    答案解析:
    使用IMPORT CATALOG命令可将元数据从一个恢复目录方案导入至其它目录方案中。如果创建了不同版本的目录方案来存储多个目标数据库的元数据,则使用此命令可以为所有数据库维护单个目录方案。
    IMPORT CATALOG <connectStringSpec>
    [DBID = <dbid> [, <dbid>,…]]
    [DB_NAME=<dbname>[, <dbname,…]]
    [ NO UNREGISTER ];
    <connectStringSpec>是源恢复目录连接字符串。源恢复目录方案的版本必须等于RMAN 可执行文件的当前版本。如果需要,将源目录升级到当前RMAN 本版。
    DBID:你可以指定数据库ID 的列表,数据库ID 的元数据应从源目录方案导入。未指定列表时,RMAN 将所有数据库ID 的元数据从源目录方案合并到目标目录方案中。如果已在恢复目录方案中注册了合并元数据的数据库,RMAN 就会发出错误消息。

    DB_NAME:可以指定应导入其元数据的数据库的名称列表。如果数据库名称不明确,RMAN 就会发出错误消息。
    NO UNREGISTER:默认情况下,导入的数据库ID 在成功导入后从源恢复目录方案中注销。使用NO UNREGISTER选项,可以强制RMAN 将导入的数据库ID 保留在源目录方案中。

    RMAN> CONNECT CATALOG rco11/password@catdb

    RMAN> IMPORT CATALOG rcat10/oracle@inst1 NO UNREGISTER;

    RMAN 将数据库inst1的元数据导入到catdb 数据库中的rco11方案。而NO UNREGISTER说明,在rcat10方案中注册的数据库将不会注销,继续注册在rcat10用户目录中。
  • 相关阅读:
    C#汉字转拼音(支持多音字)
    第15组构建之法团队心得
    初读《构建之法》之所感
    《构建之法》第二章自习之所感
    编程之美1的数目
    c# 将json转换为DataTable
    easyui datagrid deleteRow(删除行)的BUG
    sql 数据库 清空后让表的id从1开始等数据库操作
    sqlite字段类型说明
    webrequest、httpwebrequest、webclient、HttpClient 四个类的区别
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13316733.html
Copyright © 2011-2022 走看看