Logdump
You can use the GoldenGate Logdump utility to view records in the GoldenGate trail files. The Logdump utility is part of the regular GoldenGate software installation. Logdump lets you view the unstructured trail data in hex and ASCII forma
You can use the GoldenGate Logdump utility to view records in the GoldenGate trail files. The Logdump
utility is part of the regular GoldenGate software installation. Logdump lets you view the unstructured
trail data in hex and ASCII format and count the number of records in the trail for debugging purposes.
You can also filter the trail for desired records and save them to a new trail for reprocessing if needed.
how to use logdump:
[oracle@ogg1 ogg]$ ./logdump
Oracle GoldenGate Log File Dump Utility for Oracle
Version 11.2.1.0.1 OGGCORE_11.2.1.0.1_PLATFORMS_120423.0230
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
Logdump 44 >help
FC [ | ] – Edit previous command
HISTORY – List previous commands
OPEN | FROM
RECORD | REC - Display audit record
NEXT [ ] - Display next data record
SKIP [ ] [FILTER] – Skip down
FILTER – Apply filter during skip
COUNT – Count the records in the file
[START[time] ,]
[END[time] ,]
[INT[erval] ,]
[LOG[trail] ,]
[FILE ,]
[DETAIL ]
[[yy]yy-mm-dd] [hh[:mm][:ss]]
POSITION [ | FIRST | LAST | EOF ] – Set position in file
REVerse | FORward - Set read direction
RECLEN [ ] - Sets max output length
EXIT | QUIT - Exit the program
FILES | FI | DIR – Display filenames
ENV - Show current settings
VOLUME | VOL | V – Change default volume
DEBUG - Enter the debugger
GHDR ON | OFF – Toggle GHDR display
DETAIL ON | OFF | DATA – Toggle detailed data display
RECLEN
SCANFORHEADER (SFH) [PREV] - Search for the start of a header
SCANFORTYPE (SFT) – Find the next record of
[,]
SCANFORRBA (SFR) – Find the next record with
,
SCANFORTIME (SFTS) – Find the next record with timestamp
[,]
[[yy]yy-mm-dd] [hh[:mm][:ss]]
SCANFORENDTRANS (SFET) – Find the end of the current transaction
SCANFORNEXTTRANS (SFNT) – Find start of the next transaction
SHOW
HEX
]
TRANSID
FILENAME
PROCESS
INT16
INT32
INT64
STARTTIME
ENDTIME
SYSKEY []
SYSKEYLEN [] []
TRANSIND []
UNDOFLAG []
RECLEN []
AUDITRBA []
ANSINAME
GGSTOKEN
USERTOKEN
CSN | LogCSN [] []
=, ==, !=, , , = EQ, GT, LE, GE, LE, NE
X
TRANSHIST nnnn - Set size of transaction history
TRANSRECLIMIT nnnn - Set low record count threshold
TRANSBYTELIMIT nnnn – Set low byte count threshold
LOG {STOP} | { [TO]
BEGIN
SAVEFILECOMMENT on | OFF - Toggle comment records in a savefile
SAVE
nnn RECORDS | nnn BYTES
[NOCOMMENT] - Suppress the Comment header/trailer recs, Default
[COMMENT] - Insert Comment header/trailer recs
[OLDFORMAT] - Force oldformat records
[NEWFORMAT] - Force newformat records
[TRUNCATE ] - purgedata an existing savefile
[EXT ( , [,])] – Savefile Extent sizes on NSK
[MEGabytes ] – For extent size calculation
[TRANSIND ] – Set the transind field
[COMMITTS ] – Set the committs field
USERTOKEN on | OFF | detail - Show user token info
HEADERTOKEN on | OFF | detail - Show header token info
GGSTOKEN on | OFF | detail - Show GGS token info
FILEHEADER on | OFF | detail - Display file header contents
ASCIIHEADER ON | off – Toggle header charset
EBCDICHEADER on | OFF – Toggle header charset
ASCIIDATA ON | on - Toggle user data charset
EBCDICDATA on | OFF – Toggle user data charset
ASCIIDUMP ON | off – Toggle charset for hex/ascii display
EBCDICDUMP on | OFF – Toggle charset for hex/ascii display
TRAILFORMAT old | new – Force trail type
PRINTMXCOLUMNINFO on | OFF – Toggle SQL/MX columninfo display
TMFBEFOREIMAGE on | OFF – Toggle display of TMF before images
FLOAT
[FORMAT ] – sprintf format default %f
Logdump 45 >
Logdump 45 >history
23> n
24> n
25> n
26> n
27> n
28> n
29> open
30> open /opt/ogg/dirdat/k1000000
31> ghdr on
32> detail on
33> dat
34> detail data
35> usertoken on
36> n
37> sfh
38> filter include filename zbdba.test;
39> n
40> n
41> filter clear
42> env
43> fileheader detail
44> help
45> history
Logdump 50 >open ./dirdat/k1000005
Current LogTrail is /opt/ogg/dirdat/k1000005
After you open the trail file, you need to turn on some useful features to make full use of the
Logdump utility. The first command is GHDR ON. It enables display of the record header for the
transactions in the trail file for Oracle GoldenGate:
Logdump 51 >ghdr on
Next, you need to toggle the option for viewing the hex and ASCII values for trailfile data. To do so,
execute the detail data command:
Logdump 52 >detail data
Now you can move to the next record in the trail file by using the next command in Logdump. When
you issue the next command, Logdump moves forward one record:
Logdump 53 >next
2014/09/09 21:05:02.655.182 FileHeader Len 1007 RBA 0
Name: *FileHeader*
3000 0196 3000 0008 4747 0d0a 544c 0a0d 3100 0002 | 0…0…GG..TL..1…
0003 3200 0004 2000 0000 3300 0008 02f2 28df 1908 | ..2… …3…..(…
bace 3400 0013 0011 7572 693a 6f67 6731 3a3a 6f70 | ..4…..uri:ogg1::op
743a 6f67 6736 0000 1a00 182f 6f70 742f 6f67 672f | t:ogg6…../opt/ogg/
6469 7264 6174 2f6b 3130 3030 3030 3537 0000 0101 | dirdat/k10000057….
3800 0004 0000 0005 39ff 0008 0000 0000 0000 0000 | 8…….9………..
3a00 0081 0731 3433 3339 3539 0000 0000 0000 0000 | :….1433959……..
Logdump 54 >n
___________________________________________________________________
Hdr-Ind : E (x45) Partition : . (x00)
UndoFlag : . (x00) BeforeAfter: A (x41)
RecLength : 0 (x0000) IO Time : 2014/09/09 21:05:02.628.813
IOType : 150 (x96) OrigNode : 0 (x00)
TransInd : . (x03) FormatType : R (x52)
SyskeyLen : 0 (x00) Incomplete : . (x00)
AuditRBA : 0 AuditPos : 0
Continued : N (x00) RecCount : 0 (x00)
2014/09/09 21:05:02.628.813 RestartAbend Len 0 RBA 1015
Name:
After Image: Partition 0 G s
Logdump 55 >n
___________________________________________________________________
Hdr-Ind : E (x45) Partition : . (x04)
UndoFlag : . (x00) BeforeAfter: B (x42)
RecLength : 46 (x002e) IO Time : 2014/09/09 23:14:09.000.000
IOType : 3 (x03) OrigNode : 255 (xff)
TransInd : . (x03) FormatType : R (x52)
SyskeyLen : 0 (x00) Incomplete : . (x00)
AuditRBA : 30 AuditPos : 24111432
Continued : N (x00) RecCount : 1 (x01)
2014/09/09 23:14:09.000.000 Delete Len 46 RBA 1074
Name: OGG.GGS_MARKER
Before Image: Partition 4 G s
0000 0008 0000 0004 3130 3031 0001 0005 0000 0001 | ……..1001……..
3200 0200 1500 0032 3031 342d 3039 2d30 3420 3032 | 2……2014-09-04 02
3a33 373a 3331 | :37:31
Column 0 (x0000), Len 8 (x0008)
0000 0004 3130 3031 | ….1001
Column 1 (x0001), Len 5 (x0005)
0000 0001 32 | ….2
Column 2 (x0002), Len 21 (x0015)
0000 3230 3134 2d30 392d 3034 2030 323a 3337 3a33 | ..2014-09-04 02:37:3
31 | 1
Logdump 56 >n
___________________________________________________________________
Hdr-Ind : E (x45) Partition : . (x04)
UndoFlag : . (x00) BeforeAfter: B (x42)
RecLength : 46 (x002e) IO Time : 2014/09/09 23:44:11.000.000
IOType : 3 (x03) OrigNode : 255 (xff)
TransInd : . (x03) FormatType : R (x52)
SyskeyLen : 0 (x00) Incomplete : . (x00)
AuditRBA : 30 AuditPos : 24441148
Continued : N (x00) RecCount : 1 (x01)
2014/09/09 23:44:11.000.000 Delete Len 46 RBA 1235
Name: OGG.GGS_MARKER
Before Image: Partition 4 G s
0000 0008 0000 0004 3135 3137 0001 0005 0000 0001 | ……..1517……..
3200 0200 1500 0032 3031 342d 3039 2d30 3420 3232 | 2……2014-09-04 22
3a33 363a 3036 | :36:06
Column 0 (x0000), Len 8 (x0008)
0000 0004 3135 3137 | ….1517
Column 1 (x0001), Len 5 (x0005)
0000 0001 32 | ….2
Column 2 (x0002), Len 21 (x0015)
0000 3230 3134 2d30 392d 3034 2032 323a 3336 3a30 | ..2014-09-04 22:36:0
36 | 6
Logdump 57 >

熱AI工具

Undresser.AI Undress
人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover
用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool
免費脫衣圖片

Clothoff.io
AI脫衣器

AI Hentai Generator
免費產生 AI 無盡。

熱門文章

熱工具

記事本++7.3.1
好用且免費的程式碼編輯器

SublimeText3漢化版
中文版,非常好用

禪工作室 13.0.1
強大的PHP整合開發環境

Dreamweaver CS6
視覺化網頁開發工具

SublimeText3 Mac版
神級程式碼編輯軟體(SublimeText3)

熱門話題

機器之能報道編輯:吳昕國內版的人形機器人+大模型組隊,首次完成疊衣服這類複雜柔性材料的操作任務。隨著融合了OpenAI多模態大模型的Figure01揭開神秘面紗,國內同行的相關進展一直備受關注。就在昨天,國內"人形機器人第一股"優必選發布了人形機器人WalkerS深入融合百度文心大模型後的首個Demo,展示了一些有趣的新功能。現在,得到百度文心大模型能力加持的WalkerS是這個樣子的。和Figure01一樣,WalkerS沒有走動,而是站在桌子後面完成一系列任務。它可以聽從人類的命令,折疊衣物

flexray總線與can匯流排區別:1、can匯流排是一種控制器區域網路匯流排技術,而flexray匯流排採用CSMA/CA機制,而Flexray用的是TDMA和FTDMA ; 3、flexray相較於can總線來說,其安全性相對較高,但是造價成本過高,所以can總線依然是當前汽車總線應用最廣的一種。

can匯流排與485匯流排區別:1.通信方式,CAN採用多節點通信,485採用單節點控制多個從節點;2、通信速度,CAN資料傳輸速度比485的高;3、距離限制,CAN通信距離在40-500公尺之間,485可達1,200公尺;4、資料傳輸可靠性,CAN比起485有較高的資料傳輸可靠性;5、CAN採用無中心化網路結構,485採用星型拓樸結構;6、成本,CAN的設備和佈線成本比485的高。

THE是什麼幣種?THE(TokenizedHealthcareEcosystem)是一種數位貨幣,利用區塊鏈技術,專注於醫療健康產業的創新和改革。 THE幣的使命是利用區塊鏈技術來提高醫療產業的效率和透明度,推動各方之間更有效率的合作,包括病患、醫護人員、製藥公司和醫療機構。 THE幣的價值和特徵首先,THE幣作為一種數位貨幣,具備了區塊鏈的優勢——去中心化、安全性高、交易透明等,讓參與者能夠信任和依賴這個系統。其次,THE幣的獨特之處在於它專注於醫療健康產業,並藉助區塊鏈技術改造了傳統醫療體系,提升了

如何查詢TheSandbox幣最新價格TheSandbox是建立在以太坊區塊鏈上的去中心化遊戲平台,使用其原生代幣SAND可以購買土地、資產和遊戲體驗。想要查詢SAND最新價格的步驟如下:選擇一個可靠的價格查詢網站或應用程式。一些常用的價格查詢網站包括:CoinMarketCap:https://coinmarketcap.com/Coindesk:https://www.coindesk.com/幣安:https://www.binance.com/在網站或應用程式中搜尋SAND。查看SAND

如何查詢TheGraph幣最新價格? TheGraph是一個去中心化的協議,旨在為區塊鏈資料提供高效的索引和查詢服務。該協議的設計使得開發人員能夠更輕鬆地建立和推出分散式應用程式(dApp),並讓這些應用程式能夠方便地存取區塊鏈資料。要查詢TheGraph幣(GRT)的最新價格,您可以按照以下步驟操作:選擇一個可靠的價格查詢網站或應用程式。一些常用的價格查詢網站包括:CoinMarketCap:https://coinmarketcap.com/Coindesk:https://www.coind

三星計劃在今年下半年推出新一代GalaxyZFold與Flip6系列折疊螢幕智慧型手機。近期,韓國媒體TheElec和《時事周刊e》透露了關於這兩款新品的更多細節。三星GalazyZFold6爆料圖片。圖源@chunvn8888根據TheElec報道,三星電子的供應鏈廠商預計於5月初啟動GalaxyZFold6和Flip6相關組件的生產工作,相較之下,去年GalaxyZFold5和Flip5的零件生產始於5月下半月。這意味著今年的標準版GalaxyZ系列發佈時間表相較於上年提前了約兩週至三週的時間。去

如何使用PHP7的NameSpace和Use關鍵字組織程式碼的結構?引言:在軟體開發中,程式碼的組織結構是非常重要的,它直接關係到程式碼的可讀性、可維護性和可擴展性。隨著PHP版本的不斷迭代,PHP7引入了NameSpace和Use關鍵字,這為我們提供了更多靈活性和便利性。本文將介紹如何使用PHP7的NameSpace和Use關鍵字來組織程式碼的結構,並提供具體的代
