WARNING OGG-00869 同步postgres 问题

 WARNING OGG-00869  [SQLerror 0 (0x0)][Oracle][ODBC PostgreSQL Wire Protocol driver]Invalid character

关于oracle端增加表后不能同步到postgres问题,

因缺少trandata  log引起  20180617wzs

1      处理步骤

Oracle 端:

./ggsci

info extora

dblogin userid ogg password xxxx

list table expway.*

info trandata expway.exittrans

info trandata expway.exittrans

stop extora

add trandata expway.entrytrans

add trandata expway. exittrans

start extora

Postgres端:

su – ogg

./ggsci

info rep1

edit param rep1  ----增加或修改map 表

stop rep1

start rep1

info rep1

  

3      错误日志:

View report rep1

 

2018-06-1608:46:15  INFO    OGG-03010 Performing implicit conversion of column data from character setwindows-936 to UTF-8.

 

MAP resolved (entryexpway.exittrans):

  map"EXPWAY"."EXITTRANS"                ,target public.exittrans;

Using followingcolumns in default map by name:

  exitnetwork, exitstation, exitlane,transnumber, exitsegment,

  

Using the followingkey columns for target table public.exittrans: exitstation, exitlane, 

 

 

--------------------因清理数据重建表,缺少trandata 引起,误认为是字符集转换问题  wzs

2018-06-16 08:46:15  WARNING OGG-00869  [SQLerror 0 (0x0)][Oracle][ODBC PostgreSQL Wire Protocol driver]Invalid charactervalue. Error in parameter 4.

 

2018-06-1608:46:15  WARNING OGG-01004  Aborted grouped transaction on'public.exittrans', Database error 0 ([SQL error 0 (0x0)][Oracle][ODBCPostgreSQL Wire Protocol driver]Invalid character value. Error in parameter 4.

    

猜你喜欢

转载自blog.csdn.net/leowzs/article/details/80723753