zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    算法笔记 --- Selection Sort
    算法笔记 --- Radix Sort
    算法笔记 --- Quick Sort
    算法笔记 --- Merge Sort
    算法笔记 --- Insertion Sort
    算法笔记 --- Heap Sort
    算法笔记 --- Counting Sort
    算法笔记 --- Bubble Sort
    算法笔记 --- Tree Travers
    javaweb_JDBC
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13316514.html
Copyright © 2011-2022 走看看