与ORA-02290相关的复制仪:检查约束(table_name.chk_json)
我们在丢弃文件中看到以下内容 -
注意:我可以在源数据库中看到记录。
CI错误ORA-02002:写入审计跟踪时错误 ORA-22275:指定的LOB定位器无效 ORA-02290:检查约束(schema_name.chk_json)被违反(状态= 2002),sql< insert / *+ drelctiCT_ALL_ELL_REF_CONS * / in“ schema_name”。“ schema_name”。 lastupdatedtime”)values(:a0,empty_clob(),:a2,:a3)将“ indexDetail”返回:dl0> /local/dbms/oracle/goldengate_dbfs/oggma/oggma/goldengate_trails/oggma_deployment/var/lib/data/tc从seqno 22 rba 206,136,136,818开始 Seqno 22 RBA 206136818的错误 问题复制catalog_name.schema_name.table_name to schema_name.table_name。 插入记录(目标格式)SCN的映射问题:12.1.6904 ... * InstrumentId = 11111111 000000:42 32 37 41 42 37 42 31 | 1111111 |
indexDetail =(LOB) CreationTime = 2022-05-30 06:20:15 000000:32 30 32 32 2D 30 35 2D 33 30 20 30 30 36 3A 32 30 | 2022-05-30 06:20 | 000010:3A 31 35 |:15 |
lastupdatedtime = null *
流程施加:2022-06-01 07:32:44.534819
We see the below in my Discard file -
NOTE: I can see the record in my source db.
CI Error ORA-02002: error while writing to audit trail
ORA-22275: invalid LOB locator specified
ORA-02290: check constraint (SCHEMA_NAME.CHK_JSON) violated (status = 2002), SQL <INSERT /*+ RESTRICT_ALL_REF_CONS */ INTO "SCHEMA_NAME"."TABLE_NAME" ("INSTRUMENTID","INDEXDETAIL","CREATIONTIME","LASTUPDATEDTIME") VALUES (:a0,EMPTY_CLOB(),:a2,:a3) RETURNING "INDEXDETAIL" INTO :dl0>
Aborting transaction on /local/dbms/oracle/goldengate_dbfs/oggma/goldengate_trails/oggma_deployment/var/lib/data/tc beginning at seqno 22 rba 206,136,818
error at seqno 22 rba 206136818
Problem replicating CATALOG_NAME.SCHEMA_NAME.TABLE_NAME to SCHEMA_NAME.TABLE_NAME.
Mapping problem with insert record (target format) SCN:12.1.6904...
*
INSTRUMENTID = 11111111
000000: 42 32 37 41 42 37 42 31 |11111111 |
INDEXDETAIL = (LOB)
CREATIONTIME = 2022-05-30 06:20:15
000000: 32 30 32 32 2d 30 35 2d 33 30 20 30 36 3a 32 30 |2022-05-30 06:20|
000010: 3a 31 35 |:15 |
LASTUPDATEDTIME = NULL
*
Process Abending : 2022-06-01 07:32:44.534819
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我可以知道您正在使用哪种类型的复制品吗?是否启用了审核?另外,您可以分享完整的GG版本吗?
您还可以参考此可能对您有帮助的公里注释。
当桌子打开选择审核时,遇到了ORA-2002和ORA-22275(DOC ID 2764792.1)
May I know what type of Replicat you are using? Whether Audit is enabled? Also, could you please share the full GG version.
You can also refer to this KM note which might help you.
ORA-2002 And ORA-22275 Encountered When SELECT Audit Is Turned On For A Table (Doc ID 2764792.1)