查看rman备份进度
2011-12-30 10:47
225 查看
来自Gavin Soorma's blog
set lines 80
set pages 250
ttitle “Daily Backup……..”
select DB NAME,dbid,
NVL(TO_CHAR(max(backuptype_db),’DD/MM/YYYY HH24:MI’),’01/01/0001:00:00′) DBBKP,
NVL(TO_CHAR(max(backuptype_arch),’DD/MM/YYYY HH24:MI’),’01/01/0001:00:00′) ARCBKP
from (
select a.name DB,dbid,
decode(b.bck_type,’D’,max b.completion_time),’I’,
max b.completion_time)) BACKUPTYPE_db,
decode(b.bck_type,’L’,
max b.completion_time)) BACKUPTYPE_arch
from rc_database a,bs b
where a.db_key=b.db_key
and b.bck_type is not null
and b.bs_key not in(Select bs_key from rc_backup_controlfile
where AUTOBACKUP_DATE is not null or AUTOBACKUP_SEQUENCE is not null)
and b.bs_key not in(select bs_key from rc_backup_spfile)
group by a.name,dbid,b.bck_type
) group by db,dbid
ORDER BY least(to_date(DBBKP,’DD/MM/YYYY HH24:MI’),
to_date(ARCBKP,’DD/MM/YYYY HH24:MI’));
set lines 80
set pages 250
ttitle “Daily Backup……..”
select DB NAME,dbid,
NVL(TO_CHAR(max(backuptype_db),’DD/MM/YYYY HH24:MI’),’01/01/0001:00:00′) DBBKP,
NVL(TO_CHAR(max(backuptype_arch),’DD/MM/YYYY HH24:MI’),’01/01/0001:00:00′) ARCBKP
from (
select a.name DB,dbid,
decode(b.bck_type,’D’,max b.completion_time),’I’,
max b.completion_time)) BACKUPTYPE_db,
decode(b.bck_type,’L’,
max b.completion_time)) BACKUPTYPE_arch
from rc_database a,bs b
where a.db_key=b.db_key
and b.bck_type is not null
and b.bs_key not in(Select bs_key from rc_backup_controlfile
where AUTOBACKUP_DATE is not null or AUTOBACKUP_SEQUENCE is not null)
and b.bs_key not in(select bs_key from rc_backup_spfile)
group by a.name,dbid,b.bck_type
) group by db,dbid
ORDER BY least(to_date(DBBKP,’DD/MM/YYYY HH24:MI’),
to_date(ARCBKP,’DD/MM/YYYY HH24:MI’));
相关文章推荐
- 可以查看rman备份进度的脚本
- RMAN备份进度查询
- 查看RMAN工作进度
- rman的备份查看的脚本
- 从trace文件中查看rman备份操作的信息
- 查看Oracle备份进度
- 查看rman备份是level几的视图
- [Sql Server]查看备份、还完进度(sql2008)
- 监控数据备份恢复完成进度(EXPDP/IMPDP/RMAN)
- 查看rman备份信息
- oracle数据库rman备份进度查询
- 监控数据备份恢复完成进度(EXPDP/IMPDP/RMAN)
- sql2008查看备份进度
- 监控数据备份恢复完成进度(EXPDP/IMPDP/RMAN)
- RMAN备份进度查询
- RMAN 备份进度查询
- 查看每天RMAN备份大小
- SQLServer 查看备份进度
- ORACLE 查看RMAN的备份信息总结
- ORACLE 查看RMAN的备份信息总结