ORACLE匯出匯入意外終止導致 ORACLE initialization or shutdown in progress 問題解決

來源:互聯網
上載者:User

標籤:using   control   database   .sh   red   auto   指定   ORC   col   

由於意外情況導致 

ORACLE initialization or shutdown in progress

個人理解為主要是歸檔日誌出現問題,

首先cmd

1.sqlplus /nolog  進入sqlplus

2.connect /as sysdba  串連dba

3.shutdown normal  卸載資料庫

4.startup mount;重啟常式

5.alter database open;開啟資料庫

這個時候出現

第 1 行出現錯誤:
ORA-00333: 重做日誌讀取塊 22002 計數 2577 出錯

6. list backup of archivelog all; 備份歸檔日誌

出現提示:

SP2-0224: 起始行號無效
SQL> recover database using backup controlfile until cancel;
ORA-00279: 更改 2648481 (在 09/02/2018 22:19:03 產生) 對於線程 1 是必需的
ORA-00289: 建議:
F:\APP\FAST_RECOVERY_AREA\ORCL\ARCHIVELOG\2018_09_03\O1_MF_1_90_%U_.ARC
ORA-00280: 更改 2648481 (用於線程 1) 在序列 #90 中

7.去尋找序號#90的日誌路徑

select v1.group#, member, sequence#, first_change#  from v$log v1, v$logfile v2  where v1.group# = v2.group#;

找到#90對應的記錄檔路徑。

8.重新指定備份記錄檔

SQL> recover database using backup controlfile until cancel;
ORA-00279: 更改 2648481 (在 09/02/2018 22:19:03 產生) 對於線程 1 是必需的
ORA-00289: 建議:
F:\APP\FAST_RECOVERY_AREA\ORCL\ARCHIVELOG\2018_09_03\O1_MF_1_90_%U_.ARC
ORA-00280: 更改 2648481 (用於線程 1) 在序列 #90 中


指定日誌: {<RET>=suggested | filename | AUTO | CANCEL}
F:\APP\ORADATA\ORCL\REDO03.LOG
已應用的日誌。
完成介質恢複。
SQL> alter database open resetlogs;

資料庫已更改。

OK

ORACLE匯出匯入意外終止導致 ORACLE initialization or shutdown in progress 問題解決

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.