Logical Standby不支持db_file_name_convert参数

系统环境:
OS:IBM AIX平台
DB:Oracle10.2.0.3
Standby Database:Logical Standby
Primary Database:DATA_GROUP = +CLO
Logical Standby:DATA_GROUP = +DATADG1

问题描述:
1、Primary Database进行create tablespace的Add datafile操作;
2、Logical Standby上的real-time apply操作异常中断,与Primary Database无法同步;
3、检查Logical Standby上的alert日志及dba_logstdby_events事件表发现以下异常:
日志及事件表记录以下错误:

ORA-17502: ksfdcre:4 Failed to create file +CLO/zc/datafile/****.dbf
ORA-15001: diskgroup "CLO" does not exist or is not mounted
报错后,Logical Standby上的apply process进程全部STOP。

原因:
主库与Logical Standby的DISKGROUP的名字不一致,致使logstdby无法同步执行主库上的create tablespace操作。
查看Logical Standby的安装文档,确认Oracle10g的Logical Standby不支持db_file_name_convert参数,所以也不能将主库上datafile进行diskgroup的转换。
查metalink,发现该问题是个BUG,BUG号是4384452。

解决办法:
使用Logical Standby的DBMS_LOGSTDBY包,SKIP掉无法APPLY的trancastion或procedure,然后重新开始SQL Apply或是real-time apply。
创建Logical Standby时,最好创建与Primary Database一致的Diskgroup。

Oracle Create Logical Standby的官方文档
http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ls.htm#i77026

Note:
The DB_FILE_NAME_CONVERT initialization parameter is not honored once a physical standby database is converted to a logical standby database.

If necessary, you should register a skip handler and provide SQL Apply with a replacement DDL string to execute by converting the path names

of the primary database datafiles to the standby datafile path names. See theDBMS_LOGSTDBYpackage inOracle Database PL/SQL Packages and Types

Reference. for information about the SKIP procedure. 

 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/35489/viewspace-622422/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/35489/viewspace-622422/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值