>  기사  >  데이터 베이스  >  GG做init data load时,报错OGG-01192,OGG-01668

GG做init data load时,报错OGG-01192,OGG-01668

WBOY
WBOY원래의
2016-06-07 17:34:121263검색

现象:GG做init data load时,报错OGG-01192,OGG-016682013-11-12 10:43:44 ERROR OGG-01192 Oracle GoldenGate Capture for Or

现象:
GG做init data load时,报错OGG-01192,OGG-01668
2013-11-12 10:43:44 ERROR OGG-01192 Oracle GoldenGate Capture for Oracle, ext2.prm: Trying to use RMTTASK on data types which may be written as LOB chunks (Table: 'PORTAL.UNID_PAPER').
2013-11-12 10:43:44 ERROR OGG-01668 Oracle GoldenGate Capture for Oracle, ext2.prm: PROCESS ABENDING.

extract ext2的配置为:
[oracle@RAC01 ogg]$ ./ggsci

Oracle GoldenGate Command Interpreter for Oracle
Version 11.2.1.0.5_02 16363018 OGGCORE_11.2.1.0.6_PLATFORMS_130301.1500_FBO
Linux, x64, 64bit (optimized), Oracle 11g on Mar 1 2013 20:01:57

Copyright (C) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
GGSCI (RAC01) 1> view param ext2

EXTRACT EXT2
USERID goldengate,password goldengate
RMTHOST 10.0.15.107 , MGRPORT 7839
RMTTASK REPLICAT, GROUP initrep
TABLE PORTAL.*;
GGSCI (RAC01) 2>

分析:
PORTAL.UNID_PAPER表包含有BLOB字段,,不能直接采用init data load的方式。
SQL> desc PORTAL.UNID_PAPER
 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 ID                                        NOT NULL NUMBER(38)
 SMALL_IMAGE                                        BLOB
 BIG_IMAGE                                          BLOB
 DESCRIPTION                                        VARCHAR2(100)
 
 解决方法:
 采用File to Replicat - Initial Load Techniques。
 The rmtask does not support extraction of LOB or LONG data. As an alternative, see “Loading data from file to Replicat” , use rmtfile instead.
The initial load techniques are available at Doc ID 1441172.1
Goldengate : File to Replicat - Initial Load Techniques

linux

성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.