logdump分析trail file中IOtype是15表示什么意思
ogg:11gdb:10.2.0.5
OS:windows 2008 64bit
在show rectype时,显示
15 filedcomp
不知道这个类型是表示什么操作呢
--- Session log c:\1.txt opened 2012/12/17 09:58:32.488.000 ---
Logdump 48 >ghdr on
Logdump 49 >detail on
Logdump 50 >detail data
Logdump 51 >open d:\trail1\tr000000
LogTrail d:\trail1\tr000000 closed
Current LogTrail is d:\trail1\tr000000
Logdump 52 >filter include SAJET.G_SN_STATUS
Unknown filter keyword (SAJET.G_SN_STATUS)
Logdump 53 >n
___________________________________________________________________
Hdr-Ind : E (x45) Partition : . (x04)
UndoFlag : . (x00) BeforeAfter: A (x41)
RecLength : 118 (x0076) IO Time : 2012/12/13 10:53:37.284.000
IOType : 15 (x0f) OrigNode : 255 (xff)
TransInd : . (x00) FormatType : R (x52)
SyskeyLen : 0 (x00) Incomplete : . (x00)
AuditRBA : 1153868 AuditPos : 1040
Continued : N (x00) RecCount : 1 (x01)
2012/12/13 10:53:37.284.000 FieldComp Len 118 RBA 991
Name: SAJET.G_SN_STATUS
After Image: Partition 4 G b
0001 0010 0000 000c 3231 3132 3630 3238 3938 3335 | ........211260289835
0011 0011 0000 000d 5053 3132 3131 3137 3032 3532 | ........PS1211170252
3500 1200 1b00 0000 1743 5333 3733 3432 3038 3331 | 5........CS373420831
3731 3231 3231 3230 3030 3032 001b 0013 0000 000f | 712121200002........
4f47 3131 3737 3732 3530 3031 3530 3800 1e00 1300 | OG1177725001508.....
0000 0f4f 4731 3137 3737 3235 3030 3135 3038 | ...OG1177725001508
Column 1 (x0001), Len 16 (x0010)
0000 000c 3231 3132 3630 3238 3938 3335 | ....211260289835
Column 17 (x0011), Len 17 (x0011)
0000 000d 5053 3132 3131 3137 3032 3532 35 | ....PS12111702525
Column 18 (x0012), Len 27 (x001b)
0000 0017 4353 3337 3334 3230 3833 3137 3132 3132 | ....CS37342083171212
3132 3030 3030 32 | 1200002
Column 27 (x001b), Len 19 (x0013)
0000 000f 4f47 3131 3737 3732 3530 3031 3530 38 | ....OG1177725001508
Column 30 (x001e), Len 19 (x0013)
0000 000f 4f47 3131 3737 3732 3530 3031 3530 38 | ....OG1177725001508
IOType: for a list of record types, see the Logdump chapter of the GoldenGate for Windows
and UNIX Reference Guide. Or issue the Logdump command SHOW RECTYPE.
If the primary key is part of the update, both a before and after image will be saved. The
IOType will be 115 (primary key update).
Logdump 6 >$ logdump
Oracle GoldenGate Log File Dump Utility for Oracle
Version 11.2.1.0.3 14400833 OGGCORE_11.2.1.0.3_PLATFORMS_120823.1258
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
Logdump 6 >show rectype
LogTrail record types
1 - Abort 2 - Commit
3 - Delete 4 - EndRollBack
5 - Insert 6 - Prepared
7 - TMF-Shutdown 8 - TransBegin
9 - TransRelease 10 - Update
11 - UpdateComp 12 - FileAlter
13 - FileCreate 14 - FilePurge
15 - FieldComp 16 - FileRename
17 - AuxPointer 18 - NetworkCommit
19 - NetworkAbort 20 - CurrentPos
90 - GGSSQLCol 100 - GGSPurgedata
108 - GGSPurgedataPartonly 101 - GGSPurgeFile
102 - GGSCreateFile 103 - GGSAlterFile
104 - GGSRenameFile 105 - GGSSetmode
107 - GGSControl 106 - GGSChangeLabel
115 - GGSPKUpdate 117 - GGSPKUpdate32
116 - LargeObject 132 - Sequence OP
150 - RestartAbend 151 - RestartOK
152 - RecoveryEnd 160 - DDLOP
161 - RecordFragment 200 - GGSBulkio
201 - GGSFileClose 202 - GGSLoggerTS
203 - GGSExtractTS 204 - GGSCollectTS
205 - GGSComment 250 - LibOpenTrace
251 - LibCloseTrace 252 - LoggerOpenTrace
253 - LoggerCloseTrace 254 - LoggerAddedInfo
249 - LoggerAddedStats 255 - FileHeader
iotype 15 =>FieldComp =>Number of non-primary key updates
FieldComp 应该是指compress update类型的更新,也就是说只记录了更新的列。 多谢两位的解答 本帖最后由 lory 于 2012-12-17 14:45 编辑
Liu Maclean(刘相兵 发表于 2012-12-17 13:34 static/image/common/back.gif
IOType: for a list of record types, see the Logdump chapter of the GoldenGate for Windows
and UNIX R ...
很感谢你的回复
我想问一下,我在goole上都没有怎么看到解释关于IOType每种类型的文章。我在goldengate的troubleshooting、MOS里搜索都没有找到一个具体的说明。
不知道要在哪里找得到呢 lory 发表于 2012-12-17 14:33 static/image/common/back.gif
很感谢你的回复
我想问一下,我在goole上都没有怎么看到解释关于IOType每种类型的文章。我在goldengate的 ...
这种文档 Metalink上也不多, 遑论google了, Oracle公司内部也并不多 那就只有自己摸索摸索了 每个版本的官方文档的admin手册里都有章节描述的。例如:Oracle® GoldenGate
Windows and UNIX Administrator’s Guide
11g Release 2 Patch Set 1 (11.2.1.0.1)
E29397-01
的302页,305页。
页:
[1]