具体步骤:
解决:
--1. Set new name (or location) for RMAN to use for snapshot controlfile:
RMAN> CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/ora11g/product/11.2.0/db_1/dbs/snapcf_wxxqccdb.f.new';
新的 RMAN 配置参数:
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/ora11g/product/11.2.0/db_1/dbs/snapcf_wxxqccdb.f.new';
已成功存储新的 RMAN 配置参数
--2. Remove the snapshot controlfile from the RMAN information as a controlfile copy.
delete '/u01/app/ora11g/product/11.2.0/db_1/dbs/snapcf_wxxqccdb.f' on operating system.
--3. Crosscheck and delete the file from RMAN:
RMAN> crosscheck controlfilecopy '/u01/app/ora11g/product/11.2.0/db_1/dbs/snapcf_wxxqccdb.f';
释放的通道: ORA_DISK_1
分配的通道: ORA_DISK_1
通道 ORA_DISK_1: SID=1867 设备类型=DISK
对控制文件副本的验证失败
控制文件副本文件名=/u01/app/ora11g/product/11.2.0/db_1/dbs/snapcf_wxxqccdb.f RECID=1 STAMP=774635982
已交叉检验的 1 对象
RMAN> delete expired controlfilecopy '/u01/app/ora11g/product/11.2.0/db_1/dbs/snapcf_wxxqccdb.f';
释放的通道: ORA_DISK_1
分配的通道: ORA_DISK_1
通道 ORA_DISK_1: SID=1867 设备类型=DISK
控制文件副本列表
===========================
关键字 S 完成时间 Ckp SCN Ckp 时间
------- - ---------- ---------- ----------
1 X 07-2月 -12 1054822 07-2月 -12
名称: /u01/app/ora11g/product/11.2.0/db_1/dbs/snapcf_wxxqccdb.f
标记: TAG20120207T163942
是否确定要删除以上对象 (输入 YES 或 NO)? yes
已删除控制文件副本
控制文件副本文件名=/u01/app/ora11g/product/11.2.0/db_1/dbs/snapcf_wxxqccdb.f RECID=1 STAMP=774635982
1 EXPIRED 对象已删除
--4. Set the snapshot controlfile name (or location) to original:
RMAN> CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/ora11g/product/11.2.0/db_1/dbs/snapcf_wxxqccdb.f';
旧的 RMAN 配置参数:
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/ora11g/product/11.2.0/db_1/dbs/snapcf_wxxqccdb.f.new';
新的 RMAN 配置参数:
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/ora11g/product/11.2.0/db_1/dbs/snapcf_wxxqccdb.f';
已成功存储新的 RMAN 配置参数
--5. To set the snapshot controlfile name back to default value:
RMAN> CONFIGURE SNAPSHOT CONTROLFILE NAME clear;
旧的 RMAN 配置参数:
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/ora11g/product/11.2.0/db_1/dbs/snapcf_wxxqccdb.f';
RMAN 配置参数已成功重置为默认值
参考:metalink ID 1215493.1