- OCP认证考试指南(1ZO-063) Oracle Database 12c高级管理
- Bob Bryla
- 194字
- 2021-03-26 13:18:01
3.2.5 更新恢复目录
为了支持更新的RMAN客户端(例如,RMAN恢复目录版本是11g,而新RMAN客户端版本是12c),使用UPGRADE CATALOG命令更新本地包和模式。与DROP CATALOG命令一样,系统会发出两次提示,而且无须连接到目标数据库。见下例:
RMAN> upgrade catalog; recovery catalog owner is RCAT_OWNER enter UPGRADE CATALOG command again to confirm catalog upgrade RMAN> upgrade catalog; recovery catalog upgraded to version 12.01.00.01 DBMS_RCVMAN package upgraded to version 12.01.00.01 DBMS_RCVCAT package upgraded to version 12.01.00.01 RMAN>
如果尝试对恢复目录版本执行降级操作,系统会发出错误消息。但是,如果版本尚未更改,而所有必要的包并未就绪,UPGRADE CATALOG命令就会继续。