签到成功

知道了

CNDBA社区CNDBA社区

ibm Q REPL db2 to oracle ccd tables

2022-05-17 20:55 973 0 原创 DB2
作者: hbhe0316

在使用IBM Q REPL同步DB2数据库表至oracle中,遇到问题ccd表的时间字段和现有时间相差8个小时http://www.cndba.cn/hbhe0316/article/108016

http://www.cndba.cn/hbhe0316/article/108016

解决方案:
https://www.ibm.com/docs/en/idr/11.4.0?topic=server-ibmqrep-applyparms-table

db2 connect to dbname
db2 "update apply.IBMQREP_APPLYPARMS set LOGMARKERTZ='LOCAL'"

关于LOGMARKERTZ字段解释:默认为Greenwich时间,需要修改为系统时间。
Data type: CHAR(8); Nullable: No, with default
A value that determines the time zone that the Q Apply program uses when it inserts source commit data into the IBMSNAP_LOGMARKER column of consistent-change data (CCD) tables or point-in-time (PIT) tables.http://www.cndba.cn/hbhe0316/article/108016

http://www.cndba.cn/hbhe0316/article/108016
http://www.cndba.cn/hbhe0316/article/108016
http://www.cndba.cn/hbhe0316/article/108016

GMT (default)
Q Apply records the source commit timestamp in Greenwich mean time.

http://www.cndba.cn/hbhe0316/article/108016

LOCAL
Q Apply inserts the source commit timestamp in the local time of the Q Capture serverhttp://www.cndba.cn/hbhe0316/article/108016http://www.cndba.cn/hbhe0316/article/108016http://www.cndba.cn/hbhe0316/article/108016

版权声明:本文为博主原创文章,未经博主允许不得转载。

DB2

用户评论
* 以下用户言论只代表其个人观点,不代表CNDBA社区的观点或立场
hbhe0316

hbhe0316

关注

1.只有承认无知,才能装下新的东西; 2.进步来自一点点滴滴的积累; 3.广博让你更优秀,而专业让你无法替代; 4.挫折和失败能够转换为一种财富。

  • 889
    原创
  • 1
    翻译
  • 13
    转载
  • 24
    评论
  • 访问:1038550次
  • 积分:1523
  • 等级:核心会员
  • 排名:第6名
精华文章
    最新问题
    查看更多+
    热门文章
      热门用户
      推荐用户
        Copyright © 2016 All Rights Reserved. Powered by CNDBA · 皖ICP备2022006297号-1·

        QQ交流群

        注册联系QQ