ORA-00201处理一例

ORA-00201处理一例
     周末给数据库上了10.2.0.3的patch5,今天在做standby数据库时,发生一个错误.具体情况如下:
     在copy完所有datafile后,在active数据库升成了standby controlfile,copy这个standby controlfile到standby库,在mount standby库时报如下错误:
ORA-00201: control file version 10.2.0.3.0 incompatible with ORACLE version
10.2.0.1.0
ORA-00202: control file: 'D:\IM\CONTROLFILE\CONTROLFILE1.CTL'
      以前做standby都很顺利,从来没出过问题,到底甚么问题,上网站查了查,没找文件相关资料.问了之前的同事,没遇到过类似问题.
      打开init文件,发现standby的init的compatible='10.2.0.1.0',而Active的compatible='10.2.0.3.0',将standby 的compatible改为compatible='10.2.0.3.0',
SQL> shutdown immediate
SQL> startup nomount
SQL> alter database mount standby database
       没有再报错误了,之前从来不在意compatible参数的,呵呵!
posted @ 2007-06-12 18:26  土鸟  阅读(2353)  评论(0编辑  收藏  举报