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

    574.A user sends you an email with the following error message: create table idtable(id number) *

    ERROR at line 1: ORA- 01110: data file 4: ,,/oracle01/oradata/orcl/users01.dbf ORA-27041:

    01116: error in opening database file 4 ORA-unable to open file Linux Error: 2: No such file or directory

    Additional information: 3 You can choose from the following steps:

    Which is the correct order of these steps in this case?

    A. Restore the missing database datafiles.

    B. Take the missing datafile offline.

    C. Shut down the database.

    D. Issue the recover tablespace USERS command.

    E. Issue the Startup Mount command to mount the database.

    F. Bring the USERS tablespace online.

    G. Issue the alter database open command.

    H. b, a, d, f

    I. c, a, e, b, d, f, g

    J. c, e, d, g

    K. b, d, f

    L. e, d, g

    Answer: A

    答案解析:

    参考:http://blog.csdn.net/rlhua/article/details/12622415

    从错误得知,丢失了users01.dbf这个数据文件。因为users01.dbf不是关键数据文件,故可以offline来还原恢复。

    恢复步骤为,先offline,在还原恢复,再online即可。

    RMAN> repair failure;


    Strategy: The repair includes complete media recovery with no data loss

    Repair script: /u01/app/oracle/diag/rdbms/test0924/test0924/hm/reco_172511374.hm


    contents of repair script:

       # restore and recover datafile

       sql 'alter database datafile4 offline';

       restore datafile 4;

       recover datafile 4;

       sql 'alter database datafile 4 online';


  • 相关阅读:
    python3中的线程简记
    python3中的SMTP简记
    sql依赖注入简记
    python Internet模块
    python-socket编程简例
    1.docker简介及安装
    kvm迁移
    kvm网络管理
    kvm存储池和存储卷
    2.标准数据类型--字符串
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13316634.html
Copyright © 2011-2022 走看看