Logdump

Jun 07, 2016 pm 04:03 PM
can the use

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 – Open a Log file
RECORD | REC - Display audit record
NEXT [ ] - Display next data record
SKIP [ ] [FILTER] – Skip down records
FILTER – Apply filter during skip
COUNT – Count the records in the file
[START[time] ,]
[END[time] ,]
[INT[erval] ,]
[LOG[trail] ,]
[FILE ,]
[DETAIL ]
format is
[[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 - Set data display length
SCANFORHEADER (SFH) [PREV] - Search for the start of a header
SCANFORTYPE (SFT) – Find the next record of
|
[,]
SCANFORRBA (SFR) – Find the next record with
- syskey = -1 scans for next record
,
SCANFORTIME (SFTS) – Find the next record with timestamp

[,]
format is
[[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 [] []

:, ie 0:231

=, ==, !=, , , = EQ, GT, LE, GE, LE, NE
X [string] - Execute
TRANSHIST nnnn - Set size of transaction history
TRANSRECLIMIT nnnn - Set low record count threshold
TRANSBYTELIMIT nnnn – Set low byte count threshold
LOG {STOP} | { [TO] } – Write a session log
BEGIN – Set next read position using a timestamp
SAVEFILECOMMENT on | OFF - Toggle comment records in a savefile
SAVE [!] - Write data to a savefile
are
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 - Interpret a floating point number
[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 >

このウェブサイトの声明
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。

ホットAIツール

Undresser.AI Undress

Undresser.AI Undress

リアルなヌード写真を作成する AI 搭載アプリ

AI Clothes Remover

AI Clothes Remover

写真から衣服を削除するオンライン AI ツール。

Undress AI Tool

Undress AI Tool

脱衣画像を無料で

Clothoff.io

Clothoff.io

AI衣類リムーバー

AI Hentai Generator

AI Hentai Generator

AIヘンタイを無料で生成します。

ホットツール

メモ帳++7.3.1

メモ帳++7.3.1

使いやすく無料のコードエディター

SublimeText3 中国語版

SublimeText3 中国語版

中国語版、とても使いやすい

ゼンドスタジオ 13.0.1

ゼンドスタジオ 13.0.1

強力な PHP 統合開発環境

ドリームウィーバー CS6

ドリームウィーバー CS6

ビジュアル Web 開発ツール

SublimeText3 Mac版

SublimeText3 Mac版

神レベルのコード編集ソフト(SublimeText3)

2か月後、人型ロボットWalker Sが服をたたむことができるようになった 2か月後、人型ロボットWalker Sが服をたたむことができるようになった Apr 03, 2024 am 08:01 AM

Machine Power Report 編集者: Wu Xin 国内版の人型ロボット + 大型模型チームは、衣服を折りたたむなどの複雑で柔軟な素材の操作タスクを初めて完了しました。 OpenAIのマルチモーダル大規模モデルを統合したFigure01の公開により、国内同業者の関連動向が注目を集めている。つい昨日、中国の「ヒューマノイドロボットのナンバーワン株」であるUBTECHは、Baidu Wenxinの大型モデルと深く統合されたヒューマノイドロボットWalkerSの最初のデモを公開し、いくつかの興味深い新機能を示した。 Baidu Wenxin の大規模モデル機能の恩恵を受けた WalkerS は次のようになります。 Figure01 と同様に、WalkerS は動き回るのではなく、机の後ろに立って一連のタスクを完了します。人間の命令に従って服をたたむことができる

Flexray バスと Can バスの違いは何ですか? Flexray バスと Can バスの違いは何ですか? Apr 19, 2023 am 11:06 AM

Flexray バスと Can バスの違い: 1. Can バスはコントローラ エリア ネットワーク バス テクノロジであるのに対し、Flexray バスは自動車向けの高速、確定的、フォールト トレラントなバス テクノロジです; 2. Can バスは CSMA/CA メカニズムを採用しており、 Flexray は TDMA と FTDMA を使用します; 3. Can バスと比較して、Flexray は比較的高いセキュリティを備えていますが、コストが高すぎるため、Can バスは依然として最も広く使用されている自動車用バスの一種です。

Canバスと485バスの違いは何ですか? Canバスと485バスの違いは何ですか? Jun 30, 2023 am 11:38 AM

can バスと 485 バスの違い: 1. 通信方式、CAN はマルチノード通信を使用し、485 は単一ノードを使用して複数のスレーブ ノードを制御します; 2. 通信速度、CAN データ伝送速度は 485 より高速です; 3. 距離制限、CAN 通信距離は 40 ~ 500 メートル、485 は 1200 メートルに到達可能; 4. データ伝送の信頼性、CAN は 485 よりも高いデータ伝送信頼性を持っています; 5. CAN は分散型ネットワーク構造を採用し、485 はスター トポロジ構造を採用しています。 6. コスト、CAN 機器および配線コストは 485 よりも高くなります。

THE はどの通貨ですか? THE コインは投資する価値がありますか? THE はどの通貨ですか? THE コインは投資する価値がありますか? Feb 21, 2024 pm 03:49 PM

THE とは何ですか? THE (Tokenized Healthcare Ecosystem) は、ブロックチェーン技術を使用してヘルスケア業界のイノベーションと改革に焦点を当てたデジタル通貨です。 THE コインの使命は、ブロックチェーン技術を使用して医療業界の効率と透明性を向上させ、患者、医療スタッフ、製薬会社、医療機関を含むすべての関係者間のより効率的な協力を促進することです。 THE Coin の価値と特徴 まず第一に、THE Coin はデジタル通貨として、分散化、高セキュリティ、透明性のある取引などのブロックチェーンの利点を備えており、参加者はこのシステムを信頼して利用することができます。第二に、THE コインの独自性は、ブロックチェーン技術を使用して従来の医療システムを変革し、改善するために医療および健康産業に焦点を当てていることです。

The Sandbox コインの最新価格を確認するにはどうすればよいですか? The Sandbox コインの最新価格を確認するにはどうすればよいですか? Mar 05, 2024 am 11:52 AM

TheSandbox 通貨の最新価格を確認する方法 TheSandbox は、イーサリアム ブロックチェーン上に構築された分散型ゲーム プラットフォームで、ネイティブ トークン SAND を使用して土地、資産、ゲーム体験を購入できます。 SAND の最新価格を確認する手順は次のとおりです。 信頼できる価格確認 Web サイトまたはアプリを選択してください。一般的に使用される価格クエリ Web サイトには次のものがあります。 CoinMarketCap: https://coinmarketcap.com/Coindesk: https://www.coindesk.com/Binance: https://www.binance.com/ Web サイトまたはアプリ SAND で検索します。サンドを見る

The Graphコインの最新価格を確認するにはどうすればよいですか? The Graphコインの最新価格を確認するにはどうすればよいですか? Mar 05, 2024 am 09:55 AM

TheGraphコインの最新価格を確認するにはどうすればよいですか? TheGraph は、ブロックチェーン データの効率的なインデックス作成とクエリ サービスを提供するように設計された分散型プロトコルです。このプロトコルは、開発者が分散型アプリケーション (dApp) を簡単に構築および起動できるようにし、これらのアプリケーションにブロックチェーン データへの便利なアクセスを提供するように設計されています。 TheGraph Coin (GRT) の最新価格を確認するには、次の手順に従います。 信頼できる価格確認 Web サイトまたはアプリを選択します。一般的に使用される価格クエリ Web サイトには次のものがあります。 CoinMarketCap: https://coinmarketcap.com/Coindesk: https://www.coind

サムスンの新しい折りたたみ式スクリーン製品が公開、7月下旬にデビュー予定 サムスンの新しい折りたたみ式スクリーン製品が公開、7月下旬にデビュー予定 Mar 21, 2024 pm 02:16 PM

サムスンは今年下半期に新世代のGalaxy Z FoldとFlip 6シリーズの折りたたみ画面スマートフォンを発売する予定だ。最近、韓国メディア TheElec と「時事週刊 e」がこれら 2 つの新製品の詳細を明らかにしました。 Samsung Galazy Z Fold6の写真が流出。 TheElecによると、サムスン電子のサプライチェーンメーカーは5月上旬にGalaxy Z Fold6とFlip 6関連部品の生産を開始する予定だが、対照的にGalaxy Z Fold5とFlip 5用の部品の生産は5月上旬に開始されたという。去年の5月半分。これは、Galaxy Zシリーズの標準版の今年の発売スケジュールが昨年より2~3週間ほど早いことを意味する。行く

PHP7 の NameSpace とキーワードを使用してコードの構造を整理するにはどうすればよいですか? PHP7 の NameSpace とキーワードを使用してコードの構造を整理するにはどうすればよいですか? Oct 19, 2023 am 08:07 AM

PHP7 の NameSpace とキーワードを使用してコードの構造を整理するにはどうすればよいですか?はじめに: ソフトウェア開発において、コードの組織構造は非常に重要であり、コードの可読性、保守性、拡張性と直接関係しています。 PHP バージョンの継続的な反復により、PHP7 では、より高い柔軟性と利便性を提供する NameSpace キーワードと Use キーワードが導入されました。この記事では、PHP7 の NameSpace と Use キーワードを使用してコードの構造を整理し、具体的なコードを提供する方法を紹介します。

See all articles