设为首页 加入收藏

TOP

【翻译自mos文章】怎么获得datafile备份的增长信息
2015-07-24 12:10:58 来源: 作者: 【 】 浏览:25
Tags:翻译 mos 文章 怎么 获得 datafile 备份 增长 信息

怎么获得datafile备份的 增长信息?

来源于:
HOWTO get information about the growth of the datafile backup (文档 ID 352777.1)

适用于:
Oracle Server - Enterprise Edition - Version: 8.1.7.4 to 10.2.0.1 - Release: 8.1.7 to 10.2
Oracle Server - Enterprise Edition - Version: 8.1.7.4 to 11.1.0.7 [Release: 8.1.7 to 11.1]
Information in this document applies to any platform.

目标:
在如下的情况下是很有用的:
--备份时间增加的检查时
--未来的备份空间需求
--Filling grade of a datafile.

解决方案:
可以从RC_BACKUP_DATAFILE 或者 V$BACKUP_DATAFILE中去查询。

BLOCKS 列是被backed up 的block的数量(即:参与备份的block的数量)
DATAFILE_BLOCKS 列是 该datafile中总共的block的数量。

MAN catalog :
Example for the increase in the last 14 days :

SQL> select file#, min(blocks), max(blocks), max(blocks) - min(blocks)
     from rc_backup_datafile
     where db_name='V920'
     and completion_time > sysdate - 14
     group by file#
     order by max(blocks)- min(blocks);


controlfile:
SQL> select file#, min(blocks), max(blocks), max(blocks) - min(blocks)
     from v$backup_datafile
     where completion_time > sysdate - 14
     group by file#
     order by max(blocks)- min(blocks);

】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇Linux-6.5下基于MariaDB-10的GTID.. 下一篇【翻译自mos文章】V$BACKUP_DATAF..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: