Quantcast
Channel: CSDN博客推荐文章
Viewing all articles
Browse latest Browse all 35570

ORA-01003: no statement parsed

$
0
0

手贱,故意删除了一张表,在OGG同步数据的同时,删除之后立刻报错,如下:


OCI Error ORA-12096: error in materialized view log on "JTINFO"."TBL_USERID"
ORA-01003: no statement parsed (status = 12096), SQL <INSERT /*+ APPEND */ INTO "JTINFO"."TBL_USERID" ("USID_UID","USID_IMEI","USID_IMSI","USID_FLAG","USID_ACTIVE") VALUES (:a0,:a
1,:a2,:a3,:a4)>
Operation failed at seqno 39169 rba 1751092
Discarding record on action DISCARD on error 12096
Problem replicating JTINFO.TBL_USERID to JTINFO.TBL_USERID
Mapping problem with insert record (target format)...
*
USID_UID = 8087585903
USID_IMEI = D4A4429D4D7E4B748809D34B339071BC
USID_IMSI = 000000000000000
USID_FLAG = 0
USID_ACTIVE = 1
*
Current time: 2013-12-29 02:32:45

幸亏之前逻辑备份在先,速度

CREATE TABLE MLOG$_TBL_USERID
AS
SELECT * FROM MLOG$_TBL_USERID_BAK;

然后错误异常依旧。。。

借助了下网络的智慧,虽然网上文章没直说怎么解决,但是我瞬间明白了。

准备重启OGG的replicat进程。。

重启之后,查看OGG的Err Log,异常终止,问题解决。


关键点在于,我在应用使用此表的时候,drop了该表,至于解释为什么会报这个错,先睡个觉,以后再查,扛不住了。

工作再忙也要注意身体。





作者:zhangbiaobiaobiao 发表于2013-12-29 2:50:35 原文链接
阅读:116 评论:0 查看评论

Viewing all articles
Browse latest Browse all 35570

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>