Oracle 8.1.7.4 資料庫故障恢複解決執行個體

來源:互聯網
上載者:User

Oracle 8.1.7.4 資料庫故障恢複解決執行個體

客戶資料庫版本為8.1.7.4,資料檔案所在磁碟發生故障,故障解決後,資料檔案需要recover,共置為online;
ORA-00376:file 7 cannot be read at this time
 
ORA-01110:data file 7 。。。

查詢v$recover_file查看需要恢複的資料檔案
 
資料庫通過nbu備份到磁帶,需要從磁帶中恢複資料檔案7,8,9.
 
rman target "sys/manager" nocatalog
 
run
 
{allocate channel ch01 type "SBT_TAPE";
 
restore datafile 7;
 
recover datafile 7;
 
}
 

run
 
{allocate channel ch01 type "SBT_TAPE";
 
restore datafile 8;
 
recover datafile 8;
 
}
 

run
 
{allocate channel ch01 type "SBT_TAPE";
 
restore datafile 9;
 
recover datafile 9;
 
}

 

alter database open;

確認是否還有需要恢複的資料檔案:
 
select * from v$recover_file;

查看v$datafile中offline的資料檔案,分別online各個資料檔案:
 
alter database datafile '......' onlien;
 
alter database datafile '......' onlien;
 
alter database datafile '......' onlien;

OK,所有資料檔案已恢複完成。資料完成不一致性恢複。

Oracle教程:執行個體故障恢複

Linux-6-64下安裝Oracle 12C筆記

在CentOS 6.4下安裝Oracle 11gR2(x64)

Oracle 11gR2 在VMWare虛擬機器中安裝步驟

Debian 下 安裝 Oracle 11g XE R2

相關文章

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.