Logical Standby不支持db_file_name_convert参数
上一篇 /
下一篇 2008-06-25 23:02:08
/ 个人分类:ORACLE
Primary Database上进行create tablespace的操作导致Logical Standby的apply process进程中断。
数据库环境:
数据库版本: Oracle 10.2.0.3
灾备数据库: Logical Standby
数据库主机: IBM AIX平台
Primary : DATA_GROUP = +CLO
Logstdby : DATA_GROUP = +DATADG1
问题描述:
1. Primary Database进行create tablespace的Add datafile操作
2. Logical standby上的real-time apply操作异常中断,与primary无法同步
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
问题原因:
Primary Database与Logical Standby的DISKGROUP的名字不一致,致使logstdby无法同步执行Primary上的create tablespace操作。
查看logical Standby的安装文档,确认Oracle10g的Logical Standby不支持db_file_name_convert参数,所以也不能将Primary Database上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: |
TheDB_FILE_NAME_CONVERTinitialization 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. |
导入论坛
引用链接
收藏
分享给好友
推荐到圈子
管理
举报
TAG: