0% found this document useful (0 votes)
45 views26 pages

RWP 02 - 02c - Team - AWR - Oci

Uploaded by

KaNika TH11
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views26 pages

RWP 02 - 02c - Team - AWR - Oci

Uploaded by

KaNika TH11
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 26

AWR Report for DB: DB01, Inst: db01, Snaps: 1-2 file:///D:/New%20folder/desktop/Workshop%20Real-World%20Perf...

WORKLOAD REPOSITORY PDB report (PDB


snapshots)
DB Name DB Id Unique Name Role Edition Release RAC CDB
DB01 83724387 db01_phx1zr PRIMARY XP 12.2.0.1.0 NO YES

Instance Inst Num Startup Time


db01 1 13-Dec-19 17:12

Container DB Id Container Name Open Time


83724387 NYC2TEAM01 13-May-20 18:05

Host Name Platform CPUs Cores Sockets Memory (GB)


rwpclass01 Linux x86 64-bit 72 36 2 503.53

Snap Id Snap Time Sessions Cursors/Session


Begin Snap: 1 15-May-20 17:45:14 0 5.0
End Snap: 2 15-May-20 17:47:07 0 10.0
Elapsed: 1.89 (mins)
DB Time: 1.76 (mins)

Report Summary
Load Profile

Per Second Per Transaction Per Exec Per Call


DB Time(s): 0.9 0.0 0.00 0.37
DB CPU(s): 0.7 0.0 0.00 0.29
Background CPU(s): 0.0 0.0 0.00 0.00
Redo size (bytes): 4,828,031.9 1,787.5
Logical read (blocks): 35,044.8 13.0
Block changes: 27,067.1 10.0
Physical read (blocks): 0.4 0.0
Physical write (blocks): 1.3 0.0
Read IO requests: 0.4 0.0
Write IO requests: 0.5 0.0
Read IO (MB): 0.0 0.0
Write IO (MB): 0.0 0.0
IM scan rows: 0.0 0.0
Session Logical Read IM: 0.0 0.0
User calls: 2.5 0.0
Parses (SQL): 39.8 0.0
Hard parses (SQL): 2.7 0.0
SQL Work Area (MB): 6.9 0.0
Logons: 0.3 0.0
Executes (SQL): 7,284.8 2.7
Rollbacks: 0.0 0.0
Transactions: 2,701.0

Top 10 Foreground Events by Total Wait Time

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...

cursor: pin S wait on X 20 .1 6.40ms .1 Concurrency


external table read 40 .1 3.05ms .1 User I/O
DLM cross inst call completion 23 .1 2.26ms .0 Other
PGA memory operation 4,064 0 9.94us .0 Other
acknowledge over PGA limit 4 0 9.55ms .0 Scheduler
local write wait 12 0 2.01ms .0 User I/O

Wait Classes by Total Wait Time

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

Read+Write Per Second Read per Second Write Per Second


Total Requests: 11.2 7.2 4.0
Database Requests: 0.9 0.4 0.5
Optimized Requests: 0.0 0.0 0.0
Redo Requests:
Total (MB): 2.0 0.3 1.7
Database (MB): 0.0 0.0 0.0
Optimized Total (MB): 0.0 0.0 0.0
Redo (MB):
Database (blocks): 1.8 0.4 1.3
Via Buffer Cache (blocks): 0.4 0.4 0.0
Direct (blocks): 1.4 0.0 1.3

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

Wait Events Statistics


• Time Model Statistics
• Foreground Wait Class
• Foreground Wait Events
• Service Statistics
• Service Wait Class Stats

Back to Top

Time Model Statistics


• DB Time represents total time in user calls
• DB CPU represents CPU time of foreground processes
• Total CPU Time represents foreground and background processes
• Statistics including the word "background" measure background process time, therefore do not contribute to the DB time statistic

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...

• Ordered by % of DB time in descending order, followed by Statistic Name

Statistic Name Time (s) % of DB Time % of Total CPU Time


sql execute elapsed time 103.38 97.80
DB CPU 82.01 77.59 100.00
PL/SQL execution elapsed time 4.49 4.25
parse time elapsed 0.95 0.90
hard parse elapsed time 0.73 0.69
hard parse (sharing criteria) elapsed time 0.65 0.62
connection management call elapsed time 0.03 0.03
PL/SQL compilation elapsed time 0.02 0.02
repeated bind elapsed time 0.00 0.00
DB time 105.70
total CPU time 82.01

Back to Wait Events Statistics


Back to Top

Foreground Wait Class


• s - second, ms - millisecond, us - microsecond, ns - nanosecond
• ordered by wait time desc, waits desc
• %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0
• Captured Time accounts for 101.0% of Total DB time 105.70 (s)
• Total FG Wait Time: 24.78 (s) DB CPU time: 82.01 (s)

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

Back to Wait Events Statistics


Back to Top

Foreground Wait Events


• s - second, ms - millisecond, us - microsecond, ns - nanosecond
• Only events with Total Wait Time (s) >= .001 are shown
• ordered by wait time desc, waits desc (idle events last)
• %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0

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...

Disk file Mirror Read 43 0 121.07us 0.00 0.00


cursor: mutex S 5 0 848.20us 0.00 0.00
db file single write 46 0 88.67us 0.00 0.00
datafile move cleanup during resize 23 0 171.39us 0.00 0.00
reliable message 110 0 29.48us 0.00 0.00
CSS operation: query 24 0 98.08us 0.00 0.00
log file switch (private strand flush incomplete) 1 0 2.33ms 0.00 0.00
control file parallel write 69 0 33.59us 0.00 0.00
PX Deq: Slave Session Stats 64 0 31.09us 0.00 0.00
kfk: async disk IO 23 0 82.57us 0.00 0.00
enq: PS - contention 9 0 124.00us 0.00 0.00
PX Deq: Signal ACK EXT 32 0 31.69us 0.00 0.00
SQL*Net message from client 89 106 1195.33ms 0.00
PX Deq: Execution Msg 141 1 4.69ms 0.00
PX Deq: Execute Reply 158 0 1.20ms 0.00
virtual circuit next request 2 0 83.42ms 0.00
PX Deq: Parse Reply 32 0 2.25ms 0.00
PX Deq: Table Q Normal 16 0 3.12ms 0.00

Back to Wait Events Statistics


Back to Top

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

Back to Wait Events Statistics


Back to Top

Service Wait Class Stats


• Wait Class info for services in the Service Statistics section.
• Total Waits and Time Waited displayed for the following wait classes: User I/O, Concurrency, Administrative, Network
• Time Waited (Wt Time) in seconds

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

Back to Wait Events Statistics


Back to Top

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

SQL ordered by Elapsed Time


• Resources reported for PL/SQL code includes the resources used by all SQL statements called by the code.
• % Total DB Time is the Elapsed Time of the SQL statement divided into the Total Database Time multiplied by 100
• %Total - Elapsed Time as a percentage of Total DB time

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...

• %CPU - CPU Time as a percentage of Elapsed Time


• %IO - User I/O Time as a percentage of Elapsed Time
• Captured SQL account for 32.9% of Total DB Time (s): 106
• Captured PL/SQL account for 94.5% of Total DB Time (s): 106

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...

Back to SQL Statistics


Back to Top

SQL ordered by CPU Time


• Resources reported for PL/SQL code includes the resources used by all SQL statements called by the code.
• %Total - CPU Time as a percentage of Total DB CPU
• %CPU - CPU Time as a percentage of Elapsed Time
• %IO - User I/O Time as a percentage of Elapsed Time
• Captured SQL account for 32.9% of Total CPU Time (s): 82
• Captured PL/SQL account for 94.3% of Total CPU Time (s): 82

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...

Back to SQL Statistics

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

SQL ordered by User I/O Wait Time


• Resources reported for PL/SQL code includes the resources used by all SQL statements called by the code.
• %Total - User I/O Time as a percentage of Total User I/O Wait time
• %CPU - CPU Time as a percentage of Elapsed Time
• %IO - User I/O Time as a percentage of Elapsed Time
• Captured SQL account for 84.8% of Total User I/O Wait Time (s): 0
• Captured PL/SQL account for 95.3% of Total User I/O Wait Time (s): 0

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...

Back to SQL Statistics


Back to Top

SQL ordered by Gets


• Resources reported for PL/SQL code includes the resources used by all SQL statements called by the code.
• %Total - Buffer Gets as a percentage of Total Buffer Gets
• %CPU - CPU Time as a percentage of Elapsed Time
• %IO - User I/O Time as a percentage of Elapsed Time
• Total Buffer Gets: 3,967,739
• Captured SQL account for 90.7% of Total

Buffer Gets per Elapsed SQL


Executions %Total %CPU %IO SQL Id SQL Text
Gets Exec Time (s) Module
2,381,853 1 2,381,853.00 60.03 45.26 83.7 0 d8yjqy6gzd1t2 SQL*Plus BEGIN matching.match; END;
767,666 1 767,666.00 19.35 26.47 70.5 .2 fp5n61tt3k6fr SQL*Plus BEGIN
matching.prematch_buy('e...
752,839 1 752,839.00 18.97 25.57 71.6 .3 bmc6bup669599 SQL*Plus BEGIN
matching.prematch_sell('...
646,071 102,900 6.28 16.28 4.49 72.8 .2 g39a57gmzr635 SQL*Plus INSERT INTO PREMATCH_BUY
( TRA...
639,705 102,900 6.22 16.12 4.43 73 .2 c3mgtmr561mr8 SQL*Plus INSERT INTO
PREMATCH_SELL ( TR...
610,673 100,005 6.11 15.39 4.92 87.7 .4 1qwurx1f1nbw2 SQL*Plus INSERT INTO MATCHED (
TRANSACT...
561,862 100,005 5.62 14.16 5.35 73.1 0 071upcsdykqq7 SQL*Plus DELETE FROM
PREMATCH_SELL WHER...
556,732 100,005 5.57 14.03 5.83 83.4 0 44xutmzsrnauf SQL*Plus DELETE FROM
PREMATCH_BUY WHERE...
406,367 101,911 3.99 10.24 1.88 95.6 0 391quv6vggs8v SQL*Plus SELECT X2.*, X2.ROWID FROM
PRE...
137,346 1 137,346.00 3.46 0.88 70.7 0 0fc8c1c1jq2mj SQL*Plus SELECT X1.*, X1.ROWID FROM
PRE...

Back to SQL Statistics


Back to Top

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...

SQL ordered by Reads


• %Total - Physical Reads as a percentage of Total Disk Reads
• %CPU - CPU Time as a percentage of Elapsed Time
• %IO - User I/O Time as a percentage of Elapsed Time
• Total Disk Reads: 47
• Captured SQL account for 4.3% of Total

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...

Back to SQL Statistics


Back to Top

SQL ordered by Physical Reads (UnOptimized)


• UnOptimized Read Reqs = Physical Read Reqs - (Optimized Read Reqs - Cell Flash Cache Read Hits for Controlfile)
• %Opt - Optimized Reads as percentage of SQL Read Requests
• %Total - UnOptimized Read Reqs as a percentage of Total UnOptimized Read Reqs
• Total Physical Read Requests: 47
• Captured SQL account for 1.4E+03% of Total
• Total UnOptimized Read Requests: 47
• Captured SQL account for 1.4E+03% of Total
• Total Optimized Read Requests: 1
• Captured SQL account for 0.0% of Total

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...

Back to SQL Statistics


Back to Top

SQL ordered by Executions


• %CPU - CPU Time as a percentage of Elapsed Time
• %IO - User I/O Time as a percentage of Elapsed Time
• Total Executions: 824,780
• Captured SQL account for 99.3% of Total

Rows Rows per Elapsed SQL


Executions %CPU %IO SQL Id SQL Text
Processed Exec Time (s) Module
205,800 205,800 1.00 2.52 79.2 0 8x34r9f2p7wxw SQL*Plus SELECT COUNT(*) FROM
MATCHED M...
102,900 101,969 0.99 4.43 73 .2 c3mgtmr561mr8 SQL*Plus INSERT INTO PREMATCH_SELL
( TR...
102,900 101,911 0.99 4.49 72.8 .2 g39a57gmzr635 SQL*Plus INSERT INTO PREMATCH_BUY (
TRA...
101,911 100,005 0.98 1.88 95.6 0 391quv6vggs8v SQL*Plus SELECT X2.*, X2.ROWID FROM
PRE...
100,005 100,005 1.00 5.35 73.1 0 071upcsdykqq7 SQL*Plus DELETE FROM
PREMATCH_SELL WHER...
100,005 100,005 1.00 4.92 87.7 .4 1qwurx1f1nbw2 SQL*Plus INSERT INTO MATCHED (
TRANSACT...
100,005 100,005 1.00 5.83 83.4 0 44xutmzsrnauf SQL*Plus DELETE FROM
PREMATCH_BUY WHERE...
1,920 1,920 1.00 0.07 82.5 0 2jfqzrxhrm93b select /*+ rule */ c.name, u.n...
989 989 1.00 0.04 79.4 0 04w1u3abpahah SQL*Plus INSERT INTO DUPLICATE_BUY (
TR...
931 931 1.00 0.04 73.7 0 8n1p4kpv1nhs2 SQL*Plus INSERT INTO DUPLICATE_SELL
( T...

Back to SQL Statistics


Back to Top

SQL ordered by Parse Calls


• Total Parse Calls: 4,504
• Captured SQL account for 65.8% of Total

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...

Back to SQL Statistics


Back to Top

SQL ordered by Sharable Memory


• Only Statements with Sharable Memory greater than 1048576 are displayed

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...

Back to SQL Statistics


Back to Top

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...

SQL ordered by Version Count


• Only Statements with Version Count greater than 20 are displayed

Version Count Executions SQL Id SQL Module SQL Text


571 20 9tgj4g8y4rwy8 select type#, blocks, extents,...
501 8 fn0snbuqyccq5 SQL*Plus SELECT NAME, PATH, READ, WRITE...
266 5 3un99a0zwp4vd select owner#, name, namespace...
263 5 8swypbbr0m372 select order#, columns, types ...
262 2 asvzxj61dc5vs select timestamp, flags from f...
260 3 121ffmrc95v7g select i.obj#, i.ts#, i.file#,...
254 12 04kug40zbu4dm select policy#, action# from a...
254 290 87gaftwrm2h68 select o.owner#, o.name, o.nam...
229 4 35ra2cdwvqg1w select parttype, partcnt, part...
214 20 acmvv4fhdc9zh select obj#, type#, ctime, mti...
202 1 5u7g54s63p4ts select toid from type$ where p...
183 6 3axxxnjp5jjwj delete from ind_stats$ where o...
178 2 adds4wma0y8c4 select t.obj#, t.dataobj#, t.p...
174 8 gsfnqdfcvy33q delete from superobj$ where su...
151 7 3kywng531fcxu delete from tab_stats$ where o...
135 7 622ufbrgvxdc7 select decode(u.type#, 2, u.ex...
128 23 6hnhqahphpk8n select free_mb from v$asm_disk...
120 9 0k8522rmdzg4k select privilege# from sysauth...
119 5 ct6c4h224pxgz oraagent.bin@rwpclass01 (TNS V1-V3) BEGIN BEGIN IF (sys.is_vpd_ena...
118 9 5dqz0hqtp9fru select /*+ connect_by_filterin...
110 47 0yn07bvqs30qj select pctfree_stg, pctused_st...
104 16 7z7n648sgr6h4 select rowcnt from sys.cdbvw_s...
101 23 6xvp6nxs4a9n4 select nvl(sum(space), 0) from...
101 23 csnp95dz2r8ss select file#, block# from recy...
90 2 1s1p0b1vz9j0z delete from plscope_identifier...
89 10 6zg7093sv5z4w select count(FA#) from SYS_FBA...
64 11 6n2qqv1brfhpp select ind.type#, ind.property...
47 110 86708bvah4akq select name from undo$ where f...
46 16 4fj0f58pyhty6 SQL*Plus SELECT count(*) FROM NO_COMMON...
42 0 6upgd72cwmuh3 SELECT /*CROSSCON*/ /* */ /*"A...
31 18 cyct9h680363t SELECT C.NAME FROM SYS.COL$ C ...
30 8 gyc8wh4ch2gsm DBMS_SCHEDULER SELECT /*+ NO_STATEMENT_QUEUIN...

Back to SQL Statistics


Back to Top

Complete List of SQL Text


SQL Id SQL Text
04kug40zbu4dm select policy#, action# from aud_object_opt$ where object# = :1 and type = 2
04w1u3abpahah INSERT INTO DUPLICATE_BUY ( 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 )
06g9mhm5ba7tt begin :rept := dbms_report.get_report(:report_ref, :content, :comp); end;
071upcsdykqq7 DELETE FROM PREMATCH_SELL WHERE ROWID = :B1
0ah81fz1z8bwb 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 ,

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...

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
gv$active_session_history a, binds WHERE binds.memEnable = 1 AND ( binds.diskEnable = 0 OR ( binds.diskEnable = 1
AND a.is_awr_sample = 'Y' AND bitand(a.flags, 128) = 0 ) ) AND a.inst_id between binds.instIdLow and binds.instIdHigh
AND a.sample_time between binds.beginTime and binds.endTime UNION ALL 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, binds.filterRatio as sample_count ,
instance_number as instance_number FROM AWR_PDB_active_sess_history a, binds WHERE binds.diskEnable = 1 AND
a.dbid = binds.dbid AND a.instance_number between binds.instIdL ow and binds.instIdHigh AND a.snap_id between
binds.beginSnap and binds.endSnap + 1 AND a.sample_time between binds.beginTime and binds.endTime ), logical_ash as
(select sample_id , sample_time , sample_count , instance_number as inst_id, wait_class as global_hist_wc, event as event,
instance_number || ':' || session_id || ', ' || session_serial# as physical_session, sql_id as sqlid, wait_class as wait_class, xid
as xid, instance_number as instance_number, user_id as user_id, program as program from unified_ash) , bucketized_ash
as (SELECT ash0.*, (case when binds.bucketCount > 1 then trunc( ( (24 * 60 * 60 * extract(day from sample_time -
binds.beginTime)) + (60 * 60 * extract(hour from sample_time - binds.beginTime)) + (60 * extract(minute from sample_time -
binds.beginTime)) + (1 * extract(second from sample_time - binds.beginTime)) ) / binds.bucketInterval ) + 1 else 1 end) as
bucket_number FROM logical_ash ash0, binds), filter_xml as (SELECT xmlconcat(xmlelement("filters" ) ,
xmlelement("report_ti me", xmlattributes( to_char(o.begintime, 'HH24:MI:SS MM/DD/YYYY') as "begin_time",
to_char(o.endtime, 'HH24:MI:SS MM/DD/YYYY') as "end_time"))) as xml_frag FROM (select binds.*,
nvl(to_number(filter_pdb), 0) as con_dbid from binds) o) , filtered_ash as (SELECT ash.*, (case when 1=1 then 1 else 0 end)
filtered FROM bucketized_ash ash, binds), grouped_ash as (SELECT ash.*, (CASE WHEN nvl(filtered, 2) = 1 THEN 0 --
target / no histogram ELSE 1 -- totals/global END) AS bucket_type FROM (SELECT filtered, event, physical_session, sqlid,
wait_class, bucket_number , grouping_id(filtered, event, physical_session, sqlid, wait_class, bucket_number) as gid ,
global_hist_wc , max(inst_id) as inst_id , sum(sample_count) as sample_count , count(distinct sqlid) as uniq_sqlids ,
count(distinct xid) as uniq_xids , count(distinct physical_session) as uniq_sessions , count(distinct instance_number) as
uniq_instances, max(user_id) as user_id, max(program) as program from filtered_ash group by grouping sets(
(bucket_number, global_hist_wc) , ( bucket_number, wait_class, filtered), (wait_class, filtered), (sqlid, wait_class, filtered),
(physical_session, wait_class, filtered), (wait_class, event, filtered)) ) ash -- eliminate rows with filtered = 0 -- keep filtered and
from global/total WHERE (nvl(filtered, 2) != 0)), component_1_treemap as (se lect 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 <= 13 then dim_val else null end) as dim_val , sum(sample_count) as
sample_count , count(*) as num_mem , max(case when mem_rank <= 13 then mem_rank else (13 + 1) end) as mem_rank ,
max(case when mem_rank <= 13 then uniq_sqlids else 0 end) as uniq_sqlids , max(case when mem_rank <= 13 then
uniq_xids else 0 end) as uniq_xids , max(case when mem_rank <= 13 then uniq_sessions else 0 end) as uniq_sessions ,
max(case when mem_rank <= 13 then uniq_instances else 0 end) as uniq_instances , max(inst_id) as inst_id from (select
wait_class as dim_val , sample_count , dense_rank() over (order by sample_count desc , wait_class) as mem_rank ,
uniq_sqlids , uniq_xids , uniq_sessions , uniq_instances , inst_id from grouped_ash where gid = 29 and wait_class is not null)
group by (case when mem_rank <= 13 then dim_val else null end) ) left ) , component_1_histogram as (select
bucket_number , sum(sample_count) as sample_count , max(case when mem_rank <= 13 then mem_rank when mem_rank
is not null then (13 + 1) end) as mem_rank , bucket_type from (select g1.bucket_number , g1.sample_count as sample_count
, (case when g1.wait_class = g2.dim_val then to_char(g2.dim_val) -- global/totals when g1.bucke t_type = 1 then
g1.global_hist_wc else null end) as dim_val , (case when g1.wait_class = g2.dim_val then g2.mem_rank when
g1.bucket_type = 1 then NULL else (13 + 1) end) as mem_rank , g1.bucket_type from grouped_ash g1,
component_1_treemap g2 where -- both filtered and global (g1.gid = 28 AND g1.wait_class is not null OR g1.bucket_type =
1) and g1.wait_class = g2.dim_val(+) -- join filtered rows only and g1.bucket_type = g2.bucket_type(+) ) group by
bucket_number , dim_val , bucket_type ) , component_1_xml as (select xmlelement("item" , xmlattributes('wait_class' as "id" ,
topmems.cnt_all as "count" , topmems.num_mem as "num_mem" , topmems.num_others as "num_others") , xmlconcat(
topmems.topmems_frag , histogram.histogram_xml)) as dim_frag from (select xmlelement( "top_mems" ,
xmlattributes(sum(case when mem_rank <= 13 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") ) order by sample_count desc)) as
topmems_frag , sum(case when mem_rank <= 13 then 1 else 0 end) as num_mem , sum(sample_count) as cnt_all ,
max(case when mem_rank <= 13 then 0 else num_mem end) as num_others from (component_1_treemap) t ) topmems ,
(SELECT xmlagg( xmlelement( "histogram" , xmlattributes( (case when bucket_type = 1 then 'all' else 'target' end) AS "type" ,
max(binds.bucketCount) as "bucket_count" , max(binds.bucketInterval) as "bucket_interval") , xmlagg(bucket_xml order by
bucket_type, bucket_number asc) ) ) as histogram_xml FROM (SELECT bucket_type , bucket_number , xmlelement(
"bucket" , xmlattributes(bucket_number as "number" , sum (sample_count) as "count") , (case when bucket_type = 0 then --
filtered rows xmlelement( "top_mems" , xmlattributes( sum(case when mem_rank <= 13 then sample_count else 0 end) as
"count") , xmlagg( xmlelement( "mem" , xmlattributes( mem_rank as "id" , sample_count as "count")) order by mem_rank

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...

gv$active_session_history a, binds WHERE binds.memEnable = 1 AND ( binds.diskEnable = 0 OR ( binds.diskEnable = 1


AND a.is_awr_sample = 'Y' AND bitand(a.flags, 128) = 0 ) ) AND a.inst_id between binds.instIdLow and binds.instIdHigh
AND a.sample_time between binds.beginTime and binds.endTime UNION ALL 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, binds.filterRatio as sample_count ,
instance_number as instance_number FROM AWR_PDB_active_sess_history a, binds WHERE binds.diskEnable = 1 AND
a.dbid = binds.dbid AND a.instance_number between binds.instIdL ow and binds.instIdHigh AND a.snap_id between
binds.beginSnap and binds.endSnap + 1 AND a.sample_time between binds.beginTime and binds.endTime ), logical_ash as
(select sample_id , sample_time , sample_count , instance_number as inst_id, action as action, event as event,
instance_number as instance_number, module as module, instance_number || ':' || session_id || ', ' || session_serial# as
physical_session, service_hash as service_hash, sql_id as sqlid, wait_class as wait_class, xid as xid, user_id as user_id,
program as program from unified_ash) , bucketized_ash as (SELECT ash0.*, (case when binds.bucketCount > 1 then trunc( (
(24 * 60 * 60 * extract(day from sample_time - binds.beginTime)) + (60 * 60 * extract(hour from sample_time -
binds.beginTime)) + (60 * extract(minute from sample_time - binds.beginTime)) + (1 * extract(second from sample_time -
binds.beginTime)) ) / binds.bucketInterval ) + 1 else 1 end) as bucket_number FROM logical_ash ash0, binds), filter_xml as
(SELECT xmlconcat(xmlelement("filters" ) , xmlelement("report_time", xmlattributes( to_char(o.begintime, 'HH24:MI:SS MM/
DD/YYYY') as "begin_time", to_char(o.endtime, 'HH24:MI:SS MM/DD/YYYY') as "end_time"))) as xml_frag FROM (select
binds.*, nvl(to_number(filter_pdb), 0) as con_dbid from binds) o) , filtered_ash as (SELECT ash.*, 1 filtered FROM
bucketized_ash ash, binds WHERE 1=1 ), grouped_ash as (SELECT ash.*, 0 AS bucket_type FROM (SELECT sqlid,
physical_session, action, module, service_hash, instance_number, event, wait_class , grouping_id(sqlid, physical_session,
action, module, service_hash, instance_number, event, wait_class) as gid , max(inst_id) as inst_id , sum(sample_count) as
sample_count , count(distinct sqlid) as uniq_sqlids , count(distinct xid) as uniq_xids , count(distinct physical_session) as
uniq_sessions , count(distinct instance_number) as uniq_instances, max(user_id) as user_id, max(program) as program from
filtered_ash group by grouping sets( (wait_class), (sqlid), (module), (event), (action), (instance_number), (physical_session),
(service_hash)) ) ash ), component_1_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 <= 13 then dim_val else null end) as dim_val , sum(sample_count) as sample_count , count(*) as
num_mem , max(case when mem_rank <= 13 then mem_rank else (13 + 1) end) as mem_rank , max(case when mem_rank
<= 13 then uniq_sqlids else 0 end) as uniq_sqlids , max(case when mem_rank <= 13 then uniq_xids else 0 end) as uniq_xids
, max(case when mem_rank <= 13 then uniq_sessions else 0 end) as uniq_sessions , max(case when mem_rank <= 13 then
uniq_instances else 0 end) as uniq_instances , max(inst_id) as inst_id from (select wait_class as dim_val , sample_count ,
dense_rank() over (order by sample_count desc , wait_class) as mem_rank , uniq_sqlids , uniq_xids , uniq_sessions ,
uniq_instances , inst_id from grouped_ash where gid = 254 and wait_class is not null) group by (case when mem_rank <= 13
then dim_val else null end) ) left ) , component_1_xml as (select xmlelement("item" , xmlattributes('wait_class' 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 <= 13
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") ) order by sample_count desc)) as topmems_frag , sum(case when
mem_rank <= 13 then 1 else 0 end) as num_mem , sum(sample_count) as cnt_all , max(case when mem_rank <= 13 then 0
else num_mem end) as num_other s from (component_1_treemap) t ) topmems), component_2_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 event as dim_val , sample_count , dense_rank() over (order by sample_count desc , event) as mem_rank ,
uniq_sqlids , uniq_xids , uniq_sessions , uniq_instances , inst_id from grouped_ash where gid = 253 and event is not null)
group by (case when mem_ra nk <= 5 then dim_val else null end) ) left ) , component_2_xml as (select xmlelement("item" ,
xmlattributes('event' 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") ) 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_2_treemap) t ) topmems), component_3_treemap as (select dim_val ,
inst_id , sample_count , num_mem , mem_rank , uniq_sqlids , uniq_xids , uniq_sessions , uniq_instanc es , 0 AS
bucket_type --target(not global)/filtered bucket , NVL((SELECT instance_name FROM gv$instance v WHERE
v.instance_number = left.dim_val AND rownum < 2 ), ( SELECT instance_name FROM AWR_PDB_database_instance v,
binds b WHERE v.dbid = b.dbid AND v.instance_number = left.dim_val AND rownum < 2)) as instance_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 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 instance_number as dim_val ,
sample_count , dense_rank() over (order by sample_count desc , instance_number) as mem_rank , uniq_sqlids , uniq_xids ,
uniq_sessions , uniq_instances , inst_id from grouped_ash where gid = 251 and instance_number is not null) group by (case
when mem_rank <= 5 then dim_val else null end) ) left ) , component_3_xml as (select xmlelement("item" ,
xmlattributes('instance_number' 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" ,

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...

ct6c4h224pxgz BEGIN BEGIN IF (sys.is_vpd_enabled(sys.dictionary_obj_owner, sys.dictionary_obj_name,


xdb.DBMS_XDBZ.IS_ENABLED_CONTENTS)) THEN xdb.XDB_PITRIG_PKG.pitrig_truncate(sys.dictionary_obj_owner,
sys.dictionary_obj_name); ELSIF (sys.is_vpd_enabled(sys.dictionary_obj_owner, sys.dictionary_obj_name,
xdb.DBMS_XDBZ.IS_ENABLED_RESMETADATA)) THEN
xdb.XDB_PITRIG_PKG.pitrig_dropmetadata(sys.dictionary_obj_owner, sys.dictionary_obj_name); END IF; EXCEPTION
WHEN OTHERS THEN null; END; END;
ctd8uqwtcjwwr insert into wrh$_seg_stat_obj ( snap_id, dbid, ts#, obj#, dataobj#, owner, object_name, subobject_name, partition_type,
object_type, tablespace_name, index_type, base_obj#, base_object_name, base_object_owner, con_dbid, per_pdb ) select
:lah_snap_id, :dbid, ss1.tsn_kewrseg, ss1.objn_kewrseg, ss1.objd_kewrseg, ss1.ownername_kewrseg,
ss1.objname_kewrseg, ss1.subobjname_kewrseg, decode(ss1.ptype_kewrseg, 0, 'NONE', 1, 'RANGE', 2, 'HASH', 3,
'SYSTEM', 4, 'LIST', NULL, 'NONE', 'U'||substr(ltrim(to_char(ss1.ptype_kewrseg)), 1, 7)) , decode(ss1.objtype_kewrseg, 0,
'NEXT OBJECT', 1, 'INDEX', 2, 'TABLE', 3, 'CLUSTER', 4, 'VIEW', 5, 'SYNONYM', 6, 'SEQUENCE', 7, 'PROCEDURE', 8,
'FUNCTION', 9, 'PACKAGE', 11, 'PACKAGE BODY', 12, 'TRIGGER', 13, 'TYPE', 14, 'TYPE BODY', 19, 'TABLE PARTITION',
20, 'INDEX PARTITION', 21, 'LOB', 22, 'LIBRARY', 23, 'DIRECTOR Y', 24, 'QUEUE', 28, 'JAVA SOURCE', 29, 'JAVA CLASS',
30, 'JAVA RESOURCE', 32, 'INDEXTYPE', 33, 'OPERATOR', 34, 'TABLE SUBPARTITION', 35, 'INDEX SUBPARTITION', 40,
'LOB PARTITION', 41, 'LOB SUBPARTITION', 42, 'MATERIALIZED VIEW', 43, 'DIMENSION', 44, 'CONTEXT', 47,
'RESOURCE PLAN', 48, 'CONSUMER GROUP', 51, 'SUBSCRIPTION', 52, 'LOCATION', 55, 'XML SCHEMA', 56, 'JAVA
DATA', 57, 'SECURITY PROFILE', 'UNDEFINED') , ss1.tsname_kewrseg , decode(ss1.indtype_kewrseg, 0, NULL, 1,
'NORMAL'|| decode(bitand(ss1.iprop_kewrseg, 4), 0, '', 4, '/REV'), 2, 'BITMAP', 3, 'CLUSTER', 4, 'IOT - TOP', 5, 'IOT -
NESTED', 6, 'SECONDARY', 7, 'ANSI', 8, 'LOB', 9, 'DOMAIN') , nullif(ss1.bobjn_kewrseg, 0) , case
length(ss1.bobjname_kewrseg) when 0 then to_char(NULL) else ss1.bobjname_kewrseg end , case
length(ss1.bowname_kewrseg) when 0 then to_char(NULL) else ss1.bowname_kewrseg en d , ss1.con_dbid_kewrseg,
ss1.con_id from (select * from x$kewrattrnew where con_id = :con_id_01 or ( (:con_id_02 = 1 and con_id = 0) or (:con_id_03
= 0 and con_id = 1)) ) at, (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)) ) ss1 where at.num1_kewrattr = ss1.tsn_kewrseg and at.num2_kewrattr =
ss1.objn_kewrseg and at.num3_kewrattr = ss1.objd_kewrseg and at.num4_kewrattr = ss1.con_dbid_kewrseg and
(ss1.objtype_kewrseg not in (1 /* INDEX - handled below */, 10 /* NON-EXISTENT */) or (ss1.objtype_kewrseg = 1 and
ss1.indtype_kewrseg in (1, 2, 3, 4, 5, 6, 7, 8, 9))) and ss1.objname_kewrseg != '_NEXT_OBJECT' and ss1.objname_kewrseg
!= '_default_auditing_options_'
cyct9h680363t SELECT C.NAME FROM SYS.COL$ C WHERE C.OBJ#=:1 AND C.INTCOL#=:2
d8yjqy6gzd1t2 BEGIN matching.match; END;
dh2x07v0t6wm3 SELECT * FROM V_EXT_SELL
dx215h59yj735 UPDATE WRH$_SEG_STAT_OBJ SET snap_id = :lah_snap_id WHERE dbid = :dbid AND (TS#, OBJ#, DATAOBJ#,
CON_DBID) IN (SELECT NUM1_KEWRATTR, NUM2_KEWRATTR, NUM3_KEWRATTR, NUM4_KEWRATTR FROM
X$KEWRATTRSTALE)
fk7fhbw2k4xgm SELECT snap_id , TS#, OBJ#, DATAOBJ#, CON_DBID FROM (SELECT /*+ use_hash(t1 t2) */ t2.snap_id ,
t1.TSN_KEWRSEG TS#, t1.OBJN_KEWRSEG OBJ#, t1.OBJD_KEWRSEG DATAOBJ#, t1.CON_DBID_KEWRSEG
CON_DBID FROM X$KEWRTSEGSTAT t1, WRH$_SEG_STAT_OBJ t2 WHERE t2.dbid(+) = :dbid AND t2.TS#(+) =
t1.TSN_KEWRSEG AND t2.OBJ#(+) = t1.OBJN_KEWRSEG AND t2.DATAOBJ#(+) = t1.OBJD_KEWRSEG AND
t2.CON_DBID(+) = t1.CON_DBID_KEWRSEG) WHERE nvl(snap_id, 0) < :snap_id
fn0snbuqyccq5 SELECT NAME, PATH, READ, WRITE, EXECUTE FROM SYS.LOADER_DIR_OBJS WHERE NAME = :1
fp5n61tt3k6fr BEGIN matching.prematch_buy('et_buy1'); END;
g39a57gmzr635 INSERT INTO PREMATCH_BUY ( 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 )
gsfnqdfcvy33q delete from superobj$ where subobj# = :1
gyc8wh4ch2gsm SELECT /*+ NO_STATEMENT_QUEUING RESULT_CACHE (SYSOBJ=TRUE SHELFLIFE=30)
OPT_PARAM('_ENABLE_VIEW_PDB', 'FALSE') */ OWNER, DIRECTORY_NAME, OBJECT_ID, OBJECT_TYPE#,
DIRECTORY_PATH FROM NO_COMMON_DATA(SYS."INT$DBA_DIRECTORIES") "D" WHERE
"D"."DIRECTORY_NAME"=:1

Back to SQL Statistics


Back to Top

Instance Activity Statistics


• Key Instance Activity Stats
• Instance Activity Stats
• Instance Activity Stats - Absolute Values

Back to Top

Key Instance Activity Stats


• Ordered by statistic name

Statistic Total per Second per Trans


db block changes 3,064,510 27,067.10 10.02
execute count 824,780 7,284.82 2.70
logons cumulative 38 0.34 0.00
opened cursors cumulative 1,130,227 9,982.66 3.70
parse count (total) 4,504 39.78 0.01
parse time elapsed 45 0.40 0.00
physical reads 47 0.42 0.00
physical writes 152 1.34 0.00

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...

redo size 546,624,948 4,828,031.94 1,787.47


session cursor cache hits 1,129,997 9,980.63 3.70
session logical reads 3,967,739 35,044.82 12.97
user calls 287 2.53 0.00
user commits 305,809 2,701.04 1.00
workarea executions - optimal 516 4.56 0.00

Back to Instance Activity Statistics


Back to Top

Instance Activity Stats


• Ordered by statistic name

Statistic Total per Second per Trans


ASSM cbk:blocks examined 646 5.71 0.00
ASSM cbk:blocks marked full 90 0.79 0.00
ASSM gsp:L1 bitmaps examined 653 5.77 0.00
ASSM gsp:L2 bitmap full 6 0.05 0.00
ASSM gsp:L2 bitmaps examined 541 4.78 0.00
ASSM gsp:Optimized reject DB 0 0.00 0.00
ASSM gsp:Optimized reject l1 0 0.00 0.00
ASSM gsp:Search all 27 0.24 0.00
ASSM gsp:Search hint 24 0.21 0.00
ASSM gsp:Search steal 27 0.24 0.00
ASSM gsp:bump HWM 27 0.24 0.00
ASSM gsp:get free block 606 5.35 0.00
ASSM gsp:get free data block 0 0.00 0.00
ASSM gsp:good hint 466 4.12 0.00
ASSM gsp:reject L1 0 0.00 0.00
ASSM gsp:reject db 0 0.00 0.00
ASSM rsv:fill reserve 20 0.18 0.00
ASSM wasted db state change 0 0.00 0.00
Batched IO (bound) vector count 0 0.00 0.00
Batched IO block miss count 0 0.00 0.00
Batched IO buffer defrag count 0 0.00 0.00
Batched IO double miss count 0 0.00 0.00
Batched IO same unit count 0 0.00 0.00
Batched IO single block count 0 0.00 0.00
Batched IO vector block count 0 0.00 0.00
Batched IO vector read count 0 0.00 0.00
Block Cleanout Optim referenced 28 0.25 0.00
CCursor + sql area evicted 93 0.82 0.00
CPU used by this session 8,025 70.88 0.03
CPU used when call started 8,212 72.53 0.03
CR blocks created 50 0.44 0.00
Cached Commit SCN referenced 0 0.00 0.00
Commit SCN cached 0 0.00 0.00
DFO trees parallelized 8 0.07 0.00
HSC Heap Segment Block Changes 511,349 4,516.46 1.67
Heap Segment Array Inserts 114 1.01 0.00
Heap Segment Array Updates 5 0.04 0.00
IMU CR rollbacks 0 0.00 0.00
IMU Flushes 301,777 2,665.43 0.99
IMU Redo allocation size 618,022,156 5,458,643.48 2,020.94
IMU commits 2 0.02 0.00
IMU contention 69 0.61 0.00
IMU ktichg flush 14 0.12 0.00
IMU pool not allocated 5,958 52.62 0.02
IMU recursive-transaction flush 0 0.00 0.00
IMU undo allocation size 1,042,970,248 9,211,971.91 3,410.53
IMU- failed to get a private strand 5,958 52.62 0.02
KTFB alloc req 695 6.14 0.00

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...

KTFB alloc space (block) 332,267,520 2,934,732.86 1,086.52


KTFB alloc time (ms) 510,715 4,510.86 1.67
KTFB apply req 520 4.59 0.00
KTFB apply time (ms) 4,793 42.33 0.02
KTFB commit req 0 0.00 0.00
KTFB commit time (ms) 0 0.00 0.00
KTFB free req 87 0.77 0.00
KTFB free space (block) 9,456 83.52 0.03
KTFB free time (ms) 98 0.87 0.00
LOB table id lookup cache misses 0 0.00 0.00
PX local messages recv'd 318 2.81 0.00
PX local messages sent 320 2.83 0.00
Parallel operations not downgraded 8 0.07 0.00
Requests to/from client 89 0.79 0.00
RowCR attempts 49,899 440.73 0.16
RowCR hits 49,899 440.73 0.16
SQL*Net roundtrips to/from client 89 0.79 0.00
TBS Extension: tasks created 23 0.20 0.00
active txn count during cleanout 184 1.63 0.00
auto extends on undo tablespace 23 0.20 0.00
blocks cleaned out using minact 119 1.05 0.00
blocks decrypted 0 0.00 0.00
branch node splits 3 0.03 0.00
buffer is not pinned count 748,272 6,609.07 2.45
buffer is pinned count 736,987 6,509.39 2.41
bytes received via SQL*Net from client 27,561 243.43 0.09
bytes sent via SQL*Net to client 36,242 320.11 0.12
calls to get snapshot scn: kcmgss 831,151 7,341.09 2.72
calls to kcmgas 329,563 2,910.85 1.08
calls to kcmgcs 42,395 374.45 0.14
cell physical IO interconnect bytes 645,958,472 5,705,389.31 2,112.29
change write time 1,026 9.06 0.00
cleanout - number of ktugct calls 257,409 2,273.55 0.84
cleanouts and rollbacks - consistent read gets 0 0.00 0.00
cleanouts only - consistent read gets 101,098 892.94 0.33
cluster key scan block gets 3,215 28.40 0.01
cluster key scans 2,606 23.02 0.01
commit batch/immediate performed 307,751 2,718.19 1.01
commit batch/immediate requested 307,751 2,718.19 1.01
commit cleanout failures: block lost 0 0.00 0.00
commit cleanout failures: cannot pin 0 0.00 0.00
commit cleanouts 1,017,274 8,985.01 3.33
commit cleanouts successfully completed 762,370 6,733.59 2.49
commit immediate performed 307,751 2,718.19 1.01
commit immediate requested 307,751 2,718.19 1.01
commit txn count during cleanout 257,287 2,272.47 0.84
commit wait performed 305,805 2,701.00 1.00
commit wait requested 305,805 2,701.00 1.00
commit wait/nowait performed 305,805 2,701.00 1.00
commit wait/nowait requested 305,805 2,701.00 1.00
consistent changes 135,295 1,194.98 0.44
consistent gets 1,094,639 9,668.33 3.58
consistent gets examination 800,613 7,071.37 2.62
consistent gets examination (fastpath) 800,582 7,071.09 2.62
consistent gets from cache 1,094,639 9,668.33 3.58
consistent gets pin 294,026 2,596.97 0.96
consistent gets pin (fastpath) 243,727 2,152.70 0.80
cursor authentications 58 0.51 0.00
cursor reload failures 1 0.01 0.00
data blocks consistent reads - undo records applied 48,544 428.76 0.16
db block changes 3,064,510 27,067.10 10.02
db block gets 2,873,100 25,376.48 9.40
db block gets direct 0 0.00 0.00
db block gets from cache 2,873,100 25,376.48 9.40

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...

db block gets from cache (fastpath) 2,133,373 18,842.89 6.98


deferred (CURRENT) block cleanout applications 456,088 4,028.37 1.49
enqueue conversions 1,084 9.57 0.00
enqueue releases 1,336,677 11,806.12 4.37
enqueue requests 1,336,682 11,806.16 4.37
enqueue timeouts 5 0.04 0.00
enqueue waits 10 0.09 0.00
execute count 824,780 7,284.82 2.70
fastpath consistent get quota limit 0 0.00 0.00
file io service time 1,694 14.96 0.01
free buffer inspected 0 0.00 0.00
free buffer requested 229,862 2,030.24 0.75
heap block compress 901 7.96 0.00
hot buffers moved to head of LRU 0 0.00 0.00
immediate (CR) block cleanout applications 101,098 892.94 0.33
immediate (CURRENT) block cleanout applications 205,163 1,812.09 0.67
index crx upgrade (positioned) 0 0.00 0.00
index fast full scans (full) 15 0.13 0.00
index fetch by key 109,135 963.93 0.36
index reclamation/extension switch 0 0.00 0.00
index scans kdiixs1 6,364 56.21 0.02
leaf node 90-10 splits 64 0.57 0.00
leaf node splits 2,149 18.98 0.01
lob reads 0 0.00 0.00
lob writes 0 0.00 0.00
lob writes unaligned 0 0.00 0.00
logical read bytes from cache 32,503,717,888 287,087,131.03 106,287.64
logons cumulative 38 0.34 0.00
max cf enq hold time 25 0.22 0.00
messages sent 309,366 2,732.46 1.01
min active SCN optimization applied on CR 4,106 36.27 0.01
no work - consistent read gets 135,090 1,193.17 0.44
non-idle wait count 618,892 5,466.33 2.02
opened cursors cumulative 1,130,227 9,982.66 3.70
parse count (describe) 0 0.00 0.00
parse count (failures) 0 0.00 0.00
parse count (hard) 307 2.71 0.00
parse count (total) 4,504 39.78 0.01
parse time cpu 28 0.25 0.00
parse time elapsed 45 0.40 0.00
physical read IO requests 47 0.42 0.00
physical read bytes 385,024 3,400.70 1.26
physical read total IO requests 810 7.15 0.00
physical read total bytes 40,009,728 353,383.51 130.83
physical read total multi block requests 47 0.42 0.00
physical reads 47 0.42 0.00
physical reads cache 47 0.42 0.00
physical reads cache prefetch 0 0.00 0.00
physical reads direct 0 0.00 0.00
physical reads direct temporary tablespace 0 0.00 0.00
physical write IO requests 52 0.46 0.00
physical write bytes 1,245,184 10,998.01 4.07
physical write total IO requests 456 4.03 0.00
physical write total bytes 201,984,840 1,784,018.94 660.49
physical write total multi block requests 190 1.68 0.00
physical writes 152 1.34 0.00
physical writes direct 152 1.34 0.00
physical writes direct (lob) 152 1.34 0.00
physical writes direct temporary tablespace 0 0.00 0.00
physical writes non checkpoint 152 1.34 0.00
pinned buffers inspected 0 0.00 0.00
pinned cursors current 4 0.04 0.00
process last non-idle time 114 1.01 0.00
queries parallelized 2 0.02 0.00

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...

recursive calls 1,673,913 14,784.74 5.47


recursive cpu usage 7,481 66.08 0.02
redo buffer allocation retries 2 0.02 0.00
redo entries 1,316,507 11,627.97 4.30
redo entries for lost write detection 47 0.42 0.00
redo log space requests 1 0.01 0.00
redo ordering marks 18,669 164.89 0.06
redo size 546,624,948 4,828,031.94 1,787.47
redo size for lost write detection 3,572 31.55 0.01
redo subscn max counts 18,714 165.29 0.06
redo synch time 2,493 22.02 0.01
redo synch time (usec) 24,926,849 220,164.89 81.51
redo synch time overhead (usec) 2,757,250 24,353.24 9.02
redo synch time overhead count ( 2ms) 305,810 2,701.05 1.00
redo synch time overhead count ( 8ms) 1 0.01 0.00
redo synch time overhead count ( 32ms) 0 0.00 0.00
redo synch time overhead count (inf) 0 0.00 0.00
redo synch writes 305,817 2,701.11 1.00
redo write info find 305,811 2,701.06 1.00
rollback changes - undo records applied 1,972 17.42 0.01
rollbacks only - consistent read gets 944 8.34 0.00
root node splits 3 0.03 0.00
rows fetched via callback 103,639 915.39 0.34
securefile allocation bytes 1,245,184 10,998.01 4.07
securefile allocation chunks 52 0.46 0.00
securefile bytes non-transformed 1,197,380 10,575.79 3.92
securefile direct write bytes 1,245,184 10,998.01 4.07
securefile direct write ops 52 0.46 0.00
securefile number of non-transformed flushes 189 1.67 0.00
segment cfs allocations 70 0.62 0.00
segment chunks allocation from dispenser 52 0.46 0.00
segment dispenser allocations 51 0.45 0.00
segment dispenser load empty 0 0.00 0.00
segment dispenser load tasks 3 0.03 0.00
segment prealloc tasks 214 1.89 0.00
segment total chunk allocation 68 0.60 0.00
session cursor cache hits 1,129,997 9,980.63 3.70
session logical reads 3,967,739 35,044.82 12.97
shared hash latch upgrades - no wait 151,171 1,335.21 0.49
shared io pool buffer get success 50 0.44 0.00
sorts (memory) 630 5.56 0.00
sorts (rows) 21,179 187.06 0.07
sql area evicted 30 0.26 0.00
sql area purged 5 0.04 0.00
switch current caused by our pin 200,190 1,768.17 0.65
switch current to new buffer 200,190 1,768.17 0.65
table fetch by rowid 676,652 5,976.49 2.21
table fetch continued row 26 0.23 0.00
table scan blocks gotten 3,882 34.29 0.01
table scan disk non-IMC rows gotten 311,342 2,749.91 1.02
table scan rows gotten 311,342 2,749.91 1.02
table scans (long tables) 0 0.00 0.00
table scans (short tables) 413 3.65 0.00
temp space allocated (bytes) 0 0.00 0.00
total cf enq hold time 90 0.79 0.00
total number of cf enq holders 69 0.61 0.00
transaction rollbacks 1,946 17.19 0.01
transaction tables consistent read rollbacks 1 0.01 0.00
transaction tables consistent reads - undo records applied 86,721 765.96 0.28
undo change vector size 158,174,008 1,397,062.40 517.23
user calls 287 2.53 0.00
user commits 305,809 2,701.04 1.00
user logons cumulative 6 0.05 0.00
user logouts cumulative 6 0.05 0.00

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...

workarea executions - optimal 516 4.56 0.00


write clones created in foreground 0 0.00 0.00

Back to Instance Activity Statistics


Back to Top

Instance Activity Stats - Absolute Values


• Statistics with absolute values (should not be diffed)

Statistic Begin Value End Value


opened cursors current 5 10
session cursor cache count 6,830 7,169
session pga memory 10,556,200 11,932,456
session pga memory max 14,095,144 75,436,840
session uga memory 214,640,760 220,333,272
session uga memory max 1,747,688,760 1,892,999,352

Back to Instance Activity Statistics


Back to Top

IO Stats
• IOStat by Filetype summary
• Tablespace IO Stats
• File IO Stats

Back to Top

IOStat by Filetype summary


• 'Data' columns suffixed with M,G,T,P are in multiples of 1024 other columns suffixed with K,M,G,T,P are in multiples of 1000
• Small Read and Large Read are average service times
• Ordered by (Data Read + Write) desc

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

Buffer Wait Statistics


• ordered by wait time desc, waits desc

Class Waits Total Wait Time (s) Avg Time (ms)


1st level bmb 2 0 0

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

Undo Segment Summary


No data exists for this section of the report.
Back to Undo Statistics
Back to Top

Undo Segment Stats


No data exists for this section of the report.
Back to Undo Statistics
Back to Top

In-Memory Segment Statistics


• In-Memory Segments by Scans
• In-Memory Segments by DB Block Changes
• In-Memory Segments by Populate CUs
• In-Memory Segments by Repopulate CUs

Back to Top

In-Memory Segments by Scans


No data exists for this section of the report.
Back to In-Memory Segment Statistics
Back to Top

In-Memory Segments by DB Block Changes


No data exists for this section of the report.
Back to In-Memory Segment Statistics
Back to Top

In-Memory Segments by Populate CUs


No data exists for this section of the report.
Back to In-Memory Segment Statistics
Back to Top

In-Memory Segments by Repopulate CUs


No data exists for this section of the report.
Back to In-Memory Segment Statistics
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...

Parameter Name Begin value End value (if different)


_datafile_write_errors_crash_instance FALSE
_db_writer_coalesce_area_size 16777216
_disable_interface_checking TRUE
_enable_NUMA_support FALSE
_file_size_increase_increment 2143289344
_fix_control 18960760:on
_gc_policy_time 0
_gc_undo_affinity FALSE
_optimizer_gather_feedback FALSE
_optimizer_use_feedback FALSE
_optimizer_vector_transformation FALSE
audit_file_dest /u01/app/oracle/admin/db01_phx1zr/adump
audit_sys_operations TRUE
audit_trail DB
compatible 12.2.0.0
control_file_record_keep_time 38
control_files +RECO/DB01_PHX1ZR/CONTROLFILE/current.256.1025287793
control_management_pack_access DIAGNOSTIC+TUNING
cpu_count 72
cursor_sharing EXACT
db_block_checking FALSE
db_block_checksum FULL
db_block_size 8192
db_create_file_dest +DATA
db_create_online_log_dest_1 +RECO
db_domain
db_files 32000
db_lost_write_protect TYPICAL
db_name db01
db_recovery_file_dest +RECO
db_recovery_file_dest_size 1073741824000
db_unique_name db01_phx1zr
diagnostic_dest /u01/app/oracle
dispatchers (PROTOCOL=TCP) (SERVICE=db01XDB)
enable_ddl_logging TRUE
enable_pluggable_database TRUE
encrypt_new_tablespaces CLOUD_ONLY
fast_start_mttr_target 300
filesystemio_options setall
global_names TRUE
inmemory_max_populate_servers 32
inmemory_size 77309411328
local_listener LISTENER_DB01
log_archive_format %t_%s_%r.dbf
log_buffer 16777216
nls_language AMERICAN
nls_territory AMERICA
open_cursors 1000
os_authent_prefix ops$
parallel_execution_message_size 16384
parallel_max_servers 384
parallel_min_servers 384
parallel_threads_per_cpu 1
pga_aggregate_limit 68719476736
pga_aggregate_target 34359738368
processes 2400
remote_login_passwordfile EXCLUSIVE
resource_manager_plan TRAINING
service_names
session_cached_cursors 100
sessions 3672
sga_max_size 137438953472
sga_target 0

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 init.ora Parameters


Back to Top

init.ora Multi-Valued Parameters


No data exists for this section of the report.
Back to init.ora Parameters
Back to Top

Active Session History (ASH) Report


• Top SQL with Top Events
• Top SQL with Top Row Sources
• Top Sessions
• Top Blocking Sessions
• Top PL/SQL Procedures
• Top Events
• Top Event P1/P2/P3 Values
• Top DB Objects
• Activity Over Time

Back to Top

Top SQL with Top Events


• Top SQL statements by DB Time along with the top events by DB Time for those SQLs.
• % Activity is the percentage of DB Time due to the SQL.
• % Event is the percentage of DB Time due to the event that the SQL is waiting on.
• % Row Source is the percentage of DB Time due to the row source for the SQL waiting on the event.
• Executions is the number of executions of the SQL that were sampled in ASH.

% % Top Row % Row


SQL ID Plan Hash Executions Event SQL Text
Activity Event Source Source
d8yjqy6gzd1t2 1 44.44 CPU + 33.33 ** Row Source 33.33 BEGIN matching.match; END;
Wait for Not Available **
CPU
1 44.44 log file 11.11 ** Row Source 11.11 BEGIN matching.match; END;
sync Not Available **
8x34r9f2p7wxw 1918035219 1 11.11 CPU + 11.11 SELECT 11.11 SELECT COUNT(*) FROM
Wait for STATEMENT MATCHED M...
CPU
bmc6bup669599 1 11.11 CPU + 11.11 ** Row Source 11.11 BEGIN
Wait for Not Available ** matching.prematch_sell('...
CPU
c3mgtmr561mr8 433929440 1 11.11 CPU + 11.11 ** Row Source 11.11 INSERT INTO
Wait for Not Available ** PREMATCH_SELL ( TR...
CPU
fp5n61tt3k6fr 1 11.11 log file 11.11 ** Row Source 11.11 BEGIN
sync Not Available ** matching.prematch_buy('e...

Back to Active Session History (ASH) Report


Back to Top

Top SQL with Top Row Sources


• Top SQL statements by DB Time along with the top row sources by DB Time for those SQLs.
• % Activity is the percentage of DB Time due to the SQL.
• % Row Source is the percentage of DB Time spent on the row source by that SQL.
• % Event is the percentage of DB Time spent on the event by the SQL executing the row source.
• Executions is the number of executions of the SQL that were sampled in ASH.

% % 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...

Back to Active Session History (ASH) Report


Back to Top

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

Back to Active Session History (ASH) Report


Back to Top

Top Blocking Sessions


• Blocking session activity percentages are calculated with respect to waits on enqueues, latches and "buffer busy" only
• '% Activity' represents the load on the database caused by a particular blocking session
• '# Samples Active' shows the number of ASH samples in which the blocking session was found active.
• 'XIDs' shows the number of distinct transaction IDs sampled in ASH when the blocking session was found active.

Blocking Sid % Event % # Samples


User Program XIDs
(Inst) Activity Caused Event Active
1786, 4373( 1) 22.22 log file sync 22.22 ** NOT FOUND BLOCKING SESSION NOT 0/11 [ 0%]
** FOUND

Back to Active Session History (ASH) Report


Back to Top

Top PL/SQL Procedures


• 'PL/SQL entry subprogram' represents the application's top-level entry-point (procedure, function, trigger, package initialization or RPC
call) into PL/SQL.
• 'PL/SQL current subprogram' is the PL/SQL subprogram being executed at the point of sampling . If the value is 'SQL', it represents the
percentage of time spent executing SQL for the particular PL/SQL entry subprogram

PL/SQL Entry Subprogram % Activity PL/SQL Current Subprogram % Current


TEAM.MATCHING.MATCH 44.44 SQL 44.44
TEAM.MATCHING.PREMATCH_SELL 33.33 SQL 33.33
TEAM.MATCHING.PREMATCH_BUY 22.22 SQL 22.22

Back to Active Session History (ASH) Report


Back to Top

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...

• % Activity is the percentage of DB Time due to the event

Event Event Class Session Type % Activity Avg Active Sessions


CPU + Wait for CPU CPU FOREGROUND 77.78 0.62
log file sync Commit FOREGROUND 22.22 0.18

Back to Active Session History (ASH) Report


Back to Top

Top Event P1/P2/P3 Values


• Top Events by DB Time and the top P1/P2/P3 values for those events.
• % Event is the percentage of DB Time due to the event
• % Activity is the percentage of DB Time due to the event with the given P1,P2,P3 Values.

Event % Event P1, P2, P3 Values % Activity Parameter 1 Parameter 2 Parameter 3


log file sync 22.22 "1632","883290439","0" 11.11 buffer# sync scn NOT DEFINED
"6640","884010715","0" 11.11

Back to Active Session History (ASH) Report


Back to Top

Top DB Objects
No data exists for this section of the report.
Back to Active Session History (ASH) Report
Back to Top

Activity Over Time


• Analysis period is divided into smaller time slots as indicated in the 'Slot Time (Duration)'.
• Top 3 events are reported in each of those slots
• 'Slot Count' shows the number of ASH samples in that slot
• 'Event Count' shows the number of ASH samples waiting for that event in that slot
• '% Event' is 'Event Count' over all ASH samples in the analysis period

Slot Time (Duration) Slot Count Event Event Count % Event


17:45:14 (1.9 min) 9 CPU + Wait for CPU 7 77.78
log file sync 2 22.22

Back to Active Session History (ASH) Report


Back to Top

Back to Top

End of Report

26 of 26 04/01/2025, 15:12

You might also like