[转帖]Why Does The Reposition And Restart Of Extract Pump Gives You Error 590 Unex_MySQL, Oracle及数据库讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  MySQL, Oracle及数据库讨论区 »
总帖数
1
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 4437 | 回复: 0   主题: [转帖]Why Does The Reposition And Restart Of Extract Pump Gives You Error 590 Unex        下一篇 
derek
注册用户
等级:中校
经验:1550
发帖:209
精华:0
注册:2011-7-21
状态:离线
发送短消息息给derek 加好友    发送短消息息给derek 发消息
发表于: IP:您无权察看 2011-8-16 14:28:15 | [全部帖] [楼主帖] 楼主

In this Document

Solution

Applies to:Oracle GoldenGate - Version: 4.0.0 - Release: 4.0.0

Information in this document applies to any platform.

SolutionIssue:

I have encountered an 'Incompatible record' in an Extract data pump. I altered the pump to RBA 0 to get around the previous error and reprocess the trail data, but then I got an "Error 509 Extract read, unexpected LOB record in /ggs/dirdat/rw003028, rba 0."

Solution Overview:

You positioned the data pump to read from the start of the trail, but that start of the trail is in the middle of a LOB.

Solution Details:

Move the data pump to read from the beginning of the next record. By using Logdump, you can look at the trail that Extract was reading and determine where the end of that LOB fragment ends. You can then position the data pump to the RBA of the next good record.

Here is an example of how to do this:

Suppose the trail starts with part 3 of a 4-part LOB. In Logdump, you see that the "continued" flag of the first record is set to "Y". At the bottom of the record, you see details on the fragment number, in the case of our example 'Column 3, LOB fragment 3 of 4'.

The next record has the "continued" flag set to "N" which means the end of the LOB. The RBA of the next record is where you need to restart the data pump. So, in this case you would alter the pump to RBA 2478.

The following illustrates this sequence.

Logdump > ghdr on (lets you see the header details of the trail record)

Logdump 153 >n (display the next record)

___________________________________________________________________

Hdr-Ind : E (x45) Partition : . (x04)

UndoFlag : . (x00) BeforeAfter: A (x41)

RecLength : 2020 (x07e4) IO Time : 2005/07/26 09:56:17.476.072

IOType : 116 (x74) OrigNode : 255 (xff)

TransInd : . (x01) FormatType : R (x52)

SyskeyLen : 0 (x00) Incomplete : . (x00)

AuditRBA : 23 AuditPos : 59965368

Continued : Y (x01) RecCount : 4 (x04)

2005/07/26 09:56:17.476.072 LargeObject Len 2020 RBA 0

Name: WYAO.TEST_B

After Image: Partition 4

0000 0003 0000 0004 0000 0002 0000 0FA0 0000 07D0 | ....................

4B44 5543 4B44 5543 4B44 5543 4B44 5543 4B44 5543 | KDUCKDUCKDUCKDUCKDUC

.

4B44 5543 4B44 5543 4B44 5543 4B44 5543 4B44 5543 | KDUCKDUCKDUCKDUCKDUC

Column 3, LOB fragment 3 of 4

Size 2000 (x07d0)

Offset 4000 (x0fa0)

Logdump >n

___________________________________________________________________

Hdr-Ind : E (x45) Partition : . (x04)

UndoFlag : . (x00) BeforeAfter: A (x41)

RecLength : 2020 (x07e4) IO Time : 2005/07/26 09:56:17.476.072

IOType : 116 (x74) OrigNode : 255 (xff)

TransInd : . (x01) FormatType : R (x52)

SyskeyLen : 0 (x00) Incomplete : . (x00)

AuditRBA : 23 AuditPos : 59965368

Continued : N (x00) RecCount : 5 (x05)

2005/07/26 09:56:17.476.072 LargeObject Len 2020 RBA 2082

Name: WYAO.TEST_B

After Image: Partition 4

0000 0003 0000 0004 0000 0003 0000 1770 0000 07D0 | ...............p....

5445 5354 3444 5543 4B44 5543 4B44 5543 4B44 5543 | TEST4DUCKDUCKDUCKDUC

..

4B44 5543 4B44 5543 4B44 5543 4B44 5543 4B44 5543 | KDUCKDUCKDUCKDUCKDUC

Column 3, LOB fragment 4 of 4

Size 2000 (x07d0)

Offset 6000 (x1770)

Logdump >n

___________________________________________________________________

Hdr-Ind : E (x45) Partition : . (x04)

UndoFlag : . (x00) BeforeAfter: A (x41)

RecLength : 6069 (x17b5) IO Time : 2005/07/26 09:56:17.476.072

IOType : 15 (x0f) OrigNode : 255 (xff)

TransInd : . (x01) FormatType : R (x52)

SyskeyLen : 0 (x00) Incomplete : . (x00)

AuditRBA : 23 AuditPos : 59969792

Continued : N (x00) RecCount : 1 (x01)

2005/07/26 09:56:17.476.072 FieldComp Len 6069 RBA 2478

Name: WYAO.TEST_B

After Image: Partition 4

0000 0009 0000 0005 3930 3930 3200 0100 1300 0000 | ........90902.......

0F6D 6973 7369 6E67 736E 6170 7368 6F74 0002 1774 | .missingsnapshot...t

0000 1770 5445 5354 3346 4953 4846 4953 4846 4953 | ...pTEST3FISHFISHFIS

..




赞(0)    操作        顶端 
总帖数
1
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论