zoukankan      html  css  js  c++  java
  • ORA-01033: ORACLE initialization or shutdown in progress 实用的处理方法

    ORA-01033: ORACLE initialization or shutdown in progress 实用的处理方法,此问题通常是由于电脑非正常关机造成的,我们可以用下面的方法查找出是那个文件损坏,再针对文件进行修复。

    SQL*Plus: Release 11.1.0.7.0 - Production on 星期三 6月 8 17:34:30 2016

    Copyright (c) 1982, 2008, Oracle.  All rights reserved.

    SQL> conn sys/sys as sysdba
    已连接。
    SQL> shutdown immediate;
    ORA-01109: 数据库未打开


    已经卸载数据库。
    ORACLE 例程已经关闭。
    SQL> startup
    ORACLE 例程已经启动。

    Total System Global Area  425897984 bytes
    Fixed Size                  2130120 bytes
    Variable Size             343936824 bytes
    Database Buffers           71303168 bytes
    Redo Buffers                8527872 bytes
    数据库装载完毕。
    ORA-01172: 线程 1 的恢复停止在块 990 (在文件 3 中)
    ORA-01151: 如果需要, 请使用介质恢复以恢复块和还原备份
    --黄色部分中的3就是文件,下面要用到。

    SQL> shutdown immediate;
    ORA-01109: 数据库未打开


    已经卸载数据库。
    ORACLE 例程已经关闭。
    SQL> startup mount
    ORACLE 例程已经启动。

    Total System Global Area  425897984 bytes
    Fixed Size                  2130120 bytes
    Variable Size             343936824 bytes
    Database Buffers           71303168 bytes
    Redo Buffers                8527872 bytes
    数据库装载完毕。
    SQL> recover datafile 3;
    完成介质恢复。
    SQL> shutdown immediate;
    ORA-01109: 数据库未打开


    已经卸载数据库。
    ORACLE 例程已经关闭。
    SQL> startup
    ORACLE 例程已经启动。

    Total System Global Area  425897984 bytes
    Fixed Size                  2130120 bytes
    Variable Size             343936824 bytes
    Database Buffers           71303168 bytes
    Redo Buffers                8527872 bytes
    数据库装载完毕。
    数据库已经打开。
    SQL>

  • 相关阅读:
    线性代数思维导图——3.向量
    微分中值定理的基础题型总结
    构造函数
    Python课程笔记(七)
    0241. Different Ways to Add Parentheses (M)
    0014. Longest Common Prefix (E)
    0013. Roman to Integer (E)
    0011. Container With Most Water (M)
    0010. Regular Expression Matching (H)
    0012. Integer to Roman (M)
  • 原文地址:https://www.cnblogs.com/mohai/p/5570827.html
Copyright © 2011-2022 走看看