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 ...
随机推荐
- android 换行符(\n) 在TextView中显示不正常的问题
问题描述 在Android开发,使用TextView设置换行的时候,会有这种情况: 1.如果直接在XML文件中写入"aaaaa\nbbbb"可以换行,显示为: aaaaabbbbb ...
- 转:CentOS下后台运行Python脚本及关闭脚本的一些操作
自己写了一个python脚本,但是直接远程用putty连接后#python xxx.py执行,关闭putty脚本也随之关闭了,这里需要用到‘setsid’这个命令. #setsid python xx ...
- 096实战 在windows下新建maven项目
1.拷贝settings到.m2文件下 2.修改文件 3.新建Project项目 4.转换为maven项目 config下转换 5.拷贝pom文件 <project xmlns="ht ...
- Java 处理 iphone拍照后 图片EXIF属性翻转90度的方法
http://blog.csdn.net/z69183787/article/details/50320821 Java获取照片EXIF信息 http://blog.csdn.net/ghsau/ar ...
- PHP 扩展 MongoDB
打开phpinfo 查看 nts(非线程) 还是 ts (线程),操作位数: 下载对应的版本的php_mongodb.dll 文件 下载链接: pecl mangodb下载 把文件解压出来 php_m ...
- 最全Python爬虫总结(转载)
[html] view plain copy 最近总是要爬取一些东西,索性就把Python爬虫的相关内容都总结起来了,自己多动手还是好. (1)普通的内容爬取(2)保存爬取的图片/视频和文件和网页(3 ...
- python中confIgparser模块学习
python中configparser模块学习 ConfigParser模块在python中用来读取配置文件,配置文件的格式跟windows下的ini配置文件相似,可以包含一个或多个节(section ...
- EntityFramework Core
1,安装EF Core 在.csproj中添加一下配置,用于使用dotnet ef 命令 <ItemGroup> <DotNetCliToolReference Include=&q ...
- 用redis来实现Session保存的一个简单Demo
现在很多项目都用Redis(RedisSessionStateProvider)来保存Session数据,但是最近遇到一个比较典型的情况,需要把用户数据全部load到redis里面,在加上RedisS ...
- BZOJ.4543.[POI2014]Hotel加强版(长链剖分 树形DP)
题目链接 弱化版:https://www.cnblogs.com/SovietPower/p/8663817.html. 令\(f[x][i]\)表示\(x\)的子树中深度为\(i\)的点的个数,\( ...