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的更多相关文章

  1. 使用Oracle 11g新特性 Active Database Duplication 搭建Dataguard环境

    Duplication Database 介绍 Duplicate database可以按照用途分为2种: duplicate database(复制出一个数据库) duplicate standby ...

  2. 11g新特性与12c新特性

    1. 11g新特性概图 管理新特性> 开发新特性> 2. 12c 新特性概图

  3. 11g新特性-自动sql调优(Automatic SQL Tuning)

    11g新特性-自动sql调优(Automatic SQL Tuning) 在Oracle 10g中,引进了自动sql调优特性.此外,ADDM也会监控捕获高负载的sql语句. 在Oracle 11g中, ...

  4. Oracle 11g 新特性 --SQL Plan Management 说明

    Oracle 11g 新特性 --SQL Plan Management 说明 参见大神博主文章: http://blog.csdn.net/tianlesoftware/article/detail ...

  5. Oracle 11g 新特性 – HM(Hang Manager)简介

    在这篇文章中我们会对oracle 11g 新特性—hang 管理器(Hang Manager) 进行介绍.我们需要说明,HM 只在RAC 数据库中存在. 在我们诊断数据库问题的时候,经常会遇到一些数据 ...

  6. 11G 新特性之 密码延迟认证

    11G 新特性之 密码延迟认证 11G 新特性之 密码延迟认证 Table of Contents 1. 特性简述 2. 特性潜在引发问题 3. 关闭特性 1 特性简述 为了防止用户密码的暴力破解,从 ...

  7. Oracle 11g新特性

    文章转自网络 Oracle 11g于2007年7月11日美国东部时间11时(北京时间11日22时)正式发布,11g是甲骨文公司30年来发布的最重要的数据库版本,根据用户的需求实现了信息生命周期管理(I ...

  8. 11g新特性-概述 (转)

    一.新特性提纲 1.数据库管理部分 ◆数据库重演(Database Replay) 这一特性可以捕捉整个数据的负载,并且传递到一个从备份或者standby数据库中创建的测试数据库上,然后重演负责以测试 ...

  9. Oralce 11g新特性 转载

    Oracle 11g于2007年7月11日美国东部时间11时(北京时间11日22时)正式发布,11g是甲骨文公司30年来发布的最重要的数据库版本,根据用户的需求实现了信息生命周期管理(Informat ...

随机推荐

  1. Mybatis中的like模糊查询四种方式

    1.  参数中直接加入%% param.setUsername("%CD%"); param.setPassword("%11%"); <select i ...

  2. php输出json的内容

    $json = '{"foo": 12345}'; $obj = json_decode($json); print $obj->{'foo'}; // 12345

  3. canvas扩散圆环

    最近看了很多牛的动画,想想自己的canvas的确很菜. 公式在那里,但是不是太会套.找demo发现都是很难的 于是找了个简单的效果 圆环从中间扩散的效果 关键是 globalCompositeOper ...

  4. #5【BZOJ4275】[ONTAK2015]Badania

    Description 给定三个数字串A,B,C,请找到一个A,B的最长公共子序列,满足C是该子序列的子串. Input 第一行包含一个正整数n(1<=n<=3000),表示A串的长度. ...

  5. vue中mixin的一点理解

    vue中提供了一种混合机制--mixins,用来更高效的实现组件内容的复用.最开始我一度认为这个和组件好像没啥区别..后来发现错了.下面我们来看看mixins和普通情况下引入组件有什么区别?     ...

  6. 最长上升序列 LCS LIS

    子序列问题 (一)一个序列中的最长上升子序列(LISLIS) n2做法 直接dp即可: ;i<=n;i++) { dp[i]=;//初始化 ;j<i;j++)//枚举i之前的每一个j ) ...

  7. 6-6 小球下落 uva679

    较为简单的找规律题目 开始认识二叉树  虽然这题和二叉树没有啥关系 #include<bits/stdc++.h> using namespace std; int main() { in ...

  8. PHP 随笔记

    SQL插入数据并返回刚插入数据行的主键ID INSERT INTO `peoplespublic`.`demo` (`id`, `name`, `content`, `time`, `file`) V ...

  9. 008.Docker Flannel+Etcd分布式网络部署

    一 环境准备 1.1 Flannel概述 Flannel是一种基于overlay网络的跨主机容器网络解决方案,即将TCP数据包封装在另一种网络包里面进行路由转发和通信,Flannel是CoreOS开发 ...

  10. jooq实践

    用法 sql语句 SELECT AUTHOR.FIRST_NAME, AUTHOR.LAST_NAME, COUNT(*) FROM AUTHOR JOIN BOOK ON AUTHOR.ID = B ...