標籤:
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>
ORA-01033: ORACLE initialization or shutdown in progress 實用的處理方法