My Oracle Support Banner

How To Get Historical SQL Monitor Report For SQL Statements (Doc ID 2555350.1)

Last updated on JULY 20, 2024

Applies to:

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

Goal

Goal of this document is to explain how to generate or extract historical SQL monitoring report for SQL statements using command line or EM (Enterprise Manager).

One of the major limitations with SQL Monitoring framework is that the information are quickly aged out of memory and not stored in AWR.
From 12c onwards, there are ways to extract the historical SQL monitor report using APIs like DBMS_PERF or DBMS_AUTO_REPORT and also
from Performance Hub page through Oracle Enterprise Manager though not directly through DBMS_SQL_MONITOR which is only for real-time.
Refer the below document for SQL monitoring:

<Document 1380492.1> Monitoring SQL Statements with Real-Time SQL Monitoring

 

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.