oracle的ORA-01143錯誤:cannot disable media recovery

來源:互聯網
上載者:User

今天一台伺服器的開啟了歸檔,導致檔案系統撐滿了,由於我們是開發庫,沒必要開啟歸檔,所以就把資料庫改為非歸檔模式,但是在修改的時候碰到ORA-01143: cannot disable media recovery - file 20 needs media recovery錯誤。後來將資料檔案恢複後才將資料庫修改成功。

下面為操作過程

SQL> shutdown immediate;  Database closed.  Database dismounted.  ORACLE instance shut down.  SQL>   SQL>   SQL> startup mount  ORACLE instance started.       Total System Global Area  630521856 bytes  Fixed Size                  2146992 bytes  Variable Size             369102160 bytes  Database Buffers          251658240 bytes  Redo Buffers                7614464 bytes  Database mounted.  SQL>   SQL>   SQL> alter database noarchivelog;  alter database noarchivelog  *  ERROR at line 1:  ORA-01143: cannot disable media recovery - file 20 needs media recovery  ORA-01110: data file 20: '/home/oracle/oradata/orarpt/vms_rpt.dbf'          SQL> recover datafile 20  ORA-00279: change 1162349663 generated at 11/22/2011 00:03:58 needed for thread  1  ORA-00289: suggestion :  /home/oracle/product/11.1.0/db_1/dbs/arch1_4578_743881575.dbf  ORA-00280: change 1162349663 for thread 1 is in sequence #4578       更多精彩內容:http://www.bianceng.cnhttp://www.bianceng.cn/database/Oracle/Specify log: {<RET>=suggested | filename | AUTO | CANCEL}  Log applied.  Media recovery complete.                 SQL> alter database noarchivelog;       Database altered.            alter database datafile 20 online;                 SQL> alter database open;       Database altered.

本文出自 “richard的筆記-積微成著” 部落格,請務必保留此出處http://zxf261.blog.51cto.com/701797/729149

相關文章

聯繫我們

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