Database Administration (MOSC)

MOSC Banner

SQL Monitor

edited Oct 16, 2018 9:42AM in Database Administration (MOSC) 5 commentsAnswered ✓

Hi All

How to take SQL monitor report for Historical SQL ID statements in 11.2.0.4 db version

For active statement i know we can use below statements. need to take a similar report for historical sql_id as well

SPOOL /host/report_sql_monitor.htm

SELECT DBMS_SQLTUNE.report_sql_monitor(

  sql_id => '526mvccm5nfy4',

  type => 'HTML',

  report_level => 'ALL') AS report

FROM dual;

SPOOL OFF

Thanks

Suresh

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center