We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00e34f6 commit 9a1501aCopy full SHA for 9a1501a
data-platform/core-converged-db/sql-performance/sql-monitoring/scripts-sql-monitoring/active-report.sql
@@ -2,15 +2,18 @@ REM Script: active-report.sql
2
REM Generate active (HTML) report with DBMS_SQL_MONITOR.REPORT_SQL_MONITOR
3
4
-- report on the last statement monitored by Oracle
5
--- use type ACTIVE
+-- please use the proposed SQL*Plus formats here to get the correct report output
6
7
set trimspool on
8
set trim on
9
set pagesize 0
10
set linesize 32767
11
set long 1000000
12
set longchunksize 1000000
13
+
14
spool sqlmon_active.html
15
16
select dbms_sql_monitor.report_sql_monitor(report_level=>'ALL',type=>'ACTIVE')
17
from dual;
18
19
spool off
0 commit comments