日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

RMAN不备份online redo log

發布時間:2024/8/26 编程问答 38 豆豆
生活随笔 收集整理的這篇文章主要介紹了 RMAN不备份online redo log 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

RMAN是不備份online redo log的。這個問題一直比較困惑,難道online redo log不需要備份?確實是的


看下面這段

Avoiding the Backup of Online Redo Logs

Although it may seem that you should back up online redo logs along with the datafiles and control file, this technique is dangerous. You should not back up online redo logs for the following reasons:

* The best method for protecting the online logs against media failure is by multiplexing them, that is, having multiple log members in each group, on different disks and disk controllers.
* If your database is in ARCHIVELOG mode, then the archiver is already archiving the filled redo logs.
* If your database is in NOARCHIVELOG mode, then the only type of backups that you should perform are closed, consistent, whole database backups. The files in this type of backup are all consistent and do not need recovery, so the online logs are not needed.
* You may accidentally restore backups of online redo logs while not intending to, thereby corrupting the database.

A number of situations are possible in which restoring the online logs cause significant problems to the database. The following sections describe scenarios that illustrate how restoring backed up online logs severely compromises recovery.


ARCHIVELOG mode時,rman backup中會發出alter system switch logfile 的命令,并備份archivelog ,等同于備份了online redo。
而noARCHIVELOG mode時,不能online backup,所以,redo log是沒有用的。

另外,如果你備份online redo log,并在恢復時使用,覆蓋現有的online redo log,可能會引起數據丟失。

總結

以上是生活随笔為你收集整理的RMAN不备份online redo log的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。