• OCP-1Z0-053-V12.02-154题


     

    154.A database is running in ARCHIVELOG mode and regular backups are performed. A user receives

    the following error message:


    Which is the recommended sequence of operations you need to perform for the query successfully?

    A. Drop the affected tablespace, re-create the tablespace, restore the datafiles, and the tablespace.

    B. Take the affected datafile offline (if not already offline), restore the damaged image of the datafile, and

    then bring it online.

    C. Restart the database in MOUNT mode, restore the damaged datafile, recover the datafile and then

    open the database with resetlogs.

    D. Put the database in RESTRICTED mode, restore all the datafiles in the affected datafile and recover

    the tablespace, and then put the database in normal operational mode.

    Answer: C

    答案解析:

    ORA-01116: error in opening database file 6
    ORA-01110: data file 6: '/u01/app/oracle/oradata/test1107/test01.dbf'
    ORA-27041: unable to open file
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3

    [oracle@rtest ~]$ oerr ora 1116

    01116, 00000, "error in opening database file %s"

    // *Cause:  Usually the file is not accessible.

    // *Action: Restore the database file.


    A,错,缺少文件,不能打开数据库,在mount状态下不能drop表空间。

    B,错,缺少recover

    C ,错,可以直接open数据库,不能使用resetlogs,因为不是不完全恢复。

    D,错,在RESTRICTED 模式下,rman能连接不能使用,报错:ORA-19573: cannot obtain exclusive enqueue for datafile 6

  • 相关阅读:
    騎士宣言
    [洛谷P1631] 序列合并
    [HNOI2006]公路修建问题
    [洛谷2068] 统计和
    [洛谷P1168] 中位数
    【模板】可持久化数组(可持久化线段树/平衡树)
    【模板】可持久化线段树 1(主席树)
    [JSOI2008]最大数maxnumber
    NOI导刊2010提高(06) 黑匣子
    [洛谷1533] 可怜的狗狗
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13316514.html
Copyright © 2020-2023  润新知