Oracle ORA-01143 Error: Cannot disable media recovery

Source: Internet
Author: User
Tags file system thread

Today, a server opened the archive, resulting in a full file system, because we are a development library, no need to open the archive, so we changed the database to a non-archive mode, but at the time of the change encountered ora-01143:cannot disable Media recovery-file 20 Needs media recovery error. The data file was later restored before the database was modified successfully.

The following is an operation procedure

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 36910216  
0 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 needs media recove Ry Ora-01110:data file: '/home/oracle/oradata/orarpt/vms_rpt.dbf ' sql> recover datafile 9:change 1162349663 generated at 11/22/2011 00:03:58 needed for thread 1 ora-00289:suggestion:/home/oracle/produ CT/11.1.0/DB_1/DBS/ARCH1_4578_743881575.DBF ora-00280:change 1162349663 for thread 1 be in sequence #4578 more highlights Capacity: http://www.bianceng.cnhttp://www.bianceng.cn/database/oracle/specify log: {<ret>=suggested | AUTO |  
CANCEL} Log applied.  
     
     
     
Media recovery complete.  
     
sql> ALTER DATABASE Noarchivelog;  
     
     
Database altered.  
     
     
     
ALTER DATABASE datafile online;  
     
sql> ALTER DATABASE open; Database altered.

This article is from "Richard's notes-accumulate micro Cheng" blog, please be sure to keep this source http://zxf261.blog.51cto.com/701797/729149

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.