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 ...
随机推荐
- AOJ 0005 GCD and LCM
题意:求两数最大公约数和最小公倍数. 类型:辗转相除法 算法:gcd(a,b)=gcd(b,a%b),lcm(a,b)=a*b/gcd(a,b). #include <cstdio> #i ...
- AOJ 2249 Road Construction (dijkstra)
某国王需要修路,王国有一个首都和多个城市,需要修路.已经有修路计划了,但是修路费用太高. 为了减少修路费用,国王决定从计划中去掉一些路,但是需要满足一下两点: 保证所有城市都能连通 所有城市到首都的最 ...
- 空指针null
Java中,null是一个关键字,用来标识一个不确定的对象.因此可以将null赋给引用类型变量,但不可以将null赋给基本类型变量 Java默认给变量赋值:在定义变量的时候,如果定义后没有给变量赋值, ...
- Kubernetes核心概念总结
目录贴:Kubernetes学习系列 1.基础架构 1.1 Master Master节点上面主要由四个模块组成:APIServer.scheduler.controller manager.etcd ...
- 010 Spark中的监控----日志聚合的配置,以及REST Api
一:History日志聚合的配置 1.介绍 Spark的日志聚合功能不是standalone模式独享的,是所有运行模式下都会存在的情况 默认情况下历史日志是保存到tmp文件夹中的 2.参考官网的知识点 ...
- U盘装机教程
http://winpe.uqidong.asia/upzxpxt/upzxpxt.html
- Open Source Book For ML
The following is a list of free, open source books on machine learning, statistics, data-mining, etc ...
- YUI Compressor JS和CSS压缩工具使用方式(使用前安装JDK)
压缩测试: 选中 test.js, 执行右键菜单“Process with &YUICompressor”,会生成 test-min.js. 注意事项: 1. 需要安装 JDK >= 1 ...
- HDU.5909.Tree Cutting(树形DP FWT/点分治)
题目链接 \(Description\) 给定一棵树,每个点有权值,在\([0,m-1]\)之间.求异或和为\(0,1,...,m-1\)的非空连通块各有多少个. \(n\leq 1000,m\leq ...
- 潭州课堂25班:Ph201805201 爬虫基础 第二课 fidder (课堂笔记)
通过浏览器访问百度的详细过程? 一.通过dns获取百度IP地址.二.通过百度IP访问百度服务器, 三,返回数据. 四,通过渲染显示内容, fidder设置 tf 信任证书