Skip to content

Commit 638e902

Browse files
authored
Create report-all-details
1 parent ac80e1d commit 638e902

File tree

1 file changed

+17
-0
lines changed
  • data-platform/core-converged-db/real-application-testing/sql-performance-analyzer/scripts-spa

1 file changed

+17
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
REM Script: report-all-details.sql
2+
REM Generate report with details of all SQL in HTML
3+
4+
-- please use the following SQL*Plus formats
5+
set long 1000000 longchunksize 1000000 linesize 200 head off feedback off echo off
6+
7+
-- enter task name and predefined level (choose between ALL, BASIC, CHANGED, CHANGED_PLANS, ERRORS,IMPROVED, REGRESSSED, TIMEOUT, TYPICAL, UNCHANGED, UNCHANGED_PLANS, UNSUPPORTED)
8+
variable result clob
9+
execute :result :=dbms_sqlpa.report_analysis_task(task_name => '&Taskname', -
10+
type => 'HTML',-
11+
level => '&level',-
12+
section => 'ALL');
13+
14+
--spool the HTML report
15+
spool report_detail.html
16+
print result
17+
spool off

0 commit comments

Comments
 (0)