The document is a presentation about examining Oracle GoldenGate trail files and using the LogDump utility. It provides information on what trail files are, how to create and manage them, and how to navigate and examine the contents of trail files using the LogDump utility commands. It includes an example of using LogDump commands to open a trail file, view the record header and details, and examine the contents of a record.
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Oracle GoldenGate Trail Files: When and How to Use LogDump
1. Examine Oracle GoldenGate Trail Files:
How and when to use the LogDump Utility
IOUG Collaborate 2015
Session: 768
Date: 4/15/2015 @ 8 am
Room: Palm C
3. Part of Accenture’s Infrastructure Services:
- 52,000 Oracle professionals
- 17,000 Infrastructure Services professionals
Oracle Database & Engineered Systems Solutions:
- Database Migrations
- Oracle Applications on Engineered Systems
- Cloud-based solutions leveraging Engineered Systems
Oracle “Specialized” in the following areas:
- Oracle Database, Oracle Database Security, Oracle Real Application Cluster (RAC),
Oracle Data Warehouse, Oracle Database Performance Turning, Oracle Linux
- Egineered Systems: Oracle Exadata, Oracle Exalogic, Oracle Exalytics
Accenture Enkitec Group
4. Accenture Enkitec Group
• Our Accenture Enkitec Group resources are members of several Oracle
Database groups such as Oak Table, Oracle ACE, etc and speak frequently
at events across the globe (Oracle Use Groups (OUG), Oracle Open World
(OOW), etc..
• Our team have authored several widely used books specific to Oracle
Database topics ranging from Exadata, performance & tuning to best
practices.
5. Accenture Enkitec
Group
E4
The only conference with a focus
on the Oracle Exadata platform
REGISTER TODAY
June 1–2, 2015
Dallas, Texas
www.enkitec.com/e4/register
7. GoldenGate Architectures
Unidirectional
Query Offloading
Zero-Downtime Migration
Data Integration Cloud or
On-Premise
Bi-Directional
Active-Active for Multi-
Master/HA
Cloud or On-Premises
Data Distribution
via Messaging
Cloud Apps Integration
Big Data Delivery
Real/Time and Batch Delivery
Structured Data to Data Reservoir
8. Capture
Trail
Files
Pump
Delivery
Trail
Files
Capture (extract): committed transactions are captured (and can be filtered) as they occur by reading the transaction logs. As
of V.11.2.1, GoldenGate offers two options for capture for Oracle; Classic & Integrated Capture
Trail: stages and queues data for routing.
Pump: distributes data for routing to target(s).
Route: data is compressed, encrypted for routing to target(s).
Delivery: applies data with transaction integrity. New with
GoldenGate 12c, Integrated Delivery (replicat).
MGRMGR
GoldenGate Architecture Example
17. Logdump Basic Commands
Command Description
OPEN Open Trail File
GHDR ON View record header
DETAIL [ ON | OFF | DETAIL] Adds column information/HEX & ASCII
data
USERTOKEN [ ON | OFF ] Display any user tokens
GGSTOKEN [ ON | OFF ] Display any automatically generated
tokens
RECLEN <integer> Controls the length of the record
displayed
18. Trail File Navigation
Command Description
NEXT First record then move to the next, in order
SKIP Skips down <count> records
POSITION <RBA> Set position in file [ <rba> | FIRST | LAST | EOF ]
SCANFORRBA Find the next record with rba
SCANFORHEADER Search for the start of a header
SCANFORTYPE Find the next record of <type>
SCANFORTIME Find the next record with timestamp
SCANFORENDTRANS Find the end of the current transaction
SCANFORNEXTTRANS Find start of the next transaction
19. Trail File Navigation (cont)
Command Description
FILTER Filter the display of records
DUMP Display the specific number of bytes of data from the
current position
ARGENTNODATACHAN
GES |
ARSTOPNODATACHAN
GES
Include/Excludes records that did not result in
changes to the database