1.备份分为:物理备份和逻辑备份

   物理备份:备份数据文件  控制文件  归档日志文件
    逻辑备份:EXP EXPDP备份等
物理备份为主,逻辑做补充
 
 
2.错误的类型
        media failure :介质失败.磁盘不能读写
        user error: 操作错误
        application error:应用程序错误
 
 
3.备份的方式
       RMAN                                :RMAN备份
       User managed backup      :用户手工备份
        
4. 关于RMAN备份的一些东西
     Incremental backups            :只备份用过的块,在恢复的时候只使用这些块对应的redo
    Block media recovery           :可以只修复某些块而不是整个数据文件,命令recover block
    Binary compression              :减少备份所占的空间
    Encrypted backups              :加密备份,必须有advance security操作(?).如果是加密备份到磁带,则需要Oracle Secure Backup SBT实例(?)不再需要advance security
    Automated database duplication :复制数据库,可以使用不同的存储结构,可以在ASM间复制
    Cross-platform data conversion    :跨平台的转换数据
 
5.不同的备份区别

Table 1-1 Feature Comparison of Backup Techniques

Feature Recovery Manager User-Managed Data Pump Export

Closed database backups

Supported. Requires instance to be mounted.

Supported.

Not supported.

Open database backups

Supported. No need to use BEGIN/ENDBACKUP statements.

Supported. Must use BEGIN/END BACKUPstatements.

Requires rollback or undo segments to generate consistent backups.

Incremental backups

Supported.

Not supported.

Not supported.

Corrupt block detection

Supported. Identifies corrupt blocks and logs in V$DATABASE_BLOCK_CORRUPTION.

Not supported.

Supported. Identifies corrupt blocks in the export log.

Automatic specification of files to include in a backup(备份信息)

Supported. Establishes the name and locations of all files to be backed up (whole database, tablespaces, data files, control files, and so on).

Not supported. Files to be backed up must be located and copied manually.

Not applicable.

Backup repository

Supported. Backups are recorded in the control file, which is the main repository of RMAN metadata. Additionally, you can store this metadata in a recovery catalog, which is a schema in a different database.

Not supported. DBA must keep own records of backups.

Not supported.

Backups to a media manager

Supported. Interfaces with a media manager. RMAN also supports proxy copy, a feature that allows a media manager to manage completely the transfer of data between disk and backup media.

Supported. Backup to tape is manual or controlled by a media manager.(需要手动或备份管理器)

Not supported.

Backup of initialization parameter file

Supported.

Supported.

Not supported.

Backup of password and networking files

Not supported.

Supported.

Not supported.

Platform-independent language for backups(平台依赖的语言?)

Supported.

Not supported.

Supported.

 
 
 
5.FLASHBACK(闪回)
   1)逻辑的闪回:
        除了flashback drop外,其它的闪回技能需要使用undo表空间的信息    
        有以下几种逻辑闪回方式 :
                Oracle Flashback Query:闪回查询. as to timestamp....
            Oracle Flashback Version Query:闪回版本查询.在特定时间段内行的所有版本,包括start and end time, operation, and transaction ID等
            Oracle Flashback Transaction Query:闪回事务查询.查询一个事务或一段时间内的所有事务做的更改
            Oracle Flashback Transaction        :闪回事务.把事务闪回,并且把依赖的事务也闪回,就像这些事务没有做过一样.
                Oracle Flashback Drop                :表删除闪回.从回收站把表还原
            flashback data archive            :通过补充日志,把表的更改记录下来.补充日志放在表空间中.数据库自动删除过期的闪回归档.
    2)数据库闪回
            将数据库闪回到某个SCN,有点像POINT-IN-TIME-RECOVER(基于时间点的恢复),但经PITR快,不需要用备份还原,所使用的的redo也比较少.ORACLE使用flashback log(闪回日志)来获取
     数据块的历史版本和日志信息.闪回日志放在fast recover area(快速闪回区),默认不开启FRA(在DBCA创建数据库时可以配置).
            ORACLE在FLASHBACK和BACK AND RESOTRE上支持还原点.还原点(restore point)对应一个SCN.可以任何时候创建还原点,可以将数据库闪回到某个已经存在的还原点上.
 
6.DATA RECOVERY ADVISOR(DRA数据恢复顾问)
          DAR自动诊断数据库错误(如文件丢失),并且生成恢复建议.可以使用EM或GRID CONTROL或RMAN命令来使用DRA.DRA会显示错误的严重程度,critical, high, or low.DRA生成的建议包括data file restore and recovery, media recovery, Flashback Database等.在修复完成后,DRA会删除错误提示.DAR使用的顺序为list failure-advisor failure-repair failure
 
 
 
7.Backup and Recovery Documentation Roadmap(恢复备份的文档路径图)
 
 
 

官方文档 恢复备份指南一 Introduction to Backup and Recovery的更多相关文章

  1. 官方文档 恢复备份指南三 Recovery Manager Architecture

    本节讨论以下问题: About the RMAN Environment                        关于RMAN环境 RMAN Command-Line Client        ...

  2. 官方文档 恢复备份指南八 RMAN Backup Concepts

    本章内容 Consistent and Inconsistent RMAN Backups Online Backups and Backup Mode Backup Sets Image Copie ...

  3. 官方文档 恢复备份指南六 Configuring the RMAN Environment: Advanced Topics

    RMAN高级设置. 本章内容: Configuring Advanced Channel Options  高级通道选项 Configuring Advanced Backup Options 高级备 ...

  4. 官方文档 恢复备份指南五 Configuring the RMAN Environment

    本章内容: Configuring the Environment for RMAN Backups    配置RMAN环境 Configuring RMAN to Make Backups to a ...

  5. 官方文档 恢复备份指南二 Getting Started with RMAN

    本章对RMAN进行基本的熟悉和了解   1.Overview of the RMAN Environment    RMAN运行时需要的最小环境:      target database       ...

  6. 官方文档 恢复备份指南七 Using Flashback Database and Restore Points

    本章内容: Understanding Flashback Database, Restore Points and Guaranteed Restore Points Logging for Fla ...

  7. 官方文档 恢复备份指南四 Starting and Interacting with the RMAN Client

    本章讲: Starting and Exiting RMAN Specifying the Location of RMAN Output                                ...

  8. 《KAFKA官方文档》入门指南(转)

    1.入门指南 1.1简介 Apache的Kafka™是一个分布式流平台(a distributed streaming platform).这到底意味着什么? 我们认为,一个流处理平台应该具有三个关键 ...

  9. Protocol Buffers(Protobuf) 官方文档--Protobuf语言指南

    Protocol Buffers(Protobuf) 官方文档--Protobuf语言指南 约定:为方便书写,ProtocolBuffers在下文中将已Protobuf代替. 本指南将向您描述如何使用 ...

随机推荐

  1. AppleDoc

    使用AppleDoc快速生成iOS开发文档 _ 皮卡丘♪-(´ε` ) 用 appledoc 生成文档 _ Garan no dou xcode-select_ error_ tool 'xcodeb ...

  2. iOS之在AppDelegate中push到指定页面

    UITabBarController *tbc = (UITabBarController *)self.window.rootViewController; UINavigationControll ...

  3. html中的居中问题

    1.表格居中:<table>标签的align属性 <table align="center">...... </table> 2.表格内容居中; ...

  4. 682. Baseball Game (5月28日)

    解答(打败98.60%) class Solution { public: int calPoints(vector<string>& ops) { vector<int&g ...

  5. 10分钟搞定webpack打包

    入门前端这个职位近三年的时间了,但是脑子里的东西不多也不少,今天就从脑袋里把新版本的webpack打包过程拔出来给大家鲁一遍,就算帮助那些小白了,废话不多说,开始鲁起来,大家跟着我一起撸... 首先, ...

  6. Django学习之mysql增删改查

    上节介绍了如何使用命令行操作mysql增删改查,现在介绍如何使用python管理mysql 使用pip 下载完mysql后,mysql会以pymysql模块的形式存储在pycharm的包文件里.我们通 ...

  7. MCUXpresso release build 时提示GFLIB等函数未引用的问题

    MCUXpresso release build 时提示 GFLIB 等函数未引用的问题 最近在使用 MCUXpresso 编译工程时选择 Debug(Debug build) 能顺利编译,但是选择 ...

  8. tensorflow简单实现卷积前向过程

    卷积,说白了就是对应位置相乘再求和,卷积操作用广泛应用于图像识别,在自然语言处理中也开始应用,用作文本分类问题. 卷积操作最重要的部分就是卷积核或者说过滤器 1.常用过滤器尺寸为3*3或者5*5 2. ...

  9. 常用代码c#

    当使用 HttpContext.Current用到不是当前线程会出null的情况,可使用 System.Web.HttpRuntime.AppDomainAppPath获取程序的根路 string p ...

  10. pascal 的字符串操作

    1.ord 将字符转为 ascii码 2.chr 将ascii码转为字符 3.trunc 求整数部分 4.random , randomize 5.copy(s,i,l)从s串中截取第i个字符开始后长 ...