伺服器斷電,Oracle資料庫無法啟動解決方案

來源:互聯網
上載者:User

標籤: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資料庫無法啟動解決方案

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.