Archivelog & Noarchivelog mode in RMAN

fiona8953發表於2015-01-23
是否歸檔最主要區別是能夠恢復的狀態不同。
非歸檔,只能恢復到備份的那個時間點,前提是備份在;
歸檔,可以恢復到之前的任何時間,前提是備份和歸檔日誌都在。

在非歸檔模式下,可以使用RMAN備份read-only和offline的表空間,全庫必須停機備份。


Noarchivelog mode: 不提供時間點恢復操作或聯機備份的功能。只能切換到mount狀態,實際就是關機重啟動到MOUNT備份。
Archivelog mode: 實現聯機備份(熱備),透過ARCH程式在一個或多個歸檔日誌目標目錄中生成所有聯機重做日誌的副本。
歸檔模式,配置:ARCH程式;歸檔的重做日誌目標目錄。
注:資料庫活動將在所有可用的聯機重做日誌被使用過之後被掛起 --&gt 及時歸檔重做日誌,確保資料庫有足夠的可用空間。

V$RMAN_STATUS displays the finished and on-going RMAN jobs. For on-going jobs, this view displays progress and status. The jobs which are in progress are stored only in memory while the finished jobs are stored in the controlfile.

V$RMAN_OUTPUT displays messages reported by RMAN. This is an in-memory view and is not recorded in the controlfile. The view can hold 32768 rows.
http://blog.itpub.net/23650854/viewspace-695047/

可以在非歸檔模式下線上備份,但這樣做沒有什麼實際意義。
當你需要恢復時,ORACLE會發現備份的資料檔案與其它資料檔案的SCN根本不一致,庫打不開,要想一致,要麼使用自備份時刻以來的所有REDO日誌把該資料檔案的SCN追到與其它資料檔案的SCN號一致,要麼把其它的資料檔案回退到備份這個資料檔案的那一刻。但備份那一刻,我們只備份了這一個資料檔案,其它的資料檔案沒有備份,所以,這是辦不到的。最終的結果就是這個備份檔案沒有用處。

V$RMAN_BACKUP_JOB_DETAILS
http://blog.chinaunix.net/uid-23284114-id-3977925.html

http://blog.csdn.net/oraclemch/article/details/5549522


http://blog.chinaunix.net/uid-26446098-id-3721661.html

RMAN-06900: 警告: 無法生成 V$RMAN_STATUS V$RMAN_OUTPUT
RMAN-06901:
警告: 禁止更新 V$RMAN_STATUS V$RMAN_OUTPUT 來自目標資料庫的 ORACLE 錯誤:

恢復管理器完成。

http://blog.itpub.net/4227/viewspace-69347/

手工清理v$rman_status 記錄

原文連結:

Oracle使用者下,進入rman報錯,提示ORA-19921: maximum number of 64 rows exceeded
http://blog.sina.com.cn/s/blog_8010cb300100va61.html

Oracle資料庫恢復ORA-01861問題: literal does not match format string
http://mikixiyou.iteye.com/blog/1569963

RMAN issue: waiting for snapshot control file enqueue

http://blog.sina.com.cn/s/blog_55729f990101bn6f.html

http://www.cnblogs.com/sumsen/archive/2013/01/27/2879117.html 

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26477398/viewspace-1411553/,如需轉載,請註明出處,否則將追究法律責任。

相關文章