[置顶] Oracle 11.2.0.3.0 Active Data Guard 遇 ORA-10458、ORA-01152、ORA-01110 错误
2013-06-12 18:27
731 查看
今天第一次配 Oracle 11g R2 Active Data Guard,在用 RMAN 创建好 physical standby database 后,
尝试将 standby 以 read only 方式打开时遇如下错误:
SQL> alter database open read only;
alter database open read only
*
ERROR at line 1:
ORA-10458: standby database requires recovery
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1:
'/u01/app/oracle/oradata/STANDBY/datafile/o1_mf_system_8v8y9m2x_.dbf'
metalink 文章[ID 1312376.1]上描述是 primary database 的 compatible 参数设置错误
Primary:
SQL> col host_name for a20
SQL> select instance_name,host_name,version,archiver,log_switch_wait from v$instance;
INSTANCE_NAME HOST_NAME VERSION ARCHIVE LOG_SWITCH_WAIT
---------------- -------------------- ----------------- ------- ---------------
prod prod.oracle.com 11.2.0.3.0 STARTED
Standby:
SQL> select instance_name,host_name,version,archiver,log_switch_wait from v$instance;
INSTANCE_NAME HOST_NAME VERSION ARCHIVE LOG_SWITCH_WAIT
---------------- -------------------- ----------------- ------- ---------------
standby standby.oracle.com 11.2.0.3.0 STARTED
Primary:
SQL> show parameter compatible
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
compatible string 11.2.0.0.0
Standby:
SQL> show parameter compatible
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
compatible string 11.2.0.0.0
将 Primary 和 Standby 的 compatible 参数全部修改为 11.2.0.2.0 后重启便可将 standby 以 read only 方式打开
primary:
SQL> alter system set compatible='11.2.0.2.0' scope=spfile;
SQL> shutdown immediate;
SQL> startup;
standby:
SQL> startup open read only;
SQL> select OPEN_MODE from v$database;
OPEN_MODE
--------------------
READ ONLY
转载请注明作者出处及原文链接,否则将追究法律责任:
作者:xiangsir
原文链接:http://blog.csdn.net/xiangsir/article/details/9077527
QQ:444367417
MSN:xiangsir@hotmail.com
尝试将 standby 以 read only 方式打开时遇如下错误:
SQL> alter database open read only;
alter database open read only
*
ERROR at line 1:
ORA-10458: standby database requires recovery
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1:
'/u01/app/oracle/oradata/STANDBY/datafile/o1_mf_system_8v8y9m2x_.dbf'
metalink 文章[ID 1312376.1]上描述是 primary database 的 compatible 参数设置错误
Primary:
SQL> col host_name for a20
SQL> select instance_name,host_name,version,archiver,log_switch_wait from v$instance;
INSTANCE_NAME HOST_NAME VERSION ARCHIVE LOG_SWITCH_WAIT
---------------- -------------------- ----------------- ------- ---------------
prod prod.oracle.com 11.2.0.3.0 STARTED
Standby:
SQL> select instance_name,host_name,version,archiver,log_switch_wait from v$instance;
INSTANCE_NAME HOST_NAME VERSION ARCHIVE LOG_SWITCH_WAIT
---------------- -------------------- ----------------- ------- ---------------
standby standby.oracle.com 11.2.0.3.0 STARTED
Primary:
SQL> show parameter compatible
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
compatible string 11.2.0.0.0
Standby:
SQL> show parameter compatible
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
compatible string 11.2.0.0.0
将 Primary 和 Standby 的 compatible 参数全部修改为 11.2.0.2.0 后重启便可将 standby 以 read only 方式打开
primary:
SQL> alter system set compatible='11.2.0.2.0' scope=spfile;
SQL> shutdown immediate;
SQL> startup;
standby:
SQL> startup open read only;
SQL> select OPEN_MODE from v$database;
OPEN_MODE
--------------------
READ ONLY
转载请注明作者出处及原文链接,否则将追究法律责任:
作者:xiangsir
原文链接:http://blog.csdn.net/xiangsir/article/details/9077527
QQ:444367417
MSN:xiangsir@hotmail.com
相关文章推荐
- Oracle 11.2.0.3.0 Active Data Guard 遇 ORA-10458、ORA-01152、ORA-01110 错误
- ORACLE 11G 配置DG 报ORA-10458、ORA-01152、ORA-01110
- DATAGUAR备库无法OPEN报ORA-10458:ORA-01152:ORA-01110
- oracle11.2 异常关闭机器引起,ora-01172,ora-01152错误处理
- [置顶] Oracle GoldenGate 系列:使用 Oracle ASM API DBLOGREADER 时遇 ora-01031 错误
- Oracle ORA-01110错误解决方法
- oracle 启动时出现ORA-01157: cannot identify/lock data和ORA-01110: data file 错误
- RMAN异机恢复遭遇ORA-01547、ORA-01152、ORA-01110错误案例
- oracle删除表空间引发错误的解决方法 ORA-01122,ORA-01110,ORA-01203
- help!ORACLE RMAN恢复问题ORA-01152 ORA-01110
- Oracle dbca时报:ORA-12547: TNS:lost contact错误的解决
- ORA-28547: 连接服务器失败, 可能是 Oracle Net 管理错误 的原因是什么?
- ORA-01033:ORACLE initialization or shutdown 错误解决方法
- oracle被锁住后的处理方式,错误Code:ora-00054
- Oracle 11gR2 RAC连接时ORA-12545错误
- Oracle查询错误分析:ORA-01791:不是SELECTed表达式
- Oracle内部错误ORA-600:[1112]
- ora-01033:oracle initializationg or shutdown in progress 错误
- oracle错误之ORA-01034: ORACLE not available
- Oracle ERROR: ORA-12560: TNS: 协议适配器错误