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';


  • 相关阅读:
    bzoj3110
    idea 设置系列 各种乱码
    vim 系列
    idea 神键
    简单工厂,工厂方法,抽象工厂
    log4 按包进行日志输出
    maven依赖本地宝
    kafka 理论学习
    kafka windows环境搭建 测试
    linux 查找文件的命令
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13316634.html
Copyright © 2011-2022 走看看