You can limit or optimize how the Extract interacts with the logminer by adding parameters to the Extract configuration ( .prm ) file:
To prevent OGG Capture client detachment, follow these best practices:
In Oracle GoldenGate (OGG) architectures, the interaction between the Capture process (Extract) and the database is facilitated by a "Capture Client." The operational status message indicates a specific administrative or automated event where the user session responsible for extracting data has gracefully terminated its connection to the database log mining session.
You see "Stopping Extract," followed by "Successfully detached," followed by the process status showing as STOPPED . Reason: This is a standard clean shutdown. Situation B: Critical (Action Required)
You will generally see this message under three distinct scenarios: 1. Intentional User Commands You can limit or optimize how the Extract
For senior DBAs and architects, knowing the internal steps is gold. When a successful detach occurs:
: Review the Oracle Database Alert Log for related errors like ORA-03113 (end-of-file on communication channel) or ORA-00600 , which would indicate the Logmining server itself crashed.
Look for Current Checkpoint – it should be recent relative to the stop time.
-- In MGR parameter file AUTORESTART EXTRACT *, RETRIES 3, WAITMINUTES 5, RESETMINUTES 60 Use code with caution. Situation B: Critical (Action Required) You will generally
Examine the EXTRACT report file for OGG errors ( OGG-02028 ) and check the Oracle Database Alert log for ORA-03113 or other errors occurring at the same time. Step 2: Validate the Capture Status
You see "Successfully detached," followed immediately by ERROR OGG-00664 or OGG-01031 , and the process status shows as ABENDED .
To understand this message, we must look at the architecture of Oracle GoldenGate, particularly when using mode.
When this message appears, especially in a production environment, your immediate concern is whether the Extract client reattached or remains detached. A prolonged detached state will cause replication lag as LCRs accumulate in the LogMining server queue but are not being written to the trail. Look for Current Checkpoint – it should be
If you manually stop the Extract ( STOP EXTRACT ), this message confirms that the client has disconnected cleanly from the database resources.
Often, the detachment is transient. Try starting the Extract process again: GGSCI> start extract Use code with caution.
However, for a GoldenGate administrator, seeing this message can sometimes be a double-edged sword. While it indicates a successful detachment, the event's unplanned occurrence could point to underlying system issues. Therefore, it's critical to not only know what this message means but also to quickly determine why it happened and how to resolve any resulting replication lag or process failures. This article provides a deep dive into this specific event, covering the architecture behind it, the scenarios that trigger it, and a step-by-step guide to troubleshooting and resolution.
| [ Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time ] |
| ||||