Home » RDBMS Server » Server Administration » SYS object related query taking huge time (Oracle 11.2.0.4.0)
SYS object related query taking huge time [message #631266] Mon, 12 January 2015 04:24 Go to previous message
orausern
Messages: 826
Registered: December 2005
Senior Member
Hi,

In my Development database, there is a SYS related query that is taking huge amount of time. It slows down the entire database. It is this sql:

SELECT TO_CHAR (CURRENT_TIMESTAMP AT TIME ZONE 'GMT',
                'YYYY-MM-DD HH24:MI:SS TZD')
          AS curr_timestamp,
       COUNT (db_user) AS failed_count
  FROM sys.dba_common_audit_trail
 WHERE     action BETWEEN 100 AND 102
       AND returncode != 0
       AND extended_timestamp >=
              CURRENT_TIMESTAMP - TO_DSINTERVAL ('0 0:30:00');


The AWR report shows that it is run by this Module: Oracle Enterprise Manager.Metric Engine

It took 73,980.28 seconds for a single execution!! I can't even run a count on this table; sys.dba_common_audit_trail

I am not aware of what can cause this issue and will be thankful for suggestion on it.

Thanks,
OrauserN
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DB Server Configuration
Next Topic: Cannot Use DBMS_SCHEDULER.CREATE_PROGRAM even as owner
Goto Forum:
  


Current Time: Wed Apr 24 22:51:46 CDT 2024