Pular para o conteúdo

Stopping GoldenGate Microservices? Wait… Extract & Replicat Are Still Running!

The Unexpected Behavior: Processes Still Running (Even if Service Manager and Administration Service is Stopped!)


Hi! I want to share a strange issue in Oracle GoldenGate that sometimes drives OGG admins crazy. All tests presented here are based on Oracle GoldenGate version 23ai, but the same behavior can also be observed in OGG 21c.

This issue occurs when shutting down the Administration Service, stopping the deployment, or even stopping the Service Manager, because these actions do not automatically stop the running Extract and Replicat processes.



What does this mean?

  • Even if you stop Administration Service and the Service Manager, Extract and Replicat processes continue running at the OS level.

  • You lose visibility in the Admin Client/REST API, but replication is still happening.

  • This can lead to various issues and mistakes. You might assume OGG processes are down after stopping all microservices, but in reality, they are still processing data.

  • This behavior can be problematic and risky during patching, maintenance, or failovers, as you might expect replication to be paused while data is still being processed.

 

Why Does This Happen?

The reason behind this behavior is that Extract and Replicat are independent OS-level processes that do not rely on the Service Manager or Administration Service to keep running once started.




So, what should I do? Just stop the processes manually!

To ensure a clean shutdown, you must manually stop all Extract and Replicat processes before stopping any Microservices or the Service Manager.



⚠️?Caution: If you don’t stop them manually, replication will keep running in the background, which could lead to unexpected data movement.



? Follow these steps to properly shutdown the entire OGG environment:

  1. Stop Replicat ( OGG> STOP EXTRACT * )
  2. Stop Extract ( OGG> STOP REPLICAT * )
  3. Confirm no processes are running ( $ ps -ef | grep -iE "extract|replicat" )
  4. Now stop Microservices & Service Manager






What? Still not convinced? Let’s do a quick test! Stop the Service Manager and Administration Service, then check your running OS processes, you’ll see that Extract and Replicat are still running.


> Click here to see DEMO vídeo

 

? Conclusion: Stopping GoldenGate Microservices does not stop replication, you must do it manually!



From now on, you know about this, so make sure to follow the procedure carefully whenever performing OGG maintenance that involves stopping and restarting the microservices.

xD





Want to learn more about these updates?

If you’re interested in diving deeper—including advanced topics like Replicating Data Vector—let me know! I’m delivering a presentation to our customers and potential clients (in english, spanish and portuguese), and I’d love to share insights that can help your business make the most of Oracle GoldenGate 23ai.

? Just send me an email: gilson.martins@ggbrsolutions.com.br