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 ...
随机推荐
- asp.net core 2.0 cookie的使用
本文假设读者已经了解cookie的概念和作用,并且在传统的.net framework平台上使用过. cookie的使用方法和之前的相比也有所变化.之前是通过cookie的add.set.clear. ...
- 2015 Benelux Algorithm Programming Contest E-Excellent Engineers
题目大意:有n个人,每个人都有三个物品,排名分别为a[ i ],b[ i ],b[ i ],现在要删掉其中的一些人 如果一个人x的三个物品的排名为a[ x ],b[ x ],b[ x ],若存在另一个 ...
- HDU1211 密文解锁 【扩展欧几里得】【逆元】
<题目链接> <转载于 >>> > 题目大意: RSA是个很强大的加密数据的工具,对RSA系统的描述如下: 选择两个大素数p.q,计算n = p * q,F( ...
- P1799 数列_NOI导刊2010提高(06)
P1799 数列_NOI导刊2010提高(06)f[i][j]表示前i个数删去j个数得到的最大价值.if(i-j==x) f[i][j]=max(f[i][j],f[i-1][j]+1); else ...
- docker使用dockerfile 构建redis镜像
FROM redis WORKDIR /data VOLUME /data EXPOSE RUN echo "success---------success" ENTRYPOINT ...
- 操作系统概述(os 笔记一)
操作系统概述 操作系统的目标和功能 1.目标:作为用户/计算机接口 计算机的使用人群大致可以分为三类,终端用户,程序开发者,操作系统设计人员. 对于终端用户,即应用程序的用户来说,他们通常不关注计 ...
- vue 百度地图实现标记多个maker,并点击任意一个maker弹出对应的提示框信息, (附: 通过多个地址,标记多个marker 的 方法思路)
通过点击不同筛选条件,筛选出不同企业所在的地点, 根据每个企业的经纬度 在地图上标记多个maker,点击任意一个maker,会弹出infoWindow 信息窗口: 说明: 因每个人写法不同.需求不同 ...
- VR开发 VR development
VR开发 VR development 作者:韩梦飞沙 Author:han_meng_fei_sha 邮箱:313134555@qq.com E-mail: 313134555 @qq.com Ho ...
- [BZOJ2877][NOI2012]魔幻棋盘(二维线段树)
https://blog.sengxian.com/solutions/bzoj-2877 注意二维线段树的upd()也是一个O(log n)的函数(pushdown()应该也是但没写过). #inc ...
- BZOJ.4542.[HNOI2016]大数(莫队)
题目链接 大数除法是很麻烦的,考虑能不能将其条件化简 一段区间[l,r]|p,即num[l,r]|p,类似前缀,记后缀suf[i]表示[i,n]的这段区间代表的数字 于是有 suf[l]-suf[r+ ...