说说RMAN里的obsolete
RMAN> report obsolete;
RMAN retention policy will be applied to the command
RMAN retention policy is set to redundancy 1
no obsolete backups found
RMAN> backup datafile 1;
Starting backup at 29-MAY-14
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=/u01/app/oracle/oradata/prod/system01.dbf
channel ORA_DISK_1: starting piece 1 at 29-MAY-14
channel ORA_DISK_1: finished piece 1 at 29-MAY-14
piece handle=/u01/app/oracle/product/10.2.0/db_1/dbs/amp9g8sf_1_1 tag=TAG20140529T102934 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:25
Finished backup at 29-MAY-14
Starting Control File and SPFILE Autobackup at 29-MAY-14
piece handle=/u01/app/oracle/product/10.2.0/db_1/dbs/c-248862348-20140529-00 comment=NONE
Finished Control File and SPFILE Autobackup at 29-MAY-14
RMAN> list backup of datafile 1;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
504 Full 391.63M DISK 00:00:23 29-MAY-14
BP Key: 504 Status: AVAILABLE Compressed: NO Tag: TAG20140529T102934
Piece Name: /u01/app/oracle/product/10.2.0/db_1/dbs/amp9g8sf_1_1
List of Datafiles in backup set 504
File LV Type Ckp SCN Ckp Time Name
---- -- ---- ---------- --------- ----
1 Full 1588933 29-MAY-14 /u01/app/oracle/oradata/prod/system01.dbf
RMAN> backup datafile 1;
Starting backup at 29-MAY-14
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=/u01/app/oracle/oradata/prod/system01.dbf
channel ORA_DISK_1: starting piece 1 at 29-MAY-14
channel ORA_DISK_1: finished piece 1 at 29-MAY-14
piece handle=/u01/app/oracle/product/10.2.0/db_1/dbs/aop9g8u0_1_1 tag=TAG20140529T103024 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:35
Finished backup at 29-MAY-14
Starting Control File and SPFILE Autobackup at 29-MAY-14
piece handle=/u01/app/oracle/product/10.2.0/db_1/dbs/c-248862348-20140529-01 comment=NONE
Finished Control File and SPFILE Autobackup at 29-MAY-14
RMAN> list backup of datafile 1;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
504 Full 391.63M DISK 00:00:23 29-MAY-14
BP Key: 504 Status: AVAILABLE Compressed: NO Tag: TAG20140529T102934
Piece Name: /u01/app/oracle/product/10.2.0/db_1/dbs/amp9g8sf_1_1
List of Datafiles in backup set 504
File LV Type Ckp SCN Ckp Time Name
---- -- ---- ---------- --------- ----
1 Full 1588933 29-MAY-14 /u01/app/oracle/oradata/prod/system01.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
506 Full 391.63M DISK 00:00:27 29-MAY-14
BP Key: 506 Status: AVAILABLE Compressed: NO Tag: TAG20140529T103024
Piece Name: /u01/app/oracle/product/10.2.0/db_1/dbs/aop9g8u0_1_1
List of Datafiles in backup set 506
File LV Type Ckp SCN Ckp Time Name
---- -- ---- ---------- --------- ----
1 Full 1588970 29-MAY-14 /u01/app/oracle/oradata/prod/system01.dbf
RMAN> report obsolete;
RMAN retention policy will be applied to the command
RMAN retention policy is set to redundancy 1
Report of obsolete backups and copies
Type Key Completion Time Filename/Handle
-------------------- ------ ------------------ --------------------
Backup Set 503 17-MAR-14
Backup Piece 503 17-MAR-14 /u01/app/oracle/product/10.2.0/db_1/dbs/c-248862348-20140317-0b
Backup Set 504 29-MAY-14
Backup Piece 504 29-MAY-14 /u01/app/oracle/product/10.2.0/db_1/dbs/amp9g8sf_1_1
Backup Set 505 29-MAY-14
Backup Piece 505 29-MAY-14 /u01/app/oracle/product/10.2.0/db_1/dbs/c-248862348-20140529-00
RMAN> backup datafile 1;
Starting backup at 29-MAY-14
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=/u01/app/oracle/oradata/prod/system01.dbf
channel ORA_DISK_1: starting piece 1 at 29-MAY-14
channel ORA_DISK_1: finished piece 1 at 29-MAY-14
piece handle=/u01/app/oracle/product/10.2.0/db_1/dbs/aqp9g90p_1_1 tag=TAG20140529T103153 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:26
Finished backup at 29-MAY-14
Starting Control File and SPFILE Autobackup at 29-MAY-14
piece handle=/u01/app/oracle/product/10.2.0/db_1/dbs/c-248862348-20140529-02 comment=NONE
Finished Control File and SPFILE Autobackup at 29-MAY-14
RMAN> report obsolete;
RMAN retention policy will be applied to the command
RMAN retention policy is set to redundancy 1
Report of obsolete backups and copies
Type Key Completion Time Filename/Handle
-------------------- ------ ------------------ --------------------
Backup Set 503 17-MAR-14
Backup Piece 503 17-MAR-14 /u01/app/oracle/product/10.2.0/db_1/dbs/c-248862348-20140317-0b
Backup Set 504 29-MAY-14
Backup Piece 504 29-MAY-14 /u01/app/oracle/product/10.2.0/db_1/dbs/amp9g8sf_1_1
Backup Set 505 29-MAY-14
Backup Piece 505 29-MAY-14 /u01/app/oracle/product/10.2.0/db_1/dbs/c-248862348-20140529-00
Backup Set 506 29-MAY-14
Backup Piece 506 29-MAY-14 /u01/app/oracle/product/10.2.0/db_1/dbs/aop9g8u0_1_1
Backup Set 507 29-MAY-14
Backup Piece 507 29-MAY-14 /u01/app/oracle/product/10.2.0/db_1/dbs/c-248862348-20140529-01
说说RMAN里的obsolete的更多相关文章
- [Oracle][RMAN]关于Oracle RMAN里面的Merged Incremental Backups的Tag分离机能
关于Oracle RMAN里面的Merged Incremental Backups的机能,RMAN使用的比较多的DBA们可能会有所了解. 基本上,每次都实行同样的Backup命令即可完成BACK. ...
- rman的使用
下面是两种连接方式[oracle@oracle3A ~]$ rman target/ Recovery Manager: Release 11.2.0.1.0 - Production on Mon ...
- 一次rman恢复的实验
本文主要针对备份和恢复数据文件,具体rman知识点查阅我的另一篇文章:http://blog.csdn.net/perfect_db/article/details/8765022 首先看看数据文件的 ...
- OCP读书笔记(5) - 使用RMAN创建备份
5.Creating Backups with RMAN 创建备份集 RMAN> backup as backupset format '/u01/app/oracle/backup/rmanb ...
- RMAN正确地删除Archivelog以及设置有备库的归档删除策略
原文链接:http://blog.sina.com.cn/s/blog_64e166580100xks5.html 如何正确地删除Archivelog: Archivelog并不能直接得从OS层直接物 ...
- oracle之三rman 维护
rman 维护 11.1 rman 使用和维护 11.2 list 命令一览 1)RMAN> list backup; 2)RMAN> list backup of tablespace ...
- oracle之三RMAN概述
RMAN概述 6.1 rman的定义和功能: 1) Recovery Manager 2)建立备份和恢复的server process,在oracle server上做备份和恢复 3)rman 备份d ...
- 建工财务搬家NC变更|rman各种测试|
1,使用全备份之后的还原不需要建立表空间. 2,归档日志备份之后,使用delete all input,在backup database plus achivelog之后,会在完成备份之后自动删除归档 ...
- 如何删除控制文件中过去rman备份到磁带的备份集
问题描述: 早上做数据库巡检,发现FRA(flash recovery area)空间使用率达到66%,是平时的两倍.由于库不大,备份策略是本地磁盘备份,每天一全备,REDUNDANCY 1 ,备份完 ...
随机推荐
- ubuntu進入dos界面命令 ubuntu進入圖形界面命令
切换界面: ctrl + alt + F1是切到终端模式 Alt+F7 切到图形界面
- Java实现Qt的SIGNAL-SLOT机制
SIGNAL-SLOT是Qt的一大特色,使用起来十分方便.在传统的AWT和Swing编程中,我们都是为要在 监听的对象上添加Listener监听器.被监听对象中保存有Listener的列表,当相关事件 ...
- “adb server is out of date. killing.... ADB server didn't ACK * failed to start daemon * ”
草泥马的adb: “adb server is out of date. killing.... ADB server didn't ACK * failed to start daemon * ” ...
- Function语义学之member function
之前我们讲过编译器会对 nonmember functions 进行怎样的扩充和该写,今天我们来讲一下 member functions 函数调用方式 一.Nonstatic Member Funct ...
- Pots(bfs)
Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 8266 Accepted: 3507 Special Judge D ...
- ♫【jQuery】detach
Jquery empty() remove() detach() 方法的区别 <!DOCTYPE html> <html> <head> <meta char ...
- foxmail邮箱在代理环境下不能使用解决方法。
由于工作原因,在域环境中但是还不是域用户,怎么设置代理也不能使用邮件客户端,幸亏老大给一软件,如下图 安装超级简单,而且软件很小,安装完后重启,基本不用设置就可以使用,前提是你的邮箱客户端要设置代理服 ...
- vector::erase returns incompatible iterator in debug build
关于std::vector中erase的用法http://www.cplusplus.com/reference/vector/vector/erase/ #include <vector> ...
- android下隐藏标题栏
最近在开发android,遇到一个问题标题栏影响美观,查了很多网上方法. 用到了方法一: requestWindowFeature(Window.FEATURE_NO_TITLE); 虽然一直强调要在 ...
- G - Supermarket poj1456
题目的描述很长,其实描述的问题很简单,说有n的商品,它们每个的价值是pi,但是呢,再过di天这些商品就不能卖了(有可能过期了...),现在给出来每个商品的价值和可以卖的最后期限,问可以得到最多多少资金 ...