Skip to content

Commit 7306651

Browse files
authored
Create dbmsperf_def.sql
1 parent bcaf806 commit 7306651

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
REM Script: dbmsperf_def.sql
2+
REM example for DBMS_PERF.REPORT_PERFHUB with defaults
3+
REM REPORT_PERFHUB generates an active performance report of the entire database system for a specified time period.
4+
REM If you choose the defaults, report mode is historical, selected time is 1 hour before latest AWR and outer time period starts 24 hours before.
5+
6+
7+
set pages 0 linesize 32767 trimspool on trim on long 1000000 longchunksize 10000000
8+
9+
spool sql_details_def.html
10+
11+
select dbms_perf.report_perfhub()
12+
from dual;
13+
14+
spool off

0 commit comments

Comments
 (0)