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

    189.What RMAN command must you use before you can back up a database using the recovery catalog?

    A. create catalog

    B. install database

    C. catalog database

    D. merge Catalog with database

    E. register database

    Answer: E

    答案解析:

    Registering a Database with the REGISTER DATABASE Command

    The first step in using a recovery catalog with a target database is registering the target database in the recovery catalog. If you use the catalog in a Data Guard environment, then you can only register the primary database in this way.

    Use the following procedure:

    1. Start RMAN and connect to a target database and recovery catalog. The recovery catalog database must be open.

      For example, issue the following command to connect to the catalog database with the net service name catdb as user rman (who owns the catalog schema):

      % rman TARGET / CATALOG rman@catdb
    2. If the target database is not mounted, then mount or open it:

      STARTUP MOUNT;
    3. Register the target database in the connected recovery catalog:

      REGISTER DATABASE;

      RMAN creates rows in the catalog tables to contain information about the target database, then copies all pertinent data about the target database from the control file into the catalog, synchronizing the catalog with the control file.

    4. Verify that the registration was successful by running REPORT SCHEMA:

      REPORT SCHEMA;
      Report of database schema
      File Size(MB) Tablespace RB segs Datafile Name
      ---- ---------- ---------------- ------- -------------------
      1 307200 SYSTEM NO /oracle/oradata/trgt/system01.dbf
      2 20480 UNDOTBS YES /oracle/oradata/trgt/undotbs01.dbf
      3 10240 CWMLITE NO /oracle/oradata/trgt/cwmlite01.dbf
      4 10240 DRSYS NO /oracle/oradata/trgt/drsys01.dbf
      5 10240 EXAMPLE NO /oracle/oradata/trgt/example01.dbf
      6 10240 INDX NO /oracle/oradata/trgt/indx01.dbf
      7 10240 TOOLS NO /oracle/oradata/trgt/tools01.dbf
      8 10240 USERS NO /oracle/oradata/trgt/users01.dbf

  • 相关阅读:
    小白逆袭的真实故事,句句干货不看损失一个亿!
    CODEFORCES 1367F2 FLYING SORT (HARD VERSION)
    整理:iOS开发知识点
    EBS-子库存转移和物料搬运单区别
    Oracle ERP系統借贷关系表
    ORACLE ERP各模块会计分录
    SQL Queries and Multi-Org Architecture in Release 12
    ORALCE EBS ALERT 初体验
    工作流邮件审批设置
    How to Send an Email Using UTL_SMTP with Authenticated Mail Server
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13317168.html
Copyright © 2011-2022 走看看