標籤:style color io ar for 資料 art div cti
資料庫沒有備份的情況下,資料庫所在伺服器由於意外斷電,導致伺服器啟動之後,Oracle資料庫startup報錯.
1. 資料庫沒開歸檔模式
2. 無備份
解決方案:
| 1234567891011121314151617181920212223 |
SQL>startup mountSQL>recover database using backup controlfile until cancel;SQL>alter database open resetlogs;# 此時會提示system資料表空間需要恢複,但是由於當前日誌損壞# 無法進行恢複,所以需要加入#隱含參數,oracle才不會監測scn# 的一致性,才能開啟資料庫。# 重啟資料庫加入隱含參數SQL> startup mountSQL> alter system set “_allow_resetlogs_corruption”=true scope=spfile;SQL> shutdown immediateSQL> startup mountSQL> alter database open resetlogs;alter database open resetlogs*ERROR at line 1:ORA-01092: ORACLE instance terminated. Disconnection forced# 不管這些,再次登入sqlplus起動資料庫SQL*Plus: Release 10.2.0.1.0 - Production on Fri Nov 16 08:03:43 2007Copyright (c) 1982, 2005, Oracle. All rights reserved.Connected to:Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - ProductionWith the Partitioning, OLAP and Data Mining optionsSQL>startup |
伺服器斷電,Oracle資料庫無法啟動解決方案