当前位置:网站首页>OGG-01431、01003、01151无奈的处理方式
OGG-01431、01003、01151无奈的处理方式
2022-06-22 11:38:00 【weixin_41561946】
系统环境
oracle11.2.0.4+ogg12.2.0.1,目标库(备库)在应用源库的日志时报错了
报错信息
Reading dirdat/dp000005281, current RBA 468329501, 0 records, m_file_seqno = 5281, m_file_rba = 468329501
2021-01-21 08:35:53 WARNING OGG-01431 Aborted grouped transaction on ‘GK.T_GK’, Mapping error.
2021-01-21 08:35:53 WARNING OGG-01003 Repositioning to rba 468329501 in seqno 5281.
2021-01-21 08:35:53 WARNING OGG-01151 Error mapping from GK.T_GK to GK.T_GK.
问题分析
1、确认源和目标库上的表结构是否一致,是否有过修改的字段的情况(上一篇文章有分析过)
2、通过LOGDUMP或SHOWSYNTAX参数具体执行的SQL
通过logdump只看到执行的是UPDATE语句
Logdump 42 >pos 468329501
Reading forward from RBA 468329501
Logdump 43 >gdhr on
sh: gdhr: command not found
Logdump 44 >ghdr on
Logdump 45 >detail on
Logdump 46 >n
Hdr-Ind : E (x45) Partition : . (x0c)
UndoFlag : . (x00) BeforeAfter: A (x41)
RecLength : 696 (x02b8) IO Time : 2021/01/20 23:36:25.487.968
IOType : 135 (x87) OrigNode : 255 (xff)
TransInd : . (x00) FormatType : R (x52)
SyskeyLen : 0 (x00) Incomplete : . (x00)
AuditRBA : 268040 AuditPos : 289638928
Continued : N (x00) RecCount : 1 (x01)
2021/01/20 23:36:25.487.968 GGSUnifiedPKUpdate Len 696 RBA 468329501
Name: GK.T_GK (TDR Index: 33)
After Image: Partition 12 G b
0000 015a 0000 0024 0000 0020 3731 3431 3737 6166 | …Z…$… 714177af
6365 6637 3463 6438 3930 6332 3137 3233 6564 3730 | cef74cd890c21723ed70
6362 3439 0001 001a 0000 0016 3131 306b 5631 b6ce | cb49…110kV1…
c4b8 cfdf 2dd5 b9b1 bccf df31 3931 0002 0007 0000 | …-…191…
0003 3734 3000 0300 1300 0000 0f31 3130 6b56 b1bc | …740…110kV…
在replicat进程中参数文件中添加如下参数,通过命令行启动复制进程
SHOWSYNTAX
NODYNSQL
NOBINARYCHARS
./replicat paramfile dirprm/rep_ps9.prm
2021-01-21 18:45:53 ERROR OGG-01296 Error mapping from GK.T_GK to GK.T_GK.
***********************************************************************
* ** Run Time Statistics ** *
***********************************************************************
Reading dirdat/dp000005281, current RBA 468329501, 0 records, m_file_seqno = 5281, m_file_rba = 468329501
Report at 2021-01-21 18:45:53 (activity since 2021-01-21 18:45:53)
From Table GK.T_GK to GK.T_GK.
# inserts: 0
# updates: 0
# deletes: 0
# discards: 1
Last log location read:
FILE: dirdat/dp000005281
SEQNO: 5281
RBA: 468329501
TIMESTAMP: 2021-01-20 23:36:25.487968
EOF: NO
READERR: 0
2021-01-21 18:45:53 ERROR OGG-01668 PROCESS ABENDING.
CACHE OBJECT MANAGER statistics
CACHE MANAGER VM USAGE
vm current = 0 vm anon queues = 0
vm anon in use = 0 vm file = 0
vm used max = 0 ==> CACHE BALANCED
CACHE CONFIGURATION
cache size = 2G cache force paging = 3.41G
buffer min = 64K buffer max (soft) = 4M
pageout eligible size = 4M
================================================================================
RUNTIME STATS FOR SUPERPOOL
CACHE Transaction Stats
trans active = 0 max concurrent = 0
non-zero total = 0 trans total = 0
CACHE File Caching
filecache rqsts = 0 bytes to disk = 0
file retrieves = 0 objs filecached = 0
queue entries = 0 queue processed = 0
queue entry not needed = 0 queue not signaled = 0
fc requesting obj = 0
CACHE MANAGEMENT
buffer links = 0 anon gets = 0
forced unmaps = 0 cnnbl try = 0
cached out = 0
遗憾的是也没有看到相应的SQL语句,这里就准备采用其他方式
临时解决方法
将该表单独放在一个复制进程里应用相应的日志,直接跳过该事务即可
start rep_ps9 ,skipstransaction
总结
1、有点遗憾,没有找到具体的原因,好在没有单过其他重要事情
2、之所以采用此方式,因为是备库
3、通过SHOWSYNTAX调试时,需要通过命令行启动复制进程,否则会报以下错误
2021-01-21 18:41:36 ERROR OGG-01991 Start Replicat from the command shell of the operating system when using the SHOWSYNTAX parameter.
边栏推荐
- 表格转换为LaTex格式
- 两两交换链表中的节点[单向链表不断链原则]
- 初始transformer需要了解的一些概念
- 云上人和物联科技加入龙蜥社区,携手打造软硬件服务生态
- In C # development, the third-party components lambdaparser, dynamicexpresso and z.expressions are used to dynamically parse / evaluate string expressions
- VS2010中配置cplex12.4教程
- [high frequency written test questions] 513 Find the value in the lower left corner of the tree
- Linux安装部署MySQL5.7(企业常用版)超详细
- redisTemplate序列化
- CF736 D2
猜你喜欢

1.11 haas506 2.0 development tutorial driver RTC (only versions above 2.2 are supported)

Overview of SAP marketing cloud functions (II)

机器学习与深度学习 --- 激活函数(未完待续)

初始transformer需要了解的一些概念

Deadlock found when trying to get lock; try restarting transaction 【MySQL死锁问题解决】

Word技巧汇总

12306抢票使用教程
![[安洵杯 2019]iamthinking](/img/56/ffdcdeb8246d9ae7fb1eb72b45b614.png)
[安洵杯 2019]iamthinking

酷开电视adb

关于缓存异常:缓存雪崩、击穿、穿透的解决方案
随机推荐
运筹优化基础知识
redisTemplate序列化
有时候努力,并不是自己心甘情愿
In C # development, the third-party components lambdaparser, dynamicexpresso and z.expressions are used to dynamically parse / evaluate string expressions
About cache exceptions: solutions for cache avalanche, breakdown and penetration
IO操作案例合集
[ciscn2019 finals Day1 web4]laravel1
论文解读——Temporal Recommendation on Graphs via Long- and Short-term Preference Fusion
sql注入绕过方法总结
Redis - 9. Persistent AOF (append onlyfile)
CF751E Phys Ed Online
NOI使用案例
CF751 C. Optimal Insertion
Set up OpenPGP key server
两两交换链表中的节点[单向链表不断链原则]
[WMCTF2020]Make PHP Great Again 2.0
Solution to 94d problem of Niuke practice match
APM set pitch four rotor control mode
IO之ByteArrayStream案例
Redis - 12. Application problem solving