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相关推荐

  1. 新特性速递 | InnoDB redo log archiving(归档)

     导读 MySQL 8.0.17开始支持的redo log归档能干嘛用呢,好吃吗 今天,MySQL 8.0.17发布了,看了下release note,发现果真如之前预期的那样,恢复了redo lo ...

  2. oracle存档模式,Oracle开启归档模式并设置RMAN自动备份策略

    title: Oracle开启归档模式并设置RMAN自动备份策略 categories: 数据库 tags: - Oracle - RMAN timezone: Asia/Shanghai date: ...

  3. 有关 Oracle redo log

    Redo的内容 Oracle通过Redo来实现快速提交,一方面是因为Redo Log File可以连续.顺序地快速写出,另一个方面也和Redo记录的精简内容有关. 两个概念: 改变向量(Change ...

  4. oracle 11g ocp 笔记(15)--使用rman进行备份

    一.备份的术语 关闭与打开(冷备和热备 一致性备份和非一致性备份) 打开的备份只能是归档模式下 全部与局部  局部备份只能是归档模式下. 完整备份和增量备份   增量备份分为 累计增量备份和差异增量备 ...

  5. oracle exp 00006,Oracle 12.1新特性----使用RMAN从备份中实现recover table

    Oracle 12.1新特性----使用RMAN从备份中实现recover table 发布时间:2020-06-26 19:41:44 来源:51CTO 阅读:4750 作者:hbxztc 在Ora ...

  6. 使用RMAN的备份及恢复一例-丢失所有控制文件

    1.数据库基本信息  [oracle@standby oracle]$ sqlplus "/ as sysdba" SQL*Plus: Release 9.2.0.4.0 - Pr ...

  7. 中小型数据库 RMAN CATALOG 备份恢复方案(一)

    对于数据库的稳定性,高可用,跨平台以及海量数据库的处理,Oracle 数据库通常是大型数据库和大企业的首选.尽管如此,仍然不乏很多中小企业想要品尝一下Oracle腥味,因此在Oracle环境中也有不少 ...

  8. Upgrade after a crash is not supported. The redo log was created with Maria的解决办法

    关于[InnoDB] Unsupported redo log format (0). The redo log was created before MySQL 5.7.9的解决办法 利用mkdir ...

  9. oracle rman备份时间,Oracle使用RMAN进行备份详述

    备份理论和基本语法 备份概念 执行备份或还原的数据库称为目标.在一些环境下,有许多数据库,因此有许多RMAN目标.应一次连接每个数据库.目标的每个备份都有一些属性: 打开或关闭 完整或部分 完整或增量 ...

最新文章

  1. 设计模式学习笔记(一)之工厂模式、单例模式
  2. 慢SQL,压垮团队的最后一根稻草No.92
  3. FieldGroup绑定的日期类型存储格式的问题
  4. java清空redis缓存数据库_java相关:Spring Cache手动清理Redis缓存
  5. c++ 和 C语言 中数组语法的比较
  6. js 获取当前gmt时间_javascript-如何将日期转换为GMT?
  7. .NET Core 3.0中的新功能和增强功能
  8. Ubuntu18.04安装Docker并构建JDK1.8镜像
  9. FineReport新增多项目甘特图示例及操作
  10. 利用AWVS进行反制
  11. ExtJs6第二弹-- 学会查看ExtJs api文档
  12. 目标检测(一)目标检测算法综述
  13. php网易云歌曲获取,网易云音乐cookie获取
  14. [渝粤教育] 四川大学 简明大学化学·物质结构部分入门 参考 资料
  15. FreeRTOS中相对延时和绝对延时的区别
  16. 命令行检查win10自动唤醒原因
  17. 拼音韵母有哪些 单复韵母有哪些
  18. 获奖最多的这届中国赛艇、皮划艇队,借助了怎样的科技?
  19. Android 萝卜坑
  20. Android 安卓APK包解析名和安装到手机桌面的名称是两个名字,比如:解析出来的APP名:老娘舅(开店创业),安装到手机桌面的APP名:老娘舅

热门文章

  1. LAMP和LNMP去除index.php访问
  2. 洛谷 CF1043F Make It One 解题报告
  3. 2017年11月1号复习
  4. 默认开机启动;通过Broadcastreceiver广播监听开机启动,实现没有activity的自启服务或者自启应用程序。...
  5. sctp和tcp的区别
  6. .net工程师至少要懂的东西
  7. [目录]Linux 核心系统命令目录
  8. 11.19 rpm:RPM包管理器
  9. 使用计算机加密码,给正使用的电脑设置密码
  10. html5退出全屏触发的方法_好程序员web前端分享HTML5常见面试题集锦二