【翻譯自mos文章】在OGG (Oracle GoldenGate) 中使用SCHEMATRANDATA的話,需要額外的db patch,
在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