ORA-01113:檔案n需要介質恢複

來源:互聯網
上載者:User

使用alter database 移動資料檔案時,在執行完alter database rename <source file path> to <des file path>命令之後,再試圖開啟{
tagshow(event, '%CA%FD%BE%DD%BF%E2');
}" href="http://www.cnblogs.com/wuhenke/admin/javascript:;" target="_self">資料庫
:alter database open。報錯:

ORA-01113:檔案7需要介質恢複

ORA-01110:資料檔案7:’E:ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\TEST01.DBF’。

這是由於資料庫認為這個資料檔案遭到破壞了,需要使用recover命令通過{
tagshow(event, '%B1%B8%B7%DD');
}" href="http://www.cnblogs.com/wuhenke/admin/javascript:;" target="_self">備份
、日誌資訊來恢複。資料庫的備份恢複是個比較複雜的問題,但是這個執行個體的解決辦法還是比較簡單的。

執行命令:

recover datafile ’E:ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\TEST01.DBF’

提示完成介質恢複,再開啟資料庫:alter database open。一切正常。

(轉載自:http://blog.csdn.net/libingquan008/archive/2010/11/19/6021441.aspx)

通過該alter database open;命令查看是否有其他資料檔案損壞,依次進行恢複,直至所有檔案正常。

 

相關文章

聯繫我們

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