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 88c7eab commit 40b840bCopy full SHA for 40b840b
data-platform/core-converged-db/sql-performance/sql-monitoring/scripts-sql-monitoring/html-report.sql
@@ -0,0 +1,17 @@
1
+REM Script: html-report.sql
2
+REM report generation in HTML with DBMS_SQL_MONITOR.REPORT_SQL_MONITOR
3
+
4
+-- find the last monitored database operation
5
+-- please use the proposed SQL*plus formats here to get the correct HTML report
6
+set trimspool on
7
+set trim on
8
+set pagesize 0
9
+set linesize 32767
10
+set long 1000000
11
+set longchunksize 1000000
12
+spool sqlmon_active.html
13
14
+SELECT dbms_sql_monitor.report_sql_monitor(type => 'HTML', report_level => 'ALL')
15
+FROM dual;
16
17
+spool off
0 commit comments