Oracle GoldenGate (Streams) process disabled – Why?
It is amazing what Oracle Enterprise Manager 12c will report once it is configured for a product. Once such product is Oracle GoldenGate. I have stepped into a project where I’m running Oracle GoldenGate between many different environments for production purposes. Just trying to get a handle around what is going on has been a task. In talking with the customer, they were starting to implement Oracle Enterprise Manager 12c. Once OEM was setup, we added the Oracle GoldenGate plug-in and started to monitor the replication environments.
Monitoring the Oracle GoldenGate environments, I noticed a warning in the Incident Manager. The warning that was noticed was: “Status for Streams process OGG$_CGGMONX9AC55691 is DISABLED”. I got to thinking, what is this message about? Much more, how do I resolve this warning (I like OEM to be quite. I started to look around MOS for answers, to my surprise, not much is written about his message.
Oracle GoldenGate, classic capture, doesn’t report these types of messages within Oracle Enterprise Manager 12c. Classic Capture mostly reports the up and down status of Oracle GoldenGate processes. This message had to be coming from some integrated version of the extract (first clue was the word Streams). Keeping that Streams may be used in some way, the DBA_CAPTURE table should be able to shine a bit of light on this warning.
From a SQL*Plus prompt or an SQL IDE (prefer SQL Developer), the DBA_CAPTURE view can be queried.
From looking at the STATUS column, I verified that I’ve found the correct record. The PURPOSE column shows that this extract (capture) is being used for Streams. What!?, wait a minute, I’m using Oracle GoldenGate.
Yes, Oracle GoldenGate is being used. If there is information in the DBA_CAPTURE view it is because the Extract has been registered (integrated) with the database some how. The status is DISABLED, an indicator that this extract was registered for logretention:
GGSCI> stop extract cggmonx
GGSCI> dblogin userid ggate password ggate
GGSCI> register extract cggmonx logretention
GGSCI> start extract cggmonx
Now, that it is understood that the extract has been registered for log retention, what does this actually mean?
According to the Oracle GoldenGate 11g Reference Guide, an extract can be registered in one of two modes.
1. Database – Enables integrated capture for the Extract group. In this mode,
Extract integrates with the database logmining server to receive
change data in the form of logical change records (LCR). Extract
does not read the redo logs. Extract performs capture processing,
filtering, transformation, and other requirements
2. Logretention – Enables an Extract group, classic capture mode, to work with
Oracle Recovery Manager (RMAN) to retain the logs that Extract
needs for recovery
As indicated a few lines up, this extract has been registered with logretention. This means that the extract creates an underlying Streams capture process and prevents RMAN from removing any archivelogs that may be needed for replication of data. As part of creating the underlying Streams structure, Oracle creates a queue under the Oracle GoldenGate owner (The queue name can also be found in the DBA_CAPTURE view).
Now that the root problem of the DISABLE message in Oracle Enterprise Manager 12c has been identified, how can this message be resolved?
The simplest way is to unregister the extract from the database/logretention knowing that Oracle GoldenGate configuration is using Classic Capture. Keep in mind that when unregistering the extract, retention of archivelogs will not be enforced when RMAN backs them up and possibility removes them. Make sure you RMAN retention policies are what you expect them to be.
To unregister an extract that is using logretention, use the steps below:
GGSCI> stop extract cggmonx
GGSCI> dblogin userid ggate password ggate
GGSCI> unregister extract cggmonx logretention
GGSCI> start extract cggmonx
Enjoy!
twitter: @dbasolved
blog; http://dbasolved.com
Bobby Curtis
I’m Bobby Curtis and I’m just your normal average guy who has been working in the technology field for awhile (started when I was 18 with the US Army). The goal of this blog has changed a bit over the years. Initially, it was a general blog where I wrote thoughts down. Then it changed to focus on the Oracle Database, Oracle Enterprise Manager, and eventually Oracle GoldenGate.
If you want to follow me on a more timely manner, I can be followed on twitter at @dbasolved or on LinkedIn under “Bobby Curtis MBA”.
микрозаймы онлайн на карту без отказа микрозаймы онлайн на карту без отказа .
где взять деньги в кредит без отказа где взять деньги в кредит без отказа .
Excellent way of explaining, and pleasant piece of writing to get data concerning my presentation subject matter, which i am going to present in institution of higher education.
my homepage – Eharmony Special Coupon Code 2025
психологический центр психологический центр .
Hi! I’ve been reading your weblog for a while now and finally
got the courage to go ahead and give you a shout out from Atascocita Texas!
Just wanted to tell you keep up the good work!
Here is my web-site: vpn
You’re so awesome! I don’t believe I have read a single thing like that before. So great to find someone with some original thoughts on this topic. Really.. thank you for starting this up. This website is something that is needed on the internet, someone with a little originality!
Do you mind if I quote a few of your articles as long as I provide credit and sources
back to your website? My blog site is in the very same area of
interest as yours and my visitors would definitely benefit from
some of the information you provide here. Please let me know if this alright with you.
Many thanks! https://tinyurl.com/28555853 gamefly 3 month
free trial
There is definately a lot to find out about this subject. I like all the points you made
I just like the helpful information you provide in your articles
I’m often to blogging and i really appreciate your content. The article has actually peaks my interest. I’m going to bookmark your web site and maintain checking for brand spanking new information.
I do not even understand how I ended up here, but I assumed this publish used to be great
Hi, I want to subscribe for this website
to obtain hottest updates, therefore where can i do it please help out.
Vpn meaning https://tinyurl.com/23bovxld
How does the effect of THC Gummies change depending on the dosage? are a hot, tasty custom to relish in the aptitude calming and wellness benefits of cannabidiol. Unlike THC, CBD won’t become infected with you great, making these gummies utopian an eye to stress, nod off, or regular balance. They take place in many flavors, strengths, and formulas—some with added ingredients like melatonin or vitamins. Effects typically start within 30–60 minutes and pattern a not many hours. Vegan, primary, and sugar-free options are also available. Till the end of time check lab results and start with a low dose.
You’ve made a complex topic simple.
Wow, that’s what I was exploring for, what a material!
present here at this webpage, thanks admin of this web
page.