Heavy Resource Consumption in the Database Due to Grid Control AQ Metrics (Doc ID 1321015.1)

Last updated on MAY 04, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 and later
Information in this document applies to any platform.

Symptoms

In an Enterprise Manager Grid Control Environment for 11.2 targets, the following query appears to be very expensive in the database.


select queue, avg(sysdate-ENQ_TIME) * 86400 AVERAGE_MSG_AGE from <AQ$ View> group by queue.



The associated queue table from the above query , has huge number of records(in millions).

AWR reports  could show high CPU consumption, TEMP tablespace usage,user i/o waits,physical gets etc, and this query could figure in the Top SQL

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms