*********************************************************************** Oracle GoldenGate Capture for Oracle Version 11.2.1.0.1 OGGCORE_11.2.1.0.1_PLATFORMS_120423.0230_FBO Linux, x64, 64bit (optimized), Oracle 11g on Apr 23 2012 08:42:16 Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved. extract 进程 配置 –基础参数区域 2015-05-25 13:44:35 WARNING OGG-00254 CONVERTUCS2CLOBS is a deprecated parameter. 今天发现进程ABENDED 了 查看: *********************************************************************** 2015-05-25 13:44:42 INFO OGG-01517 Position of first record processed Sequence 336592, RBA 157712, SCN 16.1806035766, 2015-5-25 上午11:27:56. Source Context : 2015-05-25 13:44:43 ERROR OGG-01028 Record on table DUSER.B_ORGANIZATION with rowid AAAX05AAOAAGfocAAH from transaction 13.33.4286930 (0x000d.021.004169d2) i 那么B_ORGANIZATION 表是 compression 是DISABLED . 仔细查找找到原因 1、alter table … modify partition … compress … ,该方法仅适用于新插入的数据。 2、alter table … move partition … compress … ,该方法适用于新插入的数据和已存在的数据。 当时对压缩表做了解压缩,我用的第1种modify方式 解压缩。也就说当前程序对表B_ORGANIZATION中AAAX05AAOAAGfocAAH 这一行数据做了重新编辑,这样就会出现OOG-01028错误现象。如下是oracle的解决方法: However, due to bug 10063108, sometimes the error message on compressed tables are not entirely correct. This problem has been fixed in 11.1.1.0.3 and above A table created as compressed will cause all of the DMLas to go into compressed blocks on disk. If the user does an “alter table nocompress”, every DML that goes into the table AFTER that point in time will be uncompressed. The query for compression will return “nocompress” now, but that simple “alter” does not change the already existing compressed blocks on disk that were created before the “alter”. So to capture the records from a table which was compressed we need to do the following SQL> alter table <tablename> move nocompress; This will touch every single block on disk and will uncompress everything and so OGG should be all good. 如果是分区表请用 SQL> ALTER TABLE <Table_name> MOVE PARTITION <partition_name> NOCOMPRESS TABLESPACE <tablespace>; 如果表的segment 比较大,要先确保有足够空间。 完成之后再对表进行重新同步。 |
ERROR OGG-01028 和 Compression is not supported
【声明】:本博客不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本博客请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本博客,即表示您已经知晓并接受了此声明通告。