11G新特性 -- RMAN Multisection Backups
Oracle 11g支持以sections的方式来备份和还原数据文件。在section级别进行备份,被称作multisection backup(多段备份)。section是一个数据文件中连续的块。multisection backup特性使得备份大的数据文件变得容易,可以将大文件分成多个sections,可以单独备份和还原每个section。 当面对超过32g的数据文件时,mutlisection backup特性会显著增加备份速度,因为不同的sections可以进行并行备份。每个rman的通道备份一个数据文件的不同的section。每个备份片包含一个section。
如果在备份大文件的中途失败,重启rman后可以只是备份那些尚未备份的sections。rman产生统一大小的sections,但是最后一个section可以不同。单个数据文件最多可以产生256个sections。在同一个rman备份job中,不同的数据文件可以指定不同大小的sections。
执行Multisection Backups,要手动指定section的大小,否则rman会使用默认值,默认大小的值取决与备份片的大小。
示例:
[ora11@mytest ~]$ rman target /
RMAN> run{
> allocate channel c1 device type disk;
> allocate channel c2 device type disk;
> backup section size 300m tablespace yb2;
> } using target database control file instead of recovery catalog
allocated channel: c1
channel c1: SID= device type=DISK allocated channel: c2
channel c2: SID= device type=DISK Starting backup at -JUL- ::
channel c1: starting full datafile backup set
channel c1: specifying datafile(s) in backup set
input datafile file number= name=/u11/app/oracle/oradata/ora11/yb02.dbf
backing up blocks through
channel c1: starting piece at -JUL- ::
channel c2: starting full datafile backup set
channel c2: specifying datafile(s) in backup set
input datafile file number= name=/u11/app/oracle/oradata/ora11/yb02.dbf
backing up blocks through
channel c2: starting piece at -JUL- ::
channel c1: finished piece at -JUL- ::
piece handle=/u11/app/oracle/fra/ORA11/backupset/2015_07_15/o1_mf_nnndf_TAG20150715T122710_btcr993d_.bkp tag=TAG20150715T122710 comment=NONE
channel c1: backup set complete, elapsed time: ::
channel c1: starting full datafile backup set
channel c1: specifying datafile(s) in backup set
input datafile file number= name=/u11/app/oracle/oradata/ora11/yb02.dbf
backing up blocks through
channel c1: starting piece at -JUL- ::
channel c2: finished piece at -JUL- ::
piece handle=/u11/app/oracle/fra/ORA11/backupset/2015_07_15/o1_mf_nnndf_TAG20150715T122710_btcr9988_.bkp tag=TAG20150715T122710 comment=NONE
channel c2: backup set complete, elapsed time: ::
channel c2: starting full datafile backup set
channel c2: specifying datafile(s) in backup set
input datafile file number= name=/u11/app/oracle/oradata/ora11/yb02.dbf
backing up blocks through
channel c2: starting piece at -JUL- ::
channel c1: finished piece at -JUL- ::
piece handle=/u11/app/oracle/fra/ORA11/backupset/2015_07_15/o1_mf_nnndf_TAG20150715T122710_btcrblrs_.bkp tag=TAG20150715T122710 comment=NONE
channel c1: backup set complete, elapsed time: ::
channel c1: starting full datafile backup set
channel c1: specifying datafile(s) in backup set
input datafile file number= name=/u11/app/oracle/oradata/ora11/yb02.dbf
backing up blocks through
channel c1: starting piece at -JUL- ::
channel c2: finished piece at -JUL- ::
piece handle=/u11/app/oracle/fra/ORA11/backupset/2015_07_15/o1_mf_nnndf_TAG20150715T122710_btcrbm25_.bkp tag=TAG20150715T122710 comment=NONE
channel c2: backup set complete, elapsed time: ::
channel c2: starting full datafile backup set
channel c2: specifying datafile(s) in backup set
input datafile file number= name=/u11/app/oracle/oradata/ora11/yb02.dbf
backing up blocks through
channel c2: starting piece at -JUL- ::
channel c1: finished piece at -JUL- ::
piece handle=/u11/app/oracle/fra/ORA11/backupset/2015_07_15/o1_mf_nnndf_TAG20150715T122710_btcrcrhy_.bkp tag=TAG20150715T122710 comment=NONE
channel c1: backup set complete, elapsed time: ::
channel c1: starting full datafile backup set
channel c1: specifying datafile(s) in backup set
input datafile file number= name=/u11/app/oracle/oradata/ora11/yb02.dbf
backing up blocks through
channel c1: starting piece at -JUL- ::
channel c2: finished piece at -JUL- ::
piece handle=/u11/app/oracle/fra/ORA11/backupset/2015_07_15/o1_mf_nnndf_TAG20150715T122710_btcrcx4p_.bkp tag=TAG20150715T122710 comment=NONE
channel c2: backup set complete, elapsed time: ::
channel c2: starting full datafile backup set
channel c2: specifying datafile(s) in backup set
input datafile file number= name=/u11/app/oracle/oradata/ora11/yb02.dbf
backing up blocks through
channel c2: starting piece at -JUL- ::
channel c2: finished piece at -JUL- ::
piece handle=/u11/app/oracle/fra/ORA11/backupset/2015_07_15/o1_mf_nnndf_TAG20150715T122710_btcrdywv_.bkp tag=TAG20150715T122710 comment=NONE
channel c2: backup set complete, elapsed time: ::
channel c2: starting full datafile backup set
channel c2: specifying datafile(s) in backup set
input datafile file number= name=/u11/app/oracle/oradata/ora11/yb02.dbf
backing up blocks through
channel c2: starting piece at -JUL- ::
channel c1: finished piece at -JUL- ::
piece handle=/u11/app/oracle/fra/ORA11/backupset/2015_07_15/o1_mf_nnndf_TAG20150715T122710_btcrdror_.bkp tag=TAG20150715T122710 comment=NONE
channel c1: backup set complete, elapsed time: ::
channel c1: starting full datafile backup set
channel c1: specifying datafile(s) in backup set
input datafile file number= name=/u11/app/oracle/oradata/ora11/yb02.dbf
backing up blocks through
channel c1: starting piece at -JUL- ::
channel c2: finished piece at -JUL- ::
piece handle=/u11/app/oracle/fra/ORA11/backupset/2015_07_15/o1_mf_nnndf_TAG20150715T122710_btcrf2yk_.bkp tag=TAG20150715T122710 comment=NONE
channel c2: backup set complete, elapsed time: ::
channel c2: starting full datafile backup set
channel c2: specifying datafile(s) in backup set
input datafile file number= name=/u11/app/oracle/oradata/ora11/yb02.dbf
backing up blocks through
channel c2: starting piece at -JUL- ::
channel c1: finished piece at -JUL- ::
piece handle=/u11/app/oracle/fra/ORA11/backupset/2015_07_15/o1_mf_nnndf_TAG20150715T122710_btcrf9bk_.bkp tag=TAG20150715T122710 comment=NONE
channel c1: backup set complete, elapsed time: ::
channel c2: finished piece at -JUL- ::
piece handle=/u11/app/oracle/fra/ORA11/backupset/2015_07_15/o1_mf_nnndf_TAG20150715T122710_btcrf9nl_.bkp tag=TAG20150715T122710 comment=NONE
channel c2: backup set complete, elapsed time: ::
Finished backup at -JUL- :: Starting Control File and SPFILE Autobackup at -JUL- ::
piece handle=/u11/app/oracle/fra/ORA11/autobackup/2015_07_15/o1_mf_s_885126571_btcrfg3h_.bkp comment=NONE
Finished Control File and SPFILE Autobackup at -JUL- ::
released channel: c1
released channel: c2 RMAN>
查看单个备份片的大小:
# du -sh o1_mf_nnndf_TAG20150715T122710_btcr993d_.bkp
300M o1_mf_nnndf_TAG20150715T122710_btcr993d_.bkp
11G新特性 -- RMAN Multisection Backups的更多相关文章
- 使用Oracle 11g新特性 Active Database Duplication 搭建Dataguard环境
Duplication Database 介绍 Duplicate database可以按照用途分为2种: duplicate database(复制出一个数据库) duplicate standby ...
- 11g新特性与12c新特性
1. 11g新特性概图 管理新特性> 开发新特性> 2. 12c 新特性概图
- 11g新特性-自动sql调优(Automatic SQL Tuning)
11g新特性-自动sql调优(Automatic SQL Tuning) 在Oracle 10g中,引进了自动sql调优特性.此外,ADDM也会监控捕获高负载的sql语句. 在Oracle 11g中, ...
- Oracle 11g 新特性 --SQL Plan Management 说明
Oracle 11g 新特性 --SQL Plan Management 说明 参见大神博主文章: http://blog.csdn.net/tianlesoftware/article/detail ...
- Oracle 11g 新特性 – HM(Hang Manager)简介
在这篇文章中我们会对oracle 11g 新特性—hang 管理器(Hang Manager) 进行介绍.我们需要说明,HM 只在RAC 数据库中存在. 在我们诊断数据库问题的时候,经常会遇到一些数据 ...
- 11G 新特性之 密码延迟认证
11G 新特性之 密码延迟认证 11G 新特性之 密码延迟认证 Table of Contents 1. 特性简述 2. 特性潜在引发问题 3. 关闭特性 1 特性简述 为了防止用户密码的暴力破解,从 ...
- Oracle 11g新特性
文章转自网络 Oracle 11g于2007年7月11日美国东部时间11时(北京时间11日22时)正式发布,11g是甲骨文公司30年来发布的最重要的数据库版本,根据用户的需求实现了信息生命周期管理(I ...
- 11g新特性-概述 (转)
一.新特性提纲 1.数据库管理部分 ◆数据库重演(Database Replay) 这一特性可以捕捉整个数据的负载,并且传递到一个从备份或者standby数据库中创建的测试数据库上,然后重演负责以测试 ...
- Oralce 11g新特性 转载
Oracle 11g于2007年7月11日美国东部时间11时(北京时间11日22时)正式发布,11g是甲骨文公司30年来发布的最重要的数据库版本,根据用户的需求实现了信息生命周期管理(Informat ...
随机推荐
- ThreadLocal、Volatile、synchronized、Atomic
前言 对于ThreadLocal.Volatile.synchronized.Atomic这四个关键字,我想一提及到大家肯定都想到的是解决在多线程并发环境下资源的共享问题,但是要细说每一个的特点.区别 ...
- python全栈开发day41-background、精灵图技术、定位(相、绝、固)、z-index
一.昨日内容回顾 1.标准文档流定义: https://www.jianshu.com/p/b4d2c1dfd6e5 2.浮动和浮动的四大特性 1)脱标 2) 浮动元素相互贴靠 3)字围 4)紧凑(浮 ...
- 【Java】 剑指offer(22) 链表中倒数第k个结点
正文 本文参考自<剑指offer>一书,代码采用Java语言. 更多:<剑指Offer>Java实现合集 题目 输入一个链表,输出该链表中倒数第k个结点.为了符合大多数人的 ...
- 091实战 Nginx配置(日志服务器中关于日志的产生)
一:概括 1.需要配置的概括 定义日志格式 日志的分割字段:^A 日志格式:IP地址^A服务器时间^A请求参数 配置location,记录请求日志到本地磁盘 将数据按照给定的日志格式存储到本地磁盘 二 ...
- Java中的Lambda表达式
Lambda来源于希腊字母入,发音为 /'læmdə/对高数有所了解的人都知道λ用于声明一个数学逻辑系统,表示根据XX的输入参数,会返回某个Y结果.这正是编程语言中函数(方法)的意思.因此Lambd ...
- RabbitMQ消息可靠性分析和应用
RabbitMQ流程简介(带Exchange) RabbitMQ使用一些机制来保证可靠性,如持久化.消费确认及发布确认等. 先看以下这个图: P为生产者,X为中转站(Exchange),红色部分为消息 ...
- json Map JsonObject JsonArray
json字符串是不应包含 "\"转义字符的,json不能通过js json工具转换或者java json工具 包转换那么一定程度上json字符串已被在一次处理不在能转成json了. ...
- Linux配置Redis外网访问
下载:redis-3.2.5.tar.gz 拷贝到指定目录解压:tar -xzvf redis-3.2.5.tar.gz 进入到解压目录redis-3.2.5下安装: makemake install ...
- python3基础之文件对象操作
1.向文本文件中写入内容 s = 'Hello world\n文本文件的读取方法\n文本文件的写入方法\n' # 需要写入文件的字符串 print('显示需要写入的内容:\n{0:s}'.format ...
- BZOJ 5381 or & Codeforces 623E Transforming Sequence DP+NTT
两道题题意都是一样的 不过$CF$的模数是$10^9+7$ 很简单的分析发现$A_i$项一定要有一个之前没有出现过的二进制位才能满足条件 考虑$DP$来做 设$f_{i,j}$表示$i$个数用了二进制 ...