GG做init data load時,報錯OGG-01192,OGG-01668

來源:互聯網
上載者:User

現象:
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

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.