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

    575.You have lost all your database control files. To recover them, you are going to use the results of the

    alter database backup controlfile to trace command. Your datafiles and your online redo logs are all intact.

    Which of the following is true regarding your recovery?

    A. You will need to open the database with the resetlogs command.

    B. All you need to do is execute the trace file from SQL*Plus and it will perform the recovery for you.

    C. You will use the resetlogs version of the create controlfile command.

    D. You will use the noresetlogs version of the create controlfile command.

    E. You will use the trace file to create a backup control file, and then you will recover the database with the

    recover database using backup controlfile command

    Answer: D

    答案解析:

    答案解析:http://docs.oracle.com/cd/E11882_01/server.112/e25494/omf.htm#ADMIN11509


    CREATE CONTROLFILE Using NORESETLOGS Keyword: Example

    The following CREATE CONTROLFILE statement is generated by an ALTER DATABASE BACKUP CONTROLFILE TO TRACE statement for a database with Oracle managed data files and redo log files:

    CREATE CONTROLFILE
         DATABASE sample
         LOGFILE
           GROUP 1 ('/u01/oradata/SAMPLE/onlinelog/o1_mf_1_o220rtt9_.log',
                    '/u02/oradata/SAMPLE/onlinelog/o1_mf_1_v2o0b2i3_.log')
                     SIZE 100M,
           GROUP 2 ('/u01/oradata/SAMPLE/onlinelog/o1_mf_2_p22056iw_.log',
                    '/u02/oradata/SAMPLE/onlinelog/o1_mf_2_p02rcyg3_.log')
                     SIZE 100M
         NORESETLOGS
         DATAFILE '/u01/oradata/SAMPLE/datafile/o1_mf_system_xu34ybm2_.dbf'
                  SIZE 100M,
                  '/u01/oradata/SAMPLE/datafile/o1_mf_sysaux_aawbmz51_.dbf'
                  SIZE 100M,
                  '/u01/oradata/SAMPLE/datafile/o1_mf_sys_undo_apqbmz51_.dbf'
                  SIZE 100M
         MAXLOGFILES 5
         MAXLOGHISTORY 100
         MAXDATAFILES 10
         MAXINSTANCES 2
         ARCHIVELOG;

     
  • 相关阅读:
    追踪CPU跑满
    巧用Systemtap注入延迟模拟IO设备抖动
    用户态函数跟踪 (无调试符号)
    C#(同步调用、异步调用、异步回调)
    如何安装Python环境以及为Visual Studio 2012安装Python插件
    [转] FTP主动模式和被动模式的区别
    ORA-12154: TNS: 无法解析指定的连接标识符
    C# Enum,Int,String的互相转换 枚举转换
    2.Maven之(二)Maven生命周期
    1.Maven之(一)Maven是什么
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13316418.html
Copyright © 2011-2022 走看看