dbsnmp query consuming significant time in db
We are seeing an issue as described in MOS: High CPU Utilization from Queries Executed by EM Agent on 11.2 Target Database [ID 1386774.1]. We applied the workaround as per the doc but no luck. The sql seems to be kicking off again. Is there a way to permanently disable default collection for metrics in 11g oem?
Database: 11.2.0.3
Oem Agent: 11.1.0.1.0
Below is the sql having issues:
SELECT /*+ leading(oe f r l) */ /* STN_REPT_TOP_PROF */ xmlelement( "top_profiles", xmlagg(xmlelement("obj_id", object_id)))
FROM
(SELECT task_id, exec_name, exec_id, exec_start, object_id, sql_id, parsing_schema, phv, obj_attr8
0