Oracle 8 1 7 4 資料庫故障恢復一例

2021-06-22 13:43:51 字數 614 閱讀 4263

客戶資料庫版本為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

runrun

run

alter database open;

確認是否還有需要恢復的資料檔案:

select * from v$recover_file;

檢視v$datafile中offline的資料檔案,分別online各個資料檔案:

alter database datafile '......' online;

alter database datafile '......' online;

alter database datafile '......' online;

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

oracle資料庫集群例項故障排除

故障環境 redhat作業系統 oracle rac環境中資料庫伺服器 故障現象 rac中單個伺服器無法連線 故障原因 可能為rac環境異常導致單點故障,具體原因分為 1 心跳線問題 2 vote disk無法訪問 3 伺服器宕機 處理辦法 針對原因1 檢查ocssd.log日誌檔案,應發現類似wa...

資料庫故障處理

解決方法 分離出還原失敗的資料庫geb 先建立乙個同樣的資料庫geb 停掉server服務,用舊的資料檔案覆蓋新建立的檔案 只要mdf就可以 啟動server服務 執行以下命令 sp configure allow 1 goreconfigure with override goupdate sys...

資料庫故障類別

語句錯誤 單個資料庫操作 選擇 插入 更新或刪除 失敗。使用者程序錯誤 單個資料庫會話失敗。網路故障 與資料庫的連線斷開。使用者錯誤 使用者成功完成了操作,但是操作不正確 刪除了表,或輸入了錯誤資料 例項錯誤 資料庫例項意外關閉。介質故障 丟失了乙個或多個資料庫檔案 也就是說,檔案已刪除或磁碟出現了...