zoukankan      html  css  js  c++  java
  • 053579

    You have lost all your online redo logs. As a result, your database has crashed. You have tried to restart the database and clear the online redo log files, but when you try to open the database you get the following error.
    SQL> startup ORACLE instance started.
    Total System Global Area 167395328 bytes Fixed Size 1298612 bytes Variable Size 142610252 bytes
    Database Buffers 20971520 bytes Redo Buffers 2514944 bytes Database mounted.
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1: ,,/oracle01/oradata/orcl/redo02a.log
    ORA-27037: unable to obtain file status Linux Error: 2: No such file or directory
    Additional information: 3
    ORA-00312: online log 2 thread 1: ,,/oracle01/oradata/orcl/redo02.log ORA-27037: unable to obtain file status Linux Error: 2: No such file or directory Additional information: 3
    SQL> alter database clear logfile group 2; alter database clear logfile group 2 * ERROR at line 1:ORA-01624: log 2 needed for crash recovery of instance orcl (thread 1) ORA-00312: online log 2 thread
    1: ,,/oracle01/oradata/orcl/redo02.log ORA-00312: online log 2 thread
    1: ,,/oracle01/oradata/orcl/redo02a.log
    What steps must you take to resolve the error?
    A. Issue the recover database redo logs command.
    B. Issue the Startup Mount command to mount the database.
    C. Restore the last full database backup.
    D. Perform a point-in-time recovery, applying all archived redo logs that are available.
    E. Restore all archived redo logs generated during and after the last full database backup.
    F. Open the database using the alter database open resetlogs command.
    G. Issue the alter database open command.
    A. b, a, f
    B. e, b, a, f
    C. e, b, a, g
    D. b, a, g
    E. c, e, b, d, f

      In this situation,you will have data loss.First you will need to restore the last full database backup and also all archived redo logs that were genetated during the backup and since the backup was completed.You will then issue the startup mount command to mount the database,and then issue the recover database until cancel command.Apply all the archived redo logs you can.Then cancel the recovery and open the database useing the alter database open resetlogs command.

  • 相关阅读:
    ReactNative 常见红屏黄屏及终端报错
    ReactNative 常见红屏黄屏及终端报错
    React Native小白入门学习路径——二
    学习TINY需要多长时间?
    在Eclipse中导入Tiny工程,有下面的错误,是什么原因?
    为什么我写的page页面无法渲染
    Tiny框架的应用定位
    为什么编译tiny工程出错,提示"不兼容的类型"
    Tiny工程可以配置多个application.xml吗
    为什么web应用在tomcat启动时报java.lang.ClassCastException异常?
  • 原文地址:https://www.cnblogs.com/Babylon/p/7809971.html
Copyright © 2011-2022 走看看