资讯

精准传达 • 有效沟通

从品牌网站建设到网络营销策划,从策略到执行的一站式服务

rman中report命令

report需要备份的文件
RMAN> report need backup;


RMAN retention policy will be applied to the command
RMAN retention policy is set to redundancy 1
Report of files with less than 1 redundant backups
File #bkps Name
---- ----- -----------------------------------------------------


redundancy为1表示有1个备份就足够


report不可恢复的文件
经过nologging操作的数据不可恢复
RMAN> report unrecoverable;


Report of files that need backup due to unrecoverable operations
File Type of Backup Required Name
---- ----------------------- —————————————————


report obsolete的备份
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           1      2017-07-23 22:28:56
  Backup Piece       1      2017-07-23 22:28:56 /u01/app/oracle/product/11.2/dbs/01sa3qgt_1_1
Datafile Copy        2      2017-07-23 23:50:01 /home/oracle/c1.bakset
Backup Set           2      2017-07-23 22:29:01
  Backup Piece       2      2017-07-23 22:29:01 /u01/app/oracle/product/11.2/dbs/02sa3qhc_1_1

report schema
RMAN> report schema;


Report of database schema for database with db_unique_name TEST


List of Permanent Datafiles
===========================
File Size(MB) Tablespace           RB segs Datafile Name
---- -------- -------------------- ------- ------------------------
1    920      SYSTEM               ***     /u01/app/oracle/oradata/test/system01.dbf
2    640      SYSAUX               ***     /u01/app/oracle/oradata/test/sysaux01.dbf
3    90       UNDOTBS1             ***     /u01/app/oracle/oradata/test/undotbs01.dbf
4    408      USERS                ***     /u01/app/oracle/oradata/test/users01.dbf


List of Temporary Files
=======================
File Size(MB) Tablespace           Maxsize(MB) Tempfile Name
---- -------- -------------------- ----------- --------------------
2    500      TEMP                 500         /u01/app/oracle/oradata/test/temp02.dbf







新闻标题:rman中report命令
新闻来源:http://cdkjz.cn/article/ijidpg.html
多年建站经验

多一份参考,总有益处

联系快上网,免费获得专属《策划方案》及报价

咨询相关问题或预约面谈,可以通过以下方式与我们联系

大客户专线   成都:13518219792   座机:028-86922220