Performance analysis w/ ASH and Oracle Advisors

SELECT
TO_CHAR(AT.EXECUTION_END, ‘dd.mm.yyyy hh24:mi:ss’) “DATE”,
AF.MESSAGE FINDING,
AA.MESSAGE ACTION
FROM
DBA_ADVISOR_TASKS AT,
DBA_ADVISOR_FINDINGS AF,
DBA_ADVISOR_RECOMMENDATIONS AR,
DBA_ADVISOR_ACTIONS AA
WHERE
AT.OWNER = AF.OWNER AND
AT.TASK_ID = AF.TASK_ID AND
AF.OWNER = AR.OWNER (+) AND
AF.TASK_ID = AR.TASK_ID (+) AND
AF.FINDING_ID = AR.FINDING_ID (+) AND
AR.OWNER = AA.OWNER (+) AND
AR.TASK_ID = AA.TASK_ID (+) AND
AR.REC_ID = AA.REC_ID (+) AND
AT.EXECUTION_END > SYSDATE – 1 / 24
ORDER BY AT.EXECUTION_END DESC, AF.FINDING_ID, AR.REC_ID;

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: