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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.