But Houston does have the awesome Courtney Llamas, so you do have EM expertise
in the house! :)
I’ve been very busy attempting to write over ever block of memory I have in my
head in my new role at the Technical Intelligence Manager at Delphix, but I can
offer some insight into the opportunity to use EM12c to monitor this:
1. A metric extension will do quite nicely to monitor for both of these.
2. You’ll need to ensure you query this information from the correct metric
within EM’s repository, as a remote call would push you outside of EM’s
“domain” and licensing, if that makes sense.
3. How often you collect the information and how lightweight you make the
query to collect it will deem if it’s too much for a heavily used system.
I do have an view lag script in my list of scripts
<http://dbakevlar.com/scripts/> on my DBAKevlar page, under Misc. Scripts.
There’s a few different ways to look at long running queries and the decision
maker is, “Do you want long running queries total or execution time changed
from average elapsed time?”
Here’s a blog post
<https://blogs.oracle.com/theshortenspot/entry/enterprise_manager_using_metrics_extensions>
to take you through getting starting with Metric Extensions.
Hope this helps!
Kellyn
On Nov 22, 2016, at 10:09 AM, William Ndolo Intertek
<william.ndolo@xxxxxxxxxxxx> wrote:
OEM gurus,
We intend to configure OEM to be able to notify us whenever there are long
running SQL or long running jobs. Please see below.
We are using Enterprise Manager Cloud Control 12c.
Can this be done in a very busy system? If so, can someone share the best
way to do this?
On the other hand, we would like to be notified whenever MViews refresh
stalls for an hour.
Currently we are using notification from alert log. This has worked but only
when ORA- errors are generated.
Any recommendation would be appreciated especially from shops heavily using
OEM for notification.
Kellyn Pot'Vin-Gorman, if I am not wrong, this is your area of expertise. I
remember you from RMOUG when I gave presentation in 2013.
Unfortunately, Houston does not have the level of involvement Denver had.
<image005.jpg>
<image006.jpg>
Thanks and best regards,
Bill
Valued Quality. Delivered.
CONFIDENTIALITY NOTICE
This e-mail may contain confidential or privileged information, if you are
not the intended recipient, or the person responsible for delivering the
message to the intended recipient then please notify us by return e-mail
immediately. Should you have received this e-mail in error then you should
not copy this for any purpose nor disclose its contents to any other person.
Intertek is dedicated to Customer Service and welcomes your feedback. Please
visit http://www.intertek.com/email-feedback/ ;
<http://www.intertek.com/email-feedback/> to send us your suggestions or
comments. We thank you for your time.
Except where explicitly agreed in writing, all work and services performed by
Intertek is subject to our Standard Terms and Conditions of Business which
can be obtained at our website:http://www.intertek.com/terms/ ;
<http://www.intertek.com/terms/> Should you have any difficulty obtaining
these from the web site, please contact us immediately and we will send a
copy by return.