Chapter16 RMAN Recovery Catalog Creation and Maintenance

1、Overview

之前使用RMAN进行登陆时,会是这样rman target sys/oracle@DB202 nocatalog

没有catalog的情况下,所有的备份和恢复信息,都存放在control file里面.

注意:(a)、无论你是否使用catalog database,所有的备份和恢复信息依然存储在控制文件里面.catatalog作为备份和恢复信息的第二目的地.

(b)、因为数据库的备份与恢复信息,有时候会认为的只存储在控制文件里面,而不存放在catalog里面,就造成了控制文件中的备份与恢复信息,同catalog database中的信息,不一致的情况.resynchronize命令就是处理同步问题的命令.

(c)、如果DBA使用rman维护数据库数量不多,没有必要时用catalog database.

2、Recovery Catalog COntents

The recovery catalog is an optional repository containing information on:

  • Datafile and archived redo log file backup sets and backup pieces
  • Datafile copies
  • Archived  redo log files
  • The physical structure of the target database.

The recovery catalog can also contain:

  • Persistent RMAN configuration settings
  • Stored job scripts(这个是控制文件,所不具备的功能.)  

3、creating Recovery Catalog

(a)、create tablespace

(b)、create catalog owner

(c)、grant privileges

(d)、create catalog

(e)、connect to target database

(f)、register target database

原文地址:https://www.cnblogs.com/arcer/p/2988840.html