GoldenGate, Streams and Distributed Database (MOSC)

MOSC Banner

OGG-00516 Fatal error executing DDL replication: error [ Error code [904]]

edited Dec 10, 2018 4:01AM in GoldenGate, Streams and Distributed Database (MOSC) 2 commentsAnswered

안녕하세요

현재 제가 ogg 양방향 테스트를 진행 중에 있습니다.

classic 모드 구성에서는 특이 사항이 없었는데, 양방향 구성으로 타겟 --> 소스 간 update시와 DDL 테스트시 데이타 동기화가 안 되는

문제가 있어 도움을 얻고자 글을 올립니다.

타겟에서 DDL 수행시 소스 REPLICATION ABEND 납니다.

에러 메세지는 다음과 같습니다.

OGG-00516 Fatal error executing DDL replication: error [ Error code [904]], ORA-00904: "COL5": invalid identifier SQL ALTER TABLE BCPARK2.OGGBCP_TEST DROP (COL5)

/* GOLDENGATE_DDL_REPLICATION */], due to explicit ABEND error handling and filter [include all (default)].

참고로 타겟 replication 파라메터만 올릴께요..

REPLICAT REP1

SET ENV (NLS_LANG="AMERICAN_AMERICA.AL32UTF8")

SET ENV (ORACLE_HOME="/u01/app/oracle/product/11.2.0/dbhome_1")

SETENV (ORACLE_SID="TARGET"

USERID OGG, PASSWORD OGG (임의로 적은 것임)

ASSUMTARGETDEFS

DISCARDFILE /u01/app/ogg/dirout/rbs.dec, append, megabytes 1024

discarrollover at 00:01 on monday

reportcount every 1 minutes, rate

report at 23:59

reportrollover at 00:00

statoptions, reportfetch, reportdetrail, resetreportstats

DDL INCLUDE MAPPED

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center