RWP 02 - 02c - Team - AWR - Oci
RWP 02 - 02c - Team - AWR - Oci
Report Summary
Load Profile
Event Waits Total Wait Time (sec) Avg Wait % DB time Wait Class
DB CPU 82 77.6
log file sync 305,804 24 78.34us 22.7 Commit
KSV master wait 345 .1 399.60us .1 Other
control file sequential read 672 .1 197.31us .1 System I/O
1 of 26 04/01/2025, 15:12
AWR Report for DB: DB01, Inst: db01, Snaps: 1-2 file:///D:/New%20folder/desktop/Workshop%20Real-World%20Perf...
Wait Class Waits Total Wait Time (sec) Avg Wait Time % DB time Avg Active Sessions
DB CPU 82 77.6 0.7
Commit 305,804 24 78.34us 22.7 0.2
Other 5,085 2 404.83us 1.9 0.0
User I/O 476 0 393.40us .2 0.0
Concurrency 78 0 2.20ms .2 0.0
System I/O 782 0 176.34us .1 0.0
Scheduler 4 0 9.55ms .0 0.0
Configuration 2 0 1.25ms .0 0.0
Network 101 0 2.39us .0 0.0
IO Profile
Main Report
• Report Summary
• Wait Events Statistics
• SQL Statistics
• Instance Activity Statistics
• IO Stats
• Wait Statistics
• Undo Statistics
• In-Memory Segment Statistics
• init.ora Parameters
• Active Session History (ASH) Report
• ADDM Reports
Back to Top
Back to Top
2 of 26 04/01/2025, 15:12
AWR Report for DB: DB01, Inst: db01, Snaps: 1-2 file:///D:/New%20folder/desktop/Workshop%20Real-World%20Perf...
Wait Class Waits %Time -outs Total Wait Time (s) Avg wait %DB time
DB CPU 82 77.59
Commit 305,804 0 24 78.34us 22.67
Other 4,925 0 0 57.43us 0.27
User I/O 468 0 0 398.19us 0.18
Concurrency 76 0 0 2.25ms 0.16
System I/O 764 0 0 179.07us 0.13
Scheduler 4 100 0 9.55ms 0.04
Configuration 2 0 0 1.25ms 0.00
Network 89 0 0 2.66us 0.00
Event Waits %Time -outs Total Wait Time (s) Avg wait Waits /txn % DB time
log file sync 305,804 24 78.34us 1.00 22.67
KSV master wait 345 0 399.60us 0.00 0.13
control file sequential read 672 0 197.31us 0.00 0.13
cursor: pin S wait on X 20 0 6.40ms 0.00 0.12
external table read 40 0 3.05ms 0.00 0.12
DLM cross inst call completion 23 0 2.26ms 0.00 0.05
PGA memory operation 4,064 0 9.94us 0.01 0.04
acknowledge over PGA limit 4 100 0 9.55ms 0.00 0.04
local write wait 12 0 2.01ms 0.00 0.02
CSS initialization 8 0 2.99ms 0.00 0.02
library cache: mutex X 28 0 683.75us 0.00 0.02
cursor: mutex X 5 0 3.73ms 0.00 0.02
Data file init write 25 0 563.28us 0.00 0.01
Disk file operations I/O 141 0 59.79us 0.00 0.01
PX Deq: Join ACK 64 0 125.14us 0.00 0.01
db file sequential read 56 0 136.13us 0.00 0.01
CSS operation: action 11 0 545.18us 0.00 0.01
3 of 26 04/01/2025, 15:12
AWR Report for DB: DB01, Inst: db01, Snaps: 1-2 file:///D:/New%20folder/desktop/Workshop%20Real-World%20Perf...
Service Statistics
• ordered by DB Time
Service Name DB Time (s) DB CPU (s) Physical Reads (K) Logical Reads (K)
nyc2team01 106 82 0 3,960
Service User I/O User I/O Wt Concurcy Total Concurcy Wt Admin Total Admin Wt Network Total Network Wt
Name Total Wts Time Wts Time Wts Time Wts Time
nyc2team01 511 0 72 0 0 0 89 0
SQL Statistics
• SQL ordered by Elapsed Time
• SQL ordered by CPU Time
• SQL ordered by User I/O Wait Time
• SQL ordered by Gets
• SQL ordered by Reads
• SQL ordered by Physical Reads (UnOptimized)
• SQL ordered by Executions
• SQL ordered by Parse Calls
• SQL ordered by Sharable Memory
• SQL ordered by Version Count
• Complete List of SQL Text
Back to Top
4 of 26 04/01/2025, 15:12
AWR Report for DB: DB01, Inst: db01, Snaps: 1-2 file:///D:/New%20folder/desktop/Workshop%20Real-World%20Perf...
Elapsed
Elapsed
Executions Time per %Total %CPU %IO SQL Id SQL Module SQL Text
Time (s)
Exec (s)
45.26 1 45.26 42.82 83.67 0.04 d8yjqy6gzd1t2 SQL*Plus BEGIN matching.match; END;
26.47 1 26.47 25.04 70.48 0.23 fp5n61tt3k6fr SQL*Plus BEGIN
matching.prematch_buy('e...
25.57 1 25.57 24.19 71.63 0.30 bmc6bup669599 SQL*Plus BEGIN
matching.prematch_sell('...
5.83 100,005 0.00 5.52 83.36 0.00 44xutmzsrnauf SQL*Plus DELETE FROM
PREMATCH_BUY WHERE...
5.35 100,005 0.00 5.06 73.06 0.00 071upcsdykqq7 SQL*Plus DELETE FROM
PREMATCH_SELL WHER...
4.92 100,005 0.00 4.65 87.69 0.37 1qwurx1f1nbw2 SQL*Plus INSERT INTO MATCHED (
TRANSACT...
4.49 102,900 0.00 4.25 72.81 0.19 g39a57gmzr635 SQL*Plus INSERT INTO
PREMATCH_BUY ( TRA...
4.43 102,900 0.00 4.19 72.98 0.20 c3mgtmr561mr8 SQL*Plus INSERT INTO
PREMATCH_SELL ( TR...
2.52 205,800 0.00 2.38 79.20 0.00 8x34r9f2p7wxw SQL*Plus SELECT COUNT(*) FROM
MATCHED M...
1.88 101,911 0.00 1.78 95.58 0.02 391quv6vggs8v SQL*Plus SELECT X2.*, X2.ROWID
FROM PRE...
1.76 23 0.08 1.67 44.43 0.00 6hnhqahphpk8n select free_mb from
v$asm_disk...
1.75 1 1.75 1.66 98.78 1.16 btqubgr940awu sqlplus@rwpclass01 BEGIN
(TNS V1-V3) dbms_workload_repository...
CPU
CPU
per Elapsed
Time Executions %Total %CPU %IO SQL Id SQL Module SQL Text
Exec Time (s)
(s)
(s)
37.87 1 37.87 46.18 45.26 83.67 0.04 d8yjqy6gzd1t2 SQL*Plus BEGIN matching.match; END;
18.65 1 18.65 22.75 26.47 70.48 0.23 fp5n61tt3k6fr SQL*Plus BEGIN
matching.prematch_buy('e...
18.31 1 18.31 22.33 25.57 71.63 0.30 bmc6bup669599 SQL*Plus BEGIN
matching.prematch_sell('...
4.86 100,005 0.00 5.93 5.83 83.36 0.00 44xutmzsrnauf SQL*Plus DELETE FROM
PREMATCH_BUY WHERE...
4.31 100,005 0.00 5.26 4.92 87.69 0.37 1qwurx1f1nbw2 SQL*Plus INSERT INTO MATCHED (
TRANSACT...
3.91 100,005 0.00 4.77 5.35 73.06 0.00 071upcsdykqq7 SQL*Plus DELETE FROM
PREMATCH_SELL WHER...
3.27 102,900 0.00 3.99 4.49 72.81 0.19 g39a57gmzr635 SQL*Plus INSERT INTO
PREMATCH_BUY ( TRA...
3.23 102,900 0.00 3.94 4.43 72.98 0.20 c3mgtmr561mr8 SQL*Plus INSERT INTO
PREMATCH_SELL ( TR...
1.99 205,800 0.00 2.43 2.52 79.20 0.00 8x34r9f2p7wxw SQL*Plus SELECT COUNT(*) FROM
MATCHED M...
1.80 101,911 0.00 2.19 1.88 95.58 0.02 391quv6vggs8v SQL*Plus SELECT X2.*, X2.ROWID
FROM PRE...
1.73 1 1.73 2.11 1.75 98.78 1.16 btqubgr940awu sqlplus@rwpclass01 BEGIN
(TNS V1-V3) dbms_workload_repository...
5 of 26 04/01/2025, 15:12
AWR Report for DB: DB01, Inst: db01, Snaps: 1-2 file:///D:/New%20folder/desktop/Workshop%20Real-World%20Perf...
Back to Top
User I/ UIO
O per Elapsed
Executions %Total %CPU %IO SQL Id SQL Module SQL Text
Time Exec Time (s)
(s) (s)
0.08 1 0.08 41.23 25.57 71.63 0.30 bmc6bup669599 SQL*Plus BEGIN
matching.prematch_sell('...
0.07 1 0.07 36.58 0.53 64.42 13.03 dh2x07v0t6wm3 SQL*Plus SELECT * FROM
V_EXT_SELL
0.06 1 0.06 33.20 26.47 70.48 0.23 fp5n61tt3k6fr SQL*Plus BEGIN
matching.prematch_buy('e...
0.05 1 0.05 28.61 0.51 65.64 10.49 2f2a2x8493x3y SQL*Plus SELECT * FROM
V_EXT_BUY
0.02 1 0.02 10.81 1.75 98.78 1.16 btqubgr940awu sqlplus@rwpclass01 BEGIN
(TNS V1-V3) dbms_workload_repository...
0.02 1 0.02 9.74 45.26 83.67 0.04 d8yjqy6gzd1t2 SQL*Plus BEGIN matching.match; END;
0.02 100,005 0.00 9.59 4.92 87.69 0.37 1qwurx1f1nbw2 SQL*Plus INSERT INTO MATCHED (
TRANSACT...
0.01 102,900 0.00 4.65 4.43 72.98 0.20 c3mgtmr561mr8 SQL*Plus INSERT INTO
PREMATCH_SELL ( TR...
0.01 102,900 0.00 4.59 4.49 72.81 0.19 g39a57gmzr635 SQL*Plus INSERT INTO
PREMATCH_BUY ( TRA...
0.00 1 0.00 0.30 0.03 92.95 1.81 4dy540fw5qm7s SELECT COUNT(*) FROM
(SELECT F...
6 of 26 04/01/2025, 15:12
AWR Report for DB: DB01, Inst: db01, Snaps: 1-2 file:///D:/New%20folder/desktop/Workshop%20Real-World%20Perf...
Reads
Physical Elapsed
Executions per %Total %CPU %IO SQL Id SQL Module SQL Text
Reads Time (s)
Exec
2 3 0.67 4.26 0.82 96.42 0.07 06g9mhm5ba7tt oracle@rwpclass01 begin :rept :=
(S000) dbms_report.get...
2 1 2.00 4.26 0.22 100.11 0.25 0ah81fz1z8bwb oracle@rwpclass01 WITH binds as (select
(S005) :dbid as...
0 12 0.00 0.00 0.00 99.86 0.00 04kug40zbu4dm select policy#, action#
from a...
0 989 0.00 0.00 0.04 79.40 0.00 04w1u3abpahah SQL*Plus INSERT INTO
DUPLICATE_BUY ( TR...
0 100,005 0.00 0.00 5.35 73.06 0.00 071upcsdykqq7 SQL*Plus DELETE FROM
PREMATCH_SELL
WHER...
0 1 0.00 0.00 0.88 70.66 0.00 0fc8c1c1jq2mj SQL*Plus SELECT X1.*,
X1.ROWID FROM PRE...
0 9 0.00 0.00 0.00 99.73 0.00 0k8522rmdzg4k select privilege# from
sysauth...
0 47 0.00 0.00 0.00 94.33 0.00 0yn07bvqs30qj select pctfree_stg,
pctused_st...
0 3 0.00 0.00 0.00 100.00 0.00 121ffmrc95v7g select i.obj#, i.ts#,
i.file#,...
0 100,005 0.00 0.00 4.92 87.69 0.37 1qwurx1f1nbw2 SQL*Plus INSERT INTO
MATCHED (
TRANSACT...
Physical UnOptimized
UnOptimized
Read Executions Reqs per %Opt %Total SQL Id SQL Module SQL Text
Read Reqs
Reqs Exec
286 286 100,005 0.00 0.00 608.51 1qwurx1f1nbw2 SQL*Plus INSERT INTO MATCHED (
TRANSACT...
286 286 1 286.00 0.00 608.51 d8yjqy6gzd1t2 SQL*Plus BEGIN matching.match;
END;
176 176 1 176.00 0.00 374.47 bmc6bup669599 SQL*Plus BEGIN
matching.prematch_sell('...
176 176 1 176.00 0.00 374.47 fp5n61tt3k6fr SQL*Plus BEGIN
matching.prematch_buy('e...
156 156 102,900 0.00 0.00 331.91 c3mgtmr561mr8 SQL*Plus INSERT INTO
PREMATCH_SELL ( TR...
156 156 102,900 0.00 0.00 331.91 g39a57gmzr635 SQL*Plus INSERT INTO
PREMATCH_BUY ( TRA...
30 30 1 30.00 0.00 63.83 4dy540fw5qm7s SELECT COUNT(*) FROM
(SELECT F...
20 20 1 20.00 0.00 42.55 2f2a2x8493x3y SQL*Plus SELECT * FROM
V_EXT_BUY
20 20 1 20.00 0.00 42.55 dh2x07v0t6wm3 SQL*Plus SELECT * FROM
V_EXT_SELL
2 2 1 2.00 0.00 4.26 0ah81fz1z8bwb oracle@rwpclass01 WITH binds as (select :dbid
(S005) as...
7 of 26 04/01/2025, 15:12
AWR Report for DB: DB01, Inst: db01, Snaps: 1-2 file:///D:/New%20folder/desktop/Workshop%20Real-World%20Perf...
Parse Calls Executions % Total Parses SQL Id SQL Module SQL Text
1,920 1,920 42.63 2jfqzrxhrm93b select /*+ rule */ c.name, u.n...
300 300 6.66 3y6pgnk2ubw7g insert into wrm$_snapshot_deta...
110 110 2.44 86708bvah4akq select name from undo$ where f...
75 75 1.67 9x3gp77tpv4jc UPDATE wrh$_seg_stat_obj ob S...
75 75 1.67 ctd8uqwtcjwwr insert into wrh$_seg_stat_obj ...
75 75 1.67 dx215h59yj735 UPDATE WRH$_SEG_STAT_OBJ SET s...
75 75 1.67 fk7fhbw2k4xgm SELECT snap_id , TS#, OBJ#, DA...
40 8 0.89 fn0snbuqyccq5 SQL*Plus SELECT NAME, PATH, READ, WRITE...
23 23 0.51 6hnhqahphpk8n select free_mb from v$asm_disk...
23 23 0.51 6xvp6nxs4a9n4 select nvl(sum(space), 0) from...
Sharable Mem (b) Executions % Total SQL Id SQL Module SQL Text
12,089,467 8 0.47 fn0snbuqyccq5 SQL*Plus SELECT NAME, PATH, READ, WRITE...
1,232,411 20 0.05 9tgj4g8y4rwy8 select type#, blocks, extents,...
1,213,960 1 0.05 6hdyv5uj10tv0 oracle@rwpclass01 (S005) WITH binds as (select :dbid as...
8 of 26 04/01/2025, 15:12
AWR Report for DB: DB01, Inst: db01, Snaps: 1-2 file:///D:/New%20folder/desktop/Workshop%20Real-World%20Perf...
9 of 26 04/01/2025, 15:12
AWR Report for DB: DB01, Inst: db01, Snaps: 1-2 file:///D:/New%20folder/desktop/Workshop%20Real-World%20Perf...
10 of 26 04/01/2025, 15:12
AWR Report for DB: DB01, Inst: db01, Snaps: 1-2 file:///D:/New%20folder/desktop/Workshop%20Real-World%20Perf...
asc)) end)) as bucket_xml FROM (component_1_histogram) GROUP BY bucket_number, bucket_type), binds GROUP by
bucket_type) histogram ), component_2_xml as (select xmlelement( "item" , xmlattributes( 'sqlid, wait_class' as "item") ,
xmlelement( "top_mems" , xmlagg( xmlelement( "mem" , xmlattributes( dim1_value as "dim1_value" , dim1_nummem as
"dim1_nummem" , dim1_rank as "dim1_rank" , dim2_value as "dim2_value" , dim12_nummem as "dim2_nummem" ,
dim12_rank as "dim2_rank" , dim12_count as "count" , uniq_sqlids as "uniq_sqlids" , uniq_xids as "uniq_xids" ,
uniq_sessions as "uniq_sessions" , uniq_instances as "uniq_instances" ) , NVL2(sql_text1, xmlelement("info" ,
xmlattributes('dim1_name' as "type") , sql_text1), NULL) , NVL2(NULL, xmlelement("info" , xmlattributes('dim2_name' as
"type") , NULL), NULL) ) order by dim1_rank, dim12_rank ) ) ) as dim_frag from (select dim_data.* , NVL((SELECT
replace(substr(v.sql_text, 1, 100), CHR(0), '') as sql_text FROM gv$sql v WHERE v.sql_id = dim_data.dim1_value AND
v.inst_id = dim_data.inst_id AND rownum < 2 ), ( SELECT replace(dbms_lob.substr(v.sql_text, 100, 1), CHR(0), '') as sql_text
FROM AWR_PDB_sqltext v, binds b WHERE v.dbid = b.dbid AND v.sql_id = dim_data.dim1_value AND rownum < 2)) as
sql_text1 from (select max(case when dim1_rank <= 10 then dim1_val else null end) as dim1_value , max(case when
dim1_rank <= 10 then dim2_val else null end) as dim2_value , sum(dim12_count) as dim12_count , max(case when
dim1_rank <= 10 then uniq_sqlids else 0 end) as uniq_sqlids , max(case when dim1_rank <= 10 then uniq_x ids else 0 end)
as uniq_xids , max(case when dim1_rank <= 10 then uniq_sessions else 0 end) as uniq_sessions , max(case when
dim1_rank <= 10 then uniq_instances else 0 end) as uniq_instances , count(distinct dim1_val) as dim1_nummem ,
sum(dim12_nummem) as dim12_nummem , max(case when dim1_rank <= 10 then dim1_rank else (10 + 1) end) a s
dim1_rank , max(case when dim1_rank <= 10 then dim12_rank else (10 + 1) end) as dim12_rank , max(inst_id) as inst_id
from (select dim1_val , max(case when dim12_rank <= 13 then dim2_val else null end) as dim2_val , dim1_count ,
sum(dim12_count) as dim12_count , max(case when dim12_rank <= 13 then uniq_sqlids else 0 end) as uniq_sqlids ,
max(case when dim12_rank <= 13 then uniq_xids else 0 end) as uniq_xids , max(case when dim12_rank <= 13 then
uniq_sessions else 0 end) as uniq_sessions , max(case when dim12_rank <= 13 then uniq_instances else 0 end) as
uniq_instances , count(*) as dim12_nummem , dense_rank() over (order by dim1_count desc , dim1_val ) as dim1_rank ,
max(case when dim12_rank <= 13 then dim12_rank else (13 + 1) end) as dim12_rank , max(inst_id) as inst_id from (select
sqlid as dim1_val , wait_class as dim2_val , sample_count as dim12_count , dense_rank() over (partition by sqlid order by s
ample_count desc , wait_class ) as dim12_rank , sum(sample_count) over (partition by sqlid ) as dim1_count , uniq_sqlids ,
uniq_xids , uniq_sessions , uniq_instances , inst_id from grouped_ash where gid = 25 and sqlid is not null and wait_class is
not null ) group by dim1_val , dim1_count , (case when dim12_rank <= 13 then dim2_val else null end) ) group by (case
when dim1_rank <= 10 then dim1_val else null end) , (case when dim1_rank <= 10 then dim2_val else null end) ) dim_data )
t ), component_3_xml as (select xmlelement( "item" , xmlattributes( 'physical_session, wait_class' as "item") , xmlelement(
"top_mems" , xmlagg( xmlelement( "mem" , xmlattributes( dim1_value as "dim1_value" , dim1_nummem as "dim1_nummem"
, dim1_rank as "dim1_rank" , dim2_value as "dim2_value" , dim12_nummem as "dim2_nummem" , dim12_rank as
"dim2_rank" , dim12_count as "count" , uniq_sqlids as "uniq_sqlids" , uniq_xids as "uniq_xids" , uniq_sessions as
"uniq_sessions" , uniq_instances as "uniq_instances" ) , NVL2(NULL, xmlelement("info" , xmlattributes('dim1_name' as
"type") , NULL), NULL) , NVL2(NULL, xmlelement("info" , xmlattributes('dim2_name' as "type") , NULL), N ULL) ) order by
dim1_rank, dim12_rank ) ) ) as dim_frag from (select dim_data.* from (select max(case when dim1_rank <= 10 then dim1_val
else null end) as dim1_value , max(case when dim1_rank <= 10 then dim2_val else null end) as dim2_value ,
sum(dim12_count) as dim12_count , max(case when dim1_rank <= 10 then uniq_sqlids else 0 end) as uniq_sqlids ,
max(case when dim1_rank <= 10 then uniq_xids else 0 end) as uniq_xids , max(case when dim1_rank <= 10 then
uniq_sessions else 0 end) as uniq_sessions , max(case when dim1_rank <= 10 then uniq_instances else 0 end) as
uniq_instances , count(distinct dim1_val) as dim1_nummem , sum(dim12_nummem) as dim12_numm em , max(case when
dim1_rank <= 10 then dim1_rank else (10 + 1) end) as dim1_rank , max(case when dim1_rank <= 10 then dim12_rank else
(10 + 1) end) as dim12_rank , max(inst_id) as inst_id from (select dim1_val , max(case when dim12_rank <= 13 then
dim2_val else null end) as dim2_val , dim1_count , sum(dim12_count) as dim12_count , max(case when dim12_rank <= 13
then uniq_sqlids else 0 end) as uniq_sqlids , max(case when dim12_rank <= 13 then uniq_xids else 0 end) as uniq_xids ,
max(case when dim12_rank <= 13 then uniq_sessions else 0 end) as uniq_sessions , max(case when dim12_rank <= 13
then uniq_instances e lse 0 end) as uniq_instances , count(*) as dim12_nummem , dense_rank() over (order by dim1_count
desc , dim1_val ) as dim1_rank , max(case when dim12_rank <= 13 then dim12_rank else (13 + 1) end) as dim12_rank ,
max(inst_id) as inst_id from (select physical_session as dim1_val , wait_class as dim2_val , sample_count as dim12_count ,
dense_rank() over (partition by physical_session order by sample_count desc , wait_class ) as dim12_rank ,
sum(sample_count) over (partition by physical_session ) as dim1_count , uniq_sqlids , uniq_xids , uniq_sessions ,
uniq_instances , inst_id from grouped_ash where gid = 21 and physical_session is not null and wait_class is not null ) group
by dim1_val , dim1_count , (case when dim12_rank <= 13 then dim2_val else null end) ) group by (case when dim1_rank <=
10 then dim1_val else null end) , (case when dim1_rank <= 10 then dim2_val else null end) ) dim_data ) t ),
component_4_xml as (select xmlelement( "item" , xmlattributes( 'wait_class, event' as "item") , xmlelement( "top_mems" ,
xmlagg( xmlelement( "mem" , xmlattributes( dim1_value as "dim1_value" , dim1_nummem as "dim1_nummem" , dim1_rank
as "dim1_rank" , dim2_value as "dim2_value" , dim12_nummem as "dim2_nummem" , dim12_rank as "dim2_rank" ,
dim12_count as "count" , uniq_sqlids as "uniq_sqlids" , uniq_xids as "uniq_xids" , uniq_sessions as "uniq_sessions" ,
uniq_instances as "uniq_instances" ) , NVL2(NULL, xmlelement("info" , xmlattributes('dim1_name' as "type") , NU LL), NULL)
, NVL2(NULL, xmlelement("info" , xmlattributes('dim2_name' as "type") , NULL), NULL) ) order by dim1_rank, dim12_rank ) )
) as dim_frag from (select dim_data.* from (select max(case when dim1_rank <= 13 then dim1_val else null end) as
dim1_value , max(case when dim1_rank <= 13 then dim2_val else null end) as dim2_value , sum(dim12_count) as
dim12_count , max(case when dim1_rank <= 13 then uniq_sqlids else 0 end) as uniq_sqlids , max(case when dim1_rank <=
13 then uniq_xids else 0 end) as uniq_xids , max(case when dim1_rank <= 13 then uniq_sessions else 0 end) as
uniq_sessions , max(case when dim1_rank <= 13 then uniq_instances else 0 end) as uniq_instances , count(distinct
dim1_val) as dim1_nummem , sum(dim12_nummem) as dim12_nummem , max(case when dim1_rank <= 13 then
dim1_rank else (13 + 1) end) as dim1_rank , max(case when dim1_rank <= 13 then dim12_rank else (13 + 1) end) as
dim12_rank , max(inst_id) as inst_id from (select dim1_val , max(case when dim12_rank <= 10 then dim2_val else null end)
as dim2_val , dim1_count , sum(dim12_count) as dim12_count , max(case when dim12_rank <= 10 then uniq_sqlids else 0
end) as uniq_sqlids , max(case when dim12_rank <= 10 then uniq_xids else 0 end) as uniq_xids , max(case when
dim12_rank <= 10 then uniq_sessions el se 0 end) as uniq_sessions , max(case when dim12_rank <= 10 then
uniq_instances else 0 end) as uniq_instances , count(*) as dim12_nummem , dense_rank() over (order by dim1_count desc ,
dim1_val ) as dim1_rank , max(case when dim12_rank <= 10 then dim12_rank else (10 + 1) end) as dim12_rank ,
max(inst_id) as inst_id from (select wait_class as dim1_val , event as dim2_val , sample_count as dim12_count ,
dense_rank() over (partition by wait_class order by sample_count desc , event ) as dim12_rank , sum(sample_count) over
(partition by wait_class ) as dim1_count , uniq_sqlids , uniq_xids , uniq_sessions , uniq_instances , inst_id from grouped_ash
where gid = 13 and wait_class is not null and event is not null ) group by dim1_val , dim1_count , (case when dim12_rank <=
10 then dim2_val else null end) ) grou p by (case when dim1_rank <= 13 then dim1_val else null end) , (case when
dim1_rank <= 13 then dim2_val else null end) ) dim_data ) t )select xmlconcat((select xml_frag from filter_xml),
xmlelement("dim_list", xmlconcat((select dim_frag from component_1_xml), (select dim_frag from component_2_xml), (select
dim_frag from component_3_xml), (select dim_frag from component_4_xml))) ) from dual
0fc8c1c1jq2mj SELECT X1.*, X1.ROWID FROM PREMATCH_BUY X1
0k8522rmdzg4k select privilege# from sysauth$ where (grantee#=:1 or grantee#=1) and privilege#>0
11 of 26 04/01/2025, 15:12
AWR Report for DB: DB01, Inst: db01, Snaps: 1-2 file:///D:/New%20folder/desktop/Workshop%20Real-World%20Perf...
0yn07bvqs30qj select pctfree_stg, pctused_stg, size_stg, initial_stg, next_stg, minext_stg, maxext_stg, maxsiz_stg, lobret_stg, mintim_stg,
pctinc_stg, initra_stg, maxtra_stg, optimal_stg, maxins_stg, frlins_stg, flags_stg, bfp_stg, enc_stg, cmpflag_stg, cmplvl_stg,
imcflag_stg, ccflag_stg, flags2_stg from deferred_stg$ where obj# =:1
121ffmrc95v7g select i.obj#, i.ts#, i.file#, i.block#, i.intcols, i.type#, i.flags, i.property, i.pctfree$, i.initrans, i.maxtrans, i.blevel, i.leafcnt,
i.distkey, i.lblkkey, i.dblkkey, i.clufac, i.cols, i.analyzetime, i.samplesize, i.dataobj#, nvl(i.degree, 1), nvl(i.instances, 1),
i.rowcnt, mod(i.pctthres$, 256), i.indmethod#, i.trunccnt, nvl(c.unicols, 0), nvl(c.deferrable#+c.valid#, 0), nvl(i.spare1,
i.intcols), i.spare4, i.spare2, i.spare6, decode(i.pctthres$, null, null, mod(trunc(i.pctthres$/256), 256)), nvl(i.evaledition#, 1),
nvl(i.unusablebefore#, 0), nvl(i.unusablebeginning#, 0), ist.cachedblk, ist.cachehit, ist.logicalread from ind$ i, ind_stats$ ist,
(select enabled, min(intcols) unicols, min(to_number(bitand(defer, 1))) deferrable#, min(to_number(bitand(defer, 4))) valid#
from cdef$ where obj#=:1 and enabled > 1 group by enabled) c where i.obj#=c.enabled(+) and i.obj# = ist.obj#(+) and
i.bo#=:1 order by i.obj#
1qwurx1f1nbw2 INSERT INTO MATCHED ( TRANSACTION_NUMBER , TRANSACTION_DATE , BUY_ID , SELL_ID , AMOUNT ,
TAX_RATE , TAX_AMOUNT , ITEMS , ORDER_COMMENT_1 , ORDER_COMMENT_2 ) VALUES ( :B10 , :B9 , :B8 , :B7 ,
:B6 , :B5 , :B4 , :B3 , :B2 , :B1 )
1s1p0b1vz9j0z delete from plscope_identifier$ where obj#=:1
2f2a2x8493x3y SELECT * FROM V_EXT_BUY
2jfqzrxhrm93b select /*+ rule */ c.name, u.name from con$ c, cdef$ cd, user$ u where c.con# = cd.con# and cd.enabled = :1 and c.owner# =
u.user#
35ra2cdwvqg1w select parttype, partcnt, partkeycols, flags, defts#, defpctfree, defpctused, definitrans, defmaxtrans, deftiniexts, defextsize,
defminexts, defmaxexts, defextpct, deflists, defgroups, deflogging, spare1, mod(spare2, 256) subparttype,
mod(trunc(spare2/256), 256) subpartkeycols, mod(trunc(spare2/65536), 65536) defsubpartcnt,
mod(trunc(spare2/4294967296), 256) defhscflags, mod(trunc(spare2/1099511627776), 4096) defimcflags,
mod(trunc(spare2/4503599627370496), 8) defimcpl, mod(spare3, 256) interval_dty, rowid, defmaxsize,
mod(trunc(spare3/256), 256) subptn_interval_dty, mod(trunc(spare3/65536), 256) defccflags, mod(trunc(spare3/16777216),
256) defimcflags2, mod(trunc(spare3/4294967296), 256) defhscflags2 from partobj$ where obj# = :1
391quv6vggs8v SELECT X2.*, X2.ROWID FROM PREMATCH_SELL X2 WHERE X2.TRANSACTION_NUMBER = :B2 AND
X2.TRANSACTION_DATE = :B1
3axxxnjp5jjwj delete from ind_stats$ where obj#=:1
3kywng531fcxu delete from tab_stats$ where obj#=:1
3un99a0zwp4vd select owner#, name, namespace, remoteowner, linkname, p_timestamp, p_obj#, nvl(property, 0), subname, type#, flags,
d_attrs from dependency$ d, obj$ o where d_obj#=:1 and p_obj#=obj#(+) order by order#
3y6pgnk2ubw7g insert into wrm$_snapshot_details (snap_id, dbid, instance_number, table_id, begin_time, end_time) values (:snap_id, :dbid,
:instance_number, :bind1, :bind2, :bind3)
44xutmzsrnauf DELETE FROM PREMATCH_BUY WHERE ROWID = :B1
4dy540fw5qm7s SELECT COUNT(*) FROM (SELECT FILETYPE_ID, FILETYPE_NAME FROM V$IOSTAT_FILE NT MINUS SELECT
FILETYPE_ID, FILETYPE_NAME FROM WRH$_IOSTAT_FILETYPE_NAME WHERE dbid = :dbid)
4fj0f58pyhty6 SELECT count(*) FROM NO_COMMON_DATA(SYS."INT$DBA_DIRECTORIES") "D" WHERE "D"."DIRECTORY_NAME"='1'
5dqz0hqtp9fru select /*+ connect_by_filtering index(sysauth$ i_sysauth1) */ privilege#, bitand(nvl(option$, 0), 72), grantee#, level from
sysauth$ connect by grantee#=prior privilege# and privilege#>0 start with grantee#=:1 and privilege#>0
5u7g54s63p4ts select toid from type$ where package_obj#=:1 and typ_name=:2
622ufbrgvxdc7 select decode(u.type#, 2, u.ext_username, u.name), o.name, t.update$, t.insert$, t.delete$, t.enabled,
decode(bitand(t.property, 8192), 8192, 1, 0), decode(bitand(t.property, 65536), 65536, 1, 0), decode(bitand(t.property,
131072), 131072, 1, 0), (select o.name from obj$ o where o.obj# = u.spare2 and o.type# =57), decode(bitand(t.property,
524288), 524288, 1, 0) from sys.obj$ o, sys.user$ u, sys.trigger$ t, sys.obj$ bo where t.baseobject=bo.obj# and bo.name = :1
and bo.spare3 = :2 and bo.namespace = 1 and t.obj#=o.obj# and o.owner#=u.user# and o.type# = 12 and bitand(property,
16)=0 and bitand(property, 8)=0 order by o.obj#
6hdyv5uj10tv0 WITH binds as (select :dbid as dbid , :inst_id_low as instIdLow , :inst_id_high as instIdHigh , :begin_snap as beginSnap ,
:end_snap as endSnap , :begin_time as beginTime , :end_time as endTime , :disk_begin_time as diskBeginTime ,
:disk_end_time as diskEndTime , :mem_begin_time as memBeginTime , :mem_end_time as memEndTime , :bucket_count
as bucketCount , :bucket_interval as bucketInterval , :mem_enable as memEnable , :disk_enable as diskEnable ,
:disk_filter_ratio as filterRatio, :filter_action as filter_action, :filter_blocking_session as filter_blocking_session,
:filter_capture_id as filter_capture_id, :filter_client_id as filter_client_id, :filter_consumer_group_id as
filter_consumer_group_id, :filter_dbop as filter_dbop, :filter_ecid as filter_ecid, :filter_event as filter_event,
:filter_instance_number as filter_instance_number, :filter_is_captured as filter_is_captured, :filter_is_filtered_out as
filter_is_filtered_out, :filter_is_nc_background as filter_is_nc_background, :filter_is_replayed as filter_is_replayed,
:filter_machine as filter_machine, :filter_machine_port as filter_machine_port, :filter_module as filter_module, :filter_object as
filter_object, :filter_pdb as filter_pdb, :filter_physical_session as filter_physical_session, :filter_pl_sql as filter_pl_sql,
:filter_pl_sql_top as filter_pl_sql_top, :filter_program as filter_program, :filter_px_process as filter_px_process,
:filter_service_hash as filter_service_hash, :filter_session_type as filter_session_type, :filter_sql_fms as filter_sql_fms,
:filter_sql_id_top as filter _sql_id_top, :filter_sql_opcode as filter_sql_opcode, :filter_sql_opcode_top as
filter_sql_opcode_top, :filter_sql_rws as filter_sql_rws, :filter_sql_rws_line as filter_sql_rws_line, :filter_sqlid as filter_sqlid,
:filter_sqlid_fullphv as filter_sqlid_fullphv, :filter_sqlid_phv as filter_sqlid_phv, :filter_user_id as filter_user_id, :filter_wait_class
as filter_wait_class, :filter_xid as filter_xid from dual) , unified_ash as (SELECT a.sample_id , a.sample_time , a.session_id ,
a.session_serial# , a.session_type , a.session_state , a.flags , a.user_id , a.sql_id , a.sql_opcode , a.sql_opname ,
a.top_level_sql_id , a.top_level_sql_opcode , a.sql_child_number , a.sql_plan_hash_value , a.sql_full_plan_hash_value ,
a.sql_plan_line_id , a.sql_plan_operation , a.sql_plan_options , a.sql_exec_id , a.force_ matching_signature ,
a.plsql_entry_object_id , a.plsql_entry_subprogram_id , a.plsql_object_id , a.plsql_subprogram_id , a.service_hash ,
a.qc_session_id , a.qc_instance_id , a.qc_session_serial# , nvl(a.event, CASE WHEN bitand(a.time_model, power(2, 19)) >
0 THEN 'CPU: IM Populate' WHEN bitand(a.time_model, power(2, 20)) > 0 THEN 'CPU: IM Prepopulate' WHEN
bitand(a.time_model, power(2, 21)) > 0 THEN 'CPU: IM Repopulate' WHEN bitand(a.time_model, power(2, 22)) > 0 THEN
'CPU: IM Trickle Repop' WHEN bitand(a.time_model, power(2, 18)) > 0 THEN 'CPU: IM Query' ELSE 'CPU + Wait for CPU'
END) as event , nvl(a.event_id, 1) as event_id , nvl(a.wait_class, 'CPU') as wait_class , nvl(a.wait_class_id, 9999) as
wait_class_id , a.seq# , a.p1 , a.p1text , a.p2 , a.p2text , a.p3 , a.p3text , a.wait_time , a.time_waited , rawtohex(a.xid) as xid ,
a.blocking_session , a.blocking_session_serial# , a.blocking_session_status , a.blocking_inst_id , a.current_obj# ,
a.current_file# , a.current_block# , a.top_level_call# , a.top_level_call_name , a.program , a.module , a.action , a.client_id ,
a.remote_instance# , a.ecid , a.consumer_group_id , a.machine , a.port , a.in_connection_mgmt , a.in_parse ,
a.in_hard_parse , a.in_sql_execution , a.in_plsql_execution , a.in_plsql_rpc , a.in_plsql_compilation , a.in_java_execution ,
a.in_bind , a.in_cursor_close , a.in_sequence_load , a.is_captured , a.is_replayed , a.dbreplay_file_id , a.dbop_name ,
a.con_dbid, decode(binds.diskEnable, 0, 1, binds.filterRatio) as sample_count , inst_id as instance_number FROM
12 of 26 04/01/2025, 15:12
AWR Report for DB: DB01, Inst: db01, Snaps: 1-2 file:///D:/New%20folder/desktop/Workshop%20Real-World%20Perf...
13 of 26 04/01/2025, 15:12
AWR Report for DB: DB01, Inst: db01, Snaps: 1-2 file:///D:/New%20folder/desktop/Workshop%20Real-World%20Perf...
xmlattributes(sum(case when mem_rank <= 5 then sample_count else 0 end) as "count") , xmlagg(xmlelement( "mem" ,
xmlattributes(mem_rank as "id" , dim_val as "name" , sample_count as "count" , uniq_sqlids as "uniq_sqlids" , uniq_xids as
"uniq_xids" , uniq_sessions as "uniq_sessions" , uniq_instances as "uniq_instances") , instance_name) order by
sample_count desc)) as topmems_frag , sum(case whe n mem_rank <= 5 then 1 else 0 end) as num_mem ,
sum(sample_count) as cnt_all , max(case when mem_rank <= 5 then 0 else num_mem end) as num_others from
(component_3_treemap) t ) topmems), component_4_treemap as (select dim_val , inst_id , sample_count , num_mem ,
mem_rank , uniq_sqlids , uniq_xids , uniq_sessions , uniq_instances , 0 AS bucket_type --target(not global)/filtered bucket ,
NVL((SELECT name FROM gv$active_services v WHERE v.name_hash = left.dim_val AND v.inst_id = left.inst_id AND
rownum < 2 ), ( SELECT service_name FROM AWR_PDB_service_name v, binds b WHERE v.dbid = b.dbid AND
v.service_name_hash = left.dim_val AND rownum < 2)) as service_name from (select max(case when mem_rank <= 5 then
dim_val else null end) as dim_val , sum(sample_count) as sample_count , count(*) as num_mem , max(case when
mem_rank <= 5 then mem_rank else (5 + 1) end) as m em_rank , max(case when mem_rank <= 5 then uniq_sqlids else 0
end) as uniq_sqlids , max(case when mem_rank <= 5 then uniq_xids else 0 end) as uniq_xids , max(case when mem_rank
<= 5 then uniq_sessions else 0 end) as uniq_sessions , max(case when mem_rank <= 5 then uniq_instances else 0 end) as
uniq_instances , max(inst_id) as inst_id from (select service_hash as dim_val , sample_count , dense_rank() over (order by
sample_count desc , service_hash) as mem_rank , uniq_sqlids , uniq_xids , uniq_sessions , uniq_instances , inst_id from
grouped_ash where gid = 247 and service_hash is not null) group by (case when mem_rank <= 5 then dim_val else null end)
) left ) , component_4_xml as (select xmlelement("item" , xmlattributes('service_hash' as "id" , topmems.cnt_all as "count" ,
topmems.num_mem as "num_mem" , topmems.num_others as "num_others") , topmems.topmems_frag) as dim_frag from
(select xmlelement( "top_mems" , xmlattributes(sum(case when mem_rank <= 5 then sample_count else 0 end) as "count") ,
xmlagg(xmlelement( "mem" , xmlattributes(mem_rank as "id" , dim_val as "name" , sample_count as "count" , uniq_sqlids as
"uniq_sqlids" , uniq_xids as "uniq_xids" , uniq_sessions as "uniq_sessions" , uniq_instances as "uniq_instances") ,
service_name) order by sample_count desc)) as topmems_frag , sum(case when mem_rank <= 5 then 1 else 0 end) as
num_mem , sum(sample_count) as cnt_all , max(case when mem_rank <= 5 then 0 else num_mem end) as num_others
from (component_4_treemap) t ) topmems), component_5_treemap as (select dim_val , inst_id , sample_count , num_mem ,
mem_rank , uniq_sqlids , uniq_xids , uniq_sessions , uniq_instances , 0 AS bucket_type --target(not global)/filtered bucket
from (select max(case when mem_rank <= 5 then dim_val else null end) as dim_val , sum(sample_count) as sample_count ,
count(*) as num_mem , max(case when mem_rank <= 5 then mem_rank else (5 + 1) end) as mem_rank , max(case when
mem_rank <= 5 then uniq_sqlids else 0 end) as uniq_sqlids , max(case when mem_rank <= 5 then uniq_xids else 0 end) as
uniq_xids , max(case when mem_rank <= 5 then uniq_sessions else 0 end) as uniq_sessions , max(case when mem_rank
<= 5 then uniq_instances else 0 end) as uniq_instances , max(inst_id) as inst_id from (select module as dim_val ,
sample_count , dense_rank() over (order by sample_count desc , module) as mem_rank , uniq_sqlids , uniq_xids ,
uniq_sessions , uniq_instances , inst_id from grouped_ash where gid = 239 and module is not null) group by (case when
mem_rank <= 5 then dim_val else null end) ) left ) , component_5_xml as (select xmlelement("item" , xmlattributes('module'
as "id" , topmems.cnt_all as "count" , topmems.num_mem as "num_mem" , topmems.num_others as "num_others") ,
topmems.topm ems_frag) as dim_frag from (select xmlelement( "top_mems" , xmlattributes(sum(case when mem_rank <= 5
then sample_count else 0 end) as "count") , xmlagg(xmlelement( "mem" , xmlattributes(mem_rank as "id" , dim_val as
"name" , sample_count as "count" , uniq_sqlids as "uniq_sqlids" , uniq_xids as "uniq_xi ds" , uniq_sessions as
"uniq_sessions" , uniq_instances as "uniq_instances") ) order by sample_count desc)) as topmems_frag , sum(case when
mem_rank <= 5 then 1 else 0 end) as num_mem , sum(sample_count) as cnt_all , max(case when mem_rank <= 5 then 0
else num_mem end) as num_others from (component_5_treemap) t ) topmems), compo nent_6_treemap as (select dim_val ,
inst_id , sample_count , num_mem , mem_rank , uniq_sqlids , uniq_xids , uniq_sessions , uniq_instances , 0 AS bucket_type
--target(not global)/filtered bucket from (select max(case when mem_rank <= 5 then dim_val else null end) as dim_val ,
sum(sample_count) as sample_count , count(*) as num_mem , max(case when mem_rank <= 5 then mem_rank else (5 + 1)
end) as mem_rank , max(case when mem_rank <= 5 then uniq_sqlids else 0 end) as uniq_sqlids , max(case when
mem_rank <= 5 then uniq_xids else 0 end) as uniq_xids , max(case when mem_rank <= 5 then uniq_sessions else 0 end) as
uniq_sessions , max(case when mem_rank <= 5 then uniq_instances else 0 end) as un iq_instances , max(inst_id) as inst_id
from (select action as dim_val , sample_count , dense_rank() over (order by sample_count desc , action) as mem_rank ,
uniq_sqlids , uniq_xids , uniq_sessions , uniq_instances , inst_id from grouped_ash where gid = 223 and action is not null)
group by (case when mem_rank <= 5 then dim_val else null end) ) left ) , component_6_xml as (select xmlelement("item" ,
xmlattributes('action' as "id" , topmems.cnt_all as "count" , topmems.num_mem as "num_mem" , topmems.num_others as
"num_others") , topmems.topmems_frag) as dim_frag from (select xmlelement( "top_mems" , xmlattributes(sum(case when
mem_rank <= 5 then sample_count else 0 end) as "count") , xmlagg(xmlelement( "me m" , xmlattributes(mem_rank as "id" ,
dim_val as "name" , sample_count as "count" , uniq_sqlids as "uniq_sqlids" , uniq_xids as "uniq_xids" , uniq_sessions as
"uniq_sessions" , uniq_instances as "uniq_instances") ) order by sample_count desc)) as topmems_frag , sum(case when
mem_rank <= 5 then 1 else 0 end) as num_mem , sum(sample_count) as cnt_all , max(case when mem_rank <= 5 then 0
else num_mem end) as num_others from (component_6_treemap) t ) topmems), component_7_treemap as (select dim_val ,
inst_id , sample_count , num_mem , mem_rank , uniq_sqlids , uniq_xids , uniq_sessions , uniq_instances , 0 AS bucket_type
--target(not global)/filtered bucket , user_id, program from (select max(case when mem_rank <= 5 then dim_val else null end)
as dim_val , sum(sample_count) as sample_count , count(*) as num_mem , max(case when mem_rank <= 5 then mem_rank
else (5 + 1) end) as mem_rank , max(case when mem_rank <= 5 then uniq_sqlids else 0 end) as uniq_sqlids , max(case
when mem_rank <= 5 then uniq_xids else 0 end) as uniq_xids , max(case when mem_rank <= 5 then uniq_sessions else 0
end) as uniq_sessions , max(case when mem_rank <= 5 then uniq_instances else 0 end) as uniq_instances , max(inst_id) as
inst_id , max(case when mem_rank <= 5 then user_id else null end) as user_id, max(case when mem_rank <= 5 then
program else null end) as program from (select physical_session as dim_val , sample_count , dense_rank() over (order by
sample_count desc , physical_session) as mem_rank , uniq_sqlids , uniq_xids , uniq_sessions , uniq_instances , inst_id ,
user_id, program from grouped_ash where gid = 191 and physical_session is not null) group by (case when mem_rank <= 5
then dim_val else null end) ) left ) , component_7_xml as (select xmlelement("item" , xmlattributes('physical_session' as "id" ,
topmems.cnt_all as "count" , topmems.num_mem as "num_mem" , topmems.num_others as "num_others") ,
topmems.topmems_frag) as dim_frag from (select xmlelement( "top_mems" , xmlattributes(sum(case when mem_rank <= 5
then sample_count else 0 end) as "count") , xmlagg(xmlelement( "mem" , xmlattributes(mem_rank as "id " , dim_val as
"name" , sample_count as "count" , uniq_sqlids as "uniq_sqlids" , uniq_xids as "uniq_xids" , uniq_sessions as
"uniq_sessions" , uniq_instances as "uniq_instances") , xmlconcat(xmlelement("info", xmlattributes('user_id' as "name"),
user_id), xmlelement("info", xmlattributes('program' as "name"), program)) ) order by sample_count desc)) as topmems_frag ,
sum(case when mem_rank <= 5 then 1 else 0 end) as num_mem , sum(sample_count) as cnt_all , max(case when
mem_rank <= 5 then 0 else num_mem end) as num_others from (component_7_treemap) t ) topmems),
component_8_treemap as (select dim_val , inst_id , sample_count , num_mem , mem_rank , uniq_sqlids , uniq_xids ,
uniq_sessions , uniq_insta nces , 0 AS bucket_type --target(not global)/filtered bucket , NVL((SELECT
replace(substr(v.sql_text, 1, 100), CHR(0), '') as sql_text FROM gv$sql v WHERE v.sql_id = left.dim_val AND v.inst_id =
left.inst_id AND rownum < 2 ), ( SELECT replace(dbms_lob.substr(v.sql_text, 100, 1), CHR(0), '') as sql_text FROM
AWR_PDB_sqltext v, binds b WHERE v.dbid = b.dbid AND v.sql_id = left.dim_val AND rownum < 2)) as sql_text from (select
max(case when mem_rank <= 5 then dim_val else null end) as dim_val , sum(sample_count) as sample_count , count(*) as
num_m em , max(case when mem_rank <= 5 then mem_rank else (5 + 1) end) as mem_rank , max(case when mem_rank
<= 5 then uniq_sqlids else 0 end) as uniq_sqlids , max(case when mem_rank <= 5 then uniq_xids else 0 end) as uniq_xids ,
max(case when mem_rank <= 5 then uniq_sessions else 0 end) as uniq_sessions , max(case when mem_rank <= 5 then u
14 of 26 04/01/2025, 15:12
AWR Report for DB: DB01, Inst: db01, Snaps: 1-2 file:///D:/New%20folder/desktop/Workshop%20Real-World%20Perf...
niq_instances else 0 end) as uniq_instances , max(inst_id) as inst_id from (select sqlid as dim_val , sample_count ,
dense_rank() over (order by sample_count desc , sqlid) as mem_rank , uniq_sqlids , uniq_xids , uniq_sessions ,
uniq_instances , inst_id from grouped_ash where gid = 127 and sqlid is not null) group by (case when mem_rank <= 5 then
dim_val else null end) ) left ) , component_8_xml as (select xmlelement("item" , xmlattributes('sqlid' as "id" , topmems.cnt_all
as "count" , topmems.num_mem as "num_mem" , topmems.num_others as "num_others") , topmems.topmems_frag) as
dim_frag from (select xmlelement( "top_mems" , xmlattributes(sum(case when mem_rank <= 5 then sample_count else 0
end) as "count") , xmlagg(xmlelement( "mem" , xmlattributes(mem_rank as "id" , dim_val as "name" , sample_count as
"count" , uniq_sqlids as "uniq_sqlids" , uniq_xids as "uniq_xids" , uniq_sessions as "uniq_sessions" , uniq_instances as
"uniq_instances") , sql_text) order by s ample_count desc)) as topmems_frag , sum(case when mem_rank <= 5 then 1 else 0
end) as num_mem , sum(sample_count) as cnt_all , max(case when mem_rank <= 5 then 0 else num_mem end) as
num_others from (component_8_treemap) t ) topmems)select xmlconcat((select xml_frag from filter_xml),
xmlelement("dim_list", xmlelement("item", xmlattributes('top_dimensions' as "id"), xmlelement("subdim", xmlconcat((select
dim_frag f rom component_1_xml), (select dim_frag from component_2_xml), (select dim_frag from component_3_xml),
(select dim_frag from component_4_xml), (select dim_frag from component_5_xml), (select dim_frag from
component_6_xml), (select dim_frag from component_7_xml), (select dim_frag from component_8_xml)))), xmltype(' <item
type="separator" />'), xmltype(' <item id="sql_cat"> <subdim> <item id="sqlid" /> <item id="sql_id_top" /> <item id="sql_fms" /
> <item id="sqlid_phv" /> <item id="sqlid_fullphv"/> <item id="sql_rws" /> <item id="sql_rws_line" /> <item id="sql_opcode" />
<item id="sql_opcode_top" /> </subd im> </item>'), xmltype(' <item id="pl_sql_cat"> <subdim> <item id="pl_sql" /> <item
id="pl_sql_top" /> </subdim> </item>'), xmltype(' <item id="resource_consumption_cat"> <subdim> <item id="wait_class" />
<item id="event" /> <item id="object" /> <item id="blocking_session" /> </subdim> </item>'), xmltype(' <item
id="session_identifiers_cat"> <subdim> <item id="instance_number" /> <item id="service_hash" /> <item
id="physical_session" /> <item id="p x_process" /> <item id="user_id" /> <item id="program" /> <item id="session_type" /> </
subdim> </item>'), xmltype(' <item id="session_attributes_cat"> <subdim> <item id="consumer_group_id" /> <item
id="module" /> <item id="action" /> <item id="client_id" /> <item id="machine" /> <item id="machine_port" /> <item id="xid" />
<item id="ecid" /> <item id="dbop" /> </subdim> </item>')) ) from dual
6hnhqahphpk8n select free_mb from v$asm_diskgroup_stat where name=:1
6n2qqv1brfhpp select ind.type#, ind.property, base_obj.obj#, base_owner.name, base_obj.name from sys.ind$ ind, sys.user$ base_owner,
sys.obj$ base_obj where ind.obj# = :oid and ind.dataobj# = :doid and ind.bo# = base_obj.obj# and base_obj.owner# =
base_owner.user#
6upgd72cwmuh3 SELECT /*CROSSCON*/ /* */ /*"AWR_ROOT_SNAPSHOT"*/ * FROM
NO_OBJECT_LINK("SYS"."AWR_ROOT_SNAPSHOT")
6xvp6nxs4a9n4 select nvl(sum(space), 0) from recyclebin$ where ts# = :1
6zg7093sv5z4w select count(FA#) from SYS_FBA_TRACKEDTABLES where OBJ# = :1 and bitand(FLAGS, :2)=0
7z7n648sgr6h4 select rowcnt from sys.cdbvw_stats$ where objname = :1
86708bvah4akq select name from undo$ where file#=:1 and block#=:2 and ts#=:3 and status$ != 1
87gaftwrm2h68 select o.owner#, o.name, o.namespace, o.remoteowner, o.linkname, o.subname from obj$ o where o.obj#=:1
8n1p4kpv1nhs2 INSERT INTO DUPLICATE_SELL ( TRANSACTION_NUMBER , TRANSACTION_DATE , BUY_ID , SELL_ID , AMOUNT ,
TAX_RATE , TAX_AMOUNT , ITEMS , ORDER_COMMENT ) VALUES ( :B9 , :B8 , :B7 , :B6 , :B5 , :B4 , :B3 , :B2 , :B1 )
8swypbbr0m372 select order#, columns, types from access$ where d_obj#=:1
8x34r9f2p7wxw SELECT COUNT(*) FROM MATCHED M WHERE M.TRANSACTION_NUMBER = :B2 AND M.TRANSACTION_DATE = :B1
9tgj4g8y4rwy8 select type#, blocks, extents, minexts, maxexts, extsize, extpct, user#, iniexts, NVL(lists, 65535), NVL(groups, 65535),
cachehint, hwmincr, NVL(spare1, 0), NVL(scanhint, 0), NVL(bitmapranges, 0) from seg$ where ts#=:1 and file#=:2 and
block#=:3
9x3gp77tpv4jc UPDATE wrh$_seg_stat_obj ob SET (snap_id, owner, object_name, subobject_name, tablespace_name, object_type,
partition_type, index_type, base_obj#, base_object_name, base_object_owner) = (SELECT snap_id + 1,
nvl(ownername_kewrseg, owner), nvl(objname_kewrseg, object_name), nvl(subobjname_kewrseg, subobject_name),
nvl(tsname_kewrseg, tablespace_name), decode(objtype_kewrseg, 0, object_type,
sys.dbms_swrf_internal.awr_decode_object_type(objtype_kewrseg, 18)), decode(ptype_kewrseg, 0, partition_type,
decode(ptype_kewrseg, 0, 'NONE', 1, 'RANGE', 2, 'HASH', 3, 'SYSTEM', 4, 'LIST', NULL, 'NONE', 'UNKNOWN')),
decode(indtype_kewrseg, 0, index_type, decode(indtype_kewrseg, 1, 'NORMAL'|| decode(bita nd(iprop_kewrseg, 4), 0, '', 4,
'/REV'), 2, 'BITMAP', 3, 'CLUSTER', 4, 'IOT - TOP', 5, 'IOT - NESTED', 6, 'SECONDARY', 7, 'ANSI', 8, 'LOB', 9, 'DOMAIN')),
coalesce(nullif(bobjn_kewrseg, 0), so.base_obj#), case bobjname_kewrseg when NULL then so.base_object_name else
case length(bobjname_kewrseg) when 0 then so.base_object_name else bobjname_kewrseg end end, case
bowname_kewrseg when NULL then so.base_object_owner else case length(bowname_kewrseg) when 0 then
so.base_object_owner else bowname_kewrseg end end FROM wrh$_seg_stat_obj so JOIN (select * from x$kewrtsegstat
where con_id = :con_id_01 or ( (:con_id_02 = 1 and con_id = 0) or (:con_id_03 = 0 and con_id = 1)) ) io ON (dbid = :dbid and
con_dbid = con_dbid_kewrseg and ts# = tsn_kewrseg and obj# = objn_kewrseg and dataobj# = objd_kewrseg) WHERE
ob.dbid = so.dbid AND ob.con_dbid = so.con_dbid AND ob.ts# = so.ts# AND ob.obj# = so.obj# AND ob.dataobj# =
so.dataobj#) WHERE dbid = :dbid AND object_name NOT LIKE '%MISSING%' AND object_name NOT LIKE
'%TRANSIENT%' AND (ts#, obj#, dataobj#, con_dbid) in (SELECT tsn_kewrseg, objn_kewrseg, objd_kewrseg,
con_dbid_kewrseg FROM (select * from x$kewrtsegstat where con_id = :con_id_04 or ( (:con_id_05 = 1 and con_id = 0) or
(:con_id_06 = 0 and con_id = 1)) ) )
acmvv4fhdc9zh select obj#, type#, ctime, mtime, stime, status, dataobj#, flags, oid$, spare1, spare2, spare3, signature, spare7, spare8,
spare9, nvl(dflcollid, 16382), creappid, creverid, modappid, modverid, crepatchid, modpatchid from obj$ where owner#=:1
and name=:2 and namespace=:3 and remoteowner is null and linkname is null and subname is null
adds4wma0y8c4 select t.obj#, t.dataobj#, t.part#, t.hiboundlen, t.hiboundval, t.ts#, t.file#, t.block#, t.pctfree$, t.pctused$, t.initrans, t.maxtrans,
t.flags, t.analyzetime, t.samplesize, t.rowcnt, t.blkcnt, t.empcnt, t.avgspc, t.chncnt, t.avgrln, length(t.bhiboundval),
t.bhiboundval, ts.im_imcu_count, ts.im_block_count, ts.im_sys_incarnation, ts.im_stat_update_time from tabpart$ t,
tab_stats$ ts where t.bo# = :1 and t.obj# = ts.obj#(+) order by t.part#
asvzxj61dc5vs select timestamp, flags from fixed_obj$ where obj#=:1
bmc6bup669599 BEGIN matching.prematch_sell('et_sell1'); END;
btqubgr940awu BEGIN dbms_workload_repository.create_snapshot(); END;
c3mgtmr561mr8 INSERT INTO PREMATCH_SELL ( TRANSACTION_NUMBER , TRANSACTION_DATE , BUY_ID , SELL_ID , AMOUNT ,
TAX_RATE , TAX_AMOUNT , ITEMS , ORDER_COMMENT ) VALUES ( :B9 , :B8 , :B7 , :B6 , :B5 , :B4 , :B3 , :B2 , :B1 )
csnp95dz2r8ss select file#, block# from recyclebin$ where ts# = :1 and file# != 0 and block# != 0 and space = 0
15 of 26 04/01/2025, 15:12
AWR Report for DB: DB01, Inst: db01, Snaps: 1-2 file:///D:/New%20folder/desktop/Workshop%20Real-World%20Perf...
Back to Top
16 of 26 04/01/2025, 15:12
AWR Report for DB: DB01, Inst: db01, Snaps: 1-2 file:///D:/New%20folder/desktop/Workshop%20Real-World%20Perf...
17 of 26 04/01/2025, 15:12
AWR Report for DB: DB01, Inst: db01, Snaps: 1-2 file:///D:/New%20folder/desktop/Workshop%20Real-World%20Perf...
18 of 26 04/01/2025, 15:12
AWR Report for DB: DB01, Inst: db01, Snaps: 1-2 file:///D:/New%20folder/desktop/Workshop%20Real-World%20Perf...
19 of 26 04/01/2025, 15:12
AWR Report for DB: DB01, Inst: db01, Snaps: 1-2 file:///D:/New%20folder/desktop/Workshop%20Real-World%20Perf...
20 of 26 04/01/2025, 15:12
AWR Report for DB: DB01, Inst: db01, Snaps: 1-2 file:///D:/New%20folder/desktop/Workshop%20Real-World%20Perf...
IO Stats
• IOStat by Filetype summary
• Tablespace IO Stats
• File IO Stats
Back to Top
Filetype Name Reads: Data Reqs per sec Data per sec Writes: Data Reqs per sec Data per sec Small Read Large Read
Data File 0M 0.51 0M 2M 0.98 .018M .00ns
TOTAL: 0M 0.51 0M 2M 0.98 .018M .00ns
Back to IO Stats
Back to Top
Tablespace IO Stats
No data exists for this section of the report.
Back to IO Stats
Back to Top
File IO Stats
No data exists for this section of the report.
Back to IO Stats
Back to Top
21 of 26 04/01/2025, 15:12
AWR Report for DB: DB01, Inst: db01, Snaps: 1-2 file:///D:/New%20folder/desktop/Workshop%20Real-World%20Perf...
Back to Top
Undo Statistics
• Undo Segment Summary
• Undo Segment Stats
Back to Top
Back to Top
init.ora Parameters
• init.ora Parameters
• init.ora Multi-Valued Parameters
Back to Top
init.ora Parameters
22 of 26 04/01/2025, 15:12
AWR Report for DB: DB01, Inst: db01, Snaps: 1-2 file:///D:/New%20folder/desktop/Workshop%20Real-World%20Perf...
23 of 26 04/01/2025, 15:12
AWR Report for DB: DB01, Inst: db01, Snaps: 1-2 file:///D:/New%20folder/desktop/Workshop%20Real-World%20Perf...
spatial_vector_acceleration TRUE
sql92_security TRUE
undo_retention 900
undo_tablespace UNDOTBS1
use_large_pages only
Back to Top
% % Row Top %
SQL ID Plan Hash Executions Row Source SQL Text
Activity Source Event Event
24 of 26 04/01/2025, 15:12
AWR Report for DB: DB01, Inst: db01, Snaps: 1-2 file:///D:/New%20folder/desktop/Workshop%20Real-World%20Perf...
d8yjqy6gzd1t2 1 44.44 ** Row Source 44.44 CPU + 33.33 BEGIN matching.match; END;
Not Available ** Wait for
CPU
8x34r9f2p7wxw 1918035219 1 11.11 SELECT 11.11 CPU + 11.11 SELECT COUNT(*) FROM
STATEMENT Wait for MATCHED M...
CPU
bmc6bup669599 1 11.11 ** Row Source 11.11 CPU + 11.11 BEGIN
Not Available ** Wait for matching.prematch_sell('...
CPU
c3mgtmr561mr8 433929440 1 11.11 ** Row Source 11.11 CPU + 11.11 INSERT INTO
Not Available ** Wait for PREMATCH_SELL ( TR...
CPU
fp5n61tt3k6fr 1 11.11 ** Row Source 11.11 log file 11.11 BEGIN
Not Available ** sync matching.prematch_buy('e...
Top Sessions
• '# Samples Active' shows the number of ASH samples in which the session was found waiting for that particular event. The percentage
shown in this column is calculated with respect to wall clock time and not total database activity.
• 'XIDs' shows the number of distinct transaction IDs sampled in ASH when the session was waiting for that particular event
Sid, Serial# % Activity Event % Event User Program # Samples Active XIDs
2144,31135 44.44 CPU + Wait for CPU 33.33 TEAM [email protected] (TNS V1-V3) 3/11 [ 27%] 3
log file sync 11.11 1/11 [ 9%] 1
1896,36198 33.33 CPU + Wait for CPU 33.33 TEAM [email protected] (TNS V1-V3) 3/11 [ 27%] 2
1025,43689 22.22 CPU + Wait for CPU 11.11 TEAM [email protected] (TNS V1-V3) 1/11 [ 9%] 0
log file sync 11.11 1/11 [ 9%] 1
Top Events
• Top Events by DB Time
25 of 26 04/01/2025, 15:12
AWR Report for DB: DB01, Inst: db01, Snaps: 1-2 file:///D:/New%20folder/desktop/Workshop%20Real-World%20Perf...
Top DB Objects
No data exists for this section of the report.
Back to Active Session History (ASH) Report
Back to Top
Back to Top
End of Report
26 of 26 04/01/2025, 15:12