当前位置:Gxlcms > mysql > 【翻译自mos文章】在OGG(OracleGoldenGate)中使用SCHEMATRAND

【翻译自mos文章】在OGG(OracleGoldenGate)中使用SCHEMATRAND

时间:2021-07-01 10:21:17 帮助过:84人阅读

在OGG (Oracle GoldenGate) 中使用SCHEMATRANDATA的话,需要额外的db patch 参考原文: Patches needed to support SCHEMATRANDATA in OGG (Oracle GoldenGate) (Doc ID 1426440.1) 适用于: Oracle GoldenGate - Version 11.1.1.1.1 and later Information

在OGG (Oracle GoldenGate) 中使用SCHEMATRANDATA的话,需要额外的db patch

参考原文:
Patches needed to support SCHEMATRANDATA in OGG (Oracle GoldenGate) (Doc ID 1426440.1)

适用于:
Oracle GoldenGate - Version 11.1.1.1.1 and later
Information in this document applies to any platform.


症状1:
DB Version is 11.2.0.2.0 and ADD SCHEMATRANDATA fails with following error:

GGSCI (host) 13> DBLOGIN USERID ggat password abcd
Successfully logged into database.

GGSCI (host) 14> ADD SCHEMATRANDATA scott

2012-02-17 15:11:42 ERROR OGG-01783 Cannot verify existence of table function that is required to enable schema level supplemental logging, failed to find function.

症状2:
DB Version is 11.2.0.3, using SCHEMATRANDATA. ADD SCHEMATRANDATA works fine. Table has multiple unique indexes, no primary key.
Extract captures NULL for the unique index columns that aren't supposed to have NULL value.
--抽取进程捕捉到 唯一索引列的NULL值,而这些唯一索引中没有null值。

原因:
为了让SCHEMATRANDATA 正常工作, rdbms 需要相关的patch。

解决方案:
- bug 10271153 added support for ALLKEYS_ON specifically to support Golden Gate.
- a code bug was identified on the change in 10271153 and was fixed in bug 10271153
- fix in bug 10271153 was later enhanced and superseded by bug 13794550

To use SCHEMATRANDATA, please apply the fix in bug 13794550

人气教程排行