Ogg Capture Client Successfully Detached From Goldengate Capture
GGSCI> INFO EXTRACT EXT1
Log output:
ERROR OGG-00446 Unable to read from capture client.
INFO OGG-00999 OGG capture client successfully detached from GoldenGate capture.
(Here detach was a side effect of failure, not a clean stop.)
Successfully detaching an OGG capture client is straightforward when you follow the correct sequence: stop → detach → verify. It’s a powerful tool for maintenance, troubleshooting, and reconfiguration without a full pipeline tear-down.
If you’ve ever seen the message Capture client successfully detached from GoldenGate capture and wondered if you did it right – now you know. Yes, you did.
Understanding the "OGG Capture Client Successfully Detached" Message
In the world of Oracle GoldenGate (OGG), log messages are the primary window into the health and status of your data replication environment. One message that often appears in the ggserr.log—and occasionally causes confusion for administrators—is:
"OGG capture client successfully detached from GoldenGate capture."
While this message sounds like a failure notification, it is actually a standard operational status update. This article explores what this message means, why it occurs, and how to troubleshoot it if it happens unexpectedly. What Does This Message Mean?
Oracle GoldenGate uses a "Capture" process (also known as Extract) to pull changed data from source database transaction logs. To do this efficiently, especially in Integrated Capture mode, the OGG Extract process registers as a client with the database’s logmining server. GGSCI> INFO EXTRACT EXT1
The "detached" message signifies that the communication link between the GoldenGate Extract process and the underlying database capture engine has been cleanly severed. In simpler terms, the client (GoldenGate) told the server (the Database) it was finished, and the database acknowledged the disconnection. Common Scenarios for This Message 1. Graceful Shutdown
The most common reason you see this message is a manual stop of the Extract process. When you issue the command STOP EXTRACT in GGSCI or Admin Client, the process finishes its current task and sends a detachment signal to the database to release resources. 2. Process Restart or Re-initialization
If you change an Extract configuration and restart the process, it must detach from the old session before attaching to a new one. You will see the detachment message followed shortly by an "attached" message. 3. Heartbeat and Timeout Events
In some Integrated Capture environments, if there is a long period of inactivity or a network "hiccup" between the GoldenGate instance and the database instance, the capture client may temporarily detach and reattach to refresh the session. 4. Extract Abends (Crashes)
While the message says "successfully detached," it can sometimes appear during a crash. If the Extract hits a critical error (an "Abend"), it may still attempt to run its cleanup routines, which includes detaching from the database before the process terminates. Is This an Error?
Usually, no. If you see this message in conjunction with a STOP command you initiated, it is a sign that GoldenGate is working exactly as intended. It confirms that the database has successfully reclaimed the memory and processes (Logminers) dedicated to that Extract. However, it is a red flag if:
The message appears while the Extract status is still supposed to be RUNNING.
The message is immediately followed by an ERROR or ABENDING status in the report file. Log output: ERROR OGG-00446 Unable to read from
It happens repeatedly (looping), preventing data from flowing. Troubleshooting Unexpected Detachments
If your Capture client is detaching without your instruction, follow these steps to find the root cause: 1. Check the Extract Report File
Navigate to your dirrpt directory and open the .rpt file for the specific Extract. Look for the lines immediately preceding the detachment. Often, a database-level error (like an ORA- error) is the true culprit. 2. Review the Database Alert Log
Since Integrated Capture runs "inside" the database, the source database's alert log often contains the real reason for the disconnect. Look for issues related to:
Streams Pool Size: If the STREAMS_POOL_SIZE is too small, the logminer may force a detachment. Logminer Errors: Look for ORA-01280 or similar errors. 3. Verify Extract Checkpoints
Use INFO EXTRACT to see if the Extract is stuck on a specific SCN (System Change Number). If it cannot find a required archived log, it may detach and wait. 4. Check Network Stability
If the GoldenGate process is running on a different server than the database (Downstream Capture), ensure the SQL*Net connection is stable. Network timeouts can cause the capture client to drop the connection.
The message "OGG capture client successfully detached from GoldenGate capture" is a confirmation of a clean break between GoldenGate and the Oracle Database. In the vast majority of cases, it is a healthy part of the process lifecycle. Only when it is accompanied by an "Abended" status should you dive into the report files and database logs to investigate further. (Here detach was a side effect of failure, not a clean stop
Resource limits
Internal errors
User session termination
| Error | Meaning | DBA Action |
| --------------------------------- | ------------------------------------------------- | ---------------------------------------------------------------------- |
| OGG-02912 (Insufficient SGA) | Database’s streams_pool_size too small. | Increase streams_pool_size or sga_target. Restart extract. |
| OGG-02902 (Timeout) | LogMiner server didn’t respond. | Check database alert log for bottlenecks or deadlocks. |
| OGG-06439 (No capture resources) | Too many concurrent LogMining servers. | Stop other extracts or increase MAX_SERVERS in the database config. |
In all these cases, you will see the "successfully detached" line after the failure, acting as a confirmation that the client gave up and disconnected cleanly.
If an extract crashes and does not detach gracefully, you may see a database session lingering:
-- In the database:
SELECT * FROM V$LOGMNR_PROCESSES;
If a mining server exists for an extract that is no longer running, remove it:
-- In GGSCI (if extract is gone or recreated):
REGISTER EXTRACT ext_sales, DATABASE;
-- Or in SQL:
EXEC DBMS_LOGMNR.REMOVE_LOGMNR_SESSION;
Seeing this message alone is not a problem. However, if your replication has stopped unexpectedly, follow this checklist.
A successful detachment occurs in several operational contexts:
While usually benign, if you see this message appearing suspiciously often (e.g., hundreds of times an hour), consider the following checks: