WORKLOAD REPOSITORY report for

DB NameDB IdUnique NameRoleEditionReleaseRACCDB
NNESP01P1998298958NNESP01P_APRIMARYEE19.0.0.0.0NONO

InstanceInst NumStartup TimeUser NameSystem Data Visible
NNESP01P122-May-23 23:33ADMIN01YES

Host NamePlatformCPUsCoresSocketsMemory (GB)
ip-172-20-2-190Linux x86 64-bit 16 8 1 61.92

Snap IdSnap TimeSessionsCursors/Session
Begin Snap:3484215-Sep-23 13:00:28236 10.2
End Snap:3484415-Sep-23 15:00:51236 9.8
Elapsed:  120.38 (mins)  
DB Time:  555.49 (mins)  

Report Summary

Top ADDM Findings by Average Active Sessions

Finding NameAvg active sessions of the taskPercent active sessions of findingTask NameBegin Snap TimeEnd Snap Time
Top SQL Statements8.4162.23ADDM:1998298958_1_3484415-Sep-23 14:0015-Sep-23 15:00
Slow Archivers8.4155.28ADDM:1998298958_1_3484415-Sep-23 14:0015-Sep-23 15:00
Buffer Busy - Hot Objects8.4131.91ADDM:1998298958_1_3484415-Sep-23 14:0015-Sep-23 15:00
PL/SQL Execution8.416.91ADDM:1998298958_1_3484415-Sep-23 14:0015-Sep-23 15:00
Sequence Usage8.415.86ADDM:1998298958_1_3484415-Sep-23 14:0015-Sep-23 15:00

Load Profile

Per SecondPer TransactionPer ExecPer Call
DB Time(s): 4.6 0.1 0.00 0.01
DB CPU(s): 0.5 0.0 0.00 0.00
Background CPU(s): 0.1 0.0 0.00 0.00
Redo size (bytes): 9,598,617.3 272,829.0  
Logical read (blocks): 59,615.4 1,694.5  
Block changes: 5,556.4 157.9  
Physical read (blocks): 970.8 27.6  
Physical write (blocks): 1,179.0 33.5  
Read IO requests: 110.5 3.1  
Write IO requests: 49.6 1.4  
Read IO (MB): 7.6 0.2  
Write IO (MB): 9.2 0.3  
IM scan rows: 0.0 0.0  
Session Logical Read IM: 0.0 0.0  
User calls: 481.9 13.7  
Parses (SQL): 411.8 11.7  
Hard parses (SQL): 6.3 0.2  
SQL Work Area (MB): 87.8 2.5  
Logons: 0.4 0.0  
User logons: 0.4 0.0  
Executes (SQL): 2,070.0 58.8  
Rollbacks: 3.8 0.1  
Transactions: 35.2   

Instance Efficiency Percentages (Target 100%)

Buffer Nowait %: 100.00Redo NoWait %: 98.92
Buffer Hit %: 99.85In-memory Sort %: 100.00
Library Hit %: 99.44Soft Parse %: 98.47
Execute to Parse %: 80.11Latch Hit %: 99.99
Parse CPU to Parse Elapsd %: 87.27% Non-Parse CPU: 98.56
Flash Cache Hit %: 0.00

Top 10 Foreground Events by Total Wait Time

EventWaitsTotal Wait Time (sec)Avg Wait% DB timeWait Class
log file switch (archiving needed)6816.8K247.62 s50.5Configuration
buffer busy waits2599718.437.52 s29.2Concurrency
DB CPU 3797.5 11.4 
log file switch (checkpoint incomplete)2,1521017.8472.98ms3.1Configuration
log file sync253,0695692.25ms1.7Commit
db file sequential read423,477288.9682.30us.9User I/O
direct path write101,994253.72.49ms.8User I/O
enq: SQ - contention3239.679.87 s.7Configuration
direct path read130,58792.9711.71us.3User I/O
SQL*Net more data from client9,924,65789.28.99us.3Network

Wait Classes by Total Wait Time

Wait ClassWaitsTotal Wait Time (sec)Avg Wait Time% DB timeAvg Active Sessions
Configuration2,24319,1168522.33ms57.42.6
Concurrency86310,58212.26 s31.71.5
DB CPU 3,797 11.40.5
System I/O1,042,9441,3491.29ms4.00.2
User I/O701,203683.97ms2.00.1
Commit253,1005692.25ms1.70.1
Other1,882,250319169.29us1.00.0
Network14,801,8131328.95us.40.0
Application3,8514918.36us.00.0

Host CPU

CPUsCoresSocketsLoad Average BeginLoad Average End%User%System%WIO%Idle
16 8 1 0.67 0.89 0.6 0.7 0.3 95.4

Instance CPU

%Total CPU%Busy CPU%DB time waiting for CPU (Resource Manager)
3.7 81.5 0.0

IO Profile

Read+Write Per SecondRead per SecondWrite Per Second
Total Requests: 313.1 175.8 137.3
Database Requests: 160.1 110.5 49.6
Optimized Requests: 0.0 0.0 0.0
Redo Requests: 84.7 10.8 74.0
Total (MB): 49.3 21.1 28.2
Database (MB): 16.8 7.6 9.2
Optimized Total (MB): 0.0 0.0 0.0
Redo (MB): 19.1 9.6 9.5
Database (blocks): 2,149.8 970.8 1,179.0
Via Buffer Cache (blocks): 142.4 88.6 53.9
Direct (blocks): 2,007.4 882.3 1,125.1

Memory Statistics

BeginEnd
Host Mem (MB): 63,403.7 63,403.7
SGA use (MB): 47,488.0 47,488.0
PGA use (MB): 3,432.9 2,620.8
% Host Mem used for SGA+PGA: 80.31 79.03

Database Resource Limits

BeginEnd
CPUs:1616
SGA Target: 49,794,777,088 49,794,777,088
PGA Target: 8,284,232,704 8,284,232,704
Memory Target 0 0

Cache Sizes

BeginEnd
Buffer Cache: 41,088M 41,088MStd Block Size: 8K
Shared Pool Size: 4,800M 4,812MLog Buffer: 108,516K
In-Memory Area: 0M 0M

Shared Pool Statistics

BeginEnd
Memory Usage %: 78.26 79.73
% SQL with executions>1: 95.18 94.20
% Memory for SQL w/exec>1: 88.62 88.05

Main Report


Back to Top

Wait Events Statistics

Back to Top

Time Model Statistics

Statistic NameTime (s)% of DB Time% of Total CPU Time
sql execute elapsed time32,203.6596.62 
DB CPU3,797.4511.3988.74
PL/SQL execution elapsed time2,617.987.85 
sequence load elapsed time1,784.925.36 
parse time elapsed98.490.30 
hard parse elapsed time70.170.21 
connection management call elapsed time51.200.15 
repeated bind elapsed time35.700.11 
PL/SQL compilation elapsed time10.230.03 
hard parse (sharing criteria) elapsed time1.500.00 
hard parse (bind mismatch) elapsed time0.400.00 
failed parse elapsed time0.120.00 
DB time33,329.21  
background elapsed time4,020.93  
background cpu time481.88 11.26
total CPU time4,279.33  


Back to Wait Events Statistics
Back to Top

Operating System Statistics

StatisticValueEnd Value
FREE_MEMORY_BYTES4,108,894,2081,349,443,584
INACTIVE_MEMORY_BYTES4,487,467,0088,808,890,368
SWAP_FREE_BYTES15,312,318,46414,210,277,376
BUSY_TIME525,262 
IDLE_TIME10,992,390 
IOWAIT_TIME30,978 
NICE_TIME369,023 
SYS_TIME76,948 
USER_TIME66,703 
LOAD11
VM_IN_BYTES7,213,056 
VM_OUT_BYTES1,108,537,344 
PHYSICAL_MEMORY_BYTES66,483,576,832 
NUM_CPUS16 
NUM_CPU_CORES8 
NUM_CPU_SOCKETS1 
GLOBAL_RECEIVE_SIZE_MAX4,194,304 
GLOBAL_SEND_SIZE_MAX4,194,304 
TCP_RECEIVE_SIZE_DEFAULT87,380 
TCP_RECEIVE_SIZE_MAX6,291,456 
TCP_RECEIVE_SIZE_MIN4,096 
TCP_SEND_SIZE_DEFAULT16,384 
TCP_SEND_SIZE_MAX4,194,304 
TCP_SEND_SIZE_MIN4,096 


Back to Wait Events Statistics
Back to Top

Operating System Statistics - Detail

Snap TimeLoad%busy%user%sys%idle%iowait
15-Sep 13:00:280.67     
15-Sep 14:00:300.904.910.620.7395.090.25
15-Sep 15:00:510.894.210.540.6195.790.29


Back to Wait Events Statistics
Back to Top

Foreground Wait Class

Wait ClassWaits%Time -outsTotal Wait Time (s)Avg wait%DB time
Configuration2,227018,0968125.76ms54.29
Concurrency55709,71917.45 s29.16
DB CPU  3,797 11.39
User I/O672,7360655.97ms1.97
Commit253,06905692.25ms1.71
Network14,792,36901318.86us0.39
System I/O33,954033.96ms0.10
Other1,553,5270117.20us0.03
Application1590215.28ms0.01


Back to Wait Events Statistics
Back to Top

Foreground Wait Events

EventWaits%Time -outsTotal Wait Time (s)Avg waitWaits /txn% DB time
log file switch (archiving needed)68 16,838247.62 s0.0050.52
buffer busy waits259 9,71837.52 s0.0029.16
log file switch (checkpoint incomplete)2,152 1,018472.98ms0.013.05
log file sync253,069 5692.25ms1.001.71
db file sequential read423,477 289682.30us1.670.87
direct path write101,994 2542.49ms0.400.76
enq: SQ - contention3 24079.87 s0.000.72
direct path read130,587 93711.71us0.510.28
SQL*Net more data from client9,924,657 898.99us39.060.27
SQL*Net vector data to client1,586,483 4125.58us6.240.12
control file sequential read33,954 33.96ms0.130.10
db file parallel read11,453 161.40ms0.050.05
PGA memory operation1,552,673 116.83us6.110.03
Disk file operations I/O4,915 3566.19us0.020.01
enq: TX - row lock contention4 2585.11ms0.000.01
SQL*Net message to client3,280,646 1388.31ns12.910.00
local write wait248 13.75ms0.000.00
cursor: pin S wait on X153 03.21ms0.000.00
kksfbc child completion7100049.50ms0.000.00
log file switch completion2 069.79ms0.000.00
CSS initialization102 0917.39us0.000.00
SQL*Net break/reset to client154 0560.79us0.000.00
enq: TX - contention13 06.62ms0.000.00
latch: shared pool75 0929.52us0.000.00
Parameter File I/O32 01.28ms0.000.00
enq: CF - contention4 07.41ms0.000.00
read by other session21 0531.24us0.000.00
library cache: mutex X24 0428.79us0.000.00
db file scattered read9 01.13ms0.000.00
row cache mutex3 03.26ms0.000.00
ASM file metadata operation102 070.75us0.000.00
SQL*Net more data to client583 010.35us0.000.00
latch: cache buffers lru chain4 01.25ms0.000.00
row cache lock18 0175.39us0.000.00
enq: US - contention16 0192.00us0.000.00
enq: KO - fast object checkpoint1 02.58ms0.000.00
cursor: pin S2 01.07ms0.000.00
cursor: mutex S2 01.07ms0.000.00
asynch descriptor resize53410003.93us0.000.00
SQL*Net message from client3,280,642 997,926304.19ms12.91 
watchdog main loop4,815 14,4453000.00ms0.02 
Streams AQ: waiting for messages in the queue117376035152.50ms0.00 
jobq slave wait80499400497.90ms0.00 
wait for unread message on broadcast channel6334692.34ms0.00 


Back to Wait Events Statistics
Back to Top

Background Wait Events

EventWaits%Time -outsTotal Wait Time (s)Avg waitWaits /txn% bg time
log file switch (archiving needed)501,015203.05 s0.0025.25
log file parallel write492,02908941.82ms1.9422.23
buffer busy waits20208634272.28ms0.0021.46
control file sequential read358,8700215598.05us1.415.34
LGWR any worker group188,0470135715.88us0.743.35
log file sequential read69,75201311.87ms0.273.25
LGWR all worker groups98,215094.96ms0.392.35
Redo Transport Open1,87805830.66ms0.011.43
control file parallel write29,0210521.79ms0.111.29
Disk file operations I/O20,826019890.29us0.080.46
db file parallel write49,140018365.89us0.190.45
LGWR worker group ordering14,04209634.31us0.060.22
enq: CF - contention583069.54ms0.000.14
log file switch (checkpoint incomplete)1104389.48ms0.000.11
oradebug request completion790343.13ms0.000.08
local write wait692034.77ms0.000.08
direct path write2,459031.21ms0.010.07
Log archive I/O1,021032.85ms0.000.07
log file single write1,878031.35ms0.010.06
latch free10,13602203.02us0.040.05
db file async I/O submit7,27902233.62us0.030.04
Data Guard network buffer stall reap390133.36ms0.000.03
direct path read2,72101411.86us0.010.03
SQL*Net break/reset to client3,69201299.89us0.010.03
DG Broker configuration file I/O876011.21ms0.000.03
db file sequential read85101644.70us0.000.01
oracle thread bootstrap53008.76ms0.000.01
PGA memory operation12,2780013.25us0.050.00
ADR block file write36003.21ms0.000.00
os thread creation53001.65ms0.000.00
ADR block file read8800645.38us0.000.00
log file sync31001.80ms0.000.00
Parameter File I/O4000855.45us0.000.00
enq: TX - contention2006.93ms0.000.00
KSV master wait537100022.51us0.000.00
row cache lock3003.75ms0.000.00
LGWR wait for redo copy4050017.37us0.000.00
reliable message1200408.42us0.000.00
get branch/thread/sequence enqueue982002.46us0.000.00
SQL*Net message to client9,40500226.90ns0.040.00
latch: redo allocation700275.86us0.000.00
enq: RF - synch: DG Broker metadata1001.66ms0.000.00
db file scattered read200786.00us0.000.00
latch: cache buffers lru chain400324.00us0.000.00
Space Manager: slave idle wait106,0110213,5992014.87ms0.42 
rdbms ipc message963,0557171,424178.00ms3.79 
pmon timer18,6798850,5652707.06ms0.07 
class slave wait573039,48968.92 s0.00 
EMON slave idle wait7,22010036,0904998.60ms0.03 
DIAG idle wait14,40410014,399999.63ms0.06 
LGWR worker group idle508,562013,52426.59ms2.00 
Data Guard: Gap Manager12207,27359.61 s0.00 
Data Guard: Timer25207,23028.69 s0.00 
AQPC idle2411007,23030.00 s0.00 
Streams AQ: qmn coordinator idle wait53007,22413.63 s0.00 
Streams AQ: qmn slave idle wait26807,22426.96 s0.00 
wait for unread message on broadcast channel7,2241007,224999.95ms0.03 
pman timer2,4081007,2242999.86ms0.01 
heartbeat redo informer7,57007,222954.08ms0.03 
lreg timer2,4071007,2213000.05ms0.01 
OFS idle2,4071007,2213000.00ms0.01 
Streams AQ: waiting for time management or cleanup tasks4507,2211805.23 s0.00 
Streams AQ: emn coordinator idle wait7221007,22110.00 s0.00 
LNS ASYNC end of log442,16706,84515.48ms1.74 
smon timer24926,815283.98 s0.00 
SQL*Net message from client12,4070131.07ms0.05 


Back to Wait Events Statistics
Back to Top

Wait Event Histogram

  % of Total Waits
EventTotal Waits<8us<16us<32us<64us<128us<256us<512us>=512us
ADR block file read88      36.463.6
ADR block file write36       100.0
ADR file lock4454.515.927.32.3    
ASM file metadata operation102   20.679.4   
AWR Flush13100.0       
CSS initialization102       100.0
DG Broker configuration file I/O876      21.878.2
Data Guard Broker Wait703100.0       
Data Guard network buffer stall reap39       100.0
Disk file operations I/O25.7K22.728.99.8.81.4.34.331.8
KSV master wait537.436.337.425.1.7   
LGWR all worker groups98.2K.013.416.7.9.51.73.962.9
LGWR any worker group188K.0.2.61.74.613.423.556.0
LGWR wait for redo copy40527.437.030.93.7.5.2 .2
LGWR worker group ordering14K1.211.59.85.812.221.213.924.3
Log archive I/O102180.8.4     18.8
PGA memory operation1.6M92.54.11.7.7.2.3.2.4
Parameter File I/O72     2.820.876.4
Redo Transport Open187850.0      50.0
SQL*Net break/reset to client384649.2 .6.0.810.310.728.3
SQL*Net message to client3.3M99.9.0.0.0.0   
SQL*Net more data from client9.9M85.65.44.92.2.9.4.5.2
SQL*Net more data to client58334.848.014.13.1    
SQL*Net vector data to client1.6M.21.985.612.3.0  .0
asynch descriptor resize111299.2.5.2.1    
buffer busy waits4617.210.042.511.32.82.81.322.1
control file parallel write29K       100.0
control file sequential read392.8K     1.842.455.9
cursor: mutex S2       100.0
cursor: mutex X250.050.0      
cursor: pin S2       100.0
cursor: pin S wait on X153       100.0
db file async I/O submit72791.412.730.021.28.68.29.98.0
db file parallel read11.5K      2.497.6
db file parallel write49.1K12.12.07.113.418.616.210.220.4
db file scattered read11       100.0
db file sequential read424.4K     .129.071.0
direct path read133.3K.0.0.0.2.22.923.373.4
direct path write104.4K.0.1.4.81.82.84.090.0
enq: CF - contention587 .2.2.71.01.75.191.1
enq: CR - block range reuse ckpt8  12.562.525.0   
enq: KO - fast object checkpoint1       100.0
enq: RF - synch: DG Broker metadata1       100.0
enq: SQ - contention3   33.333.3  33.3
enq: TX - allocate ITL entry1   100.0    
enq: TX - contention15   6.7 6.7 86.7
enq: TX - index contention3 33.3  33.3  33.3
enq: TX - row lock contention4      25.075.0
enq: US - contention16 6.3  25.043.825.0 
get branch/thread/sequence enqueue98299.4.6      
kksfbc child completion7       100.0
latch free10.1K.2.1.3.3.197.41.5.0
latch: cache buffers chains10079.02.017.01.0   1.0
latch: cache buffers lru chain8   50.012.5  37.5
latch: checkpoint queue latch1      100.0 
latch: object queue header operation1      100.0 
latch: redo allocation911.122.255.6    11.1
latch: redo writing1   100.0    
latch: shared pool782.61.332.126.912.811.57.75.1
library cache load lock825.0 12.5 37.512.5 12.5
library cache lock333.3    66.7  
library cache: mutex X2788.93.7   3.7 3.7
local write wait940       100.0
log file parallel write492K       100.0
log file sequential read69.8K5.3.1.41.22.03.011.476.7
log file single write1878       100.0
log file switch (archiving needed)73       100.0
log file switch (checkpoint incomplete)2164    .0.1.299.6
log file switch completion2       100.0
log file sync253.1K.0.0.0.0.1.2.599.2
oracle thread bootstrap53       100.0
oradebug request completion79       100.0
os thread creation53       100.0
read by other session21   4.814.314.34.861.9
reliable message17  5.941.25.917.6 29.4
row cache lock21 9.59.5 28.642.9 9.5
row cache mutex3 33.333.3    33.3
transaction1 100.0      
AQPC idle241       100.0
DIAG idle wait14.4K       100.0
Data Guard: Gap Manager122       100.0
Data Guard: Timer252       100.0
EMON slave idle wait7219       100.0
LGWR worker group idle508.5K2.314.53.8.2.2.4.677.9
LNS ASYNC end of log442.1K.1.1.3.82.15.39.282.1
OFS idle2408       100.0
SQL*Net message from client3.3M  2.1.9.32.211.583.0
Space Manager: slave idle wait106K.5.2.9.8.914.9.381.6
Streams AQ: emn coordinator idle wait722       100.0
Streams AQ: qmn coordinator idle wait5301.1  46.21.9.6 50.2
Streams AQ: qmn slave idle wait2682.2      97.8
Streams AQ: waiting for messages in the queue117       100.0
Streams AQ: waiting for time management or cleanup tasks4       100.0
class slave wait575  .35.9.7 .292.9
heartbeat redo informer7570       100.0
jobq slave wait804       100.0
lreg timer2407  .1    99.9
pman timer2408       100.0
pmon timer18.7K.0  .0 .0.099.9
rdbms ipc message963K7.113.33.1.71.12.710.461.5
smon timer24       100.0
wait for unread message on broadcast channel7231       100.0
watchdog main loop4815       100.0


Back to Wait Events Statistics
Back to Top

Wait Event Histogram (up to 64 us)

  % of Total Waits
EventWaits 1us - 64us <1us <2us <4us<8us<16us<32us<64us>=64us
ADR file lock442.331.815.94.515.927.32.3 
ASM file metadata operation21      20.679.4
AWR Flush1346.253.8      
Data Guard Broker Wait70359.940.1      
Disk file operations I/O16K.0.77.214.928.99.8.837.8
KSV master wait533 .4  36.337.425.1.7
LGWR all worker groups30.5K.0.0.0.013.416.7.969.0
LGWR any worker group4674.0.0 .0.2.61.797.5
LGWR wait for redo copy40114.811.6.7.237.030.93.71.0
LGWR worker group ordering3984.3.3.3.311.59.85.871.6
Log archive I/O829.124.353.72.7.4  18.8
PGA memory operation1.5M3.860.322.85.54.11.7.71.1
Redo Transport Open93927.222.7.1    50.0
SQL*Net break/reset to client1917 .045.93.3 .6.050.2
SQL*Net message to client3.3M64.033.82.1.0.0.0.0.0
SQL*Net more data from client9.7M2.515.952.814.45.44.92.21.9
SQL*Net more data to client583 5.126.92.748.014.13.1 
SQL*Net vector data to client1.6M   .21.985.612.3.0
asynch descriptor resize111211.236.122.929.0.5.2.1 
buffer busy waits327.23.03.3.710.042.511.329.1
cursor: mutex X2   50.050.0   
db file async I/O submit4752  .01.412.730.021.234.7
db file parallel write17K.36.14.61.02.07.113.465.4
direct path read299  .0.0.0.0.299.8
direct path write1441 .0.0.0.1.4.898.6
enq: CF - contention6    .2.2.799.0
enq: CR - block range reuse ckpt6     12.562.525.0
enq: SQ - contention1      33.366.7
enq: TX - allocate ITL entry1      100.0 
enq: TX - contention1      6.793.3
enq: TX - index contention1    33.3  66.7
enq: US - contention1    6.3  93.8
get branch/thread/sequence enqueue982 3.092.44.1.6   
latch free99 .0.2.0.1.3.399.0
latch: cache buffers chains993.015.051.010.02.017.01.01.0
latch: cache buffers lru chain4      50.050.0
latch: redo allocation8  11.1 22.255.6 11.1
latch: redo writing1      100.0 
latch: shared pool49   2.61.332.126.937.2
library cache load lock3 25.0   12.5 62.5
library cache lock1 33.3     66.7
library cache: mutex X25  3.785.23.7  7.4
log file sequential read48631.93.2.2.0.1.41.293.0
log file sync118 .0.0.0.0.0.0100.0
read by other session1      4.895.2
reliable message8     5.941.252.9
row cache lock4    9.59.5 81.0
row cache mutex2    33.333.3 33.3
transaction1    100.0   


Back to Wait Events Statistics
Back to Top

Wait Event Histogram (up to 32 ms)

  % of Total Waits
EventWaits 1ms to 32ms <512us <1ms <2ms <4ms<8ms<16ms<32ms>=32ms
ADR block file read5636.458.03.42.3    
ADR block file write35  69.416.711.1  2.8
CSS initialization102 89.210.8     
DG Broker configuration file I/O68521.821.243.712.3.6.3  
Data Guard network buffer stall reap23    7.725.625.641.0
Disk file operations I/O818268.29.410.54.07.3.5.0.0
LGWR all worker groups61.7K37.121.333.95.02.3.4.0.0
LGWR any worker group105.3K44.040.911.52.4.9.2.0.0
LGWR wait for redo copy199.8 .2     
LGWR worker group ordering341075.79.16.94.92.8.5.1 
Log archive I/O16581.2 2.67.21.1.64.62.6
PGA memory operation653499.6.4.0.0    
Parameter File I/O5523.618.155.61.41.4   
Redo Transport Open250.0     .149.9
SQL*Net break/reset to client108971.726.01.2.5.5.1.1 
SQL*Net more data from client18K99.8.2.0.0.0.0.0.0
SQL*Net vector data to client2100.0 .0     
buffer busy waits2477.9.4.41.31.11.1.916.9
control file parallel write29K .085.89.33.9.9.1.0
control file sequential read219.4K44.151.92.41.1.4.1.0.0
cursor: mutex S2  100.0     
cursor: pin S2  100.0     
cursor: pin S wait on X153  50.318.326.13.91.3 
db file async I/O submit58192.03.62.01.7.4.2.0 
db file parallel read11.2K2.458.023.013.32.6.5.2.0
db file parallel write10K79.610.27.91.7.4.1.0.0
db file scattered read11 63.627.39.1    
db file sequential read301.1K29.065.14.31.3.2.0.0.0
direct path read97.8K26.669.62.5.8.4.1.0.0
direct path write94K10.04.535.940.57.11.5.5.1
enq: CF - contention5318.99.510.711.92.444.511.4.7
enq: KO - fast object checkpoint1   100.0    
enq: RF - synch: DG Broker metadata1  100.0     
enq: TX - contention1313.326.76.713.36.720.013.3 
enq: TX - index contention166.733.3      
enq: TX - row lock contention225.050.0     25.0
latch free2100.0   .0   
latch: cache buffers chains199.01.0      
latch: cache buffers lru chain362.512.512.5 12.5   
latch: redo allocation188.9 11.1     
latch: shared pool394.91.3  1.31.3 1.3
library cache load lock187.512.5      
library cache: mutex X196.3    3.7  
local write wait935   70.421.55.52.0.5
log file parallel write491.9K 1.978.713.84.8.8.1.0
log file sequential read53.5K23.320.723.821.78.61.7.2.0
log file single write1878 2.393.93.0.8   
log file switch (archiving needed)8      11.089.0
log file switch (checkpoint incomplete)1153.4.3.61.43.535.611.846.3
log file sync250.9K.81.363.125.37.91.3.2.0
oracle thread bootstrap53    67.926.45.7 
oradebug request completion39   10.17.615.216.550.6
os thread creation53 49.141.53.81.93.8  
read by other session1338.161.9      
reliable message570.629.4      
row cache lock290.5 4.8  4.8  
row cache mutex166.7    33.3  


Back to Wait Events Statistics
Back to Top

Wait Event Histogram (up to 2 sec)

  % of Total Waits
EventWaits 64ms to 2s<32ms<64ms<1/8s<1/4s<1/2s <1s <2s>=2s
ADR block file write197.22.8      
Data Guard network buffer stall reap1659.028.212.8     
Disk file operations I/O2100.0.0      
LGWR all worker groups5100.0.0      
LGWR any worker group5100.0.0      
Log archive I/O2797.42.4.3     
Redo Transport Open93750.135.812.71.2.1.1  
SQL*Net more data from client2100.0.0      
buffer busy waits2083.1 .91.1.41.7.212.6
control file parallel write3100.0.0      
control file sequential read15100.0.0      
db file parallel read3100.0.0      
db file parallel write1100.0.0      
db file sequential read3100.0.0      
direct path read5100.0.0      
direct path write5899.9.1.0     
enq: CF - contention499.3.7      
kksfbc child completion7 100.0      
latch: shared pool198.71.3      
local write wait599.5.5      
log file parallel write35100.0.0.0     
log file sequential read6100.0.0      
log file switch (archiving needed)211.0    2.7 86.3
log file switch (checkpoint incomplete)98053.71.61.42.55.712.821.31.1
log file switch completion2 50.050.0     
log file sync58100.0.0.0     
oradebug request completion4049.417.732.9     


Back to Wait Events Statistics
Back to Top

Wait Event Histogram (up to 2 min)

  % of Total Waits
EventWaits 4s to 2m<2s <4s <8s<16s<32s< 1m< 2m>=2m
buffer busy waits3187.4  1.54.1.2.95.9
enq: TX - row lock contention175.025.0      
log file switch (archiving needed)713.7  1.46.8 1.476.7
log file switch (checkpoint incomplete)2398.91.1      


Back to Wait Events Statistics
Back to Top

Wait Event Histogram (up to 1 hr)

  % of Total Waits
EventWaits 4m to 1h <2m <4m <8m<1/4h<1/2h< 1h>=1h
buffer busy waits2794.12.81.31.7   
enq: SQ - contention166.733.3     
log file switch (archiving needed)5623.349.39.617.8   


Back to Wait Events Statistics
Back to Top

Service Statistics

Service NameDB Time (s)DB CPU (s)Physical Reads (K)Logical Reads (K)
SYS$USERS33,3293,7987,004414,387
NNESP01P_A0000
NNESP01P_CFG0000
SYS$BACKGROUND00716,250


Back to Wait Events Statistics
Back to Top

Service Wait Class Stats

Service NameUser I/O Total WtsUser I/O Wt TimeConcurcy Total WtsConcurcy Wt TimeAdmin Total WtsAdmin Wt TimeNetwork Total WtsNetwork Wt Time
SYS$USERS 67276465555797190014791584131
NNESP01P_A 00000000
SYS$BACKGROUND 284952830586300391


Back to Wait Events Statistics
Back to Top

Top 10 Channel Waits

ChannelWaitsTotal Wait Time (s)Avg Wait
obj broadcast channel 6029.50us
parameters to cluster db instances - broadcast channel 8038.63us
RBR channel 140418.00us


Back to Wait Events Statistics
Back to Top

Top Process Types by Wait Class

Process TypeDescriptionWait Class TypeWait Time (sec)
 Others (foregrounds + unclassified backgrounds)Configuration18,572.10
 Others (foregrounds + unclassified backgrounds)Concurrency9,191.87
MMONManageability Monitor ProcessConfiguration1,016.06
LGLog Writer SlaveSystem I/O893.69
 Others (foregrounds + unclassified backgrounds)User I/O655.25
 Others (foregrounds + unclassified backgrounds)Commit569.59
JJob queue slavesConcurrency514.68
Wspace management slave poolConcurrency458.46
SMONSystem Monitor ProcessConcurrency400.95
LGWRRedo etc.Other233.86
LGWRRedo etc.System I/O171.29
 Others (foregrounds + unclassified backgrounds)Network131.26
TT*Redo TransportOther57.69
TT*Redo TransportSystem I/O53.89
ARC1Archival Process 1System I/O37.23
ARC2Archival Process 2System I/O37.13
ARC0Archival Process 0System I/O36.87
ARC3Archival Process 3System I/O36.64
 Others (foregrounds + unclassified backgrounds)System I/O32.62
CKPTcheckpointSystem I/O26.48


Back to Wait Events Statistics
Back to Top

Top Process Types by CPU Used

Process TypeDescriptionCPU Time (sec)
 Others (foregrounds + unclassified backgrounds)3,799.33
TT*Redo Transport194.08
CL*process cleanup slave43.92
DIA0diagnosibility process 043.00
LGLog Writer Slave40.45
MMMON slave class 129.70
LGWRRedo etc.28.83
Wspace management slave pool19.68
DBRMDataBase Resource Manager12.50
MMNLManageability Monitor Process 29.74
MZMMON slave class 28.33
ARC3Archival Process 38.03
ARC0Archival Process 07.95
ARC2Archival Process 27.76
ARC1Archival Process 17.71
DBW0db writer process 03.45
DBW1db writer process 13.25
CJQ0Job Queue Coordinator2.50
PParallel query slave2.39
CKPTcheckpoint1.98


Back to Wait Events Statistics
Back to Top

SQL Statistics

Back to Top

SQL ordered by Elapsed Time

Elapsed Time (s)Executions Elapsed Time per Exec (s) %Total%CPU%IO SQL IdSQL ModuleSQL Text
11,422.5360,6620.1934.274.260.003ajsr75apqgd8 WS.GEN BEGIN insis_gen_cfg_v10.rb_srv...
10,916.13147,9260.0732.750.570.00bh84mx8uugk2t GEN SELECT * FROM TABLE(RBI_NOM_CO...
10,902.82148,4080.0732.710.210.00b89tb01phnr7s GEN WITH C_MASTER AS (SELECT B.PRO...
10,618.89148,1850.0731.861.080.009hfut3qvrzcac GEN SELECT * FROM TABLE(RBI_NOM_CO...
3,551.001,8781.8910.650.220.37ay8q3jzbthvuh JDBC Thin Client INSERT INTO IAU_COMMON COLUMNS...
2,955.183169.358.870.020.008pjwnhc1c62pz JDBC Thin Client BEGIN :1 := insis_sys_v10.aq_u...
1,820.804,2070.435.4628.344.663q3rpf9r1hx0x JDBC Thin Client DECLARE result INT; BEGIN resu...
1,749.146602.655.250.010.005t0w7b7rwmddq JDBC Thin Client UPDATE QRTZ_SCHEDULER_STATE SE...
1,682.5932,3930.055.0529.150.294tqv879z0n758 JDBC Thin Client BEGIN INSIS_SYS_V10.SRV_EVENTS...
1,544.665,1550.304.630.040.004m7m0t6fjcs5x   update seq$ set increment$=:2,...
1,350.207,2090.194.050.060.006qhb6w68a0gvx   WITH X1 AS (SELECT TABLE_NAME,...
1,273.0719,5490.073.8298.510.00g3f9anp86j2cw JDBC Thin Client BEGIN insis_context.Prepare_Se...
1,242.4686,4130.013.7312.330.00ggg8hk3gqst7w JDBC Thin Client update ProcessInstanceInfo set...
1,210.01263,1650.003.6399.580.00d8uxmtq3qwjqu SQL*Plus SELECT NAMESPACE, ATTRIBUTE FR...
1,064.933183.353.200.020.0069sv4apbmu1u6 JDBC Thin Client SELECT SRV_EVENT_SEQ.nextval N...
755.201913.952.270.270.00ag2u4uhg6kkn1 WS.GEN SELECT q.id, q.quest_id, q.que...
747.201,5810.472.240.130.0079vqhq25p3038 WS.GEN SELECT /*+ DYNAMIC_SAMPLING(st...
675.876112.652.030.020.000zy73fwdbj3xm GEN delete from SessionInfo where ...
612.704,1570.151.840.090.00cjj5a8k0qzr2q GEN SELECT BP.PAYMENT_ID, BA.APPLI...
599.62738.211.800.180.002brqw8cqaj6tn WS.GEN BEGIN insis_people_v10.srv_peo...
598.38748.091.800.050.000xphvddu9d7wc WS.GEN INSERT INTO P_PEOPLE_CHANGES (...
595.321234.841.790.030.0032ujvt7upjgy7 GEN SELECT /*+ DYNAMIC_SAMPLING(st...
594.802325.861.780.020.0082akdnpv49zq9 GEN SELECT ClaimObjects.ANNEX_ID, ...
577.18116,0500.001.736.210.003un3uka335wp4 SQL*Plus BEGIN rb_cs_common.ParamValue(...
548.0012,1700.051.641.280.00ggdtf51ghany4 WS.GEN SELECT /*+ DYNAMIC_SAMPLING(f,...
543.3211,0770.051.630.450.00bfdqpzu2mk8jy GEN WITH C_MASTER AS (SELECT B.PRO...
540.971224.431.620.060.006wfsppjwhm53t GEN BEGIN insis_gen_v10.srv_policy...
531.301531.301.590.020.00b0bf7ct0tbb5m JDBC Thin Client insert into insis_cust.audit_l...
515.181515.181.550.110.01ft8u1vzy0n92z DBMS_SCHEDULER call INSIS_SCHEDULER.SCHEDULER...
514.682257.341.540.020.001kz16yhs993h2 INSIS_SCHEDULER insert into sys.scheduler$_eve...
510.732462.081.530.000.007hbk609csy3pc JDBC Thin Client SELECT INSTANCE FROM ACTIVE WH...


Back to SQL Statistics
Back to Top

SQL ordered by CPU Time

CPU Time (s)Executions CPU per Exec (s)%TotalElapsed Time (s)%CPU%IO SQL IdSQL ModuleSQL Text
1,254.0419,5490.0633.021,273.0798.510.00g3f9anp86j2cw JDBC Thin Client BEGIN insis_context.Prepare_Se...
1,204.97263,1650.0031.731,210.0199.580.00d8uxmtq3qwjqu SQL*Plus SELECT NAMESPACE, ATTRIBUTE FR...
515.974,2070.1213.591,820.8028.344.663q3rpf9r1hx0x JDBC Thin Client DECLARE result INT; BEGIN resu...
490.5132,3930.0212.921,682.5929.150.294tqv879z0n758 JDBC Thin Client BEGIN INSIS_SYS_V10.SRV_EVENTS...
487.0160,6620.0112.8211,422.534.260.003ajsr75apqgd8 WS.GEN BEGIN insis_gen_cfg_v10.rb_srv...
153.1686,4130.004.031,242.4612.330.00ggg8hk3gqst7w JDBC Thin Client update ProcessInstanceInfo set...
138.672670.523.65139.2699.580.00447h7nm94v4ac WS.GEN BEGIN insis_cust.srv_cust_ds_q...
115.02148,1850.003.0310,618.891.080.009hfut3qvrzcac GEN SELECT * FROM TABLE(RBI_NOM_CO...
91.8054,9030.002.4292.0299.770.0441v4b16phu33t JDBC Thin Client BEGIN srv_events_common.getKWV...
66.9612,2260.011.7670.9594.380.00axjfrq5n4qd9v GEN BEGIN srv_system.Get_Context( ...
61.97147,9260.001.6310,916.130.570.00bh84mx8uugk2t GEN SELECT * FROM TABLE(RBI_NOM_CO...
56.16301.871.4856.1999.960.0027tyz74dyg625 GEN SELECT BlcPayments.PAYMENT_ID,...
53.9246,1910.001.4254.0899.710.004bw2ddp4vv110 WS.GEN SELECT OUTCONOUTER.ATTRCODE AS...
42.921080.401.1344.0097.532.380f6fqmbd77s1v GEN SELECT INSIS_GEN_BLC_V10.BLC_T...
39.6612,6190.001.0442.1794.060.00fjvmxv2f46065 JDBC Thin Client DECLARE p1 VARCHAR2(20); p2 VA...
38.56640.601.0238.6499.800.00gvswmctbh6nnw WS.GEN BEGIN insis_cust.srv_cust_ds_q...


Back to SQL Statistics
Back to Top

SQL ordered by User I/O Wait Time

User I/O Time (s)Executions UIO per Exec (s)%TotalElapsed Time (s)%CPU%IO SQL IdSQL ModuleSQL Text
116.25129.6917.02119.584.1397.21gf4yn91705cfx JDBC Thin Client /*dt:ownQuery*/WITH getsize AS...
84.804,2070.0212.421,820.8028.344.663q3rpf9r1hx0x JDBC Thin Client DECLARE result INT; BEGIN resu...
50.9142,8860.007.4559.6728.8085.32dcuj2dhgmpv34 GEN SELECT BT.CURRENCY, BT.AMOUNT,...
50.6742,8860.007.4256.3424.7289.93c4hm92pdyf9dh GEN SELECT SUM(TARGET_AMOUNT) FROM...
25.5848,0230.003.7530.505.6883.87admh1skuwtbnk JDBC Thin Client select processins0_.InstanceId...
13.001,8780.011.903,551.000.220.37ay8q3jzbthvuh JDBC Thin Client INSERT INTO IAU_COMMON COLUMNS...
4.9232,3930.000.721,682.5929.150.294tqv879z0n758 JDBC Thin Client BEGIN INSIS_SYS_V10.SRV_EVENTS...
1.121080.010.161.2814.0688.144z7t8ndjgvt9m GEN SELECT MIN(BD.PERIOD_FROM), MI...
1.051080.010.1544.0097.532.380f6fqmbd77s1v GEN SELECT INSIS_GEN_BLC_V10.BLC_T...
0.79170.050.1217.5195.654.5168sm2sdz9h00t WS.GEN BEGIN srv_billing_ps_bo.Direct...


Back to SQL Statistics
Back to Top

SQL ordered by Gets

Buffer Gets ExecutionsGets per Exec %TotalElapsed Time (s) %CPU %IO SQL IdSQL ModuleSQL Text
86,946,76586,4131,006.1820.191,242.4612.30ggg8hk3gqst7w JDBC Thin Client update ProcessInstanceInfo set...
69,138,05532,3932,134.3516.061,682.5929.2.34tqv879z0n758 JDBC Thin Client BEGIN INSIS_SYS_V10.SRV_EVENTS...
61,575,343302,052,511.4314.3056.19100027tyz74dyg625 GEN SELECT BlcPayments.PAYMENT_ID,...
58,347,97960,662961.8513.5511,422.534.303ajsr75apqgd8 WS.GEN BEGIN insis_gen_cfg_v10.rb_srv...
40,876,89554,903744.539.4992.0299.8041v4b16phu33t JDBC Thin Client BEGIN srv_events_common.getKWV...
31,025,1984,2077,374.667.211,820.8028.34.73q3rpf9r1hx0x JDBC Thin Client DECLARE result INT; BEGIN resu...
21,243,992121,770,332.674.9319.6499.303v6nv8u6wbq8d GEN SELECT BlcPayments.PAYMENT_ID,...
15,473,01684,557182.993.5920.1198.601ak02x9xb11mx GEN SELECT ORDER_ID, ORDER_DATE, P...
13,000,723108120,377.063.0244.0097.52.40f6fqmbd77s1v GEN SELECT INSIS_GEN_BLC_V10.BLC_T...
9,797,308148,18566.122.2810,618.891.109hfut3qvrzcac GEN SELECT * FROM TABLE(RBI_NOM_CO...
8,312,29748173,172.851.9318.2710009c7qbm1svt7dy WS.GEN SELECT NVL(GREATEST (SUM (pppf...
7,545,75875100,610.111.7530.4299.6.2ad8r3431t8v01 WS.GEN BEGIN srv_policy_bo.Insert_Ins...
6,783,53512,226554.851.5870.9594.40axjfrq5n4qd9v GEN BEGIN srv_system.Get_Context( ...
6,747,6131,4034,809.421.5729.8410007kz2vfa0gkk0y WS.GEN SELECT P_COVER_TYPE ( INSURED_...
6,745,1407329,214.671.5730.5799.404pzd7jrb7zma9 WS.GEN BEGIN srv_policy_ds.GetCover( ...
6,639,7049669,163.581.5432.2297.1.15xvk4h5ujy20k WS.GEN BEGIN insis_ul_v10.srv_invest_...
6,540,36332320,248.801.5216.80100078qsqqh4q1fdb WS.GEN WITH A AS ( SELECT S.RISK_TYPE...
6,082,72026722,781.721.41139.2699.60447h7nm94v4ac WS.GEN BEGIN insis_cust.srv_cust_ds_q...
6,058,79519,549309.931.411,273.0798.50g3f9anp86j2cw JDBC Thin Client BEGIN insis_context.Prepare_Se...
5,122,188147,92634.631.1910,916.13.60bh84mx8uugk2t GEN SELECT * FROM TABLE(RBI_NOM_CO...
5,110,26916431,160.181.1926.8099.9.1ct4x6n43nykun WS.GEN BEGIN insis_gen_ri_v10.srv_ri_...
4,607,72815,157304.001.0721.3843.20bzccmyk64zt8n JDBC Thin Client SELECT /*+ FIRST_ROWS(10) */ c...
4,425,47938116,459.971.0318.7791.1.2f7gznycvm74x7 WS.GEN BEGIN srv_policy_bo.ApplySelec...
4,416,83142,886102.991.0359.6728.885.3dcuj2dhgmpv34 GEN SELECT BT.CURRENCY, BT.AMOUNT,...
4,346,27012,619344.421.0142.1794.10fjvmxv2f46065 JDBC Thin Client DECLARE p1 VARCHAR2(20); p2 VA...


Back to SQL Statistics
Back to Top

SQL ordered by Reads

Physical ReadsExecutionsReads per Exec %TotalElapsed Time (s)%CPU%IO SQL IdSQL ModuleSQL Text
428,7854,207101.926.121,820.8028.344.663q3rpf9r1hx0x JDBC Thin Client DECLARE result INT; BEGIN resu...
263,33442,8866.143.7659.6728.8085.32dcuj2dhgmpv34 GEN SELECT BT.CURRENCY, BT.AMOUNT,...
262,99742,8866.133.7556.3424.7289.93c4hm92pdyf9dh GEN SELECT SUM(TARGET_AMOUNT) FROM...
176,9271214,743.922.52119.584.1397.21gf4yn91705cfx JDBC Thin Client /*dt:ownQuery*/WITH getsize AS...
120,2591081,113.511.7244.0097.532.380f6fqmbd77s1v GEN SELECT INSIS_GEN_BLC_V10.BLC_T...
47,30848,0230.990.6730.505.6883.87admh1skuwtbnk JDBC Thin Client select processins0_.InstanceId...
17,5591,8789.350.253,551.000.220.37ay8q3jzbthvuh JDBC Thin Client INSERT INTO IAU_COMMON COLUMNS...
6,67432,3930.210.101,682.5929.150.294tqv879z0n758 JDBC Thin Client BEGIN INSIS_SYS_V10.SRV_EVENTS...
1,61110814.920.021.2814.0688.144z7t8ndjgvt9m GEN SELECT MIN(BD.PERIOD_FROM), MI...
1,1061765.060.0217.5195.654.5168sm2sdz9h00t WS.GEN BEGIN srv_billing_ps_bo.Direct...


Back to SQL Statistics
Back to Top

SQL ordered by Physical Reads (UnOptimized)

UnOptimized Read ReqsPhysical Read ReqsExecutionsUnOptimized Reqs per Exec%Opt%Total SQL IdSQL ModuleSQL Text
263,334263,33442,8866.140.0033.00dcuj2dhgmpv34 GEN SELECT BT.CURRENCY, BT.AMOUNT,...
262,997262,99742,8866.130.0032.96c4hm92pdyf9dh GEN SELECT SUM(TARGET_AMOUNT) FROM...
177,611177,6111214,800.920.0022.26gf4yn91705cfx JDBC Thin Client /*dt:ownQuery*/WITH getsize AS...
47,30847,30848,0230.990.005.93admh1skuwtbnk JDBC Thin Client select processins0_.InstanceId...
17,55917,5591,8789.350.002.20ay8q3jzbthvuh JDBC Thin Client INSERT INTO IAU_COMMON COLUMNS...
13,89013,89024856.010.001.7418mqgjctmn7aj JDBC Thin Client select * from (select name, to...
6,5816,58132,3930.200.000.824tqv879z0n758 JDBC Thin Client BEGIN INSIS_SYS_V10.SRV_EVENTS...
1,1061,1061765.060.000.1468sm2sdz9h00t WS.GEN BEGIN srv_billing_ps_bo.Direct...
9609601088.890.000.120f6fqmbd77s1v GEN SELECT INSIS_GEN_BLC_V10.BLC_T...
94194142,8840.020.000.129pmfvsnkhxt4a GEN BEGIN SRV_BILLING_BO.BLC_Item_...


Back to SQL Statistics
Back to Top

SQL ordered by Executions

Executions Rows ProcessedRows per ExecElapsed Time (s) %CPU %IO SQL IdSQL ModuleSQL Text
508,251364,6010.728.2592.9.19vhmnmg5j5hhg SQL*Plus SELECT EVENT_ID, FUNCTION_NAME...
356,525713,0502.003.76101.30au634v7kfdy4f GEN BEGIN IF 1=1 THEN :l_result :=...
325,8031,760,0235.4013.6198.403tk3z1ayxmyrt GEN WITH A AS ( SELECT STATEMENT_O...
263,16500.001,210.0199.60d8uxmtq3qwjqu SQL*Plus SELECT NAMESPACE, ATTRIBUTE FR...
251,9056410.002.0394.6016k4aqa86c4bh SQL*Plus SELECT EVENT_ID, FUNCTION_NAME...
148,408153,2541.0310,902.82.20b89tb01phnr7s GEN WITH C_MASTER AS (SELECT B.PRO...
148,185330,9122.2310,618.891.109hfut3qvrzcac GEN SELECT * FROM TABLE(RBI_NOM_CO...
147,926152,7091.0310,916.13.60bh84mx8uugk2t GEN SELECT * FROM TABLE(RBI_NOM_CO...
147,54340.003.1193.30020cka0d658gv JDBC Thin Client SELECT LAYER_CPR_ID FROM CPR_L...
147,53700.002.4291.605ruswtsgwwyq1 GEN SELECT LAYER_CPR_ID FROM CPR_L...


Back to SQL Statistics
Back to Top

SQL ordered by Parse Calls

Parse CallsExecutions % Total Parses SQL IdSQL ModuleSQL Text
288,757508,2519.719vhmnmg5j5hhg SQL*Plus SELECT EVENT_ID, FUNCTION_NAME...
128,385356,5254.32au634v7kfdy4f GEN BEGIN IF 1=1 THEN :l_result :=...
85,77685,7762.880rc203ntss5f0 GEN SELECT BLC_SOURCE FROM HST_CLA...
73,139116,0502.463un3uka335wp4 SQL*Plus BEGIN rb_cs_common.ParamValue(...
60,682102,4932.0407m0chpnnrwxb GEN SELECT CPR_RULE_ID, SEQUENCE_T...
45,799325,8031.543tk3z1ayxmyrt GEN WITH A AS ( SELECT STATEMENT_O...
44,41844,4181.493csu4cbug7927 JDBC Thin Client BEGIN rb_cs_common.Country( :p...
42,88542,8851.44d4zns8492dchu GEN BEGIN INSIS_BLC_GLOBAL_CUST.sr...
42,88442,8841.4414gjtb4v0g018 GEN BEGIN insis_claim.srv_billing_...
42,88442,8841.449pmfvsnkhxt4a GEN BEGIN SRV_BILLING_BO.BLC_Item_...
42,87942,8791.4440m3cxjxzu2qr GEN BEGIN SRV_BILL_BO.Get_billing_...
36,58436,5851.235xvpmr5xubh5t GEN BEGIN rbi_data.SetUserProfile(...


Back to SQL Statistics
Back to Top

SQL ordered by Sharable Memory

Sharable Mem (b)Executions % Total SQL IdSQL ModuleSQL Text
4,191,371270.080za9fv0j1vgkk   WITH MONITOR_DATA AS (SELECT *...
3,504,270160.07aahq4qbx8633v GEN SELECT WebMenuView.ENTRY_LEVEL...
2,495,025670.057hdck51db5x8y GEN SELECT * FROM (SELECT ClaimReq...
2,108,972270.04atwuyuvqkf27w   SELECT /*+ OPT_PARAM('_fix_con...
1,550,119720.039uwqyhhd8mrp6 GEN SELECT * FROM (SELECT ClaimObj...
1,290,08450.03bf1xvxfuhwccu GEN SELECT ClaimObjectsIndemnity.C...
1,242,258160.028ccsdnu3qqyrr GEN SELECT MenuEntryUserView.MENU_...
1,165,052160.027fsg7bp85w7kt GEN SELECT /*+ DYNAMIC_SAMPLING(Co...
1,099,6351080.024z7t8ndjgvt9m GEN SELECT MIN(BD.PERIOD_FROM), MI...


Back to SQL Statistics
Back to Top

SQL ordered by Version Count

No data exists for this section of the report.

Back to SQL Statistics
Back to Top

Complete List of SQL Text

SQL IdSQL Text
020cka0d658gvSELECT LAYER_CPR_ID FROM CPR_LAYER WHERE COUNTRY_ID = :B2 AND COMPANY_ID IS NULL AND CUSTOMER_GRP IS NULL AND AFFINITY_GRP IS NULL AND SALES_CHANNEL IS NULL AND CAMPAIGN_ID IS NULL AND :B1 BETWEEN VALID_FROM AND NVL(VALID_TO, :B1 )
07m0chpnnrwxbSELECT CPR_RULE_ID, SEQUENCE_TYPE AS SEQ_TYPE, NVL(RETURN_NAME, :B6 ) AS RETURN_NAME, DECODE( SEQUENCE_TYPE, :B3 , :B5 , SEQUENCE_TYPE ) AS SEQUENCE_TYPE FROM CPRS_RULE_SEQUENTIAL WHERE MAIN_RULE_ID = :B4 ORDER BY DECODE( SEQ_TYPE, :B3 , LPAD( RULE_ORDER, :B2 , :B1 ), RETURN_NAME ), RULE_ORDER, SEQ_TYPE
0f6fqmbd77s1vSELECT INSIS_GEN_BLC_V10.BLC_TRANSACTIONS_TYPE( BT.TRANSACTION_ID , BT.TRANSACTION_CLASS , BT.TRANSACTION_TYPE , BT.TRANSACTION_DATE , BT.GL_DATE , BT.CURRENCY , BT.AMOUNT , BT.ASSESSED_VALUE , BT.RATE , BT.RATE_DATE , BT.RATE_TYPE , BT.VARIANCE , BT.FC_CURRENCY , BT.FC_AMOUNT , BT.FC_VARIANCE , BT.ITEM_NAME , BT.NOTES , BT.DUE_DATE , BT.GRACE , BT.GRACE_EXTRA , BT.LEGAL_ENTITY , BT.ORG_ID , BT.ACCOUNT_ID , BT.ITEM_ID , BT.DOC_ID , BT.APPLICATION_ID , BT.TAX_ID , BT.PARENT_TRX_ID , BT.BILLING_RUN_ID , BT.STATUS , BT.CREATED_ON , BT.CREATED_BY , BT.UPDATED_ON , BT.UPDATED_BY , BT.ATTRIB_0 , BT.ATTRIB_1 , BT.ATTRIB_2 , BT.ATTRIB_3 , BT.ATTRIB_4 , BT.ATTRIB_5 , BT.ATTRIB_6 , BT.ATTRIB_7 , BT.ATTRIB_8 , BT.ATTRIB_9 , BT.OPEN_BALANCE , BT.PAID_STATUS , BT.CHARGE_TO , BT.REF_DOC_ID , BT.PAY_WAY_ID , BT.PAY_INSTR , BT.ACTUAL_OPEN_BALANCE , BT.LINE_NUMBER , BT.POSTPROCESS , BT.LOB , BT.FRACTION_TYPE , BT.COMM_FLAG , BT.PRIORITY , BT.PERIOD_FROM , BT.PERIOD_TO , BT.ATTRIB_10 , BT.ATTRIB_11 , BT.ATTRIB_12 , BT.ATTRIB_13 , BT.ATTRIB_14 , BT.ATTRIB_15 , BT.ATTRIB_16 , BT.ATTRIB_17 , BT.ATTRIB_18 , BT.ATTRIB_19 , BT.N_ATTRIB_0 , BT.N_ATTRIB_1 , BT.N_ATTRIB_2 , BT.N_ATTRIB_3 , BT.N_ATTRIB_4 , BT.N_ATTRIB_5 , BT.N_ATTRIB_6 , BT.N_ATTRIB_7 , BT.N_ATTRIB_8 , BT.N_ATTRIB_9 , BT.D_ATTRIB_0 , BT.D_ATTRIB_1 , BT.D_ATTRIB_2 , BT.D_ATTRIB_3 , BT.D_ATTRIB_4 , BT.D_ATTRIB_5 , BT.D_ATTRIB_6 , BT.D_ATTRIB_7 , BT.D_ATTRIB_8 , BT.D_ATTRIB_9 , BT.W_ATTRIB_0 , BT.W_ATTRIB_1 , BT.ANNEX , BT.EXTERNAL_ID , BT.GRC_ORG_ID , BT.EXTERNAL_LINK_ID , SUBJECT_OF_PAYMENT , INITIAL_LOB , COVER_TYPE ) AS BLC_TRANSACTIONS_TYPE FROM BLC_TRANSACTIONS BT INNER JOIN INSIS_GEN_BLC_V10.BLC_TRX_ACC BTA ON BT.TRANSACTION_ID = BTA.TRANSACTION_ID INNER JOIN BLC_ITEMS BI ON BTA.ITEM_ID = BI.ITEM_ ID WHERE BTA.AGREEMENT = :B5 AND BT.DUE_DATE BETWEEN :B4 AND :B3 AND BTA.I_ITEM_TYPE = :B2 AND BTA.STATUS NOT IN ('C', 'R', 'D') AND BI.ATTRIB_9 = :B1 AND BT.ACTUAL_OPEN_BALANCE <> 0 AND BTA.DOC_ID NOT IN ( SELECT BP.BILLING_REFERENCE FROM BLC_PAYMENTS BP WHERE BP.BILLING_REFERENCE = BTA.DOC_ID AND BP.STATUS IN ('S', 'A') )
0rc203ntss5f0SELECT BLC_SOURCE FROM HST_CLAIM_PROD_LOB_BLC_SOURCE G WHERE G.BLC_SOURCE = :B1
0xphvddu9d7wcINSERT INTO P_PEOPLE_CHANGES ( CHANGE_ID, MAN_ID, MAN_COMP, EGN, NAME, GNAME, SNAME, FNAME, BIRTH_DATE, SEX, NOTES, NATIONALITY, COMP_TYPE, NAME_SUFFIX, NAME_PREFIX, DATA_SOURCE, LANGUAGE, HOME_COUNTRY, INDUSTRY_CODE, SUB_INDUSTRY_CODE, FISCAL_PERIOD, CLASS_CODE, CLASS_SUB_CODE, ATTR1, ATTR2, ATTR3, ATTR4, ATTR5, VALID_FROM, VALID_TO, USERNAME, REGISTRATION_DATE, ATTRC1, ATTRC2, ATTRC3, ATTRC4, ATTRC5, ATTRC6, ATTRC7, ATTRC8, ATTRC9, ATTRC10, ATTRN1, ATTRN2, ATTRN3, ATTRN4, ATTRN5, ATTRN6, ATTRN7, ATTRN8, ATTRN9, ATTRN10, ATTRD1, ATTRD2, ATTRD3, ATTRD4, ATTRD5 ) VALUES ( :B57 , :B56 , :B55 , :B54 , :B53 , :B52 , :B51 , :B50 , :B49 , :B48 , :B47 , :B46 , :B45 , :B44 , :B43 , :B42 , :B41 , :B40 , :B39 , :B38 , :B37 , :B36 , :B35 , :B34 , :B33 , :B32 , :B31 , :B30 , :B29 , : B28 , :B27 , :B26 , :B25 , :B24 , :B23 , :B22 , :B21 , :B20 , :B19 , :B18 , :B17 , :B16 , :B15 , :B14 , :B13 , :B12 , :B11 , :B10 , :B9 , :B8 , :B7 , :B6 , :B5 , :B4 , :B3 , :B2 , :B1 )
0za9fv0j1vgkkWITH MONITOR_DATA AS (SELECT * FROM TABLE(GV$(CURSOR( SELECT USERENV('instance') AS INST_ID, KEY, NVL2(PX_QCSID, NULL, STATUS) STATUS, FIRST_REFRESH_TIME, LAST_REFRESH_TIME, REFRESH_COUNT, PROCESS_NAME, SID, SQL_ID, SQL_EXEC_START, SQL_EXEC_ID, DBOP_NAME, DBOP_EXEC_ID, SQL_PLAN_HASH_VALUE, SQL_FULL_PLAN_HASH_VALUE, SESSION_SERIAL#, SQL_TEXT, PX_SERVER#, PX_SERVER_GROUP, PX_SERVER_SET, PX_QCINST_ID, PX_QCSID, CASE WHEN ELAPSED_TIME < (CPU_TIME+ APPLICATION_WAIT_TIME+ CONCURRENCY_WAIT_TIME+ CLUSTER_WAIT_TIME+ USER_IO_WAIT_TIME+ QUEUING_TIME) THEN (CPU_TIME+ APPLICATION_WAIT_TIME+ CONCURRENCY_WAIT_TIME+ CLUSTER_WAIT_TIME+ USER_IO_WAIT_TIME+ QUEUING_TIME) ELSE ELAPSED_TIME END ELAPSED_TIME, QUEUING_TIME, CPU_TIME, APPLICATION_WAIT_TIME, CONCURRENCY_WAIT_TIME, CLUSTER_WAIT_TIME, USER_IO_WAIT_TIME, CASE WHEN ELAPSED_TIME < (CPU_TIME+ APPLICATION_WAIT_TIME+ CONCURRENCY_WAIT_TIME+ CLUSTER_WAIT_TIME+ USER_IO_WAIT_TIME+ QUEUING_TIME) THEN 0 ELSE ELAPSED_TIME - (CPU_TIME+ APPLICATION_WAIT_TIME+ CONCURRENCY_WAIT_TIME+ CLUSTER_WAIT_TIME+ USER_IO_WAIT_TIME+ QUEUING_TIME) END OTHER_WAIT_TIME, PLSQL_EXEC_TIME, JAVA_EXEC_TIME, FETCHES, BUFFER_GETS, IO_INTERCONNECT_BYTES IO_INTER_BYTES, PHYSICAL_READ_REQUESTS READ_REQS, PHYSICAL_READ_BYTES READ_BYTES, PHYSICAL_WRITE_REQUESTS WRITE_REQS, PHYSICAL_WRITE_BYTES WRITE_BYTES, NVL(PHYSICAL_READ_BYTES, 0) + NVL(PHYSICAL_WRITE_BYTES, 0) IO_BYTES, NVL(PHYSICAL_READ_REQUESTS, 0) + NVL(PHYSICAL_WRITE_REQUESTS, 0) IO_REQS, IO_CELL_UNCOMPRESSED_BYTES IO_UNC_BYTES, IO_CELL_OFFLOAD_ELIGIBLE_BYTES IO_ELIG_BYTES, IO_CELL_OFFLOAD_RETURNED_BYTES IO_RET_BYTES, USER# USERID, USERNAME, MODULE, ACTION, SERVICE_NAME, CLIENT_IDENTIFIER, CLIENT_INFO, PROGRAM, PLSQL_OBJECT_ID PL_OID, PLSQL_SUBPROGRAM_ID PL_PROGID, PLSQL_ENTRY_OBJECT_ID PL_ENTRY_OID, PLSQL_ENT RY_SUBPROGRAM_ID PL_ENTRY_PROGID, PX_MAXDOP MAX_DOP, PX_IS_CROSS_INSTANCE, PX_MAXDOP_INSTANCES MAX_DOP_INSTANCES, PX_SERVERS_REQUESTED SERVERS_REQUESTED, PX_SERVERS_ALLOCATED SERVERS_ALLOCATED, ERROR_NUMBER, ERROR_FACILITY, ERROR_MESSAGE, NVL2(OTHER_XML, 'Y', NULL) HAS_OTHER_XML, NVL2(BINDS_XML, 'Y', NULL) HAS_BINDS_XML, NVL2(RM_CONSUMER_GROUP, NVL2(RM_LAST_ACTION_TIME, TO_CHAR(RM_LAST_ACTION_TIME, :B12 ), '00/00/0000 00:00:01') || XMLELEMENT( "rminfo", XMLATTRIBUTES( RM_LAST_ACTION AS "rmlastact", RM_LAST_ACTION_REASON AS "rmlastreason", TO_CHAR(RM_LAST_ACTION_TIME, :B12 ) AS "rmlasttime", RM_CONSUMER_GROUP AS "rmcg")).GETSTRINGVAL(), '00/00/0000 00:00:00') RM_INFO, CON_NAME, CON_ID FROM V$ALL_SQL_MONITOR MO1 WHERE USERENV('INSTANCE') BETWEEN :B11 AND :B10 AND MO1.SQL_ID = NVL(:B9 , MO1.SQL_ID) AND MO1.SQL_EXEC_START = NVL(:B8 , MO1.SQL_EXEC_START) AND MO1.SQL_EXEC_ID = NVL(:B7 , MO1.SQL_EXEC_ID) OR (MO1.D BOP_NAME = NVL(:B6 , MO1.DBOP_NAME) AND MO1.DBOP_EXEC_ID = NVL(:B5 , MO1.DBOP_EXEC_ID)) AND ((:B4 = 1 AND MO1.PX_QCSID IS NULL) OR (MO1.PX_SERVER_GROUP = NVL(:B3 , MO1.PX_SERVER_GROUP) AND MO1.PX_SERVER_SET = NVL(:B2 , MO1.PX_SERVER_SET) AND MO1.PX_SERVER# = NVL(:B1 , MO1.PX_SERVER#))) ))) ), MONITOR_AGG AS (SELECT MAX_PX_QCSID, MAX_KEY, MAX_INST_ID, MAX_SESSION_ID, MAX_SESSION_SERIAL, MAX_PX_DOP, MAX_PX_DOP_INSTANCES, MAX_PX_IS_CROSS_INSTANCE, SUM_SERVERS_REQUESTED, SUM_SERVERS_ALLOCATED, DIST_INST_COUNT, DIST_PX_GROUP_COUNT, DIST_PX_SET_COUNT, MAX_PLAN_HASH_VALUE, MAX_FULL_PLAN_HASH_VALUE, MAX_USERID, MAX_PROGRAM, MAX_USERNAME, MAX_MODULE, MAX_ACTION, MAX_SERVICE_NAME, MAX_CLIENT_ID, MAX_CLIENT_INFO, MAX_ERROR_NUMBER, MAX_ERROR_FACILITY, MAX_ERROR_MESSAGE, QC_HAS_OTHER_XML, QC_HAS_BINDS_XML, MAX_PL_OID, MAX_PL_PROGID, MAX_PL_ENTRY_OID, MAX_PL_ENTRY_PROGID, MAX_SQL_ID, MAX_SQL_EXEC_START, MAX_SQL_EXEC_ID, MAX_LAST_REFRESH_TIME, MAX_DBOP_NAME, MAX_DBOP_EXEC_ID, CASE WHEN MAX_PL_OID IS NOT NULL THEN NVL((SELECT P.OWNER || '.' || P.OBJECT_NAME || DECODE(P.PROCEDURE_NAME, NULL, '', '.' || P.PROCEDURE_NAME) FROM ALL_PROCEDURES P WHERE P.OBJECT_ID = MAX_PL_OID AND P.SUBPROGRAM_ID = MAX_PL_PROGID AND ROWNUM = 1), 'Unavailable') END MAX_PL_NAME, CASE WHEN MAX_PL_ENTRY_OID IS NOT NULL THEN NVL((SELECT P.OWNER || '.' || P.OBJECT_NAME || DECODE(P.PROCEDURE_NAME, NULL, '', '.' || P.PROCEDURE_NAME) FROM ALL_PROCEDURES P WHERE P.OBJECT_ID = MAX_PL_ENTRY_OID AND P.SUBPROGRAM_ID = MAX_PL_ENTRY_PROGID AND ROWNUM = 1), 'Unavailable') END MAX_PL_ENTRY_NAME, MAX_STATUS, SUM_REFRESH_COUNT, MIN_FIRST_REFRESH_TIME, SQLMON_TEXT, SUM_ELAPSED_TIME, MAX_ELAPSED_TIME, MAX_QUEUING_TIME, SUM_CPU_TIME, SUM_USER_IO_WAIT_TIME, SUM_APPLICATION_WAIT_TIME, SUM_CONCURRENCY_WAIT_TIME, SUM_CLUSTER_WAIT_TIME, SUM_PLSQL_EXEC_TIME, SUM_JAVA_EXEC_TIME, SUM_OTHER_WAIT_TIME, SUM_FETCHES, SUM_BUFFER_GETS, SUM_READ_REQS, SUM_READ_BYTES, SU M_WRITE_REQS, SUM_WRITE_BYTES, SUM_IO_BYTES, SUM_IO_INTER_BYTES, SUM_IO_UNC_BYTES, SUM_IO_ELIG_BYTES, SUM_IO_RET_BYTES, DECODE(:B14 , 1, 'db_name', SYS_CONTEXT('userenv', 'db_unique_name')) DB_UNIQUE_NAME, DECODE(:B14 , 1, 'platform_name', SYS.DBMS_UTILITY.PORT_STRING) PLATFORM_NAME, DECODE(:B14 , 1, 'host_name', SYS_CONTEXT('userenv', 'server_host')) HOST_NAME, AGG_RM_INFO MAX_RM_INFO, MAX_CON_NAME, DECODE(MAX_CON_ID, 0, NULL, MAX_CON_ID) MAX_CON_ID FROM (SELECT MAX(PX_QCSID) MAX_PX_QCSID, MAX(CASE WHEN PX_QCSID IS NULL THEN KEY ELSE NULL END) MAX_KEY, MAX(CASE WHEN PX_QCSID IS NULL THEN INST_ID ELSE NULL END) MAX_INST_ID, MAX(CASE WHEN PX_QCSID IS NULL THEN SID ELSE NULL END) MAX_SESSION_ID, MAX(CASE WHEN PX_QCSID IS NULL THEN SESSION_SERIAL# ELSE NULL END) MAX_SESSION_SERIAL, MAX(MAX_DOP) MAX_PX_DOP, MAX(MAX_DOP_INSTANCES) MAX_PX_DOP_INSTANCES, MAX(PX_IS_CROSS_INSTANCE) MAX_PX_IS_CROSS_INSTANCE, SUM(SERVERS_REQUESTED) SUM_SERVERS_REQUESTED, SUM(SER VERS_ALLOCATED) SUM_SERVERS_ALLOCATED, COUNT(DISTINCT INST_ID) DIST_INST_COUNT, COUNT(DISTINCT PX_SERVER_GROUP) DIST_PX_GROUP_COUNT, COUNT(DISTINCT PX_SERVER_SET) DIST_PX_SET_COUNT, MAX(SQL_PLAN_HASH_VALUE) MAX_PLAN_HASH_VALUE, MAX(SQL_FULL_PLAN_HASH_VALUE) MAX_FULL_PLAN_HASH_VALUE, MAX(USERID) MAX_USERID, MAX(PROGRAM) MAX_PROGRAM, MAX(USERNAME) MAX_USERNAME, MAX(MODULE) MAX_MODULE, MAX(ACTION) MAX_ACTION, MAX(SERVICE_NAME) MAX_SERVICE_NAME, MAX(CLIENT_IDENTIFIER) MAX_CLIENT_ID, MAX(CLIENT_INFO) MAX_CLIENT_INFO, MAX(ERROR_NUMBER) MAX_ERROR_NUMBER, MAX(ERROR_FACILITY) MAX_ERROR_FACILITY, MAX(ERROR_MESSAGE) MAX_ERROR_MESSAGE, MAX(NVL2(PX_QCSID, HAS_OTHER_XML, NULL)) QC_HAS_OTHER_XML, MAX(HAS_BINDS_XML) QC_HAS_BINDS_XML, MAX(PL_OID) MAX_PL_OID, MAX(PL_PROGID) MAX_PL_PROGID, MAX(PL_ENTRY_OID) MAX_PL_ENTRY_OID, MAX(PL_ENTRY_PROGID) MAX_PL_ENTRY_PROGID, MAX(SQL_ID) MAX_SQL_ID, MAX(SQL_EXEC_START) MAX_SQL_EXEC_START, MAX(SQL_EXEC_ID) MAX_SQL_EXEC_ID, MAX(LAST_REFRE SH_TIME) MAX_LAST_REFRESH_TIME, MAX(STATUS) MAX_STATUS, SUM(REFRESH_COUNT) SUM_REFRESH_COUNT, MIN(FIRST_REFRESH_TIME) MIN_FIRST_REFRESH_TIME, MAX(DBOP_NAME) MAX_DBOP_NAME, MAX(DBOP_EXEC_ID) MAX_DBOP_EXEC_ID, CASE WHEN :B13 = 0 THEN NULL ELSE MAX(SQL_TEXT) END SQLMON_TEXT, SUM(ELAPSED_TIME) SUM_ELAPSED_TIME, MAX(ELAPSED_TIME) MAX_ELAPSED_TIME, MAX(QUEUING_TIME) MAX_QUEUING_TIME, SUM(CPU_TIME) SUM_CPU_TIME, SUM(USER_IO_WAIT_TIME) SUM_USER_IO_WAIT_TIME, SUM(APPLICATION_WAIT_TIME) SUM_APPLICATION_WAIT_TIME, SUM(CONCURRENCY_WAIT_TIME) SUM_CONCURRENCY_WAIT_TIME, SUM(CLUSTER_WAIT_TIME) SUM_CLUSTER_WAIT_TIME, SUM(PLSQL_EXEC_TIME) SUM_PLSQL_EXEC_TIME, SUM(JAVA_EXEC_TIME) SUM_JAVA_EXEC_TIME, SUM(OTHER_WAIT_TIME) SUM_OTHER_WAIT_TIME, SUM(FETCHES) SUM_FETCHES, SUM(BUFFER_GETS) SUM_BUFFER_GETS, SUM(READ_REQS) SUM_READ_REQS, SUM(READ_BYTES) SUM_READ_BYTES, SUM(WRITE_REQS) SUM_WRITE_REQS, SUM(WRITE_BYTES) SUM_WRITE_BYTES, NVL(SUM(READ_BYTES), 0) + NVL(SUM(WRITE_BYTES), 0) SU M_IO_BYTES, SUM(IO_INTER_BYTES) SUM_IO_INTER_BYTES, SUM(IO_UNC_BYTES) SUM_IO_UNC_BYTES, SUM(IO_ELIG_BYTES) SUM_IO_ELIG_BYTES, SUM(IO_RET_BYTES) SUM_IO_RET_BYTES, MAX(RM_INFO) AGG_RM_INFO, MAX(CON_NAME) MAX_CON_NAME, MAX(CON_ID) MAX_CON_ID FROM MONITOR_DATA) MD), ASH_DATA AS (SELECT AD0.INST_ID, AD0.SESSION_ID, AD0.PLAN_LINE_ID, AD0.PLSQL_OBJECT_ID, AD0.PLSQL_SUBPROGRAM_ID, AD0.ACTIVITY_BUCKET_NUM, AD0.PLAN_ACTIVITY_BUCKET_NUM, AD0.SQL, AD0.TOP_LEVEL_SQL_ID, AD0.DBOP_NAME, AD0.IS_MONITORED_SQL, AD0.IS_PX_SLAVE, AD0.BUCKET_ACTIVITY_START, AD0.ACTIVITY_START, AD0.BUCKET_ACTIVITY_END, AD0.ACTIVITY_END, AD0.ACTIVITY_COUNT, AD0.ACTIVITY_TYPE, AD0.OTHER_SQL_ACTIVITY_TYPE, AD0.EVENT_NAME, AD0.IMQ_COUNT, AD0.WAIT_COUNT, AD0.CPU_COUNT, AD0.OTHER_SQL_COUNT, AD0.PX_SERVER_SET, AD0.PX_DFO_ACTIVITY_COUNT, AD0.DFO_MOST_ACTIVE_IID, AD0.DFO_MOST_ACTIVE_SID, (CASE WHEN AD0.DFO_MOST_ACTIVE_IID = AD0.INST_ID AND AD0.DFO_MOST_ACTIVE_SID = AD0.SESSION_ID AND (((AD0.PX_DFO _ACTIVITY_COUNT / AD0.DFO_MOST_ACTIVE_COUNT) >= AD0.PX_DOP * 1.05) OR ((AD0.PX_DFO_ACTIVITY_COUNT / AD0.DFO_MOST_ACTIVE_COUNT) <= AD0.PX_DOP *0.95)) AND (AD0.DFO_DURATION * 100) > :B32 THEN AD0.ACTIVITY_COUNT ELSE NULL END) DFO_MOST_ACTIVE_COUNT, AD0.BUCKET_DISTINCT_SAMPLES, AD0.SQL_BUCKET_DISTINCT_SAMPLES, CASE WHEN AD0.PX_SERVER_GROUP IS NULL AND AD0.IS_PX_SLAVE = 1 THEN 1 ELSE AD0.PX_SERVER_GROUP END PX_SERVER_GROUP, AD0.PX_STEP_ID, AD0.PX_DFO_PAIR_TYPE, AD0.PX_DFO_PAIR_ID, AD0.PX_STEP_ARG, AD0.PX_DOP, CASE WHEN AD0.PX_DOP IS NOT NULL AND AD0.PX_DOP <> AD0.PX_MIN_DOP AND AD0.PX_MIN_DOP != 0 THEN PX_MIN_DOP ELSE NULL END PX_MIN_DOP FROM (SELECT /*+ use_hash(ash) leading(mo) */ ASH.INST_ID, ASH.IS_PX_SLAVE, ASH.SESSION_ID, ASH.PLAN_LINE_ID, ASH.PLSQL_OBJECT_ID, ASH.PLSQL_SUBPROGRAM_ID, ASH.ACTIVITY_BUCKET_NUM, ASH.PLAN_ACTIVITY_BUCKET_NUM, ASH.SQL, ASH.TOP_LEVEL_SQL_ID, ASH.DBOP_NAME, ASH.IS_MONITORED_SQL, ASH.BUCKET_ACTIVITY_START, ASH.ACTIVITY_ST ART, ASH.BUCKET_ACTIVITY_END, ASH.ACTIVITY_END, ASH.ACTIVITY_COUNT, ASH.ACTIVITY_TYPE, ASH.OTHER_SQL_ACTIVITY_TYPE, ASH.EVENT_NAME, ASH.IMQ_COUNT, ASH.WAIT_COUNT, ASH.CPU_COUNT, ASH.OTHER_SQL_COUNT, MO.PX_SERVER_SET, ASH.PX_DFO_ACTIVITY_COUNT, TRUNC(ASH.MOST_ACTIVE_IN_DFO / 10000000000) DFO_MOST_ACTIVE_COUNT, MOD(TRUNC(ASH.MOST_ACTIVE_IN_DFO / 1000000), 10000) DFO_MOST_ACTIVE_IID, MOD(ASH.MOST_ACTIVE_IN_DFO, 1000000) DFO_MOST_ACTIVE_SID, ASH.DFO_DURATION, ASH.BUCKET_DISTINCT_SAMPLES, ASH.SQL_BUCKET_DISTINCT_SAMPLES, MO.PX_SERVER_GROUP, ASH.PX_STEP_ID, ASH.PX_DFO_PAIR_TYPE, ASH.PX_DFO_PAIR_ID, ASH.PX_STEP_ARG, ASH.PX_DOP, ASH.PX_MIN_DOP FROM (SELECT /*+ no_merge */ MD.INST_ID, MD.SID, MD.SESSION_SERIAL#, MD.PX_SERVER_SET, MD.PX_SERVER_GROUP FROM MONITOR_DATA MD WHERE MD.SID IS NOT NULL OR :B31 = 1) MO, (SELECT /*+ no_merge */ GVTF.INST_ID, GVTF.GLOBAL_SAMPLE_ID, GVTF.IS_PX_SLAVE, GVTF.SESSION_ID, GVTF.PLAN_LINE_ID, GVTF.PLSQL_OBJECT_ID, GVTF.PLSQL_S UBPROGRAM_ID, GVTF.ACTIVITY_BUCKET_NUM, GVTF.PLAN_ACTIVITY_BUCKET_NUM, GVTF.SQL, GVTF.TOP_LEVEL_SQL_ID, GVTF.DBOP_NAME, GVTF.IS_MONITORED_SQL, GVTF.BUCKET_ACTIVITY_START, GVTF.ACTIVITY_START, GVTF.BUCKET_ACTIVITY_END, GVTF.ACTIVITY_END, GVTF.ACTIVITY_COUNT, GVTF.ACTIVITY_TYPE, GVTF.OTHER_SQL_ACTIVITY_TYPE, GVTF.EVENT_NAME, GVTF.IMQ_COUNT, GVTF.WAIT_COUNT, GVTF.CPU_COUNT, GVTF.OTHER_SQL_COUNT, MAX(GVTF.PER_SERVER_DFO_COUNT * 10000000000 + GVTF.INST_ID * 1000000 + GVTF.SESSION_ID) OVER(PARTITION BY GVTF.PX_DFO_PAIR_TYPE, GVTF.PX_DFO_PAIR_ID) MOST_ACTIVE_IN_DFO, SUM(GVTF.ACTIVITY_COUNT) OVER(PARTITION BY GVTF.PX_DFO_PAIR_TYPE, GVTF.PX_DFO_PAIR_ID) PX_DFO_ACTIVITY_COUNT, GVTF.DFO_DURATION, GVTF.PX_STEP_ID, GVTF.PX_DFO_PAIR_TYPE, GVTF.PX_DFO_PAIR_ID, GVTF.PX_STEP_ARG, GVTF.PX_DOP, GVTF.PX_MIN_DOP, COUNT(DISTINCT GVTF.GLOBAL_SAMPLE_ID) OVER(PARTITION BY GVTF.ACTIVITY_BUCKET_NUM) BUCKET_DISTINCT_SAMPLES, COUNT(DISTINCT GVTF.GLOBAL_SAMPLE_ID) OVER(PARTITION BY GV TF.SQL, GVTF.ACTIVITY_BUCKET_NUM) SQL_BUCKET_DISTINCT_SAMPLES FROM TABLE(SYS.GV$(CURSOR( (SELECT USERENV('INSTANCE') INST_ID, ASH2.GLOBAL_SAMPLE_ID, CASE WHEN :B30 = 1 AND :B27 > 1 THEN BUCKET_NUM ELSE NULL END ACTIVITY_BUCKET_NUM, CASE WHEN :B29 = 1 AND :B27 > 1 THEN BUCKET_NUM ELSE NULL END PLAN_ACTIVITY_BUCKET_NUM, ASH2.SQL, ASH2.TOP_LEVEL_SQL_ID, ASH2.DBOP_NAME, ASH2.IS_MONITORED_SQL, ASH2.PLAN_LINE_ID, ASH2.PLSQL_OBJECT_ID, ASH2.PLSQL_SUBPROGRAM_ID, ASH2.ACTIVITY_TYPE, ASH2.OTHER_SQL_ACTIVITY_TYPE, ASH2.EVENT_NAME, ASH2.IS_PX_SLAVE, ASH2.SESSION_ID, ASH2.PX_STEP_ID, ASH2.PX_DFO_PAIR_TYPE, ASH2.PX_DFO_PAIR_ID, ASH2.PX_STEP_ARG, CASE WHEN ASH2.PX_DFO_PAIR_ID IS NOT NULL THEN DECODE(ASH2.PX_DOP, 0, :B28 , ASH2.PX_DOP) ELSE NULL END PX_DOP, ASH2.PX_MIN_DOP, :B20 + NUMTODSINTERVAL(:B26 * (ASH2.BUCKET_NUM-1), 'SECOND') BUCKET_ACTIVITY_START, :B20 + NUMTODSINTERVAL( :B26 * ASH2.BUCKET_NUM - 1, 'SECOND') BUCKET_ACTIVITY_END, ASH2.ACTIVITY_START, ASH2.A CTIVITY_END, ASH2.ACTIVITY_COUNT, ASH2.IMQ_COUNT, ASH2.WAIT_COUNT, ASH2.CPU_COUNT, ASH2.OTHER_SQL_COUNT, SUM(ASH2.ACTIVITY_COUNT) OVER(PARTITION BY ASH2.PX_DFO_PAIR_ID, ASH2.PX_DFO_PAIR_TYPE, DECODE(ASH2.PX_DFO_PAIR_ID, NULL, NULL, ASH2.SESSION_ID)) PER_SERVER_DFO_COUNT, CEIL((MAX(ASH2.MAX_SAMPLE_DATE) OVER(PARTITION BY ASH2.PX_DFO_PAIR_ID, ASH2.PX_DFO_PAIR_TYPE) - MIN(ASH2.MIN_SAMPLE_DATE) OVER(PARTITION BY ASH2.PX_DFO_PAIR_ID, ASH2.PX_DFO_PAIR_TYPE)) * 3600 * 24) DFO_DURATION FROM (SELECT ASH1.BUCKET_NUM, ASH1.GLOBAL_SAMPLE_ID, ASH1.PLAN_LINE_ID, ASH1.PLSQL_OBJECT_ID, ASH1.PLSQL_SUBPROGRAM_ID, ASH1.ACTIVITY_TYPE, ASH1.OTHER_SQL_ACTIVITY_TYPE, ASH1.EVENT_NAME, ASH1.SESSION_ID, ASH1.PX_STEP_ID, ASH1.PX_STEP_ARG, MAX(ASH1.SQL) SQL, MAX(ASH1.IS_MONITORED_SQL) IS_MONITORED_SQL, MAX(ASH1.PX_DFO_PAIR_TYPE) PX_DFO_PAIR_TYPE, MAX(ASH1.PX_DFO_PAIR_ID) PX_DFO_PAIR_ID, MIN(SAMPLE_DATE) MIN_SAMPLE_DATE, MAX(SAMPLE_DATE) MAX_SAMPLE_DATE, MAX(ASH1.IS_PX_SLAVE) IS_PX_S LAVE, MAX(ASH1.PX_DOP) PX_DOP, MIN(ASH1.PX_DOP) PX_MIN_DOP, MIN(ASH1.SAMPLE_DATE) ACTIVITY_START, MAX(ASH1.SAMPLE_DATE) ACTIVITY_END, COUNT(ASH1.SQL) ACTIVITY_COUNT, COUNT(CASE WHEN ASH1.ACTIVITY_TYPE = 'Cpu' AND ASH1.EVENT_NAME = 'in memory' THEN 1 ELSE NULL END) IMQ_COUNT, COUNT(CASE WHEN ASH1.ACTIVITY_TYPE != 'Other SQL Execution' AND ASH1.ACTIVITY_TYPE != 'Non SQL' AND ASH1.ACTIVITY_TYPE != 'Cpu' THEN 1 ELSE NULL END) WAIT_COUNT, COUNT(CASE WHEN ASH1.ACTIVITY_TYPE = 'Cpu' AND ASH1.EVENT_NAME IS NULL THEN 1 ELSE NULL END) CPU_COUNT, COUNT(CASE WHEN ASH1.ACTIVITY_TYPE = 'Other SQL Execution' AND ASH1.ACTIVITY_TYPE != 'Non SQL' THEN 1 ELSE NULL END) OTHER_SQL_COUNT, MAX(ASH1.TOP_LEVEL_SQL_ID) TOP_LEVEL_SQL_ID, MAX(ASH1.DBOP_NAME) DBOP_NAME FROM ( SELECT (CASE WHEN :B27 > 1 THEN (TRUNC(DELTA_TIME_SECONDS/ :B26 ) + 1) ELSE 1 END) BUCKET_NUM, ASH00.SQL, ASH00.SAMPLE_DATE, NVL2(DUP.C2, TRUNC(DELTA_TIME_SECONDS/ (:B25 )) + 1, NULL) GLOBAL_SAMPLE_ID, NVL2(DUP.C2, NULL, ASH00.IS_MONITORED_SQL) IS_MONITORED_SQL, NVL2(DUP.C2, NULL, ASH00.IN_INMEMORY_QUERY) IN_INMEMORY_QUERY, NVL2(DUP.C2, NULL, ASH00.WAIT_CLASS) WAIT_CLASS, NVL2(DUP.C2, NULL, ASH00.ACTIVITY_TYPE) ACTIVITY_TYPE, NVL2(DUP.C2, NULL, ASH00.OTHER_SQL_ACTIVITY_TYPE) OTHER_SQL_ACTIVITY_TYPE, NVL2(DUP.C2, NULL, ASH00.EVENT_NAME) EVENT_NAME, NVL2(DUP.C2, NULL, ASH00.TOP_LEVEL_SQL_ID) TOP_LEVEL_SQL_ID, NVL2(DUP.C2, NULL, ASH00.DBOP_NAME) DBOP_NAME, NVL2(DUP.C2, NULL, ASH00.IS_PX_SLAVE) IS_PX_SLAVE, NVL2(DUP.C2, NULL, ASH00.SESSION_ID) SESSION_ID, NVL2(DUP.C2, NULL, ASH00.PLSQL_OBJECT_ID) PLSQL_OBJECT_ID, NVL2(DUP.C2, NULL, ASH00.PLSQL_SUBPROGRAM_ID) PLSQL_SUBPROGRAM_ID, NVL2(DUP.C2, NULL, ASH00.PLAN_LINE_ID) PLAN_LINE_ID, NVL2(DUP.C2, NULL, ASH00.PX_STEP_ID) PX_STEP_ID, NVL2(DUP.C2, NULL, ASH00.PX_STEP_ARG) PX_STEP_ARG, NVL2(DUP.C2, NULL, ASH00.PX_DFO_PAIR_ID) PX_DFO_PAIR_ID, NVL2(DUP.C2, NULL, ASH00.PX_DFO_PAIR_TYPE) PX_DFO_PAIR_TYPE, NVL2(DUP.C2, NULL, ASH00.PX_DOP) PX_DOP FROM (SELECT 1 C1, NULL C2 FROM V$DUAL UNION ALL SELECT 1 C1, 1 C2 FROM V$DUAL) DUP, (SELECT /*+ no_merge */ 1 C1, ASH000.SAMPLE_DATE, ASH000.IS_MONITORED_SQL, ((EXTRACT(SECOND FROM(DELTA_TIME)) + EXTRACT(MINUTE FROM(DELTA_TIME)) * 60 + EXTRACT(HOUR FROM(DELTA_TIME)) * 3600 + EXTRACT(DAY FROM(DELTA_TIME)) * 86400)) DELTA_TIME_SECONDS, ASH000.IN_INMEMORY_QUERY, ASH000.WAIT_CLASS, DECODE(ASH000.IS_MONITORED_SQL, 1, NVL(ASH000.WAIT_CLASS, 'Cpu'), DECODE(SQL_ID, NULL, 'Non SQL', 'Other SQL Execution')) ACTIVITY_TYPE, NVL(ASH000.WAIT_CLASS, 'Cpu') OTHER_SQL_ACTIVITY_TYPE, DECODE(:B24 , 1, CASE WHEN ASH000.IS_MONITORED_SQL = 1 THEN NVL(ASH000.EVENT, DECODE(ASH000.IN_INMEMORY_QUERY, 'Y', 'in memory', ASH000.EVENT)) WHEN ASH000.SQL_ID IS NOT NULL THEN 'sql_id: ' || ASH000.SQL_ID WHEN ASH000.CALL_NAME IS NOT NULL THEN 'call: ' || ASH000.CALL_NAME ELSE 'anonymous: '|| ASH000.EVENT END, NULL) EVENT_NAME, CASE WHEN ASH000.IS_MONITORED_SQL = 1 AND (NVL(ASH000.SQL_ID, :B9 ) = :B9 OR NVL(ASH000.DBOP_NAME, :B6 ) = :B6 ) THEN 'this' WHEN ASH000.IS_PX_SLAVE = 1 AND ASH000.SQL_ID IS NOT NULL AND ASH000.TOP_LEVEL_SQL_ID != ASH000.SQL_ID THEN ASH000.TOP_LEVEL_SQL_ID WHEN ASH000.SQL_ID IS NOT NULL THEN ASH000.SQL_ID ELSE NVL(CALL_NAME, 'anonymous') END SQL, CASE WHEN ASH000.IS_PX_SLAVE = 0 AND (ASH000.SQL_ID IS NULL OR ASH000.TOP_LEVEL_SQL_ID != ASH000.SQL_ID) THEN ASH000.TOP_LEVEL_SQL_ID END TOP_LEVEL_SQL_ID, ASH000.DBOP_NAME, ASH000.IS_PX_SLAVE, CASE WHEN ASH000.IS_PX_SLAVE = 1 AND ASH000.IS_MONITORED_SQL != 1 THEN 65536 ELSE ASH000.SESSION_ID END SESSION_ID, DECODE(ASH000.IS_MONITORED_SQL, 1, ASH000.PLSQL_OBJECT_ID, NULL) PLSQL_OBJECT_ID, DECODE(ASH000.IS_MONITORED_SQL, 1, ASH000.PLSQL_SUBPROGRAM_ID, NULL) PLSQL_SUBPROGRAM_ID, DECODE(ASH000.IS_MONITORED_SQL, 1, ASH000.SQL_PLAN_LINE_ID, NULL) PLAN_LINE_ID, DECODE(ASH000.IS_MONITORED_SQL, 1, ASH000.PX_STEP_ID, NULL) PX_STEP_ID, CASE WHEN ASH000.IS_PX_SLAVE = 1 AND ASH000.IS_MONITORED_SQL = 1 AND ASH000.PX_STEP_ID IN (1, 2, 3) THEN ASH000.PX_STEP_ARG ELSE NULL END PX_DFO_PAIR_ID, CASE WHEN ASH000.IS_PX_SLAVE = 0 OR ASH000.IS_MONITORED_SQL != 1 THEN NULL WHEN ASH000.PX_STEP_ID = 1 THEN 1 WHEN ASH000.PX_STEP_ID IN (2, 3) THEN 0 ELSE NULL END PX_DFO_PAIR_TYPE, DECODE(ASH000.IS_MONITORED_SQL, 1, ASH000.PX_STEP_ARG, NULL) PX_STEP_ARG, DECODE(ASH000.IS_MONITORED_SQL, 1, ASH000.PX_DOP, NULL) PX_DOP FROM (SELECT ASH0.*, CASE WHEN ASH0.IS_TARGET_SQL = 1 OR (ASH0.IS_PX_SLAVE = 1 AND ((NVL(ASH0.TOP_LEVEL_SQL_ID, ASH0.SQL_ID) IS NOT NULL AND NVL(ASH0.TOP_LEVEL_SQL_ID, ASH0.SQL_ID) = :B9 ) OR (SQL_ID IS NULL AND :B23 = 'Y'))) THEN 1 ELSE 0 END IS_MONITORED_SQL FROM (SELECT (CASE WHEN (ASH.SQL_ID = :B9 AND ASH.SQL_EXEC_ID = :B7 AND ASH.SQL_EXEC_START = :B8 ) THEN 1 ELSE 0 END) IS_TARGET_SQL, ASH.SQL_ID, ASH.SQL_PLAN_LINE_ID, ASH.PLSQL_OBJECT_ID, ASH.PLSQL_SUBPROGRAM_ID, ASH.TOP_LEVEL_SQL_ID, DECODE(ASH.SQL_ID, NULL, ASH.TOP_LEVEL _CALL_NAME, NULL) CALL_NAME, ASH.EVENT, ASH.IN_INMEMORY_QUERY, ASH.WAIT_CLASS, ASH.SQL_EXEC_ID, ASH.SQL_EXEC_START, ASH.DBOP_NAME, ASH.DBOP_EXEC_ID, ASH.SESSION_ID, ASH.SESSION_SERIAL#, CASE WHEN QC_INSTANCE_ID IS NOT NULL AND (ASH.SESSION_ID != ASH.QC_SESSION_ID OR ASH.SESSION_SERIAL# != ASH.QC_SESSION_SERIAL# OR USERENV('instance') != ASH.QC_INSTANCE_ID) THEN 1 ELSE 0 END IS_PX_SLAVE, SAMPLE_TIME - CAST(:B20 AS TIMESTAMP) DELTA_TIME, CAST(FROM_TZ(ASH.SAMPLE_TIME, DBTIMEZONE) AS DATE) SAMPLE_DATE, TRUNC(MOD(PX_FLAGS/65536, 32)) PX_STEP_ID, MOD(PX_FLAGS, 65536) PX_STEP_ARG, TRUNC(PX_FLAGS/2097152) PX_DOP FROM V$ALL_ACTIVE_SESSION_HISTORY ASH WHERE ((ASH.SESSION_ID = :B19 AND ASH.SESSION_SERIAL# = :B18 AND USERENV('INSTANCE') = :B17 ) OR (ASH.QC_SESSION_ID IS NOT NULL AND ASH.QC_SESSION_ID = :B19 AND ASH.QC_SESSION_SERIAL# = :B18 AND ASH.QC_INSTANCE_ID = :B17 )) AND SAMPLE_TIME BETWEEN :B16 AND :B15 ) ASH0 WHERE (ASH0.SAMPLE_DATE BETWEEN :B20 + 1/24/3600 AND :B22 - 1/ 24/3600 OR (ASH0.SQL_ID = :B9 AND ASH0.SQL_EXEC_START = :B8 AND ASH0.SQL_EXEC_ID = :B7 ) OR (ASH0.DBOP_NAME = :B6 AND ASH0.DBOP_EXEC_ID = :B5 )) AND (:B21 IS NULL OR ASH0.SQL_PLAN_LINE_ID = :B21 ) AND (ASH0.IS_PX_SLAVE = 0 OR ASH0.SQL_ID IS NOT NULL)) ASH000 ) ASH00 WHERE ASH00.C1 = DUP.C1) ASH1 WHERE ASH1.BUCKET_NUM > 0 AND ASH1.BUCKET_NUM <= :B27 GROUP BY USERENV('INSTANCE'), ASH1.GLOBAL_SAMPLE_ID, ASH1.BUCKET_NUM, ASH1.SESSION_ID, ASH1.PLAN_LINE_ID, ASH1.PLSQL_OBJECT_ID, ASH1.PLSQL_SUBPROGRAM_ID, ASH1.ACTIVITY_TYPE, ASH1.EVENT_NAME, ASH1.OTHER_SQL_ACTIVITY_TYPE, ASH1.PX_STEP_ID, ASH1.PX_STEP_ARG) ASH2)))) GVTF WHERE GVTF.INST_ID BETWEEN :B11 AND :B10 ) ASH WHERE ASH.GLOBAL_SAMPLE_ID IS NULL AND ASH.SESSION_ID = MO.SID(+) AND ASH.INST_ID = MO.INST_ID(+)) AD0), RESPONSE_TIME_DATA AS (SELECT ADH.BUCKET_NUM, ADH.SQL_ROWNUM, ADH.SQL, ADH.TOP_LEVEL_SQL_ID, ADH.DBOP_NAME, ADH.PX_ID, DECODE( ADH.PX_STEP_ID, NULL, NULL, 0, NULL, 1, 'PX Server(s) - Executing Pare nt DFO', 2, 'PX Server(s) - Executing Child DFO', 3, 'PX Server(s) - Sampling Child DFO', 4, 'PX Server(s) - Joining Group', 5, 'QC - Scheduling Child DFO', 6, 'QC - Scheduling Parent DFO', 7, 'QC - Initializing Objects', 8, 'QC - Flushing Objects', 9, 'QC - Allocating Slaves', 10, 'QC - Initializing Granules', 11, 'PX Server(s) - Parsing Cursor', 12, 'PX Server(s) - Executing Cursor', 13, 'PX Server(s) - Preparing Transaction', 14, 'PX Server(s) - Joining Transaction', 15, 'PX Server(s) - Load Commit', 16, 'PX Server(s) - Aborting Transaction', 17, 'QC - Executing Child DFO', 18, 'QC - Executing Parent DFO', 'PX Step - ' || PX_STEP_ID) PX_STEP_ID, ADH.PX_STEP_ARG, ADH.PX_DFO_PAIR_ID, ADH.PX_DOP, ADH.PX_MIN_DOP, ADH.DFO_MOST_ACTIVE_IID, ADH.DFO_MOST_ACTIVE_SID, ADH.DFO_MOST_ACTIVE_COUNT, ADH.ACTIVITY_START, ADH.ACTIVITY_END, ADH.ACTIVITY_TYPE, ADH.OTHER_SQL_ACTIVITY_TYPE, ADH.EVENT_NAME, ADH.PLAN_LINE_ID, ADH.PLSQL_OBJECT_ID, ADH.PLSQL_ SUBPROGRAM_ID, CASE WHEN PLSQL_ROWNUM = 1 AND ADH.PLSQL_OBJECT_ID IS NOT NULL THEN NVL((SELECT P.OWNER || '.' || P.OBJECT_NAME || DECODE(P.PROCEDURE_NAME, NULL, '', '.' || P.PROCEDURE_NAME) FROM ALL_PROCEDURES P WHERE P.OBJECT_ID = ADH.PLSQL_OBJECT_ID AND P.SUBPROGRAM_ID = ADH.PLSQL_SUBPROGRAM_ID), 'Unavailable') ELSE NULL END PLSQL_NAME, ADH.ACTIVITY_COUNT, ADH.BUCKET_ACTIVE_SECONDS, ADH.BUCKET_IDLE_SECONDS, (CASE WHEN ADH.IS_MONITORED_SQL = 0 THEN ADH.ACTIVE_SECONDS WHEN ADH.PX_DFO_PAIR_ID IS NOT NULL AND ADH.DFO_PAIR_CPU_HEIGHT >= :B34 THEN DECODE(ADH.ACTIVITY_TYPE, 'Cpu', (ADH.DFO_PAIR_ACTIVITY_HEIGHT / ADH.DFO_PAIR_CPU_HEIGHT) * ADH.DFO_PAIR_TOTAL_SECONDS, 0) WHEN ADH.PX_DFO_PAIR_ID IS NOT NULL AND ADH.PX_DOP > :B34 THEN (ADH.DFO_PAIR_TOTAL_SECONDS * DECODE(ADH.ACTIVITY_TYPE, 'Cpu', ADH.DFO_PAIR_ACTIVITY_HEIGHT, (ADH.DFO_PAIR_ACTIVITY_HEIGHT * (:B34 - ADH.DFO_PAIR_CPU_HEIGHT)) / (ADH.DFO_PAIR_TOTAL_HEIGHT_ADJ - ADH.DFO_PAIR_CPU_HEIGHT))) / :B34 WHEN ADH.PX_DFO _PAIR_ID IS NOT NULL THEN (ADH.DFO_PAIR_TOTAL_SECONDS * ADH.DFO_PAIR_ACTIVITY_HEIGHT) / ADH.PX_DOP ELSE ADH.ACTIVE_SECONDS END) RESP_TIME, (CASE WHEN ADH.PX_DFO_PAIR_ID IS NOT NULL AND ADH.DFO_PAIR_IDLE_HEIGHT > 0 AND ADH.PX_DOP > :B34 THEN (ADH.DFO_PAIR_TOTAL_SECONDS * (ADH.DFO_PAIR_IDLE_HEIGHT * (:B34 - ADH.DFO_PAIR_CPU_HEIGHT)) / (ADH.DFO_PAIR_TOTAL_HEIGHT_ADJ - ADH.DFO_PAIR_CPU_HEIGHT)) / :B34 WHEN ADH.PX_DFO_PAIR_ID IS NOT NULL AND ADH.DFO_PAIR_IDLE_HEIGHT > 0 THEN (ADH.DFO_PAIR_TOTAL_SECONDS * ADH.DFO_PAIR_IDLE_HEIGHT) / ADH.PX_DOP ELSE 0 END) DFO_PAIR_IDLE_RESP_TIME, ADH.DFO_PAIR_ACTIVITY_HEIGHT, ADH.DFO_PAIR_CPU_HEIGHT, ADH.DFO_PAIR_IDLE_HEIGHT, ADH.DFO_PAIR_TOTAL_HEIGHT, ADH.DFO_PAIR_CPU_ACTIVITY, ADH.DFO_PAIR_TOTAL_SECONDS FROM (SELECT ADH_1.*, (ROW_NUMBER() OVER(PARTITION BY ADH_1.PLSQL_OBJECT_ID, ADH_1.PLSQL_SUBPROGRAM_ID ORDER BY ADH_1.BUCKET_NUM, ADH_1.ACTIVITY_TYPE, ADH_1.EVENT_NAME)) PLSQL_ROWNUM, (ROW_NUMBER() OVER(PARTITION BY ADH_1.SQL ORDER BY A DH_1.BUCKET_NUM, ADH_1.ACTIVITY_TYPE, ADH_1.EVENT_NAME)) SQL_ROWNUM, (CASE WHEN ADH_1.PX_DFO_PAIR_ID IS NOT NULL AND (ADH_1.DFO_PAIR_TOTAL_HEIGHT < ADH_1.PX_DOP) AND (ADH_1.DFO_PAIR_CPU_HEIGHT < :B34 ) THEN ADH_1.PX_DOP - ADH_1.DFO_PAIR_TOTAL_HEIGHT ELSE 0 END) DFO_PAIR_IDLE_HEIGHT, (CASE WHEN ADH_1.PX_DFO_PAIR_ID IS NOT NULL AND (ADH_1.DFO_PAIR_TOTAL_HEIGHT < ADH_1.PX_DOP) AND (ADH_1.DFO_PAIR_CPU_HEIGHT < :B34 ) THEN ADH_1.PX_DOP ELSE ADH_1.DFO_PAIR_TOTAL_HEIGHT END) DFO_PAIR_TOTAL_HEIGHT_ADJ FROM (SELECT ADH_0.*, (CASE WHEN ADH_0.DFO_PAIR_TOTAL_SECONDS > 0 THEN (ADH_0.DFO_PAIR_TOTAL_ACTIVITY * :B25 ) / ADH_0.DFO_PAIR_TOTAL_SECONDS ELSE 0 END) DFO_PAIR_TOTAL_HEIGHT, (CASE WHEN ADH_0.DFO_PAIR_TOTAL_SECONDS > 0 THEN (ADH_0.DFO_PAIR_CPU_ACTIVITY * :B25 ) / ADH_0.DFO_PAIR_TOTAL_SECONDS ELSE 0 END) DFO_PAIR_CPU_HEIGHT, (CASE WHEN ADH_0.PX_DFO_PAIR_ID IS NOT NULL AND ADH_0.DFO_PAIR_TOTAL_SECONDS > 0 THEN (ADH_0.ACTIVITY_COUNT * :B25 ) / ADH_0.DFO_PAIR_TOTAL_SECON DS ELSE 0 END) DFO_PAIR_ACTIVITY_HEIGHT FROM (SELECT AD3.*, (SUM(DECODE(AD3.PX_DFO_PAIR_ID, NULL, 0, AD3.ACTIVE_SECONDS)) OVER(PARTITION BY DECODE(AD3.PX_DFO_PAIR_ID, NULL, NULL, AD3.BUCKET_NUM), DECODE(AD3.PX_DFO_PAIR_ID, NULL, NULL, AD3.PX_STEP_ARG))) DFO_PAIR_TOTAL_SECONDS FROM (SELECT AD2.*, CASE WHEN AD2.IS_MONITORED_SQL = 0 THEN SQL_BUCKET_DISTINCT_SAMPLES * :B25 WHEN AD2.PX_ID IS NULL THEN AD2.ACTIVITY_COUNT * :B25 WHEN AD2.BUCKET_PARALLEL_MON_ACTIVITY > 0 THEN (AD2.ACTIVITY_COUNT * AD2.BUCKET_PARALLEL_MON_SECONDS) / AD2.BUCKET_PARALLEL_MON_ACTIVITY ELSE 0 END ACTIVE_SECONDS, CASE WHEN AD2.BUCKET_INTERVAL > BUCKET_ACTIVE_SECONDS THEN AD2.BUCKET_INTERVAL - BUCKET_ACTIVE_SECONDS ELSE 0 END BUCKET_IDLE_SECONDS FROM (SELECT AD1.*, (AD1.BUCKET_SERIAL_MON_ACTIVITY * :B25 ) BUCKET_SERIAL_MON_SECONDS, (AD1.BUCKET_TOTAL_MON_ACTIVITY - AD1.BUCKET_SERIAL_MON_ACTIVITY) BUCKET_PARALLEL_MON_ACTIVITY, (AD1.BUCKET_ACTIVE_SECONDS - (AD1.BUCKET_OTHER_ACTIVITY + AD1.BUCKET_SE RIAL_MON_ACTIVITY) * :B25 ) BUCKET_PARALLEL_MON_SECONDS, (AD1.BUCKET_OTHER_ACTIVITY * :B25 ) BUCKET_OTHER_SECONDS, DECODE(AD1.PX_DFO_PAIR_ID, NULL, NULL, SUM(AD1.ACTIVITY_COUNT) OVER(PARTITION BY DECODE(AD1.PX_DFO_PAIR_ID, NULL, NULL, AD1.BUCKET_NUM), AD1.PX_DFO_PAIR_ID)) DFO_PAIR_TOTAL_ACTIVITY, DECODE(AD1.PX_DFO_PAIR_ID, NULL, NULL, SUM(DECODE(AD1.ACTIVITY_TYPE, 'Cpu', AD1.ACTIVITY_COUNT, 0)) OVER(PARTITION BY DECODE(AD1.PX_DFO_PAIR_ID, NULL, NULL, AD1.BUCKET_NUM), AD1.PX_DFO_PAIR_ID)) DFO_PAIR_CPU_ACTIVITY FROM (SELECT AD01.*, NVL((SUM(DECODE(AD01.IS_MONITORED_SQL, 1, AD01.ACTIVITY_COUNT, NULL)) OVER(PARTITION BY AD01.BUCKET_NUM)), 0) BUCKET_TOTAL_MON_ACTIVITY, (NVL(SUM(CASE WHEN AD01.IS_MONITORED_SQL = 1 AND AD01.PX_ID IS NULL THEN AD01.ACTIVITY_COUNT ELSE NULL END) OVER(PARTITION BY AD01.BUCKET_NUM), 0)) BUCKET_SERIAL_MON_ACTIVITY, (NVL((SUM(DECODE(AD01.IS_MONITORED_SQL, 0, AD01.SQL_BUCKET_DISTINCT_SAMPLES, NULL)) OVER(PARTITION BY AD01.BUCKET_NUM)), 0)) BUCKET_OTHER_ACTIVITY, (NVL(AD01.BUCKET_DISTINCT_SAMPLES, 0) * :B25 ) BUCKET_ACTIVE_SECONDS, DECODE(AD01.BUCKET_NUM, :B27 , MOD(:B32 , :B26 ), :B26 ) BUCKET_INTERVAL FROM (SELECT AD0.ACTIVITY_BUCKET_NUM BUCKET_NUM, AD0.PX_ID, AD0.ACTIVITY_TYPE, AD0.OTHER_SQL_ACTIVITY_TYPE, AD0.EVENT_NAME, AD0.PLAN_LINE_ID, AD0.PX_STEP_ID, AD0.PX_STEP_ARG, AD0.PLSQL_OBJECT_ID, AD0.PLSQL_SUBPROGRAM_ID, SUM(AD0.ACTIVITY_COUNT) ACTIVITY_COUNT, MIN(AD0.ACTIVITY_START) ACTIVITY_START, MAX(AD0.ACTIVITY_END) ACTIVITY_END, MAX(AD0.IS_MONITORED_SQL) IS_MONITORED_SQL, MAX(AD0.SQL) SQL, MAX(AD0.TOP_LEVEL_SQL_ID) TOP_LEVEL_SQL_ID, MAX(AD0.DBOP_NAME) DBOP_NAME, MAX(DECODE(AD0.DFO_MOST_ACTIVE_COUNT, NULL, NULL, AD0.DFO_MOST_ACTIVE_IID)) DFO_MOST_ACTIVE_IID, MAX(DECODE(AD0.DFO_MOST_ACTIVE_COUNT, NULL, NULL, AD0.DFO_MOST_ACTIVE_SID)) DFO_MOST_ACTIVE_SID, SUM(AD0.DFO_MOST_ACTIVE_COUNT) DFO_MOST_ACTIVE_COUNT, MAX(PX_DFO_PAIR_TYPE) PX_DFO_PAIR_TYPE, MAX(PX_DFO_PAIR_ID) PX_DFO_PAIR_I D, MAX(AD0.PX_DOP) PX_DOP, MIN(AD0.PX_MIN_DOP) PX_MIN_DOP, MAX(AD0.BUCKET_DISTINCT_SAMPLES) BUCKET_DISTINCT_SAMPLES, MAX(AD0.SQL_BUCKET_DISTINCT_SAMPLES) SQL_BUCKET_DISTINCT_SAMPLES FROM (SELECT AD00.*, (CASE WHEN AD00.IS_MONITORED_SQL = 1 AND (AD00.SESSION_ID != :B19 OR AD00.INST_ID != :B17 ) THEN AD00.PX_SERVER_GROUP END) PX_ID FROM ASH_DATA AD00 WHERE :B33 = 1 ) AD0 GROUP BY AD0.ACTIVITY_BUCKET_NUM, AD0.PX_ID, AD0.ACTIVITY_TYPE, AD0.EVENT_NAME, AD0.OTHER_SQL_ACTIVITY_TYPE, AD0.PLAN_LINE_ID, AD0.PLSQL_OBJECT_ID, AD0.PLSQL_SUBPROGRAM_ID, AD0.PX_STEP_ID, AD0.PX_STEP_ARG ) AD01) AD1) AD2) AD3) ADH_0) ADH_1) ADH) SELECT /*+ no_monitor no_xml_query_rewrite opt_param('_gby_hash_aggregation_enabled', 'false') */ XMLELEMENT( "sql_monitor_report", XMLATTRIBUTES(:B59 AS "version", TO_CHAR(:B58 , :B12 ) AS "sysdate"), XMLELEMENT( "report_parameters", NULL, CASE WHEN :B57 IS NOT NULL THEN XMLFOREST( :B57 AS "dbop _name", :B56 AS "dbop_exec_id") ELSE XMLFOREST( :B55 AS "sql_id", :B54 AS "sql_exec_id") END, XMLFOREST( :B53 AS "session_id", :B52 AS "session_serial", TO_CHAR(:B51 , :B12 ) AS "sql_exec_start", :B27 AS "bucket_count", TO_CHAR(:B50 , :B12 ) AS "interval_start", TO_CHAR(:B22 , :B12 ) AS "interval_end", DECODE(:B49 , 'Y', :B48 , NULL) AS "auto_refresh", :B47 AS "base_path"), CASE WHEN :B23 = 'Y' AND :B46 IS NOT NULL AND NOT (:B4 = 1 AND :B3 IS NULL AND :B2 IS NULL AND :B1 IS NULL) THEN XMLELEMENT( "parallel_filter", NULL, XMLFOREST( DECODE(:B4 , 1, 'yes', 'no') AS "qc", :B3 AS "server_group", :B2 AS "server_set", :B1 AS "server_number")) ELSE NULL END), CASE WHEN :B14 = 1 THEN XMLELEMENT( "derived_parameters_testing", NULL, XMLFOREST(:B11 AS "instance_id_low", :B10 AS "in stance_id_high", :B26 AS "bucket_interval_sec", :B32 AS "interval_second", :B27 AS "bucket_calc_count", :B45 AS "bucket_calc_max_count", :B13 AS "sel_sqltext")) ELSE NULL END, (SELECT XMLCONCAT( CASE WHEN :B46 IS NULL AND :B67 IS NULL THEN XMLELEMENT( "target", XMLATTRIBUTES(:B17 AS "instance_id", :B19 AS "session_id", :B18 AS "session_serial", NVL2(:B6 , NULL, :B9 ) AS "sql_id", NVL2(:B6 , NULL, TO_CHAR(:B8 , :B12 )) AS "sql_exec_start", NVL2(:B6 , NULL, :B7 ) AS "sql_exec_id", NVL2(:B6 , :B6 , NULL) AS "dbop_name", NVL2(:B6 , :B5 , NULL) AS "dbop_exec_id", NVL2(:B6 , TO_CHAR(:B8 , :B12 ), NULL) AS "dbop_exec_start", NVL2(:B6 , NULL, MAX_PLAN_HASH_VALUE) AS "sql_plan_hash", NVL2(:B6 , NULL, MAX_FULL_PLAN_HASH_VALUE) AS "sql_full_plan_hash", MAGG.DB_UNIQUE_NAME AS "db_uniqu e_name", MAGG.PLATFORM_NAME AS "db_platform_name", MAGG.HOST_NAME AS "report_host_name"), NVL2(SUM_SERVERS_REQUESTED, XMLELEMENT( "servers_requested", NULL, SUM_SERVERS_REQUESTED), NULL), NVL2(SUM_SERVERS_ALLOCATED, XMLELEMENT( "servers_allocated", NULL, SUM_SERVERS_ALLOCATED), NULL), NVL2(MAX_USERID, XMLELEMENT( "user_id", NULL, MAX_USERID), NULL), NVL2(MAX_USERNAME, XMLELEMENT( "user", NULL, MAX_USERNAME), NULL), NVL2(MAX_CON_ID, XMLELEMENT( "con_id", NULL, MAX_CON_ID), NULL), NVL2(MAX_CON_NAME, XMLELEMENT( "con_name", NULL, MAX_CON_NAME), NULL), NVL2(MAX_PROGRAM, XMLELEMENT( "program", NULL, MAX_PROGRAM), NULL), NVL2(MAX_MODULE, XMLELEMENT( "module", NULL, MAX_MODULE), NULL), NVL2(MAX_ACTION, XMLELEMENT( "action", NULL, MAX_ACTION), NULL), NVL2(MAX_SERVICE_NAME, XMLELEMENT( "service", NULL, MAX_SERVICE_NAME), NULL), NVL2(MAX_CLIENT_ID, XMLELEMENT( "client_id", NULL, MAX_CLIENT_ID), NULL), NVL2(MAX_CLIENT_INFO, XMLELEMENT( "client_info", NULL, MAX_CLIENT_INFO), NULL), NVL2(MAX_PL_ENTRY_OID, XMLELEMENT( "plsql_entry_object_id", NULL, MAX_PL_ENTRY_OID), NULL), NVL2(MAX_PL_ENTRY_PROGID, XMLELEMENT( "plsql_entry_subprogram_id", NULL, MAX_PL_ENTRY_PROGID), NULL), NVL2(MAX_PL_ENTRY_NAME, XMLELEMENT( "plsql_entry_name", NULL, MAX_PL_ENTRY_NAME), NULL), NVL2(MAX_PL_OID, XMLELEMENT( "plsql_object_id", NULL, MAX_PL_OID), NULL), NVL2(MAX_PL_PROGID, XMLELEMENT( "plsql_subprogram_id", NULL, MAX_PL_PROGID), NULL), NVL2(MAX_PL_NAME, XMLELEMENT( "plsql_name", NULL, MAX_PL_NAME), NULL), CASE WHEN (:B13 = 0 OR :B6 IS NOT NULL) THEN NULL ELSE XMLELEMENT( "sql_fulltext", XMLATTRIBUTES( NVL2(:B65 , 'Y', :B66 ) AS "is_full"), NVL2(:B65 , :B65 , SQLMON_TEXT)) END, XML ELEMENT( "status", NULL, MAX_STATUS), XMLELEMENT( "refresh_count", NULL, SUM_REFRESH_COUNT), XMLELEMENT( "first_refresh_time", NULL, TO_CHAR(MIN_FIRST_REFRESH_TIME, :B12 )), XMLELEMENT( "last_refresh_time", NULL, TO_CHAR(:B58 , :B12 )), XMLELEMENT( "duration", NULL, GREATEST(:B64 , LEAST(MAX_ELAPSED_TIME/1000000, 1), CEIL(MAX_QUEUING_TIME/1000000))), DECODE(MAX_RM_INFO, '00/00/0000 00:00:00', NULL, XMLTYPE(SUBSTR(MAX_RM_INFO, 20))), CASE WHEN (:B62 = 'Y') THEN XMLELEMENT( "adaptive_plan", XMLATTRIBUTES(:B63 AS "is_final"), :B62 ) ELSE NULL END ) END, XMLELEMENT( "stats", XMLATTRIBUTES('monitor' AS "type"), DECODE(NVL(SUM_ELAPSED_TIME, 0), 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('elapsed_time' AS "name"), SUM_ELAPSED_TIME)), DECODE(NVL(MAX_QUEUING_TIME, 0), 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('queuing_time' AS "n ame"), MAX_QUEUING_TIME)), DECODE(NVL(SUM_CPU_TIME, 0), 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('cpu_time' AS "name"), SUM_CPU_TIME)), DECODE(NVL(SUM_USER_IO_WAIT_TIME, 0), 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('user_io_wait_time' AS "name"), SUM_USER_IO_WAIT_TIME)), DECODE(NVL(SUM_APPLICATION_WAIT_TIME, 0), 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('application_wait_time' AS "name"), SUM_APPLICATION_WAIT_TIME)), DECODE(NVL(SUM_CONCURRENCY_WAIT_TIME, 0), 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('concurrency_wait_time' AS "name"), SUM_CONCURRENCY_WAIT_TIME)), DECODE(NVL(SUM_CLUSTER_WAIT_TIME, 0), 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('cluster_wait_time' AS "name"), SUM_CLUSTER_WAIT_TIME)), DECODE(NVL(SUM_PLSQL_EXEC_TIME, 0), 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('plsql_exec_time' AS "name"), SUM_PLSQL _EXEC_TIME)), DECODE(NVL(SUM_JAVA_EXEC_TIME, 0), 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('java_exec_time' AS "name"), SUM_JAVA_EXEC_TIME)), DECODE(NVL(SUM_OTHER_WAIT_TIME, 0), 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('other_wait_time' AS "name"), SUM_OTHER_WAIT_TIME)), DECODE(NVL(SUM_FETCHES, 0), 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('user_fetch_count' AS "name"), SUM_FETCHES)), DECODE(NVL(SUM_BUFFER_GETS, 0), 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('buffer_gets' AS "name"), SUM_BUFFER_GETS)), DECODE(NVL(SUM_READ_REQS, 0), 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('disk_reads' AS "name"), SUM_READ_REQS)), DECODE(NVL(SUM_WRITE_REQS, 0), 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('direct_writes' AS "name"), SUM_WRITE_REQS)), DECODE(NVL(SUM_READ_REQS, 0), 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('r ead_reqs' AS "name"), SUM_READ_REQS)), DECODE(NVL(SUM_READ_BYTES, 0), 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('read_bytes' AS "name"), SUM_READ_BYTES)), DECODE(NVL(SUM_WRITE_REQS, 0), 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('write_reqs' AS "name"), SUM_WRITE_REQS)), DECODE(NVL(SUM_WRITE_BYTES, 0), 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('write_bytes' AS "name"), SUM_WRITE_BYTES)), DECODE(NVL(SUM_IO_UNC_BYTES, 0), 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('unc_bytes' AS "name"), SUM_IO_UNC_BYTES)), DECODE(NVL(SUM_IO_ELIG_BYTES, 0), 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('elig_bytes' AS "name"), SUM_IO_ELIG_BYTES)), DECODE(NVL(SUM_IO_RET_BYTES, 0), 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('ret_bytes' AS "name"), SUM_IO_RET_BYTES)), CASE WHEN SUM_IO_INTER_BYTES IS NULL OR SUM_IO_BYTES = 0 OR SUM_IO_INT ER_BYTES = SUM_IO_BYTES OR NVL(SUM_IO_ELIG_BYTES, 0) = 0 THEN NULL ELSE XMLELEMENT( "stat", XMLATTRIBUTES('cell_offload_efficiency' AS "name"), ROUND(SUM_IO_BYTES / DECODE(SUM_IO_INTER_BYTES, 0, 1, SUM_IO_INTER_BYTES), 2)) END, CASE WHEN NVL(SUM_IO_ELIG_BYTES, 0) = 0 OR SUM_IO_BYTES = 0 OR SUM_IO_UNC_BYTES = SUM_IO_RET_BYTES THEN NULL ELSE XMLELEMENT( "stat", XMLATTRIBUTES('cell_offload_efficiency2' AS "name"), GREATEST(0, ROUND(100* (GREATEST(SUM_IO_UNC_BYTES, SUM_IO_ELIG_BYTES) - SUM_IO_RET_BYTES) / SUM_IO_ELIG_BYTES, 2))) END), CASE WHEN :B33 = 1 THEN (SELECT CASE WHEN SUM(ACTIVITY_COUNT) > 0 THEN XMLELEMENT( "activity_sampled", XMLAGG( XMLELEMENT( "activity", XMLATTRIBUTES( AD1.ACTIVITY_TYPE AS "class", AD1.EVENT_NAME AS "event"), AD1.ACTIVITY_COUNT) ORDER BY AD1.ACTIVITY_TYPE, AD1.EVENT_NAME)) ELSE NULL END FROM (SELECT AD0.ACTIVITY_TYPE, AD0.EVENT_NAME, SUM(AD0.ACTIVITY_COUNT) ACTIVITY_COUNT FROM ASH_DATA AD0 GROUP BY AD0.ACTIVITY_TYPE, AD0.EVENT_NAME) AD1) ELSE NULL END, NVL2(MAX_ERROR_NUMBER, XMLELEMENT( "error", XMLATTRIBUTES(MAX_ERROR_NUMBER AS "number", MAX_ERROR_FACILITY AS "facility"), MAX_ERROR_MESSAGE), NULL), CASE WHEN :B61 = 1 AND MAGG.QC_HAS_BINDS_XML = 'Y' THEN (SELECT XMLTYPE(BINDS_XML) FROM GV$ALL_SQL_MONITOR MON WHERE MON.INST_ID = :B17 AND MON.KEY = MAGG.MAX_KEY AND MON.SID = MAGG.MAX_SESSION_ID AND MON.SQL_ID = :B9 AND MON.SQL_EXEC_START = :B8 AND MON.SQL_EXEC_ID = :B7 AND ROWNUM = 1) ELSE NULL END, CASE WHEN :B60 = 1 AND MAGG.QC_HAS_OTHER_XML = 'Y' THEN (SELECT XMLTYPE(OTHER_XML) FROM GV$ALL_SQL_MONITOR MON WHERE MON.INST_ID = MAGG.MAX_INST_ID AND MON.KEY = MAGG.MAX_KEY AND MON.SID = MAGG.MAX_SESSION_ID AND MON.SQL_ID = :B9 AND MON.SQL_EXEC_START = :B8 AND MON.SQL_EXEC_ID = :B7 AND ROWNUM = 1) ELSE NULL END) FROM MONITOR_AGG MAGG), CASE WHEN :B44 = 1 THEN (SELECT CASE WHEN AT.ACTIVITY_COUNT > 0 T HEN XMLELEMENT( "activity_sampled", XMLATTRIBUTES( :B41 AS "ash_missing_seconds", TO_CHAR(AT.ACTIVITY_START, :B12 ) AS "first_sample_time", TO_CHAR(AT.ACTIVITY_END, :B12 ) AS "last_sample_time", ROUND((AT.ACTIVITY_END - AT.ACTIVITY_START) * 3600 * 24) + 1 AS "duration", AT.ACTIVITY_COUNT AS "count", AT.IMQ_COUNT AS "imq_count", AT.WAIT_COUNT AS "wait_count", AT.CPU_COUNT AS "cpu_count", DECODE(AT.OTHER_SQL_COUNT, 0, NULL, AT.OTHER_SQL_COUNT) AS "other_sql_count", :B40 AS "cpu_cores", :B39 AS "hyperthread"), AT.ACTIVITY_TOTAL, AH.GLOB_ACTIVITY_HISTO) WHEN :B41 IS NOT NULL THEN XMLELEMENT( "activity_sampled", XMLATTRIBUTES( DECODE( :B41 , -1, 'all', TO_CHAR( :B41 )) AS "ash_missing_seconds")) ELSE NULL END FROM (SELECT MIN(AD1.ACTIVITY_START) ACTIVITY_START, MAX(AD1.ACTIVITY_END) ACTIVITY_END, SUM(AD1.ACTIVITY_COUNT) ACTIVITY_ COUNT, SUM(AD1.IMQ_COUNT) IMQ_COUNT, SUM(AD1.WAIT_COUNT) WAIT_COUNT, SUM(AD1.CPU_COUNT) CPU_COUNT, SUM(AD1.OTHER_SQL_COUNT) OTHER_SQL_COUNT, SUBSTR(MAX(LPAD(AD1.ACTIVITY_COUNT, 10)|| AD1.ACTIVITY_TYPE), 11) MOST_ACTIVE, XMLAGG( XMLELEMENT( "activity", XMLATTRIBUTES( AD1.ACTIVITY_TYPE AS "class", AD1.EVENT_NAME AS "event"), AD1.ACTIVITY_COUNT) ORDER BY AD1.ACTIVITY_TYPE, AD1.EVENT_NAME) ACTIVITY_TOTAL FROM (SELECT AD0.ACTIVITY_TYPE, AD0.EVENT_NAME, MIN(AD0.ACTIVITY_START) ACTIVITY_START, MAX(AD0.ACTIVITY_END) ACTIVITY_END, SUM(AD0.ACTIVITY_COUNT) ACTIVITY_COUNT, SUM(AD0.IMQ_COUNT) IMQ_COUNT, SUM(AD0.WAIT_COUNT) WAIT_COUNT, SUM(AD0.CPU_COUNT) CPU_COUNT, SUM(AD0.OTHER_SQL_COUNT) OTHER_SQL_COUNT FROM ASH_DATA AD0 GROUP BY AD0.ACTIVITY_TYPE, AD0.EVENT_NAME) AD1) AT, (SELECT CASE WHEN :B30 = 1 AND :B27 > 1 THEN XMLELEMENT( "activity_histogram", XMLATTRIBUTES( :B26 AS "bucket_interval", :B27 AS "bucket_count ", TO_CHAR( :B20 , :B12 ) AS "start_time", TO_CHAR( :B22 , :B12 ) AS "end_time", ROUND(( :B22 - :B20 ) *3600*24) + 1 AS "duration"), XMLAGG( XMLELEMENT( "bucket", XMLATTRIBUTES( AD2.BUCKET_NUM AS "number"), ACTIVITY_BUCKET) ORDER BY AD2.BUCKET_NUM)) ELSE NULL END GLOB_ACTIVITY_HISTO FROM (SELECT AD1.BUCKET_NUM, SUM(ACTIVITY_COUNT) ACTIVITY_COUNT, SUM(IMQ_COUNT) IMQ_COUNT, SUM(WAIT_COUNT) WAIT_COUNT, SUM(CPU_COUNT) CPU_COUNT, SUM(OTHER_SQL_COUNT) OTHER_SQL_COUNT, MIN(AD1.ACTIVITY_START) ACTIVITY_START, MAX(AD1.ACTIVITY_END) ACTIVITY_END, MIN(AD1.BUCKET_ACTIVITY_START) BUCKET_ACTIVITY_START, MAX(AD1.BUCKET_ACTIVITY_END) BUCKET_ACTIVITY_END, SUBSTR(MAX(LPAD(AD1.ACTIVITY_COUNT, 10)|| AD1.ACTIVITY_TYPE), 11) MOST_ACTIVE, XMLAGG( XMLELEMENT( "activity", XMLATTRIBUTES( AD1.ACTIVITY_TYPE AS "class", AD1.EVENT_NAME AS "event"), AD1.ACTIVITY_COUNT) ORDER BY AD1.ACTIVITY_TYPE, AD1.EVENT_NA ME) ACTIVITY_BUCKET FROM (SELECT AD0.ACTIVITY_BUCKET_NUM BUCKET_NUM, AD0.ACTIVITY_TYPE, AD0.EVENT_NAME, MIN(AD0.ACTIVITY_START) ACTIVITY_START, MAX(AD0.ACTIVITY_END) ACTIVITY_END, SUM(AD0.ACTIVITY_COUNT) ACTIVITY_COUNT, SUM(AD0.IMQ_COUNT) IMQ_COUNT, SUM(AD0.WAIT_COUNT) WAIT_COUNT, SUM(AD0.CPU_COUNT) CPU_COUNT, SUM(AD0.OTHER_SQL_COUNT) OTHER_SQL_COUNT, MIN(AD0.BUCKET_ACTIVITY_START) BUCKET_ACTIVITY_START, MAX(AD0.BUCKET_ACTIVITY_END) BUCKET_ACTIVITY_END FROM ASH_DATA AD0 GROUP BY AD0.ACTIVITY_BUCKET_NUM, AD0.ACTIVITY_TYPE, AD0.EVENT_NAME) AD1 GROUP BY AD1.BUCKET_NUM) AD2) AH) ELSE NULL END, CASE WHEN :B33 = 1 THEN (SELECT CASE WHEN AH.ACTIVITY_COUNT > 0 THEN XMLELEMENT( "activity_detail", XMLATTRIBUTES( TO_CHAR( :B20 , :B12 ) AS "start_time", TO_CHAR( :B22 , :B12 ) AS "end_time", :B41 AS "ash_missing_seconds", TO_CHAR(AH.ACTIVITY_START, :B12 ) AS "first_sample_time", TO_CHAR(AH.ACTIVITY_END, :B12 ) AS "last _sample_time", ROUND((AH.ACTIVITY_END - AH.ACTIVITY_START) * 3600 * 24) + 1 AS "duration", :B25 AS "sample_interval", :B26 AS "bucket_interval", :B27 AS "bucket_count", ROUND((:B22 - :B20 ) *3600*24) + 1 AS "bucket_duration", :B40 AS "cpu_cores", :B34 AS "total_cpu_cores", :B39 AS "hyperthread"), AH.GLOB_ACTIVITY_HISTO) WHEN :B41 IS NOT NULL THEN XMLELEMENT( "activity_detail", XMLATTRIBUTES( DECODE( :B41 , -1, 'all', TO_CHAR( :B41 )) AS "ash_missing_seconds")) ELSE NULL END FROM (SELECT MIN(AD2.ACTIVITY_START) ACTIVITY_START, MAX(AD2.ACTIVITY_END) ACTIVITY_END, SUM(AD2.ACTIVITY_COUNT) ACTIVITY_COUNT, XMLAGG( XMLELEMENT( "bucket", XMLATTRIBUTES( AD2.BUCKET_NUM AS "number"), ACTIVITY_BUCKET_XML) ORDER BY AD2.BUCKET_NUM) GLOB_ACTIVITY_HISTO FROM (SELECT AD1.BUCKET_NUM, MIN(AD1.ACTIVITY_START) ACTIVITY_START, MAX(AD1.ACTIVITY_END) ACTIVITY_END, S UM(AD1.ACTIVITY_COUNT) ACTIVITY_COUNT, MAX(AD1.BUCKET_IDLE_SECONDS) BUCKET_IDLE_SECONDS, XMLAGG( XMLCONCAT( CASE WHEN AD1.DFO_PAIR_IDLE_RESP_TIME != 0 AND DFO_PAIR_ROWNUM = 1 THEN XMLELEMENT( "activity", XMLATTRIBUTES( 'Parallel Skew' AS "class", AD1.PX_STEP_ARG AS "line", AD1.PX_ID AS "px", ROUND(AD1.DFO_PAIR_IDLE_RESP_TIME, 2) AS "rt"), 0) ELSE NULL END, XMLELEMENT( "activity", XMLATTRIBUTES( NVL(AD1.OTHER_SQL, AD1.RPI) AS "sql", AD1.NON_SQL AS "non_sql", AD1.CLASS AS "class", AD1.OTHER_SQL_CLASS AS "other_sql_class", AD1.EVENT AS "event", AD1.PLAN_LINE_ID AS "line", NVL2(AD1.PLSQL_OBJECT_ID, AD1.PLSQL_OBJECT_ID||'.'|| AD1.PLSQL_SUBPROGRAM_ID, NULL) AS "plsql_id", AD1.PLSQL_NAME AS "plsql_name", CASE WHEN AD1.SQL_ROWNUM = 1 THEN AD1.TOP_LEVEL_SQL_ID END AS "top_sql_id", CASE WHEN AD1.DBOP_NAME IS NOT NULL THEN AD1. DBOP_NAME END AS "dbop_name", CASE WHEN AD1.DFO_MOST_ACTIVE_IID IS NOT NULL AND :B68 = 'Y' THEN AD1.DFO_MOST_ACTIVE_IID END AS "skew_iid", DECODE(AD1.DFO_MOST_ACTIVE_COUNT, NULL, NULL, AD1.DFO_MOST_ACTIVE_SID) AS "skew_sid", AD1.DFO_MOST_ACTIVE_COUNT AS "skew_count", DECODE(AD1.PX_DOP, :B28 , NULL, AD1.PX_DOP) AS "dop", DECODE(AD1.PX_DOP, AD1.PX_MIN_DOP, NULL, AD1.PX_MIN_DOP) AS "min_dop", AD1.PX_ID AS "px", AD1.PX_STEP_ID AS "step", AD1.PX_STEP_ARG AS "arg", DECODE(AD1.ACTIVITY_COUNT, AD1.RESP_TIME, NULL, ROUND(AD1.RESP_TIME, 2)) AS "rt"), AD1.ACTIVITY_COUNT)) ORDER BY AD1.PX_STEP_ID, AD1.PX_STEP_ARG, AD1.DFO_PAIR_ROWNUM) ACTIVITY_BUCKET_XML FROM (SELECT AD01.*, CASE WHEN AD01.ACTIVITY_TYPE != 'Other SQL Execution' AND AD01.ACTIVITY_TYPE != 'Non SQL' THEN AD01.ACTIVITY_TYPE END CLASS, CASE WHEN (AD01.ACTIVITY_TYPE = 'Other SQL Execution' OR AD01.ACTIVITY_TYPE = 'Non SQL') THEN AD01.OTHER_SQL_ACTIVITY_TYPE END OTHER_SQL_CLASS, CASE WHEN AD01.ACTIVITY_TYPE != 'Other SQL Execution' AND AD01.ACTIVITY_TYPE != 'Non SQL' THEN AD01.EVENT_NAME END EVENT, CASE WHEN AD01.SQL IN ('this', 'anonymous') THEN NULL ELSE AD01.SQL END RPI, DECODE(AD01.ACTIVITY_TYPE, 'Other SQL Execution', SUBSTR(AD01.EVENT_NAME, 9), NULL) OTHER_SQL, DECODE(AD01.ACTIVITY_TYPE, 'Non SQL', AD01.EVENT_NAME, NULL) NON_SQL, ROW_NUMBER() OVER(PARTITION BY AD01.BUCKET_NUM, AD01.PX_DFO_PAIR_ID ORDER BY AD01.ACTIVITY_TYPE, AD01.EVENT_NAME, AD01.PLAN_LINE_ID) DFO_PAIR_ROWNUM FROM RESPONSE_TIME_DATA AD01) AD1 GROUP BY AD1.BUCKET_NUM) AD2) AH) ELSE NULL END, CASE WHEN :B23 = 'Y' THEN (SELECT XMLELEMENT( "parallel_info", XMLATTRIBUTES( :B17 AS "qc_instance_id", MAX_PX_QCSID AS "qc_session_id", MAX_PX_IS_CROSS_INSTANCE AS "is_cross_instance", MAX_PX_DOP AS "dop", MAX_PX_DOP_INSTANCES AS "max_dop_instances", DI ST_INST_COUNT AS "inst_count", DIST_PX_GROUP_COUNT AS "server_group_count", DIST_PX_SET_COUNT AS "server_set_count"), CASE WHEN :B70 = 1 THEN PX_SESSIONS ELSE NULL END, CASE WHEN :B68 = 'Y' THEN DECODE(:B69 , 1, PX_INSTANCES, NULL) ELSE NULL END) FROM (SELECT MAX_PX_QCSID, MAX_PX_DOP, MAX_PX_DOP_INSTANCES, MAX_PX_IS_CROSS_INSTANCE, SUM_SERVERS_REQUESTED, SUM_SERVERS_ALLOCATED, DIST_INST_COUNT, DIST_PX_GROUP_COUNT, DIST_PX_SET_COUNT, (SELECT XMLELEMENT( "sessions", XMLATTRIBUTES(MAX(PX_SESSION.ACTIVITY_COUNT) AS "max_activity_count", MAX(PX_SESSION.IMQ_COUNT) AS "max_imq_count", MAX(PX_SESSION.CPU_COUNT) AS "max_cpu_count", MAX(PX_SESSION.WAIT_COUNT) AS "max_wait_count", MAX(PX_SESSION.OTHER_SQL_COUNT) AS "max_other_sql_count", MAX(PX_SESSION.MAX_IO_REQS) AS "max_io_reqs", MAX(PX_SESSION.MAX_IO_BYTES) AS "max_io_bytes", MAX(PX_SESSION.MAX_BUFFER_GETS) AS "max_buffer_gets", MAX(PX_SESSION.MAX_ELAPSED_TIME) AS "max_elapsed_time"), XMLAGG(PX_SESSION.PX_SESSION_XML ORDER BY PX_SERVER_GROUP NULLS FIRST, PX_SERVER_SET, PX_SERVER#)) FROM (SELECT PX_SERVER_GROUP, PX_SERVER_SET, PX_SERVER#, MAX(PI.MAX_ELAPSED_TIME) MAX_ELAPSED_TIME, MAX(PI.MAX_IO_REQS) MAX_IO_REQS, MAX(PI.MAX_IO_BYTES) MAX_IO_BYTES, MAX(PI.MAX_BUFFER_GETS) MAX_BUFFER_GETS, SUM(PI.ACTIVITY_COUNT) ACTIVITY_COUNT, SUM(PI.IMQ_COUNT) IMQ_COUNT, SUM(PI.WAIT_COUNT) WAIT_COUNT, SUM(PI.CPU_COUNT) CPU_COUNT, SUM(PI.OTHER_SQL_COUNT) OTHER_SQL_COUNT, XMLELEMENT( "session", XMLATTRIBUTES( INST_ID AS "inst_id", PROCESS_NAME AS "process_name", SID AS "session_id", SESSION_SERIAL# AS "session_serial", PX_SERVER_GROUP AS "server_group", PX_SERVER_SET AS "server_set", PX_SERVER# AS "server_num"), XMLELEMENT( "stats", XMLATTRIBUTES( 'monitor' AS "type"), NVL2(MAX(ELAPSED_TIME), XMLELEMENT( "stat", XMLATTRIBUTES('elapsed_time' AS "name"), MAX(ELAPSED_TIME)), NULL), NVL2(MAX(QUEUING_TIME), XMLELEMENT( "stat", XMLATTRIBUTES('queuing_time' AS "name"), MAX(QUEUING_TIME)), NULL), NVL2(MAX(CPU_TIME), XMLELEMENT( "stat", XMLATTRIBUTES('cpu_time' AS "name"), MAX(CPU_TIME)), NULL), NVL2(MAX(USER_IO_WAIT_TIME), XMLELEMENT( "stat", XMLATTRIBUTES('user_io_wait_time' AS "name"), MAX(USER_IO_WAIT_TIME)), NULL), NVL2(MAX(APPLICATION_WAIT_TIME), XMLELEMENT( "stat", XMLATTRIBUTES('application_wait_time' AS "name"), MAX(APPLICATION_WAIT_TIME)), NULL), NVL2(MAX(CONCURRENCY_WAIT_TIME), XMLELEMENT( "stat", XMLATTRIBUTES('concurrency_wait_time' AS "name"), MAX(CONCURRENCY_WAIT_TIME)), NULL), NVL2(MAX(CLUSTER_WAIT_TIME), XMLELEMENT( "stat", XMLATTRIBUTES('cluster_wait_time' AS "name"), M AX(CLUSTER_WAIT_TIME)), NULL), NVL2(MAX(PLSQL_EXEC_TIME), XMLELEMENT( "stat", XMLATTRIBUTES('plsql_exec_time' AS "name"), MAX(PLSQL_EXEC_TIME)), NULL), NVL2(MAX(JAVA_EXEC_TIME), XMLELEMENT( "stat", XMLATTRIBUTES('java_exec_time' AS "name"), MAX(JAVA_EXEC_TIME)), NULL), NVL2(MAX(OTHER_WAIT_TIME), XMLELEMENT( "stat", XMLATTRIBUTES( 'other_wait_time' AS "name"), MAX(OTHER_WAIT_TIME)), NULL), NVL2(MAX(FETCHES), XMLELEMENT( "stat", XMLATTRIBUTES('user_fetch_count' AS "name"), MAX(FETCHES)), NULL), NVL2(MAX(BUFFER_GETS), XMLELEMENT( "stat", XMLATTRIBUTES('buffer_gets' AS "name"), MAX(BUFFER_GETS)), NULL), NVL2(MAX(READ_REQS), XMLELEMENT( "stat", XMLATTRIBUTES('disk_reads' AS "name"), MAX(READ_REQS)), NULL), NVL2(MAX(WRITE_REQS), XMLELEMENT( "stat", XMLATTRIBUTES('direct_writes' AS "name"), MAX(WRITE_REQS)), NULL), NVL 2(MAX(READ_REQS), XMLELEMENT( "stat", XMLATTRIBUTES('read_reqs' AS "name"), MAX(READ_REQS)), NULL), NVL2(MAX(READ_BYTES), XMLELEMENT( "stat", XMLATTRIBUTES('read_bytes' AS "name"), MAX(READ_BYTES)), NULL), NVL2(MAX(WRITE_REQS), XMLELEMENT( "stat", XMLATTRIBUTES('write_reqs' AS "name"), MAX(WRITE_REQS)), NULL), NVL2(MAX(WRITE_BYTES), XMLELEMENT( "stat", XMLATTRIBUTES('write_bytes' AS "name"), MAX(WRITE_BYTES)), NULL), NVL2(MAX(IO_UNC_BYTES), XMLELEMENT( "stat", XMLATTRIBUTES('unc_bytes' AS "name"), MAX(IO_UNC_BYTES)), NULL), NVL2(MAX(IO_ELIG_BYTES), XMLELEMENT( "stat", XMLATTRIBUTES('elig_bytes' AS "name"), MAX(IO_ELIG_BYTES)), NULL), NVL2(MAX(IO_RET_BYTES), XMLELEMENT( "stat", XMLATTRIBUTES('ret_bytes' AS "name"), MAX(IO_RET_BYTES)), NULL), CASE WHEN MAX(IO_INTER_BYTES) IS NULL OR NVL(MAX(IO_BYTES), 0) = 0 OR MAX (IO_INTER_BYTES) = MAX(IO_BYTES) OR NVL(MAX(IO_ELIG_BYTES), 0) = 0 THEN NULL ELSE XMLELEMENT( "stat", XMLATTRIBUTES('cell_offload_efficiency' AS "name"), ROUND(MAX(IO_BYTES) / DECODE(MAX(IO_INTER_BYTES), 0, 1, MAX(IO_INTER_BYTES)), 2)) END, CASE WHEN NVL(MAX(IO_ELIG_BYTES), 0) = 0 OR NVL(MAX(IO_BYTES), 0) = 0 OR MAX(IO_UNC_BYTES) = MAX(IO_RET_BYTES) THEN NULL ELSE XMLELEMENT( "stat", XMLATTRIBUTES('cell_offload_efficiency2' AS "name"), GREATEST(0, ROUND(100* (GREATEST( NVL(MAX(IO_UNC_BYTES), 0), NVL(MAX(IO_ELIG_BYTES), 0)) - MAX(IO_RET_BYTES)) / MAX(IO_ELIG_BYTES), 2))) END), CASE WHEN SUM(PI.ACTIVITY_COUNT) > 0 AND :B33 = 1 THEN XMLELEMENT( "activity_sampled", XMLATTRIBUTES( TO_CHAR(MIN(PI.ACTIVITY_START), :B12 ) AS "first_sample_time", TO_CHAR(MAX(PI.ACTIVITY_END), :B12 ) AS "last_sample_time", ROUND((MAX(PI.ACTIVITY_END) - MIN(PI.ACTIVITY_START)) * 3600 * 24) + 1 AS "duration", S UM(PI.ACTIVITY_COUNT) AS "count", SUM(PI.IMQ_COUNT) AS "imq_count", SUM(PI.CPU_COUNT) AS "cpu_count", SUM(PI.WAIT_COUNT) AS "wait_count", SUM(PI.OTHER_SQL_COUNT)AS "other_sql_count", :B40 AS "cpu_cores", :B39 AS "hyperthread"), XMLAGG( NVL2(ACTIVITY_TYPE, XMLELEMENT( "activity", XMLATTRIBUTES( PI.ACTIVITY_TYPE AS "class", PI.EVENT_NAME AS "event"), ACTIVITY_COUNT), NULL) ORDER BY PI.ACTIVITY_TYPE, PI.EVENT_NAME)) ELSE NULL END, CASE WHEN :B60 = 1 AND PI.HAS_OTHER_XML = 'Y' THEN (SELECT XMLTYPE(OTHER_XML) FROM GV$ALL_SQL_MONITOR MON WHERE MON.INST_ID = PI.INST_ID AND MON.KEY = PI.KEY AND MON.SID = PI.SID AND MON.SQL_ID = :B9 AND MON.SQL_EXEC_START = :B8 AND MON.SQL_EXEC_ID = :B7 AND ROWNUM = 1) ELSE NULL END) PX_SESSION_XML FROM (SELECT MO.HAS_OTHER_XML, MO.KEY, MO.INST_ID, DECODE(MO.PROCESS_NAME, 'ora', 'PX Coordinator', MO.PROCESS_NAME) PROCESS_NAME, MO.SID, MO.SES SION_SERIAL#, MO.PX_SERVER_GROUP, MO.PX_SERVER_SET, MO.PX_SERVER#, ASH0.ACTIVITY_TYPE, ASH0.EVENT_NAME, MAX(MO.IO_REQS) MAX_IO_REQS, MAX(MO.IO_BYTES) MAX_IO_BYTES, MAX(MO.BUFFER_GETS) MAX_BUFFER_GETS, MAX(MO.ELAPSED_TIME) MAX_ELAPSED_TIME, SUM(DECODE(ASH0.ACTIVITY_TYPE, NULL, NULL, ASH0.ACTIVITY_COUNT)) ACTIVITY_COUNT, SUM(DECODE(ASH0.ACTIVITY_TYPE, NULL, NULL, ASH0.IMQ_COUNT)) IMQ_COUNT, SUM(DECODE(ASH0.ACTIVITY_TYPE, NULL, NULL, ASH0.WAIT_COUNT)) WAIT_COUNT, SUM(DECODE(ASH0.ACTIVITY_TYPE, NULL, NULL, ASH0.CPU_COUNT)) CPU_COUNT, SUM(DECODE(ASH0.ACTIVITY_TYPE, NULL, NULL, ASH0.OTHER_SQL_COUNT)) OTHER_SQL_COUNT, MIN(ASH0.ACTIVITY_START) ACTIVITY_START, MAX(ASH0.ACTIVITY_END) ACTIVITY_END, MAX(DECODE(MO.ELAPSED_TIME, 0, NULL, MO.ELAPSED_TIME)) ELAPSED_TIME, MAX(DECODE(MO.QUEUING_TIME, 0, NULL, MO.QUEUING_TIME)) QUEUING_TIME, MAX(DECODE(MO.CPU_TIME, 0, NULL, CPU_TIME)) CPU_TIME, MAX(DECODE(MO.FETCHES, 0, NULL, FETCHES)) FETCHES, MAX(DECODE(M O.BUFFER_GETS, 0, NULL, MO.BUFFER_GETS)) BUFFER_GETS, MAX(DECODE(MO.IO_INTER_BYTES, 0, NULL, MO.IO_INTER_BYTES)) IO_INTER_BYTES, MAX(DECODE(MO.READ_REQS, 0, NULL, MO.READ_REQS)) READ_REQS, MAX(DECODE(MO.READ_BYTES, 0, NULL, MO.READ_BYTES)) READ_BYTES, MAX(DECODE(MO.WRITE_REQS, 0, NULL, MO.WRITE_REQS)) WRITE_REQS, MAX(DECODE(MO.WRITE_BYTES, 0, NULL, MO.WRITE_BYTES)) WRITE_BYTES, MAX(DECODE(MO.IO_BYTES, 0, NULL, MO.IO_BYTES)) IO_BYTES, MAX(DECODE(MO.IO_UNC_BYTES, 0, NULL, MO.IO_UNC_BYTES)) IO_UNC_BYTES, MAX(DECODE(MO.IO_ELIG_BYTES, 0, NULL, MO.IO_ELIG_BYTES)) IO_ELIG_BYTES, MAX(DECODE(MO.IO_RET_BYTES, 0, NULL, MO.IO_RET_BYTES)) IO_RET_BYTES, MAX(DECODE(MO.APPLICATION_WAIT_TIME, 0, NULL, MO.APPLICATION_WAIT_TIME)) APPLICATION_WAIT_TIME, MAX(DECODE(MO.CONCURRENCY_WAIT_TIME, 0, NULL, MO.CONCURRENCY_WAIT_TIME)) CONCURRENCY_WAIT_TIME, MAX(DECODE(MO.CLUSTER_WAIT_TIME, 0, NULL, MO.CLUSTER_WAIT_TIME)) CLUSTER_WAIT_TIME, MAX(DECODE(MO.USER_IO_WA IT_TIME, 0, NULL, MO.USER_IO_WAIT_TIME)) USER_IO_WAIT_TIME, MAX(DECODE(PLSQL_EXEC_TIME, 0, NULL, PLSQL_EXEC_TIME)) PLSQL_EXEC_TIME, MAX(DECODE(MO.JAVA_EXEC_TIME, 0, NULL, MO.JAVA_EXEC_TIME)) JAVA_EXEC_TIME, MAX(DECODE(MO.OTHER_WAIT_TIME, 0, NULL, MO.OTHER_WAIT_TIME)) OTHER_WAIT_TIME FROM MONITOR_DATA MO, (SELECT ASH1.INST_ID, ASH1.SESSION_ID, ASH1.ACTIVITY_TYPE, ASH1.EVENT_NAME, SUM(ASH1.ACTIVITY_COUNT) ACTIVITY_COUNT, SUM(ASH1.IMQ_COUNT) IMQ_COUNT, SUM(ASH1.WAIT_COUNT) WAIT_COUNT, SUM(ASH1.CPU_COUNT) CPU_COUNT, SUM(ASH1.OTHER_SQL_COUNT)OTHER_SQL_COUNT, MIN(ASH1.ACTIVITY_START) ACTIVITY_START, MAX(ASH1.ACTIVITY_END) ACTIVITY_END FROM ASH_DATA ASH1 GROUP BY ASH1.INST_ID, ASH1.SESSION_ID, ASH1.ACTIVITY_TYPE, ASH1.EVENT_NAME) ASH0 WHERE MO.INST_ID = ASH0.INST_ID(+) AND MO.SID = ASH0.SESSION_ID(+) AND (:B70 = 1 OR :B69 = 1) GROUP BY MO.INST_ID, MO.KEY, MO.HAS_OTHER_XML, MO.PROCESS_NAME, MO.SID, MO.SESSION_SERIAL#, MO.PX_SERVER_GROUP, MO.PX_SERVER_SET, M O.PX_SERVER#, ASH0.ACTIVITY_TYPE, ASH0.EVENT_NAME) PI WHERE (:B70 = 1) GROUP BY PI.INST_ID, PI.KEY, PI.HAS_OTHER_XML, PI.SID, PI.PROCESS_NAME, PI.SESSION_SERIAL#, PI.PX_SERVER_GROUP, PI.PX_SERVER_SET, PI.PX_SERVER#) PX_SESSION) PX_SESSIONS, (SELECT XMLELEMENT( "instances", XMLATTRIBUTES( MAX(PX_INSTANCE.ACTIVITY_COUNT) AS "max_activity_count", MAX(PX_INSTANCE.IMQ_COUNT) AS "max_imq_count", MAX(PX_INSTANCE.CPU_COUNT) AS "max_cpu_count", MAX(PX_INSTANCE.WAIT_COUNT) AS "max_wait_count", MAX(PX_INSTANCE.OTHER_SQL_COUNT) AS "max_other_sql_count", MAX(PX_INSTANCE.ELAPSED_TIME) AS "max_elapsed_time", MAX(PX_INSTANCE.BUFFER_GETS) AS "max_buffer_gets", MAX(PX_INSTANCE.IO_REQS) AS "max_io_reqs", MAX(PX_INSTANCE.IO_BYTES) AS "max_io_bytes"), XMLAGG(PX_INSTANCE.PX_INSTANCES_XML ORDER BY INST_ID)) FROM (SELECT PI.INST_ID, MAX(PI.ELAPSED_TIME) ELAPSED_TIME, MAX(PI.IO_REQS) IO_RE QS, MAX(PI.IO_BYTES) IO_BYTES, MAX(PI.BUFFER_GETS) BUFFER_GETS, SUM(PI.ACTIVITY_COUNT) ACTIVITY_COUNT, SUM(PI.IMQ_COUNT) IMQ_COUNT, SUM(PI.WAIT_COUNT) WAIT_COUNT, SUM(PI.CPU_COUNT) CPU_COUNT, SUM(PI.OTHER_SQL_COUNT) OTHER_SQL_COUNT, XMLELEMENT( "instance", XMLATTRIBUTES( INST_ID AS "inst_id"), XMLELEMENT( "stats", XMLATTRIBUTES( 'monitor' AS "type"), NVL2(MAX(ELAPSED_TIME), XMLELEMENT( "stat", XMLATTRIBUTES('elapsed_time' AS "name"), MAX(ELAPSED_TIME)), NULL), NVL2(MAX(QUEUING_TIME), XMLELEMENT( "stat", XMLATTRIBUTES('queuing_time' AS "name"), MAX(QUEUING_TIME)), NULL), NVL2(MAX(CPU_TIME), XMLELEMENT( "stat", XMLATTRIBUTES('cpu_time' AS "name"), MAX(CPU_TIME)), NULL), NVL2(MAX(USER_IO_WAIT_TIME), XMLELEMENT( "stat", XMLATTRIBUTES('user_io_wait_time' AS "name"), MAX(USER_IO_WAIT_TIME)), NULL), NVL2(MAX(APPLICATION_WAIT_TIME), XMLELEMENT ( "stat", XMLATTRIBUTES('application_wait_time' AS "name"), MAX(APPLICATION_WAIT_TIME)), NULL), NVL2(MAX(CONCURRENCY_WAIT_TIME), XMLELEMENT( "stat", XMLATTRIBUTES('concurrency_wait_time' AS "name"), MAX(CONCURRENCY_WAIT_TIME)), NULL), NVL2(MAX(CLUSTER_WAIT_TIME), XMLELEMENT( "stat", XMLATTRIBUTES('cluster_wait_time' AS "name"), MAX(CLUSTER_WAIT_TIME)), NULL), NVL2(MAX(PLSQL_EXEC_TIME), XMLELEMENT( "stat", XMLATTRIBUTES('plsql_exec_time' AS "name"), MAX(PLSQL_EXEC_TIME)), NULL), NVL2(MAX(JAVA_EXEC_TIME), XMLELEMENT( "stat", XMLATTRIBUTES('java_exec_time' AS "name"), MAX(JAVA_EXEC_TIME)), NULL), NVL2(MAX(OTHER_WAIT_TIME), XMLELEMENT( "stat", XMLATTRIBUTES( 'other_wait_time' AS "name"), MAX(OTHER_WAIT_TIME)), NULL), NVL2(MAX(FETCHES), XMLELEMENT( "stat", XMLATTRIBUTES('user_fetch_count' AS "name"), MAX(FETCHES)), NULL) , NVL2(MAX(BUFFER_GETS), XMLELEMENT( "stat", XMLATTRIBUTES('buffer_gets' AS "name"), MAX(BUFFER_GETS)), NULL), NVL2(MAX(READ_REQS), XMLELEMENT( "stat", XMLATTRIBUTES('disk_reads' AS "name"), MAX(READ_REQS)), NULL), NVL2(MAX(WRITE_REQS), XMLELEMENT( "stat", XMLATTRIBUTES('direct_writes' AS "name"), MAX(WRITE_REQS)), NULL), NVL2(MAX(READ_REQS), XMLELEMENT( "stat", XMLATTRIBUTES('read_reqs' AS "name"), MAX(READ_REQS)), NULL), NVL2(MAX(READ_BYTES), XMLELEMENT( "stat", XMLATTRIBUTES('read_bytes' AS "name"), MAX(READ_BYTES)), NULL), NVL2(MAX(WRITE_REQS), XMLELEMENT( "stat", XMLATTRIBUTES('write_reqs' AS "name"), MAX(WRITE_REQS)), NULL), NVL2(MAX(WRITE_BYTES), XMLELEMENT( "stat", XMLATTRIBUTES('write_bytes' AS "name"), MAX(WRITE_BYTES)), NULL), NVL2(MAX(IO_UNC_BYTES), XMLELEMENT( "stat", XMLATTRIBUTES('unc_b ytes' AS "name"), MAX(IO_UNC_BYTES)), NULL), NVL2(MAX(IO_ELIG_BYTES), XMLELEMENT( "stat", XMLATTRIBUTES('elig_bytes' AS "name"), MAX(IO_ELIG_BYTES)), NULL), NVL2(MAX(IO_RET_BYTES), XMLELEMENT( "stat", XMLATTRIBUTES('ret_bytes' AS "name"), MAX(IO_RET_BYTES)), NULL), CASE WHEN MAX(IO_INTER_BYTES) IS NULL OR NVL(MAX(IO_BYTES), 0) = 0 OR MAX(IO_INTER_BYTES) = MAX(IO_BYTES) OR NVL(MAX(IO_ELIG_BYTES), 0) = 0 THEN NULL ELSE XMLELEMENT( "stat", XMLATTRIBUTES('cell_offload_efficiency' AS "name"), ROUND(MAX(IO_BYTES)/ DECODE(MAX(IO_INTER_BYTES), 0, 1, MAX(IO_INTER_BYTES)), 2)) END, CASE WHEN NVL(MAX(IO_ELIG_BYTES), 0) = 0 OR NVL(MAX(IO_BYTES), 0) = 0 OR MAX(IO_UNC_BYTES) = MAX(IO_RET_BYTES) THEN NULL ELSE XMLELEMENT( "stat", XMLATTRIBUTES('cell_offload_efficiency2' AS "name"), GREATEST(0, ROUND(100* (GREATEST( NVL(MAX(IO_UNC_BYTES), 0), NVL(MAX(IO_ELIG_BYTES), 0)) - MAX(IO_RET_ BYTES)) / MAX(IO_ELIG_BYTES), 2))) END), CASE WHEN :B33 = 1 AND SUM(PI.ACTIVITY_COUNT) > 0 THEN XMLELEMENT( "activity_sampled", XMLATTRIBUTES( TO_CHAR(MIN(PI.ACTIVITY_START), :B12 ) AS "start_time", TO_CHAR(MAX(PI.ACTIVITY_END), :B12 ) AS "end_time", ROUND((MAX(PI.ACTIVITY_END) - MIN(PI.ACTIVITY_START)) * 3600 * 24) + 1 AS "duration", SUM(PI.ACTIVITY_COUNT) AS "count", SUM(PI.IMQ_COUNT) AS "imq_count", SUM(PI.WAIT_COUNT) AS "wait_count", SUM(PI.CPU_COUNT) AS "cpu_count", SUM(PI.OTHER_SQL_COUNT) AS "other_sql_count", :B40 AS "cpu_cores", :B39 AS "hyperthread"), XMLAGG( NVL2(ACTIVITY_TYPE, XMLELEMENT( "activity", XMLATTRIBUTES( PI.ACTIVITY_TYPE AS "class", PI.EVENT_NAME AS "event"), ACTIVITY_COUNT), NULL) ORDER BY PI.ACTIVITY_TYPE, PI.EVENT_NAME)) ELSE NULL END) PX_INSTANCES_XML FROM (SELECT MO.INST_ID, ASH.ACTIVITY_TYPE, AS H.EVENT_NAME, ASH.ACTIVITY_COUNT, ASH.IMQ_COUNT, ASH.WAIT_COUNT, ASH.CPU_COUNT, ASH.OTHER_SQL_COUNT, ASH.ACTIVITY_START, ASH.ACTIVITY_END, MO.ELAPSED_TIME, MO.QUEUING_TIME, MO.CPU_TIME, MO.APPLICATION_WAIT_TIME, MO.CONCURRENCY_WAIT_TIME, MO.CLUSTER_WAIT_TIME, MO.USER_IO_WAIT_TIME, MO.PLSQL_EXEC_TIME, MO.JAVA_EXEC_TIME, MO.OTHER_WAIT_TIME, MO.FETCHES, MO.BUFFER_GETS, MO.IO_INTER_BYTES, MO.IO_BYTES, MO.READ_REQS, MO.READ_BYTES, MO.WRITE_REQS, MO.WRITE_BYTES, MO.IO_REQS, MO.IO_UNC_BYTES, MO.IO_ELIG_BYTES, MO.IO_RET_BYTES FROM (SELECT MO0.INST_ID, SUM(MO0.ELAPSED_TIME) ELAPSED_TIME, SUM(MO0.QUEUING_TIME) QUEUING_TIME, SUM(MO0.CPU_TIME) CPU_TIME, SUM(MO0.FETCHES) FETCHES, SUM(MO0.BUFFER_GETS) BUFFER_GETS, SUM(MO0.IO_INTER_BYTES) IO_INTER_BYTES, SUM(MO0.IO_BYTES) IO_BYTES, SUM(MO0.READ_REQS) READ_REQS, SUM(MO0.READ_BYTES) READ_BYTES, SUM(MO0.WRITE_REQS) WRITE_REQS, SUM(MO0.WRITE_BYTES) WRITE_BYTES, SUM(MO0.IO_REQS) IO_REQS, SUM(MO0.IO_UNC_BYTES) IO_U NC_BYTES, SUM(MO0.IO_ELIG_BYTES) IO_ELIG_BYTES, SUM(MO0.IO_RET_BYTES) IO_RET_BYTES, SUM(MO0.APPLICATION_WAIT_TIME) APPLICATION_WAIT_TIME, SUM(MO0.CONCURRENCY_WAIT_TIME) CONCURRENCY_WAIT_TIME, SUM(MO0.CLUSTER_WAIT_TIME) CLUSTER_WAIT_TIME, SUM(MO0.USER_IO_WAIT_TIME) USER_IO_WAIT_TIME, SUM(MO0.PLSQL_EXEC_TIME) PLSQL_EXEC_TIME, SUM(MO0.JAVA_EXEC_TIME) JAVA_EXEC_TIME, SUM(MO0.OTHER_WAIT_TIME) OTHER_WAIT_TIME FROM MONITOR_DATA MO0 GROUP BY MO0.INST_ID) MO, (SELECT ASH0.INST_ID, ASH0.ACTIVITY_TYPE, ASH0.EVENT_NAME, SUM(ASH0.ACTIVITY_COUNT) ACTIVITY_COUNT, SUM(ASH0.IMQ_COUNT) IMQ_COUNT, SUM(ASH0.WAIT_COUNT) WAIT_COUNT, SUM(ASH0.CPU_COUNT) CPU_COUNT, SUM(ASH0.OTHER_SQL_COUNT) OTHER_SQL_COUNT, MIN(ASH0.ACTIVITY_START) ACTIVITY_START, MAX(ASH0.ACTIVITY_END) ACTIVITY_END FROM ASH_DATA ASH0 GROUP BY ASH0.INST_ID, ASH0.ACTIVITY_TYPE, ASH0.EVENT_NAME) ASH, MONITOR_AGG WHERE MO.INST_ID = ASH.INST_ID(+) AND MONITOR_AGG.DIST_INST_COUNT > 0 ) PI GROUP BY PI.INST_ID)PX_INSTANCE) P X_INSTANCES FROM MONITOR_AGG)) ELSE NULL END, XPLAN_XML, CASE WHEN :B43 = 1 THEN (SELECT XMLELEMENT( "plan_monitor", XMLATTRIBUTES(MAX(PLI.MAX_LINE_ACTIVITY_COUNT) AS "max_activity_count", MAX(PLI.OVERALL_MAX_IO_REQS) AS "max_io_reqs", MAX(PLI.OVERALL_MAX_IO_BYTES) AS "max_io_bytes", MAX(PLI.MAX_LINE_IMQ_COUNT) AS "max_imq_count", MAX(PLI.MAX_LINE_CPU_COUNT) AS "max_cpu_count", MAX(PLI.MAX_LINE_WAIT_COUNT) AS "max_wait_count", MAX(PLI.MAX_LINE_OTHER_SQL_COUNT) AS "max_other_sql_count"), XMLAGG( XMLELEMENT( "operation", XMLATTRIBUTES( PLI.PLAN_LINE_ID AS "id", PLI.PARENT_ID AS "parent_id", PLI.OPERATION AS "name", PLI.OPTIONS AS "options", PLI.DEPTH AS "depth", PLI.POSITION AS "position", PLI.INACTIVE AS "skp", PLI.PX_TYPE AS "px_type"), NVL2(PLI.OBJECT_NAME, XMLELEMENT( "object", XMLATTRI BUTES(PLI.OBJECT_TYPE AS "type"), XMLFOREST(PLI.OBJECT_OWNER AS "owner"), XMLFOREST(PLI.OBJECT_NAME AS "name")), NULL), XMLFOREST(PLI.PARTITION_START AS "partition_start", PLI.PARTITION_STOP AS "partition_stop"), CASE WHEN PLI.CARDINALITY IS NULL AND PLI.BYTES IS NULL AND PLI.COST IS NULL AND PLI.TEMP_SPACE IS NULL AND PLI.TIME IS NULL THEN NULL ELSE XMLELEMENT( "optimizer", NULL, NVL2(PLI.CARDINALITY, XMLFOREST(PLI.CARDINALITY AS "cardinality"), NULL), NVL2(PLI.BYTES, XMLFOREST(PLI.BYTES AS "bytes"), NULL), NVL2(PLI.COST, XMLFOREST(PLI.COST AS "cost"), NULL), NVL2(PLI.CPU_COST, XMLFOREST(PLI.CPU_COST AS "cpu_cost"), NULL), NVL2(PLI.IO_COST, XMLFOREST(PLI.IO_COST AS "io_cost"), NULL), NVL2(PLI.TEMP_SPACE, XMLFOREST(PLI.TEMP_SPACE AS "temp"), NULL), NVL2(PLI.TIME, XMLFOREST(PLI.TIME AS "time"), NULL)) END, XMLELEMENT( "stats ", XMLATTRIBUTES('plan_monitor' AS "type"), NVL2(PLI.FIRST_MOVE_TIME, XMLELEMENT( "stat", XMLATTRIBUTES('first_active' AS "name"), TO_CHAR(FIRST_MOVE_TIME, :B12 )), NULL), CASE WHEN PLI.FIRST_MOVE_TIME != PLI.FIRST_CHANGE_TIME THEN XMLELEMENT( "stat", XMLATTRIBUTES('first_row' AS "name"), TO_CHAR(FIRST_CHANGE_TIME, :B12 )) ELSE NULL END, NVL2(PLI.LAST_MOVE_TIME, XMLELEMENT( "stat", XMLATTRIBUTES('last_active' AS "name"), TO_CHAR(LAST_MOVE_TIME, :B12 )), NULL), CASE WHEN (PLI.FIRST_MOVE_TIME IS NULL OR PLI.LAST_MOVE_TIME IS NULL) THEN NULL ELSE XMLELEMENT( "stat", XMLATTRIBUTES('duration' AS "name"), ROUND((LAST_MOVE_TIME - FIRST_MOVE_TIME) * 3600 * 24)+1) END, CASE WHEN (PLI.OVERALL_LAST_MOVE_TIME IS NULL OR PLI.LAST_MOVE_TIME IS NULL) THEN NULL ELSE XMLELEMENT( "stat", XMLATTRIBUTES('from_most_recent' AS "name"), ROUND((PLI.OVERALL_LAST_MOVE_TIME - PLI.LAST_MOVE_TIME) * 3600 * 24)) END, NVL2(PLI.LAST_MOVE_TIME, XMLELEMENT( "stat", XMLATTRIBUTES( 'from_sql_exec_start' AS "name"), ROUND( (FIRST_MOVE_TIME - :B8 ) * 3600*24)), NULL), NVL2(PLI.PERCENT_COMPLETE, XMLELEMENT( "stat", XMLATTRIBUTES('percent_complete' AS "name"), PLI.PERCENT_COMPLETE), NULL), NVL2(PLI.TIME_REMAINING, XMLELEMENT( "stat", XMLATTRIBUTES('time_left' AS "name"), PLI.TIME_REMAINING), NULL), CASE WHEN PLI.HAS_EXECUTED = 1 THEN XMLELEMENT( "stat", XMLATTRIBUTES('starts' AS "name"), PLI.STARTS) ELSE NULL END, CASE WHEN PLI.DOP > 0 AND PLI.HAS_EXECUTED = 1 THEN XMLELEMENT( "stat", XMLATTRIBUTES( 'max_starts' AS "name", DECODE(:B68 , 'Y', MOD(TRUNC(MAX_STARTS/1000000), 10000), NULL) AS "iid", MOD(MAX_STARTS, 1000000) AS "sid"), TRUNC(PLI.MAX_STARTS/10000000000)) ELSE NULL END, CASE WHEN PLI.DOP > 0 AND PLI.HAS_EXEC UTED = 1 THEN XMLELEMENT( "stat", XMLATTRIBUTES('dop' AS "name"), PLI.DOP) ELSE NULL END, CASE WHEN NEED_ROWS IS NOT NULL AND PLI.FIRST_MOVE_TIME IS NOT NULL THEN XMLELEMENT( "stat", XMLATTRIBUTES('cardinality' AS "name"), PLI.OUTPUT_ROWS) ELSE NULL END, CASE WHEN PLI.NEED_ROWS IS NOT NULL AND PLI.DOP > 0 AND PLI.MAX_OUTPUT_ROWS IS NOT NULL AND (PLI.FIRST_MOVE_TIME IS NOT NULL) THEN XMLELEMENT( "stat", XMLATTRIBUTES( 'max_card' AS "name", DECODE(:B68 , 'Y', MOD(TRUNC(MAX_OUTPUT_ROWS/1000000), 10000), NULL) AS "iid", MOD(MAX_OUTPUT_ROWS, 1000000) AS "sid"), TRUNC(PLI.MAX_OUTPUT_ROWS/10000000000)) ELSE NULL END, CASE WHEN PLI.MEM > 0 THEN XMLELEMENT( "stat", XMLATTRIBUTES('memory' AS "name"), PLI.MEM) ELSE NULL END, CASE WHEN PLI.MAX_MEM > 0 THEN XMLELEMENT( "stat", XMLATTRIBUTES('max_memory' AS "name"), PLI.MAX_MEM) ELSE NULL END, CASE WH EN PLI.DOP > 0 AND PLI.MIN_MAX_MEM IS NOT NULL AND PLI.MAX_MEM > 0 THEN XMLELEMENT( "stat", XMLATTRIBUTES( 'min_max_mem' AS "name", DECODE(:B68 , 'Y', MOD(TRUNC(MIN_MAX_MEM/1000000), 10000), NULL) AS "iid", MOD(MIN_MAX_MEM, 1000000) AS "sid"), TRUNC(PLI.MIN_MAX_MEM/10000000000)) ELSE NULL END, CASE WHEN PLI.TEMP > 0 THEN XMLELEMENT( "stat", XMLATTRIBUTES('temp' AS "name"), PLI.TEMP) ELSE NULL END, CASE WHEN PLI.MAX_TEMP > 0 THEN XMLELEMENT( "stat", XMLATTRIBUTES('max_temp' AS "name"), PLI.MAX_TEMP) ELSE NULL END, CASE WHEN PLI.MAX_TEMP > 0 THEN XMLELEMENT( "stat", XMLATTRIBUTES('spill_count' AS "name"), PLI.SPILL_COUNT) ELSE NULL END, CASE WHEN PLI.DOP > 0 AND PLI.MAX_MAX_TEMP IS NOT NULL AND PLI.MAX_TEMP > 0 THEN XMLELEMENT( "stat", XMLATTRIBUTES( 'max_max_temp' AS "name", DECODE(:B68 , 'Y', MOD(TRUNC(MAX_MAX_TEMP/1000000), 10000), NULL) AS "iid", MOD(MAX_MAX_TEMP, 1000000) AS "sid"), TRUNC(PLI.MAX_MAX_TEMP/10000000000)) ELSE NULL END, CASE WHEN PLI.READ_REQS > 0 THEN XMLELEMENT( "stat", XMLATTRIBUTES('read_reqs' AS "name"), PLI.READ_REQS) ELSE NULL END, CASE WHEN PLI.DOP > 0 AND PLI.MAX_READ_REQS IS NOT NULL AND PLI.READ_REQS > 0 THEN XMLELEMENT( "stat", XMLATTRIBUTES( 'max_read_reqs' AS "name", DECODE(:B68 , 'Y', MOD(TRUNC(PLI.MAX_READ_REQS/1000000), 10000), NULL) AS "iid", MOD(PLI.MAX_READ_REQS, 1000000) AS "sid"), TRUNC(PLI.MAX_READ_REQS/10000000000)) ELSE NULL END, CASE WHEN PLI.READ_BYTES > 0 THEN XMLELEMENT( "stat", XMLATTRIBUTES('read_bytes' AS "name"), PLI.READ_BYTES) ELSE NULL END, CASE WHEN PLI.DOP > 0 AND PLI.MAX_READ_BYTES IS NOT NULL AND PLI.READ_BYTES > 0 THEN XMLELEMENT( "stat", XMLATTRIBUTES( 'max_read_bytes' AS "name", DECODE(: B68 , 'Y', MOD(TRUNC(PLI.MAX_READ_BYTES/1000000), 10000), NULL) AS "iid", MOD(PLI.MAX_READ_BYTES, 1000000) AS "sid"), TRUNC(PLI.MAX_READ_BYTES/10000000000)) ELSE NULL END, CASE WHEN PLI.WRITE_REQS > 0 THEN XMLELEMENT( "stat", XMLATTRIBUTES('write_reqs' AS "name"), PLI.WRITE_REQS) ELSE NULL END, CASE WHEN PLI.DOP > 0 AND PLI.MAX_WRITE_REQS IS NOT NULL AND PLI.WRITE_REQS > 0 THEN XMLELEMENT( "stat", XMLATTRIBUTES( 'max_write_reqs' AS "name", DECODE(:B68 , 'Y', MOD(TRUNC(PLI.MAX_WRITE_REQS/1000000), 10000), NULL) AS "iid", MOD(PLI.MAX_WRITE_REQS, 1000000) AS "sid"), TRUNC(PLI.MAX_WRITE_REQS/10000000000)) ELSE NULL END, CASE WHEN PLI.WRITE_BYTES > 0 THEN XMLELEMENT( "stat", XMLATTRIBUTES('write_bytes' AS "name"), PLI.WRITE_BYTES) ELSE NULL END, CASE WHEN PLI.DOP > 0 AND PLI.MAX_WRITE_BYTES IS NOT NULL AND PLI.WRITE_BYTES > 0 THEN XMLELEMENT( "st at", XMLATTRIBUTES( 'max_write_bytes' AS "name", DECODE(:B68 , 'Y', MOD(TRUNC(PLI.MAX_WRITE_BYTES/1000000), 10000), NULL) AS "iid", MOD(PLI.MAX_WRITE_BYTES, 1000000) AS "sid"), TRUNC(PLI.MAX_WRITE_BYTES/10000000000)) ELSE NULL END, CASE WHEN PLI.IO_INTER_BYTES IS NOT NULL AND PLI.IO_BYTES > 0 AND PLI.IO_BYTES != PLI.IO_INTER_BYTES THEN XMLELEMENT( "stat", XMLATTRIBUTES('io_inter_bytes' AS "name"), PLI.IO_INTER_BYTES) ELSE NULL END, CASE WHEN PLI.DOP > 0 AND PLI.MAX_IO_INTER_BYTES IS NOT NULL AND PLI.IO_BYTES > 0 AND PLI.IO_BYTES != PLI.IO_INTER_BYTES THEN XMLELEMENT( "stat", XMLATTRIBUTES( 'max_io_inter_bytes' AS "name", DECODE(:B68 , 'Y', MOD(TRUNC(MAX_IO_INTER_BYTES/1000000), 10000), NULL) AS "iid", MOD(MAX_IO_INTER_BYTES, 1000000) AS "sid"), TRUNC(PLI.MAX_IO_INTER_BYTES/10000000000)) ELSE NULL END, CASE WHEN PLI.IO_INTER_BYTES IS NOT NULL AND PLI.IO_BYTES > 0 AND PLI.IO_BYTES != PLI.IO_INTER_BYTES THEN XMLELEMENT( "stat", XMLATTRIBUTES('cell_offload_efficiency' AS "name"), ROUND(PLI.IO_BYTES / DECODE(PLI.IO_INTER_BYTES, 0, 1, PLI.IO_INTER_BYTES), 2)) ELSE NULL END), NVL2(STAT_GID, XMLELEMENT( "rwsstats", XMLATTRIBUTES( PLI.STAT_GID AS "group_id"), DECODE(GID_ROWNUM, 1, (SELECT XMLELEMENT( "metadata", NULL, XMLAGG( XMLELEMENT( "stat", XMLATTRIBUTES( ROWNUM AS "id", NAME AS "name", DESCRIPTION AS "desc", TYPE AS "type", DECODE(FLAGS, 0, NULL, FLAGS) AS "flags"), NULL) ORDER BY ID)) FROM V$SQL_MONITOR_STATNAME WHERE GROUP_ID = PLI.STAT_GID), NULL), NVL2(STAT1_VALUE, XMLELEMENT( "stat", XMLATTRIBUTES(1 AS "id"), STAT1_VALUE), NULL), NVL2(STAT2_VALUE, XMLELEMENT( "stat", XMLATTRIBUTES(2 AS "id"), STAT2_VALUE), NULL), NVL2(STAT3_VALUE, XMLELEMENT( "sta t", XMLATTRIBUTES(3 AS "id"), STAT3_VALUE), NULL), NVL2(STAT4_VALUE, XMLELEMENT( "stat", XMLATTRIBUTES(4 AS "id"), STAT4_VALUE), NULL), NVL2(STAT5_VALUE, XMLELEMENT( "stat", XMLATTRIBUTES(5 AS "id"), STAT5_VALUE), NULL), NVL2(STAT6_VALUE, XMLELEMENT( "stat", XMLATTRIBUTES(6 AS "id"), STAT6_VALUE), NULL), NVL2(STAT7_VALUE, XMLELEMENT( "stat", XMLATTRIBUTES(7 AS "id"), STAT7_VALUE), NULL), NVL2(STAT8_VALUE, XMLELEMENT( "stat", XMLATTRIBUTES(8 AS "id"), STAT8_VALUE), NULL), NVL2(STAT9_VALUE, XMLELEMENT( "stat", XMLATTRIBUTES(9 AS "id"), STAT9_VALUE), NULL), NVL2(STAT10_VALUE, XMLELEMENT( "stat", XMLATTRIBUTES(10 AS "id"), STAT10_VALUE), NULL)), NULL), CASE WHEN PLI.LINE_ACTIVITY_COUNT > 0 AND :B33 = 1 THEN XMLELEMENT( "activity_sampled", XMLATTRIBUTES( TO_CHAR(PLI.LINE_ACTIVITY_START , :B12 ) AS "start_time", TO_CHAR(PLI.LINE_ACTIVITY_END, :B12 ) AS "end_time", ROUND((PLI.LINE_ACTIVITY_END - PLI.LINE_ACTIVITY_START) * 3600*24) + 1 AS "duration", PLI.LINE_ACTIVITY_COUNT AS "count", PLI.LINE_IMQ_COUNT AS "imq_count", PLI.LINE_WAIT_COUNT AS "wait_count", PLI.LINE_CPU_COUNT AS "cpu_count", PLI.LINE_OTHER_SQL_COUNT AS "other_sql_count", :B40 AS "cpu_cores", :B39 AS "hyperthread"), PLI.ACTIVITY_TOTAL, PLI.PLAN_ACTIVITY_HISTO) ELSE NULL END) ORDER BY PLI.PLAN_LINE_ID) ) FROM (SELECT AT.MAX_LINE_ACTIVITY_COUNT, PM.OVERALL_MAX_IO_REQS, PM.OVERALL_MAX_IO_BYTES, AT.MAX_LINE_IMQ_COUNT, AT.MAX_LINE_CPU_COUNT, AT.MAX_LINE_WAIT_COUNT, AT.LINE_OTHER_SQL_COUNT, AT.MAX_LINE_OTHER_SQL_COUNT, PM.PLAN_LINE_ID, PM.PARENT_ID, PM.OPERATION, PM.OPTIONS, PM.DEPTH, PM.POSITION, PM.INACTIVE, CASE WHEN PM.OPERATION = 'PX COORDINATOR' AND :B23 = 'Y' AND (PM.PX_SERVER_S ET IS NOT NULL OR AH.PX_SERVER_SET IS NOT NULL) THEN 'QC' WHEN PM.PX_SERVER_SET IS NOT NULL THEN TO_CHAR(PM.PX_SERVER_SET) WHEN AH.PX_SERVER_SET IS NOT NULL THEN TO_CHAR(AH.PX_SERVER_SET) WHEN (:B23 = 'N' OR (PM.LAST_CHANGE_TIME IS NULL AND AT.LINE_ACTIVITY_END IS NULL)) THEN NULL ELSE 'QC' END PX_TYPE, PM.FIRST_CHANGE_TIME, AT.LINE_ACTIVITY_START, PM.LAST_CHANGE_TIME, PM.OVERALL_LAST_CHANGE_TIME, AT.LINE_ACTIVITY_END, AT.OVERALL_LINE_ACTIVITY_END, LEAST(NVL(AT.LINE_ACTIVITY_START, PM.FIRST_CHANGE_TIME), NVL(PM.FIRST_CHANGE_TIME, AT.LINE_ACTIVITY_START)) FIRST_MOVE_TIME, GREATEST(NVL(AT.LINE_ACTIVITY_END, PM.LAST_CHANGE_TIME), NVL(PM.LAST_CHANGE_TIME, AT.LINE_ACTIVITY_END)) LAST_MOVE_TIME, GREATEST(NVL(AT.OVERALL_LINE_ACTIVITY_END, PM.OVERALL_LAST_CHANGE_TIME), NVL(PM.OVERALL_LAST_CHANGE_TIME, AT.OVERALL_LINE_ACTIVITY_END)) OVERALL_LAST_MOVE_TIME, CASE WHEN PM.STARTS IS NOT NULL AND PM.STARTS > 0 THEN 1 ELSE 0 END HAS_EXECUTED, PM.OBJECT_NAME, PM.OBJECT_TYPE, P M.OBJECT_OWNER, PM.PARTITION_START, PM.PARTITION_STOP, PM.CARDINALITY, PM.BYTES, PM.COST, PM.TEMP_SPACE, PM.TIME, PM.CPU_COST, PM.IO_COST, LO.PERCENT_COMPLETE, LO.TIME_REMAINING, PM.STARTS, PM.DOP, PM.MAX_STARTS, PM.OUTPUT_ROWS, PM.NEED_ROWS, PM.MAX_OUTPUT_ROWS, PM.MEM, PM.MAX_MEM, PM.MIN_MAX_MEM, PM.TEMP, PM.MAX_TEMP, PM.SPILL_COUNT, PM.MAX_MAX_TEMP, PM.READ_REQS, PM.MAX_READ_REQS, PM.READ_BYTES, PM.MAX_READ_BYTES, PM.WRITE_REQS, PM.MAX_WRITE_REQS, PM.WRITE_BYTES, PM.MAX_WRITE_BYTES, PM.IO_INTER_BYTES, PM.IO_BYTES, PM.MAX_IO_INTER_BYTES, AT.LINE_ACTIVITY_COUNT, AT.LINE_IMQ_COUNT, AT.LINE_WAIT_COUNT, AT.LINE_CPU_COUNT, AT.ACTIVITY_TOTAL, AH.PLAN_ACTIVITY_HISTO, PM.STAT_GID, PM.GID_ROWNUM, PM.STAT1_VALUE, PM.STAT2_VALUE, PM.STAT3_VALUE, PM.STAT4_VALUE, PM.STAT5_VALUE, PM.STAT6_VALUE, PM.STAT7_VALUE, PM.STAT8_VALUE, PM.STAT9_VALUE, PM.STAT10_VALUE FROM (SELECT AT0.*, MAX(LINE_ACTIVITY_END) OVER() OVERALL_LINE_ACTIVITY_END, MAX(LINE_A CTIVITY_COUNT) OVER() MAX_LINE_ACTIVITY_COUNT, MAX(LINE_IMQ_COUNT) OVER() MAX_LINE_IMQ_COUNT, MAX(LINE_CPU_COUNT) OVER() MAX_LINE_CPU_COUNT, MAX(LINE_WAIT_COUNT) OVER() MAX_LINE_WAIT_COUNT, MAX(LINE_OTHER_SQL_COUNT) OVER() MAX_LINE_OTHER_SQL_COUNT FROM (SELECT AD1.PLAN_LINE_ID, MIN(AD1.LINE_ACTIVITY_START) LINE_ACTIVITY_START, MAX(AD1.LINE_ACTIVITY_END) LINE_ACTIVITY_END, SUM(AD1.ACTIVITY_COUNT) LINE_ACTIVITY_COUNT, SUM(AD1.IMQ_COUNT) LINE_IMQ_COUNT, SUM(AD1.WAIT_COUNT) LINE_WAIT_COUNT, SUM(AD1.OTHER_SQL_COUNT) LINE_OTHER_SQL_COUNT, SUM(AD1.CPU_COUNT) LINE_CPU_COUNT, SUBSTR(MAX(LPAD(AD1.ACTIVITY_COUNT, 10)|| AD1.ACTIVITY_TYPE), 11) MOST_ACTIVE, XMLAGG(XMLELEMENT( "activity", XMLATTRIBUTES( AD1.ACTIVITY_TYPE AS "class", AD1.EVENT_NAME AS "event"), AD1.ACTIVITY_COUNT) ORDER BY AD1.ACTIVITY_TYPE, AD1.EVENT_NAME) ACTIVITY_TOTAL FROM (SELECT AD0.PLAN_LINE_ID, AD0.ACTIVITY_TYPE, AD0.EVENT_NAME, MIN(AD0.ACTIVITY_START) LINE_ACTIVITY_START, M AX(AD0.ACTIVITY_END) LINE_ACTIVITY_END, SUM(AD0.ACTIVITY_COUNT) ACTIVITY_COUNT, SUM(AD0.IMQ_COUNT) IMQ_COUNT, SUM(AD0.WAIT_COUNT) WAIT_COUNT, SUM(AD0.CPU_COUNT) CPU_COUNT, SUM(AD0.OTHER_SQL_COUNT) OTHER_SQL_COUNT, MAX(AD0.DFO_MOST_ACTIVE_IID) DFO_MOST_ACTIVE_IID, MAX(AD0.DFO_MOST_ACTIVE_SID) DFO_MOST_ACTIVE_SID, SUM(AD0.DFO_MOST_ACTIVE_COUNT) DFO_MOST_ACTIVE_COUNT FROM ASH_DATA AD0 WHERE AD0.PLAN_LINE_ID IS NOT NULL GROUP BY AD0.PLAN_LINE_ID, AD0.ACTIVITY_TYPE, AD0.EVENT_NAME) AD1 GROUP BY AD1.PLAN_LINE_ID) AT0) AT, (SELECT AD2.PLAN_LINE_ID, MIN(AD2.PX_SERVER_SET) PX_SERVER_SET, MIN(AD2.LINE_ACTIVITY_START) LINE_ACTIVITY_START, MAX(AD2.LINE_ACTIVITY_END) LINE_ACTIVITY_END, SUM(AD2.ACTIVITY_COUNT) ACTIVITY_COUNT, SUM(AD2.IMQ_COUNT) IMQ_COUNT, SUM(AD2.WAIT_COUNT) WAIT_COUNT, SUM(AD2.CPU_COUNT) CPU_COUNT, SUM(AD2.OTHER_SQL_COUNT) OTHER_SQL_COUNT, CASE WHEN :B29 = 1 AND SUM(AD2.ACTIVITY_COUNT) > 0 THEN XMLELEMENT( "activity_histogram", XMLATTRIBUTES( :B26 AS "bucket_interval", :B27 AS "bucket_count", TO_CHAR( :B20 , :B12 ) AS "start_time", TO_CHAR(:B22 , :B12 ) AS "end_time", ROUND((:B22 -:B20 ) *3600*24) + 1 AS "duration"), XMLAGG(XMLELEMENT( "bucket", XMLATTRIBUTES( AD2.BUCKET_NUM AS "number"), AD2.ACTIVITY_BUCKET) ORDER BY AD2.BUCKET_NUM)) ELSE NULL END PLAN_ACTIVITY_HISTO FROM (SELECT AD1.PLAN_LINE_ID, AD1.BUCKET_NUM, MIN(AD1.PX_SERVER_SET) PX_SERVER_SET, MIN(AD1.LINE_ACTIVITY_START) LINE_ACTIVITY_START, MAX(AD1.LINE_ACTIVITY_END) LINE_ACTIVITY_END, MIN(AD1.BUCKET_ACTIVITY_START) BUCKET_ACTIVITY_START, MAX(AD1.BUCKET_ACTIVITY_END) BUCKET_ACTIVITY_END, SUM(AD1.ACTIVITY_COUNT) ACTIVITY_COUNT, SUM(AD1.IMQ_COUNT) IMQ_COUNT, SUM(AD1.WAIT_COUNT) WAIT_COUNT, SUM(AD1.CPU_COUNT) CPU_COUNT, SUM(AD1.OTHER_SQL_COUNT) OTHER_SQL_COUNT, SUBSTR(MAX(LPAD(AD1.ACTIVITY_COUNT, 10)|| AD1.ACTIVITY_TYPE), 11) MOST_ACTIVE, XMLAGG(NVL2(AD1.ACTIVITY_TYPE, XMLELEMENT ( "activity", XMLATTRIBUTES( AD1.ACTIVITY_TYPE AS "class", AD1.EVENT_NAME AS "event"), AD1.ACTIVITY_COUNT), NULL) ORDER BY AD1.ACTIVITY_TYPE, AD1.EVENT_NAME) ACTIVITY_BUCKET FROM (SELECT AD0.PLAN_LINE_ID, AD0.PLAN_ACTIVITY_BUCKET_NUM BUCKET_NUM, AD0.ACTIVITY_TYPE, AD0.EVENT_NAME, MIN(NVL2(AD0.ACTIVITY_START, AD0.PX_SERVER_SET, NULL)) PX_SERVER_SET, MIN(AD0.ACTIVITY_START) LINE_ACTIVITY_START, MAX(AD0.ACTIVITY_END) LINE_ACTIVITY_END, MIN(AD0.BUCKET_ACTIVITY_START) BUCKET_ACTIVITY_START, MAX(AD0.BUCKET_ACTIVITY_END) BUCKET_ACTIVITY_END, SUM(AD0.IMQ_COUNT) IMQ_COUNT, SUM(AD0.CPU_COUNT) CPU_COUNT, SUM(AD0.WAIT_COUNT) WAIT_COUNT, SUM(AD0.OTHER_SQL_COUNT) OTHER_SQL_COUNT, SUM(AD0.ACTIVITY_COUNT) ACTIVITY_COUNT FROM ASH_DATA AD0 GROUP BY AD0.PLAN_LINE_ID, AD0.PLAN_ACTIVITY_BUCKET_NUM, AD0.ACTIVITY_TYPE, AD0.EVENT_NAME) AD1 GROUP BY AD1.PLAN_LINE_ID, AD1.BUCKET_NUM) AD2 GROUP BY AD2.PLAN_LINE_ID) AH, (SELECT LO2.SQL_PLAN_LINE_ID PLAN_LINE_ ID, DECODE(SUM(LO2.TOTALWORK), 0, NULL, ROUND(SUM(LO2.SOFAR)*100/SUM(LO2.TOTALWORK))) PERCENT_COMPLETE, MAX(LO2.TIME_REMAINING) TIME_REMAINING FROM MONITOR_DATA MO, (SELECT * FROM TABLE( GV$(CURSOR( SELECT USERENV('instance') INST_ID, SQL_PLAN_LINE_ID, TOTALWORK, SOFAR, TIME_REMAINING, SID FROM V$SESSION_LONGOPS L WHERE (:B49 = 'Y' OR :B71 = 'DONE (ERROR)') AND L.SQL_ID = :B9 AND L.SQL_EXEC_START = :B8 AND L.SQL_EXEC_ID = :B7 )))) LO2 WHERE LO2.INST_ID = MO.INST_ID AND LO2.SID = MO.SID GROUP BY LO2.SQL_PLAN_LINE_ID ) LO, (SELECT PM0.*, CASE WHEN PM0.STARTS IS NULL OR PM0.STARTS = 0 OR PM0.OUTPUT_ROWS IS NULL THEN NULL ELSE 1 END NEED_ROWS, ROW_NUMBER() OVER(PARTITION BY PM0.STAT_GID ORDER BY PM0.PLAN_LINE_ID ) GID_ROWNUM, MAX(LAST_CHANGE_TIME) OVER() OVERALL_LAST_CHANGE_TIME, MAX(MAX_IO_REQS) OVER() OVERALL_MAX_IO_REQS, MAX(MAX_IO_BYTES) OVER() OVERALL_MAX_IO_BYTES FROM (SELECT /*+ leading(mo) use_hash(plm) */ PLM.PLAN_LINE_ID PLAN_LINE_ID, PLM.PLAN_OPERATION OPERATIO N, PLM.PLAN_OPTIONS OPTIONS, MAX(PLM.PLAN_PARENT_ID) PARENT_ID, MAX(PLM.PLAN_DEPTH) DEPTH, MAX(PLM.PLAN_POSITION) POSITION, MAX(PLM.PLAN_OPERATION_INACTIVE) INACTIVE, MAX(PLM.PLAN_OBJECT_OWNER) OBJECT_OWNER, MAX(PLM.PLAN_OBJECT_NAME) OBJECT_NAME, MAX(PLM.PLAN_OBJECT_TYPE) OBJECT_TYPE, MAX(PLM.PLAN_COST) COST, MAX(PLM.PLAN_CARDINALITY) CARDINALITY, MAX(PLM.PLAN_BYTES) BYTES, MAX(PLM.PLAN_CPU_COST) CPU_COST, MAX(PLM.PLAN_IO_COST) IO_COST, MAX(PLM.PLAN_TEMP_SPACE) TEMP_SPACE, MAX(PLM.PLAN_TIME) TIME, MAX(PLM.PLAN_PARTITION_START) PARTITION_START, MAX(PLM.PLAN_PARTITION_STOP) PARTITION_STOP, MIN(PLM.FIRST_CHANGE_TIME) FIRST_CHANGE_TIME, MAX(PLM.LAST_CHANGE_TIME) LAST_CHANGE_TIME, MIN(PLM.LAST_CHANGE_TIME) MIN_LAST_CHANGE_TIME, MIN(NVL2(PLM.FIRST_CHANGE_TIME, MO.PX_SERVER_SET, NULL)) PX_SERVER_SET, COUNT(CASE WHEN PLM.PAR IS NOT NULL AND PLM.STARTS IS NOT NULL AND PLM.STARTS > 0 AND PLM.PLAN_LINE_ID != 0 AND PLM.PLAN_OPERATION != 'PX COORDINATOR' THEN 1 ELSE NULL END) DOP, SUM(PLM.STARTS) STARTS, MAX(NVL2(PAR, PLM.STARTS * 10000000000 + PLM.ES, NULL)) MAX_STARTS, SUM(PLM.OUTPUT_ROWS) OUTPUT_ROWS, MAX(NVL2(PAR, PLM.OUTPUT_ROWS * 10000000000 +PLM.ES, NULL)) MAX_OUTPUT_ROWS, SUM(PLM.WORKAREA_MEM) MEM, SUM(PLM.WORKAREA_MAX_MEM) MAX_MEM, MIN(NVL2(PAR, PLM.WORKAREA_MAX_MEM * 10000000000 + PLM.ES, NULL)) MIN_MAX_MEM, SUM(PLM.WORKAREA_TEMPSEG) TEMP, SUM(PLM.WORKAREA_MAX_TEMPSEG) MAX_TEMP, MAX(NVL2(PAR, PLM.WORKAREA_MAX_TEMPSEG * 10000000000 + PLM.ES, NULL)) MAX_MAX_TEMP, COUNT(PLM.WORKAREA_MAX_TEMPSEG) SPILL_COUNT, SUM(PLM.PHYSICAL_READ_REQUESTS) READ_REQS, MAX(NVL2(PAR, PLM.PHYSICAL_READ_REQUESTS * 10000000000 + PLM.ES, NULL)) MAX_READ_REQS, SUM(PLM.PHYSICAL_READ_BYTES) READ_BYTES, MAX(NVL2(PAR, PLM.PHYSICAL_READ_BYTES * 10000000000 + PLM.ES, NULL)) MAX_READ_BYTES, SUM(PLM.PHYSICAL_WRITE_REQUESTS) WRITE_REQS, MAX(NVL2(PAR, PLM.PHYSICAL_WRITE_REQUESTS * 10000000000 + PLM.ES, NULL)) MAX_WRITE_REQS, SUM(PLM.PHYSICAL_WRITE_ BYTES) WRITE_BYTES, MAX(NVL2(PAR, PLM.PHYSICAL_WRITE_BYTES * 10000000000 + PLM.ES, NULL)) MAX_WRITE_BYTES, NVL(SUM(PLM.PHYSICAL_READ_BYTES), 0) + NVL(SUM(PLM.PHYSICAL_WRITE_BYTES), 0) IO_BYTES, SUM(NVL(PLM.PHYSICAL_READ_REQUESTS, 0) + NVL(PLM.PHYSICAL_WRITE_REQUESTS, 0)) MAX_IO_REQS, SUM(NVL(PLM.PHYSICAL_READ_BYTES, 0) + NVL(PLM.PHYSICAL_WRITE_BYTES, 0)) MAX_IO_BYTES, SUM(PLM.IO_INTERCONNECT_BYTES) IO_INTER_BYTES, MAX(NVL2(PAR, PLM.IO_INTERCONNECT_BYTES * 10000000000 + PLM.ES, NULL)) MAX_IO_INTER_BYTES, MAX(OTHERSTAT_GROUP_ID) STAT_GID, NVL(DECODE(MAX(OTHERSTAT_1_TYPE), 3, MAX(OTHERSTAT_1_VALUE), 4, MAX(OTHERSTAT_1_VALUE), 6, MIN(OTHERSTAT_1_VALUE), 7, MIN(OTHERSTAT_1_VALUE), NULL), SUM(DECODE(OTHERSTAT_1_TYPE, 1, OTHERSTAT_1_VALUE, 2, OTHERSTAT_1_VALUE, NULL))) STAT1_VALUE, NVL(MOD((DECODE(MAX(OTHERSTAT_2_TYPE), 3, MAX(OTHERSTAT_2_VALUE), 5, DECODE(MAX(OTHERSTAT_1_TYPE), 4, MAX(RMAX1 + OTHERSTAT_2_VALUE), 7, MIN(RMAX1 + OTHERSTAT_2_VALUE), NU LL), 6, MIN(OTHERSTAT_2_VALUE), NULL)), 10000000000000000), SUM(DECODE(OTHERSTAT_2_TYPE, 1, OTHERSTAT_2_VALUE, 2, OTHERSTAT_2_VALUE, NULL))) STAT2_VALUE, NVL(MOD((DECODE(MAX(OTHERSTAT_3_TYPE), 3, MAX(OTHERSTAT_3_VALUE), 5, DECODE(MAX(OTHERSTAT_1_TYPE), 4, MAX(RMAX1 + OTHERSTAT_3_VALUE), 7, MIN(RMAX1 + OTHERSTAT_3_VALUE), NULL), 6, MIN(OTHERSTAT_3_VALUE), NULL)), 10000000000000000), SUM(DECODE(OTHERSTAT_3_TYPE, 1, OTHERSTAT_3_VALUE, 2, OTHERSTAT_3_VALUE, NULL))) STAT3_VALUE, NVL(MOD((DECODE(MAX(OTHERSTAT_4_TYPE), 3, MAX(OTHERSTAT_4_VALUE), 5, DECODE(MAX(OTHERSTAT_1_TYPE), 4, MAX(RMAX1 + OTHERSTAT_4_VALUE), 7, MIN(RMAX1 + OTHERSTAT_4_VALUE), NULL), 6, MIN(OTHERSTAT_4_VALUE), NULL)), 10000000000000000), SUM(DECODE(OTHERSTAT_4_TYPE, 1, OTHERSTAT_4_VALUE, 2, OTHERSTAT_4_VALUE, NULL))) STAT4_VALUE, NVL(MOD((DECODE(MAX(OTHERSTAT_5_TYPE), 3, MAX(OTHERSTAT_5_VALUE), 5, DECODE(MAX(OTHERSTAT_1_TYPE), 4, MAX(RMAX1 + OTHERSTAT_5_VALUE), 7, MIN(RMAX1 + OTHERSTAT_5_VALUE), NULL), 6, MIN(OTHERSTAT_5_VALUE), NULL)), 10000000000000000), SUM(DECODE(OTHERSTAT_5_TYPE, 1, OTHERSTAT_5_VALUE, 2, OTHERSTAT_5_VALUE, NULL))) STAT5_VALUE, NVL(MOD((DECODE(MAX(OTHERSTAT_6_TYPE), 3, MAX(OTHERSTAT_6_VALUE), 5, DECODE(MAX(OTHERSTAT_1_TYPE), 4, MAX(RMAX1 + OTHERSTAT_6_VALUE), 7, MIN(RMAX1 + OTHERSTAT_6_VALUE), NULL), 6, MIN(OTHERSTAT_6_VALUE), NULL)), 10000000000000000), SUM(DECODE(OTHERSTAT_6_TYPE, 1, OTHERSTAT_6_VALUE, 2, OTHERSTAT_6_VALUE, NULL))) STAT6_VALUE, NVL(MOD((DECODE(MAX(OTHERSTAT_7_TYPE), 3, MAX(OTHERSTAT_7_VALUE), 5, DECODE(MAX(OTHERSTAT_1_TYPE), 4, MAX(RMAX1 + OTHERSTAT_7_VALUE), 7, MIN(RMAX1 + OTHERSTAT_7_VALUE), NULL), 6, MIN(OTHERSTAT_7_VALUE), NULL)), 10000000000000000), SUM(DECODE(OTHERSTAT_7_TYPE, 1, OTHERSTAT_7_VALUE, 2, OTHERSTAT_7_VALUE, NULL))) STAT7_VALUE, NVL(MOD((DECODE(MAX(OTHERSTAT_8_TYPE), 3, MAX(OTHERSTAT_8_VALUE), 5, DECODE(MAX(OTHERSTAT_1_TYPE), 4, MA X(RMAX1 + OTHERSTAT_8_VALUE), 7, MIN(RMAX1 + OTHERSTAT_8_VALUE), NULL), 6, MIN(OTHERSTAT_8_VALUE), NULL)), 10000000000000000), SUM(DECODE(OTHERSTAT_8_TYPE, 1, OTHERSTAT_8_VALUE, 2, OTHERSTAT_8_VALUE, NULL))) STAT8_VALUE, NVL(MOD((DECODE(MAX(OTHERSTAT_9_TYPE), 3, MAX(OTHERSTAT_9_VALUE), 5, DECODE(MAX(OTHERSTAT_1_TYPE), 4, MAX(RMAX1 + OTHERSTAT_9_VALUE), 7, MIN(RMAX1 + OTHERSTAT_9_VALUE), NULL), 6, MIN(OTHERSTAT_9_VALUE), NULL)), 10000000000000000), SUM(DECODE(OTHERSTAT_9_TYPE, 1, OTHERSTAT_9_VALUE, 2, OTHERSTAT_9_VALUE, NULL))) STAT9_VALUE, NVL(MOD((DECODE(MAX(OTHERSTAT_10_TYPE), 3, MAX(OTHERSTAT_10_VALUE), 5, DECODE(MAX(OTHERSTAT_1_TYPE), 4, MAX(RMAX1 + OTHERSTAT_10_VALUE), 7, MIN(RMAX1 + OTHERSTAT_10_VALUE), NULL), 6, MIN(OTHERSTAT_10_VALUE), NULL)), 10000000000000000), SUM(DECODE(OTHERSTAT_10_TYPE, 1, OTHERSTAT_10_VALUE, 2, OTHERSTAT_10_VALUE, NULL))) STAT10_VALUE FROM (SELECT A.*, OTHERSTAT_1_VALUE * 10000000000000000 RMAX1, A.I NST_ID * 1000000 + A.SID ES, DECODE(A.PROCESS_NAME, 'ora', NULL, 1) PAR FROM (SELECT * FROM TABLE(GV$(CURSOR( SELECT USERENV('instance') INST_ID, A0.* FROM V$ALL_SQL_PLAN_MONITOR A0 WHERE A0.SQL_ID = :B9 AND A0.SQL_EXEC_START = :B8 AND A0.SQL_EXEC_ID = :B7 AND USERENV('instance') BETWEEN :B11 AND :B10 ))) ) A ) PLM, MONITOR_DATA MO WHERE PLM.INST_ID = MO.INST_ID AND PLM.INST_ID BETWEEN :B11 AND :B10 AND PLM.KEY = MO.KEY GROUP BY PLM.PLAN_LINE_ID, PLM.PLAN_OPERATION, PLM.PLAN_OPTIONS) PM0) PM WHERE AH.PLAN_LINE_ID(+) = PM.PLAN_LINE_ID AND AT.PLAN_LINE_ID(+) = PM.PLAN_LINE_ID AND LO.PLAN_LINE_ID(+) = PM.PLAN_LINE_ID AND (:B21 IS NULL OR PM.PLAN_LINE_ID = :B21 )) PLI) ELSE NULL END, CASE WHEN :B42 = 1 THEN DBMS_SQLTUNE.BUILD_STASH_XML( SESSION_ID=>:B19 , SESSION_SERIAL=>:B18 , SESSION_INST_ID=>:B17 , PX_MODE=>'yes', START_TIME=>:B20 , END_TIME=>:B22 , MISSING_SECONDS=> :B41 , INSTANCE_LOW_FILTER=>:B11 , INSTANCE_HIGH_FILTER=>:B10 , BUCKET_MAX_C OUNT=>NULL, BUCKET_INTERVAL=>:B26 , REPORT_LEVEL=>'typical', CPU_CORES=>:B40 , IS_HYPER=>:B39 ) ELSE NULL END), (CASE WHEN :B38 = 1 THEN (SELECT XMLELEMENT( "skewed_sessions", XMLATTRIBUTES( DECODE(MIN(INST_ID), NULL, :B17 , MIN(INST_ID)) AS "min_iid", DECODE(MAX(INST_ID), NULL, :B17 , MAX(INST_ID)) AS "max_iid"), XMLAGG( XMLELEMENT( "s", XMLATTRIBUTES( INST_ID AS "i"), SESSION_ID) ORDER BY INST_ID, SESSION_ID)) FROM (SELECT SESS.* FROM (SELECT DECODE(AD.DFO_MOST_ACTIVE_IID, :B17 , NULL, AD.DFO_MOST_ACTIVE_IID) INST_ID, AD.DFO_MOST_ACTIVE_SID SESSION_ID FROM ASH_DATA AD WHERE AD.DFO_MOST_ACTIVE_COUNT IS NOT NULL GROUP BY AD.DFO_MOST_ACTIVE_IID, AD.DFO_MOST_ACTIVE_SID ORDER BY MAX(AD.DFO_MOST_ACTIVE_COUNT) DESC) SESS WHERE ROWNUM <= 100)) ELSE NULL END), (CASE WHEN :B37 = 1 THEN (SELECT XMLELEMENT( "report_repository_summary", CASE WHEN MA.MAX_DBOP_NAME IS NOT NULL THEN XMLELEMENT( "dbop", XMLATTRIBUTES('F' AS "detail", MA.MAX_DBOP_NAME AS "dbop_name", TO_CHAR(MA.MIN_FIRST_REFRESH_TIME, :B12 ) AS "dbop_exec_start", MA.MAX_DBOP_EXEC_ID AS "dbop_exec_id"), XMLFOREST( MA.MAX_STATUS AS "status", TO_CHAR(NVL(MA.MAX_SQL_EXEC_START, MA.MIN_FIRST_REFRESH_TIME), :B12 )AS "first_refresh_time", TO_CHAR(MA.MAX_LAST_REFRESH_TIME, :B12 )AS "last_refresh_time", MA.SUM_REFRESH_COUNT AS "refresh_count", MA.MAX_INST_ID AS "inst_id", MA.MAX_SESSION_ID AS "session_id", MA.MAX_SESSION_SERIAL AS "session_serial", MA.MAX_USERID AS "user_id", MA.MAX_USERNAME AS "user", MA.MAX_CON_ID AS "con_id", MA.MAX_CON_NAME AS "con_name", MA.MAX_MODULE AS "module", MA.MAX_ACTION AS "action", MA.MAX_SERVICE_NAME AS "service", MA.MAX_CLIENT_ID AS "client_id", MA.MAX_CLIENT_INFO AS "client_info", MA.MAX_PROGRAM AS "program", MA.MAX_PL_ENTRY_OID AS "plsql_entry_object_id", MA.MAX_PL_ENTRY_PROGID AS "plsql_entry_subprogram_id", MA.MAX_PL_OID AS "plsql_object_id", MA.MAX_PL_PROGID AS "plsql_subprogram_id", MA.MAX_PX_IS_CROSS_INSTANCE AS "is_cross_instance", MA.MAX_PX_DOP AS "dop", MA.MAX_PX_DOP_INSTANCES AS "instances"), CASE WHEN MA.MAX_ERROR_NUMBER IS NULL THEN NULL ELSE XMLELEMENT( "error", XMLATTRIBUTES(MA.MAX_ERROR_NUMBER AS "number", MA.MAX_ERROR_FACILITY AS "facility"), MA.MAX_ERROR_MESSAGE) END, XMLELEMENT( "stats", XMLATTRIBUTES('monitor' AS "type"), XMLELEMENT( "stat", XMLATTRIBUTES('duration' AS "name"), GREATEST(ROUND((MA.MAX_LAST_REFRESH_TIME- NVL(MA.MAX_SQL_EXEC_START, MA.MIN_FIRST_REFRESH_TIME))*86400), LEAST(MA.SUM_ELAPSED_TIME/1000000, 1), CEIL(MA.MAX_QUEUING_TIME/1000000 ))), DECODE(MA.SUM_ELAPSED_TIME, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('elapsed_time' AS "name"), MA.SUM_ELAPSED_TIME)), DECODE(MA.MAX_QUEUING_TIME, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('queuing_time' AS "name"), MA.MAX_QUEUING_TIME)), DECODE(MA.SUM_CPU_TIME, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('cpu_time' AS "name"), MA.SUM_CPU_TIME)), DECODE(MA.SUM_USER_IO_WAIT_TIME, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('user_io_wait_time' AS "name"), MA.SUM_USER_IO_WAIT_TIME)), DECODE(MA.SUM_APPLICATION_WAIT_TIME, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('application_wait_time' AS "name"), MA.SUM_APPLICATION_WAIT_TIME)), DECODE(MA.SUM_CONCURRENCY_WAIT_TIME, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('concurrency_wait_time' AS "name"), MA.SUM_CONCURRENCY_WAIT_TIME)), DECODE(MA.SUM_CLUSTER_WAIT_TIME, 0, NULL, XMLELEMENT ( "stat", XMLATTRIBUTES('cluster_wait_time' AS "name"), MA.SUM_CLUSTER_WAIT_TIME)), DECODE(MA.SUM_PLSQL_EXEC_TIME, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('plsql_exec_time' AS "name"), MA.SUM_PLSQL_EXEC_TIME)), DECODE(MA.SUM_JAVA_EXEC_TIME, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('java_exec_time' AS "name"), MA.SUM_JAVA_EXEC_TIME)), DECODE(MA.SUM_OTHER_WAIT_TIME, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('other_wait_time' AS "name"), MA.SUM_OTHER_WAIT_TIME)), DECODE(MA.SUM_FETCHES, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('user_fetch_count' AS "name"), MA.SUM_FETCHES)), DECODE(MA.SUM_BUFFER_GETS, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('buffer_gets' AS "name"), MA.SUM_BUFFER_GETS)), DECODE(MA.SUM_READ_REQS, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('read_reqs' AS "name"), MA.SUM_READ_REQS)), DECOD E(MA.SUM_READ_BYTES, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('read_bytes' AS "name"), MA.SUM_READ_BYTES)), DECODE(MA.SUM_WRITE_REQS, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('write_reqs' AS "name"), MA.SUM_WRITE_REQS)), DECODE(MA.SUM_WRITE_BYTES, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('write_bytes' AS "name"), MA.SUM_WRITE_BYTES)), CASE WHEN MA.SUM_IO_INTER_BYTES IS NULL OR MA.SUM_IO_INTER_BYTES = MA.SUM_IO_BYTES OR MA.SUM_IO_BYTES = 0 OR NVL(MA.SUM_IO_ELIG_BYTES, 0) = 0 THEN NULL ELSE XMLELEMENT( "stat", XMLATTRIBUTES('cell_offload_efficiency' AS "name"), ROUND(MA.SUM_IO_BYTES / DECODE(MA.SUM_IO_INTER_BYTES, 0, 1, MA.SUM_IO_INTER_BYTES), 2)) END, CASE WHEN NVL(MA.SUM_IO_ELIG_BYTES, 0) = 0 OR MA.SUM_IO_BYTES = 0 OR MA.SUM_IO_UNC_BYTES = MA.SUM_IO_RET_BYTES THEN NULL ELSE XMLELEMENT( "stat", XMLATTRIBUTES('cell_offload_efficiency2' AS "name"), GREATES T(0, ROUND(100 * (GREATEST(MA.SUM_IO_UNC_BYTES, MA.SUM_IO_ELIG_BYTES) - MA.SUM_IO_RET_BYTES) / MA.SUM_IO_ELIG_BYTES, 2))) END) ) ELSE XMLELEMENT( "sql", XMLATTRIBUTES( MA.MAX_SQL_ID AS "sql_id", TO_CHAR(MA.MAX_SQL_EXEC_START, :B12 ) AS "sql_exec_start", MA.MAX_SQL_EXEC_ID AS "sql_exec_id"), XMLFOREST(MA.MAX_STATUS AS "status", SUBSTR(MA.SQLMON_TEXT, 1, 100) AS "sql_text", TO_CHAR(MA.MIN_FIRST_REFRESH_TIME, :B12 ) AS "first_refresh_time", TO_CHAR(MA.MAX_LAST_REFRESH_TIME, :B12 ) AS "last_refresh_time", MA.SUM_REFRESH_COUNT AS "refresh_count", MA.MAX_INST_ID AS "inst_id", MA.MAX_SESSION_ID AS "session_id", MA.MAX_SESSION_SERIAL AS "session_serial", MA.MAX_USERID AS "user_id", MA.MAX_USERNAME AS "user", MA.MAX_CON_ID AS "con_id", MA.MAX_CON_NAME AS "con_name", MA.MAX_MODULE AS "module", MA.MAX_ACT ION AS "action", MA.MAX_SERVICE_NAME AS "service", MA.MAX_CLIENT_ID AS "client_id", MA.MAX_CLIENT_INFO AS "client_info", MA.MAX_PROGRAM AS "program", MA.MAX_PLAN_HASH_VALUE AS "plan_hash", MA.MAX_PL_ENTRY_OID AS "plsql_entry_object_id", MA.MAX_PL_ENTRY_PROGID AS "plsql_entry_subprogram_id", MA.MAX_PL_OID AS "plsql_object_id", MA.MAX_PL_PROGID AS "plsql_subprogram_id", MA.MAX_PX_IS_CROSS_INSTANCE AS "is_cross_instance", MA.MAX_PX_DOP AS "dop", MA.MAX_PX_DOP_INSTANCES AS "instances", MA.SUM_SERVERS_REQUESTED AS "px_servers_requested", MA.SUM_SERVERS_ALLOCATED AS "px_servers_allocated"), XMLELEMENT( "stats", XMLATTRIBUTES('monitor' AS "type"), XMLELEMENT( "stat", XMLATTRIBUTES('duration' AS "name"), GREATEST(ROUND((MA.MAX_LAST_REFRESH_TIME- MA.MAX_SQL_EXEC_START) * 86400), LEAST(MA. SUM_ELAPSED_TIME/1000000, 1), CEIL(MA.MAX_QUEUING_TIME/1000000))), DECODE(MA.SUM_ELAPSED_TIME, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('elapsed_time' AS "name"), MA.SUM_ELAPSED_TIME)), DECODE(MA.MAX_QUEUING_TIME, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('queuing_time' AS "name"), MA.MAX_QUEUING_TIME)), DECODE(MA.SUM_CPU_TIME, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('cpu_time' AS "name"), MA.SUM_CPU_TIME)), DECODE(MA.SUM_USER_IO_WAIT_TIME, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('user_io_wait_time' AS "name"), MA.SUM_USER_IO_WAIT_TIME)), DECODE(MA.SUM_APPLICATION_WAIT_TIME, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('application_wait_time' AS "name"), MA.SUM_APPLICATION_WAIT_TIME)), DECODE(MA.SUM_CONCURRENCY_WAIT_TIME, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('concurrency_wait_time' AS "name"), MA.SUM_CONCURRENCY_WAIT_ TIME)), DECODE(MA.SUM_CLUSTER_WAIT_TIME, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('cluster_wait_time' AS "name"), MA.SUM_CLUSTER_WAIT_TIME)), DECODE(MA.SUM_PLSQL_EXEC_TIME, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('plsql_exec_time' AS "name"), MA.SUM_PLSQL_EXEC_TIME)), DECODE(MA.SUM_JAVA_EXEC_TIME, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('java_exec_time' AS "name"), MA.SUM_JAVA_EXEC_TIME)), DECODE(MA.SUM_OTHER_WAIT_TIME, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('other_wait_time' AS "name"), MA.SUM_OTHER_WAIT_TIME)), DECODE(MA.SUM_FETCHES, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('user_fetch_count' AS "name"), MA.SUM_FETCHES)), DECODE(MA.SUM_BUFFER_GETS, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('buffer_gets' AS "name"), MA.SUM_BUFFER_GETS)), DECODE(MA.SUM_READ_REQS, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUT ES('read_reqs' AS "name"), MA.SUM_READ_REQS)), DECODE(MA.SUM_READ_BYTES, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('read_bytes' AS "name"), MA.SUM_READ_BYTES)), DECODE(MA.SUM_WRITE_REQS, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('write_reqs' AS "name"), MA.SUM_WRITE_REQS)), DECODE(MA.SUM_WRITE_BYTES, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('write_bytes' AS "name"), MA.SUM_WRITE_BYTES)), DECODE(MA.SUM_IO_UNC_BYTES, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('unc_bytes' AS "name"), MA.SUM_IO_UNC_BYTES)), DECODE(MA.SUM_IO_ELIG_BYTES, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('elig_bytes' AS "name"), MA.SUM_IO_ELIG_BYTES)), DECODE(MA.SUM_IO_RET_BYTES, 0, NULL, XMLELEMENT( "stat", XMLATTRIBUTES('ret_bytes' AS "name"), MA.SUM_IO_RET_BYTES)), CASE WHEN MA.SUM_IO_INTER_BYTES IS NULL OR MA.SUM_IO_INTER_BYTES = MA.SUM_IO_BYT ES OR MA.SUM_IO_BYTES = 0 OR NVL(MA.SUM_IO_ELIG_BYTES, 0) = 0 THEN NULL ELSE XMLELEMENT( "stat", XMLATTRIBUTES('cell_offload_efficiency' AS "name"), ROUND(MA.SUM_IO_BYTES / DECODE(MA.SUM_IO_INTER_BYTES, 0, 1, MA.SUM_IO_INTER_BYTES), 2)) END, CASE WHEN NVL(MA.SUM_IO_ELIG_BYTES, 0) = 0 OR MA.SUM_IO_BYTES = 0 OR MA.SUM_IO_UNC_BYTES = MA.SUM_IO_RET_BYTES THEN NULL ELSE XMLELEMENT( "stat", XMLATTRIBUTES('cell_offload_efficiency2' AS "name"), GREATEST(0, ROUND(100 * (GREATEST(MA.SUM_IO_UNC_BYTES, MA.SUM_IO_ELIG_BYTES) - MA.SUM_IO_RET_BYTES) / MA.SUM_IO_ELIG_BYTES, 2))) END) ) END) FROM MONITOR_AGG MA) ELSE NULL END) FROM (SELECT CASE WHEN V1.XPLAN_XML IS NULL OR V1.XPLAN_XML.EXISTSNODE('/error') > 0 THEN NULL ELSE V1.XPLAN_XML END XPLAN_XML FROM (SELECT CASE WHEN :B36 = 1 THEN DBMS_XPLAN.BUILD_PLAN_XML( TABLE_NAME=>'gv$all_sql_plan', PLAN_TAG=>'plan', FILTER_PREDS=>:B35 , FORMAT=>'-PROJECTION +ALIAS +ADAPTIVE') ELSE NULL END XPLAN_XML FROM DUAL) V1) CONST_VIEW
0zy73fwdbj3xmdelete from SessionInfo where id=:1 and OPTLOCK=:2
14gjtb4v0g018BEGIN insis_claim.srv_billing_uf_bo.BLC_Item_Paid_Status( :pi_Context, :po_RetPrm, :po_Err ); END;
16k4aqa86c4bhSELECT EVENT_ID, FUNCTION_NAME, PARAM_NAME, PARAM_TYPE, PARAM_FORMAT, PARAM_VALUE FROM SRV_EVENT_PARAMS WHERE EVENT_ID = :B2 AND FUNCTION_NAME = :B1
18mqgjctmn7ajselect * from (select name, to_char(next_time, 'YYYY/MM/DD HH24:MI:SS') as restorable_time, recid, sequence# as seq_num from sys.v_$archived_log al JOIN sys.v_$database_incarnation di ON di.RESETLOGS_ID = al.RESETLOGS_ID and di.STATUS = 'CURRENT' where al.name is NOT NULL and al.standby_dest = 'NO' AND al.archived = 'YES' AND al.thread# = 1 AND al.sequence# >= :1 AND al.recid > :2 ORDER BY al.sequence#) where rownum < :3
1ak02x9xb11mxSELECT ORDER_ID, ORDER_DATE, PROCESS_DATE, PRICE_DATE, STATUS, REGISTRATION_DATE, PROCESS_RESULT, STAGE, PRICE_EXISTENCE FROM UL_DAILY_ORDERS WHERE STATUS = :B1
1kz16yhs993h2insert into sys.scheduler$_event_log (log_id, log_date, type#, name, owner, operation, status, user_name, client_id, guid, dbid, additional_info, destination, credential, class_id, flags) values (:1, SYSTIMESTAMP, :2, :3, :4, :5, :6, :7, :8, :9, NULL, :10, :11, :12, :13, :14)
27tyz74dyg625SELECT BlcPayments.PAYMENT_ID, BlcPayments.PAYMENT_CLASS, BlcPayments.USAGE_ID, BlcPayments.VOUCHER_DATE, BlcPayments.VOUCHER_PREFIX, BlcPayments.VOUCHER_NUMBER, BlcPayments.VOUCHER_SUFFIX, BlcPayments.CURRENCY, BlcPayments.AMOUNT, BlcPayments.RATE, BlcPayments.RATE_TYPE, BlcPayments.RATE_DATE, BlcPayments.PARTY, BlcPayments.PARTY_BILL_TO_SITE, BlcPayments.PARTY_NAME, BlcPayments.PARTY_ADDRESS, BlcPayments.REFERENCE, BlcPayments.BANK_CODE, BlcPayments.BANK_ACCOUNT_CODE, BlcPayments.PAYMENT_ADDRESS, BlcPayments.MATCHING_CLASS, BlcPayments.VALUE_DATE, BlcPayments.MATCHING_PARAMETERS, BlcPayments.BILLING_REFERENCE, BlcPayments.BILL_REFERENCE_DETA ILS, BlcPayments.CLAIM_ID, BlcPayments.PAYMENT_DATE, BlcPayments.PAYMENT_PREFIX, BlcPayments.PAYMENT_NUMBER, BlcPayments.PAYMENT_SUFFIX, BlcPayments.DOC_ID, BlcPayments.ORG_ID, BlcPayments.STATUS, BlcPayments.SENT_ON, BlcPayments.CONFIRMED_ON, BlcPayments.EXCLUDED_ON, BlcPayments.REJECTED_ON, BlcPayments.CLEARED_ON, BlcPayments.CLEAR_RATE, BlcPayments.CLEAR_RATE_TYPE, BlcPayments.CLEAR_RATE_DATE, BlcPayments.UNCLEARED_ON, BlcPayments.REVERSED_ON, BlcPayments.ACTIVITY_ID, BlcPayments.NOTES, BlcPayments.CREATED_ON, BlcPayments.CREATED_BY, BlcPayments.UPDATED_ON, BlcPayments.UPDATED_BY, BlcPayments.ATTRIB_0, BlcPayments.ATTRIB_1, BlcPayments.ATTRIB_2, BlcPayments.ATTRIB_3, BlcPayments.ATTRIB_4, BlcPayments.ATTRIB_5, BlcPayments.ATTRIB_6, BlcPayments.ATTRIB_7, BlcPayments.ATTRIB_8, BlcPayments.ATTRIB_9, BlcPayments.PAY_INSTR_ID, (SELECT (bank_account_name || ' ' || card_name) FROM blc_pay_instr_master WHERE instrument_id = BlcPayments.PAY_INSTR_ID) AS PAY_INSTR_DESCR, BlcPayments.VERSION, BlcBaccUsages.USAGE_NAME, BlcBaccUsages.USAGE_CURRENCY, BlcBaccUsages.USAGE_ID AS USAGE_ID1, BlcBaccUsages.BANK_ACC_ID, (SELECT BlcBankAccounts.CURRENCY FROM BLC_BANK_ACCOUNTS BlcBankAccounts WHERE BlcBankAccounts.BANK_ACC_ID = BlcBaccUsages.BANK_ACC_ID) AS BANK_ACCOUNT_CURRENCY, (SELECT BlcOrgNames.ORG_NAME FROM BLC_ORGS BlcOrgNames WHERE BlcOrgNames.ORG_ID = BlcPayments.ORG_ID) AS ORG_NAME, (null) AS UNAPPLIED_AMOUNT, (SELECT PPeople.NAME FROM P_PEOPLE PPeople WHERE PPeople.MAN_ID = BlcPayments.Party) AS PARTY_NAME, (SELECT CASE WHEN (1 = (SELECT 1 FROM DUAL WHERE REGEXP_LIKE (BlcPayments.PARTY_NAME, '^\d+(\.\d+)?$', ''))) THEN (SELECT PPeople.NAME FROM P_PEOPLE PPeople WHERE PPeople.MAN_ID = BlcPayments.PARTY_NAME) ELSE BlcPayments.PARTY_NAME END FROM DUAL) AS PAYING_PARTY_NAME, (SELECT PAddress.ADDRESS FROM P_ADDRESS PAddress WHERE PAddress.ADDRESS_ID = BlcPayments.PARTY_BILL_TO_SITE) AS PARTY_BILL_TO_SITE_NAME, (SELECT CASE WHEN (1 = (SELECT 1 FROM DUAL WHERE REGEXP_LIKE(BlcPayments.PARTY_ADDRESS, '^\d+(\.\d+)?$', ''))) THEN (SELECT PAddress.ADDRESS FROM P_ADDRESS PAddress WHERE PAddress.ADDRESS_ID = BlcPayments.PARTY_ADDRESS) ELSE BlcPayments.PARTY_ADDRESS END FROM DUAL) AS PARTY_ADDRESS_NAME, (SELECT date_value FROM blc_values WHERE setting = 'OperDate' AND org_id = blcpayments.legal_entity FETCH FIRST ROW ONLY) AS OPER_DATE, BlcPayments.LEGAL_ENTITY, BlcPayments.REVERSE_REASON, (SELECT BlcLookups.LOOKUP_CODE FROM BLC_LOOKUPS BlcLookups WHERE B lcLookups.LOOKUP_ID = BlcPayments.MATCHING_CLASS) AS MATCHING_CLASS_CODE, (BlcPayments.AMOUNT * BlcPayments.RATE) AS FUNC_AMOUNT, (SELECT BlcDocuments.DOC_PREFIX || ' ' || BlcDocuments.DOC_NUMBER || ' ' || BlcDocuments.DOC_SUFFIX FROM BLC_DOCUMENTS BlcDocuments WHERE BlcDocuments.DOC_ID = TO_NUMBER(BlcPayments.BILLING_REFERENCE) AND (SELECT LOOKUP_CODE FROM BLC_LOOKUPS WHERE LOOKUP_ID = BlcPayments.MATCHING_CLASS) IN ('ON_TRX_A', 'ON_TRX_B', 'ON_TRX_L')) AS DOCUMENT, (BlcPayments.MATCHING_CLASS) AS LOOKUP_ID, (SELECT LOOKUP_CODE FROM BLC_LOOKUPS WHERE LOOKUP_ID = BlcPayments.MATCHING_CLASS) AS LOOKUP_CODE, (SELECT meaning FROM blc_lookups_vl WHERE lookup_code = blcpayments.payment_class AND lookup_set = 'PAYMENT_CLASS' AND org_id = 0 FETCH FIRST ROW ONLY) AS PAYMENT_CLASS_MEANING, (SELECT meaning FROM blc_lookups_vl WHERE lookup_code = blcpayments.status AND ( ( (blcpayments.payment_class LIKE 'O%') AND (lookup_set = 'OUTGOING_PAY_STATUSES')) OR ( (blcpayments.payment_class LIKE 'I%') AND (lookup_set = 'INCOME_PAY_STATUSES'))) AND org_id = 0 FETCH FIRST ROW ONLY) AS STATUS_MEANING, BlcPayments.APPLIED_STATUS, BlcPayments.ACTUAL_OPEN_BALANCE, BlcPayments.OPEN_BALANCE, BlcPayments.ACTIVITY_ID AS ACTIVITY_ID1, BlcBaccUsages.DESCRIPTION AS USER_DESCRIPTION, (SELECT trim(bd.doc_prefix || ' ' || bd.doc_number || ' ' || bd.doc_suffix) FROM blc_documents bd WHERE bd.doc_id = BlcPayments.doc_id) AS RECEIPT_BATCH, BlcPayments.PRIORITY, (SELECT BlcLookups.MEANING FROM BLC_LOOKUPS_VL BlcLookups WHERE BlcLookups.LOOKUP_ID = BlcPayments.PRIORITY) AS PRIORITY_MEANING, BlcPayments.CHARGE_BEARER, (SELECT BlcLookups.MEANING FROM BLC_LOOKUPS_VL BlcLookups WHERE BlcLookups.LOOKUP_ID = BlcPayments.CHARGE_BEARER) AS CHARGE_BEARER_MEANING, BlcPayments.ROUTE_ID, (SELECT BlcLookups.MEANING FROM BLC_LOOKUPS_VL BlcLookups WHERE BlcLookups.LOOKUP_ID = BlcPayments.ROUTE_ID) AS ROUTE_MEANING, BlcPayments.ATTRIB_10, BlcPayments.ATTRIB_11, BlcPayments.ATTRIB_12, BlcPayments.ATTRIB_13, BlcPayments.ATTRIB_14, BlcPayments.ATTRIB_15, BlcPayments.ATTRIB_16, BlcPayments.ATTRIB_17, BlcPayments.ATTRIB_18, BlcPayments.ATTRIB_19, BlcPayments.N_ATTRIB_0, BlcPayments.N_ATTRIB_1, BlcPayments.N_ATTRIB_2, BlcPayments.N_ATTRIB_3, BlcPayments.N_ATTRIB_4, BlcPayments.N_ATTRIB_5, BlcPayments.N_ATTRIB_6, BlcPayments.N_ATTRIB_7, BlcPayments.N_ATTRIB_8, BlcPayments.N_ATTRIB_9, BlcPayments.D_ATTRIB_0, BlcPayments.D_ATTRIB_1, BlcPayments.D_ATTRIB_2, BlcPayments.D_ATTRIB_3, BlcPayments.D_ATTRIB_4, BlcPayments.D_ATTRIB_5, BlcPayments.D_ATTRIB_6, BlcPayments.D_ATTRIB_7, BlcPayments.D_ATTRIB_8, BlcPayments.D_ATTRIB_9, BlcPayments.W_ATTRIB_0, BlcPayments.W_ATTRIB_1 FROM BLC_PAYMENTS BlcPayments, BLC_BACC_USAGES BlcBaccUsages WHERE (((BlcPayments.USAGE_ID = BlcBaccUsages.USAGE_ID) AND (:bindUsageId IS NULL OR BlcPayments.USAGE_ID = :bindUsageId) AND (:bindVoucherDate IS NULL OR BlcPayments.VOUCHER_DATE = :bindVoucherDate) AND (:bindCurrency IS NULL OR BlcPayments.CURRENCY = :bindCurrency) AND (:bindRate IS NULL OR BlcPayments.RATE = :bindRate) AND (:bindRateType IS NULL OR BlcPayments.RATE_TYPE = :bindRateType) AND (:bindRateDate IS NULL OR BlcPayments.RATE_DATE = :bindRateDate) AND (:bindBankAccount IS NULL OR BlcPayments.BANK_ACCOUNT_CODE = :bindBankAccount) AND (:bindOrgId IS NULL OR BlcPayments.ORG_ID = :bindOrgId) AND (:bindPaymentsList IS NULL OR (INSTR(', ' || :bindPaymentsList || ', ', ', ' || BlcPayments.PAYMENT_ID || ', ' ) > 0)) AND (:bindPaymentClass IS NULL OR (BlcPayments.PAYMENT_CLASS IS NULL OR BlcPayments.PAYMENT_CLASS LIKE :bindPaymentClass || '%')))) AND ( ( ( (UPPER(BlcPayments.BILL_REFERENCE_DETAILS) LIKE UPPER(:vc_temp_1) ) AND (UPPER(BlcPayments.STATUS) LIKE UPPER(:vc_temp_2) ) ) ) ) ORDER BY BlcPayments.PAYMENT_DATE DESC
2brqw8cqaj6tnBEGIN insis_people_v10.srv_people_bo.create_people_version( :pi_Context, :po_RetPrm, :po_Err ); END;
32ujvt7upjgy7SELECT /*+ DYNAMIC_SAMPLING(st, 5) */ SYSCFG.ID, NVL(ST.DESCRIPTION, SYSCFG.NAME ) FROM SYSCFG_CLAIM_EVENTS SYSCFG, TABLE( RB_CS_NOM.C_SYSCFGTRANSLATIONSTAB(:B1 , :B2 )) ST WHERE TO_CHAR(SYSCFG.ID) = ST.ID(+)
3ajsr75apqgd8BEGIN insis_gen_cfg_v10.rb_srv.RuleRequest(:1 , :2 , :3 , :4 ) ; END;
3csu4cbug7927BEGIN rb_cs_common.Country( :pi_Context, :po_RetPrm, :po_Err ); END;
3q3rpf9r1hx0xDECLARE result INT; BEGIN result := 0; IF cust_util_pkg.Prevalid_Status_Payment_Poller(:1 , :2 , :3 , :4 , :5 , :6 , :7 , :8 ) THEN result := 1; END IF; :9 := result; END;
3tk3z1ayxmyrtWITH A AS ( SELECT STATEMENT_ORDER_NO, COUNT(1) OVER(PARTITION BY STATEMENT_ORDER_NO) AS PRM_KW_CNT FROM CPRS_RULE_STATEMENTS WHERE STATEMENT_TYPE IN ( :B3 , :B2 ) AND RULE_CPR_ID = :B1 ) SELECT G.STATEMENT_TEXT, G.STATEMENT_TYPE, G.STATEMENT_ORDER_NO, G.RESERVED_WORD, A.PRM_KW_CNT FROM CPRS_RULE_STATEMENTS G, A WHERE G.RULE_CPR_ID = :B1 AND G.STATEMENT_ORDER_NO = A.STATEMENT_ORDER_NO(+) AND G.STATEMENT_TYPE IN ( :B5 , :B4 , :B6 ) ORDER BY G.STATEMENT_ORDER_NO, DECODE( G.STATEMENT_TYPE, :B6 , 1, :B5 , 2, :B4 , 3 )
3un3uka335wp4BEGIN rb_cs_common.ParamValue( :pi_Context, :po_RetPrm, :po_Err ); END;
3v6nv8u6wbq8dSELECT BlcPayments.PAYMENT_ID, BlcPayments.PAYMENT_CLASS, BlcPayments.USAGE_ID, BlcPayments.VOUCHER_DATE, BlcPayments.VOUCHER_PREFIX, BlcPayments.VOUCHER_NUMBER, BlcPayments.VOUCHER_SUFFIX, BlcPayments.CURRENCY, BlcPayments.AMOUNT, BlcPayments.RATE, BlcPayments.RATE_TYPE, BlcPayments.RATE_DATE, BlcPayments.PARTY, BlcPayments.PARTY_BILL_TO_SITE, BlcPayments.PARTY_NAME, BlcPayments.PARTY_ADDRESS, BlcPayments.REFERENCE, BlcPayments.BANK_CODE, BlcPayments.BANK_ACCOUNT_CODE, BlcPayments.PAYMENT_ADDRESS, BlcPayments.MATCHING_CLASS, BlcPayments.VALUE_DATE, BlcPayments.MATCHING_PARAMETERS, BlcPayments.BILLING_REFERENCE, BlcPayments.BILL_REFERENCE_DETA ILS, BlcPayments.CLAIM_ID, BlcPayments.PAYMENT_DATE, BlcPayments.PAYMENT_PREFIX, BlcPayments.PAYMENT_NUMBER, BlcPayments.PAYMENT_SUFFIX, BlcPayments.DOC_ID, BlcPayments.ORG_ID, BlcPayments.STATUS, BlcPayments.SENT_ON, BlcPayments.CONFIRMED_ON, BlcPayments.EXCLUDED_ON, BlcPayments.REJECTED_ON, BlcPayments.CLEARED_ON, BlcPayments.CLEAR_RATE, BlcPayments.CLEAR_RATE_TYPE, BlcPayments.CLEAR_RATE_DATE, BlcPayments.UNCLEARED_ON, BlcPayments.REVERSED_ON, BlcPayments.ACTIVITY_ID, BlcPayments.NOTES, BlcPayments.CREATED_ON, BlcPayments.CREATED_BY, BlcPayments.UPDATED_ON, BlcPayments.UPDATED_BY, BlcPayments.ATTRIB_0, BlcPayments.ATTRIB_1, BlcPayments.ATTRIB_2, BlcPayments.ATTRIB_3, BlcPayments.ATTRIB_4, BlcPayments.ATTRIB_5, BlcPayments.ATTRIB_6, BlcPayments.ATTRIB_7, BlcPayments.ATTRIB_8, BlcPayments.ATTRIB_9, BlcPayments.PAY_INSTR_ID, (SELECT (bank_account_name || ' ' || card_name) FROM blc_pay_instr_master WHERE instrument_id = BlcPayments.PAY_INSTR_ID) AS PAY_INSTR_DESCR, BlcPayments.VERSION, BlcBaccUsages.USAGE_NAME, BlcBaccUsages.USAGE_CURRENCY, BlcBaccUsages.USAGE_ID AS USAGE_ID1, BlcBaccUsages.BANK_ACC_ID, (SELECT BlcBankAccounts.CURRENCY FROM BLC_BANK_ACCOUNTS BlcBankAccounts WHERE BlcBankAccounts.BANK_ACC_ID = BlcBaccUsages.BANK_ACC_ID) AS BANK_ACCOUNT_CURRENCY, (SELECT BlcOrgNames.ORG_NAME FROM BLC_ORGS BlcOrgNames WHERE BlcOrgNames.ORG_ID = BlcPayments.ORG_ID) AS ORG_NAME, (null) AS UNAPPLIED_AMOUNT, (SELECT PPeople.NAME FROM P_PEOPLE PPeople WHERE PPeople.MAN_ID = BlcPayments.Party) AS PARTY_NAME, (SELECT CASE WHEN (1 = (SELECT 1 FROM DUAL WHERE REGEXP_LIKE (BlcPayments.PARTY_NAME, '^\d+(\.\d+)?$', ''))) THEN (SELECT PPeople.NAME FROM P_PEOPLE PPeople WHERE PPeople.MAN_ID = BlcPayments.PARTY_NAME) ELSE BlcPayments.PARTY_NAME END FROM DUAL) AS PAYING_PARTY_NAME, (SELECT PAddress.ADDRESS FROM P_ADDRESS PAddress WHERE PAddress.ADDRESS_ID = BlcPayments.PARTY_BILL_TO_SITE) AS PARTY_BILL_TO_SITE_NAME, (SELECT CASE WHEN (1 = (SELECT 1 FROM DUAL WHERE REGEXP_LIKE(BlcPayments.PARTY_ADDRESS, '^\d+(\.\d+)?$', ''))) THEN (SELECT PAddress.ADDRESS FROM P_ADDRESS PAddress WHERE PAddress.ADDRESS_ID = BlcPayments.PARTY_ADDRESS) ELSE BlcPayments.PARTY_ADDRESS END FROM DUAL) AS PARTY_ADDRESS_NAME, (SELECT date_value FROM blc_values WHERE setting = 'OperDate' AND org_id = blcpayments.legal_entity FETCH FIRST ROW ONLY) AS OPER_DATE, BlcPayments.LEGAL_ENTITY, BlcPayments.REVERSE_REASON, (SELECT BlcLookups.LOOKUP_CODE FROM BLC_LOOKUPS BlcLookups WHERE B lcLookups.LOOKUP_ID = BlcPayments.MATCHING_CLASS) AS MATCHING_CLASS_CODE, (BlcPayments.AMOUNT * BlcPayments.RATE) AS FUNC_AMOUNT, (SELECT BlcDocuments.DOC_PREFIX || ' ' || BlcDocuments.DOC_NUMBER || ' ' || BlcDocuments.DOC_SUFFIX FROM BLC_DOCUMENTS BlcDocuments WHERE BlcDocuments.DOC_ID = TO_NUMBER(BlcPayments.BILLING_REFERENCE) AND (SELECT LOOKUP_CODE FROM BLC_LOOKUPS WHERE LOOKUP_ID = BlcPayments.MATCHING_CLASS) IN ('ON_TRX_A', 'ON_TRX_B', 'ON_TRX_L')) AS DOCUMENT, (BlcPayments.MATCHING_CLASS) AS LOOKUP_ID, (SELECT LOOKUP_CODE FROM BLC_LOOKUPS WHERE LOOKUP_ID = BlcPayments.MATCHING_CLASS) AS LOOKUP_CODE, (SELECT meaning FROM blc_lookups_vl WHERE lookup_code = blcpayments.payment_class AND lookup_set = 'PAYMENT_CLASS' AND org_id = 0 FETCH FIRST ROW ONLY) AS PAYMENT_CLASS_MEANING, (SELECT meaning FROM blc_lookups_vl WHERE lookup_code = blcpayments.status AND ( ( (blcpayments.payment_class LIKE 'O%') AND (lookup_set = 'OUTGOING_PAY_STATUSES')) OR ( (blcpayments.payment_class LIKE 'I%') AND (lookup_set = 'INCOME_PAY_STATUSES'))) AND org_id = 0 FETCH FIRST ROW ONLY) AS STATUS_MEANING, BlcPayments.APPLIED_STATUS, BlcPayments.ACTUAL_OPEN_BALANCE, BlcPayments.OPEN_BALANCE, BlcPayments.ACTIVITY_ID AS ACTIVITY_ID1, BlcBaccUsages.DESCRIPTION AS USER_DESCRIPTION, (SELECT trim(bd.doc_prefix || ' ' || bd.doc_number || ' ' || bd.doc_suffix) FROM blc_documents bd WHERE bd.doc_id = BlcPayments.doc_id) AS RECEIPT_BATCH, BlcPayments.PRIORITY, (SELECT BlcLookups.MEANING FROM BLC_LOOKUPS_VL BlcLookups WHERE BlcLookups.LOOKUP_ID = BlcPayments.PRIORITY) AS PRIORITY_MEANING, BlcPayments.CHARGE_BEARER, (SELECT BlcLookups.MEANING FROM BLC_LOOKUPS_VL BlcLookups WHERE BlcLookups.LOOKUP_ID = BlcPayments.CHARGE_BEARER) AS CHARGE_BEARER_MEANING, BlcPayments.ROUTE_ID, (SELECT BlcLookups.MEANING FROM BLC_LOOKUPS_VL BlcLookups WHERE BlcLookups.LOOKUP_ID = BlcPayments.ROUTE_ID) AS ROUTE_MEANING, BlcPayments.ATTRIB_10, BlcPayments.ATTRIB_11, BlcPayments.ATTRIB_12, BlcPayments.ATTRIB_13, BlcPayments.ATTRIB_14, BlcPayments.ATTRIB_15, BlcPayments.ATTRIB_16, BlcPayments.ATTRIB_17, BlcPayments.ATTRIB_18, BlcPayments.ATTRIB_19, BlcPayments.N_ATTRIB_0, BlcPayments.N_ATTRIB_1, BlcPayments.N_ATTRIB_2, BlcPayments.N_ATTRIB_3, BlcPayments.N_ATTRIB_4, BlcPayments.N_ATTRIB_5, BlcPayments.N_ATTRIB_6, BlcPayments.N_ATTRIB_7, BlcPayments.N_ATTRIB_8, BlcPayments.N_ATTRIB_9, BlcPayments.D_ATTRIB_0, BlcPayments.D_ATTRIB_1, BlcPayments.D_ATTRIB_2, BlcPayments.D_ATTRIB_3, BlcPayments.D_ATTRIB_4, BlcPayments.D_ATTRIB_5, BlcPayments.D_ATTRIB_6, BlcPayments.D_ATTRIB_7, BlcPayments.D_ATTRIB_8, BlcPayments.D_ATTRIB_9, BlcPayments.W_ATTRIB_0, BlcPayments.W_ATTRIB_1 FROM BLC_PAYMENTS BlcPayments, BLC_BACC_USAGES BlcBaccUsages WHERE (((BlcPayments.USAGE_ID = BlcBaccUsages.USAGE_ID) AND (:bindUsageId IS NULL OR BlcPayments.USAGE_ID = :bindUsageId) AND (:bindVoucherDate IS NULL OR BlcPayments.VOUCHER_DATE = :bindVoucherDate) AND (:bindCurrency IS NULL OR BlcPayments.CURRENCY = :bindCurrency) AND (:bindRate IS NULL OR BlcPayments.RATE = :bindRate) AND (:bindRateType IS NULL OR BlcPayments.RATE_TYPE = :bindRateType) AND (:bindRateDate IS NULL OR BlcPayments.RATE_DATE = :bindRateDate) AND (:bindBankAccount IS NULL OR BlcPayments.BANK_ACCOUNT_CODE = :bindBankAccount) AND (:bindOrgId IS NULL OR BlcPayments.ORG_ID = :bindOrgId) AND (:bindPaymentsList IS NULL OR (INSTR(', ' || :bindPaymentsList || ', ', ', ' || BlcPayments.PAYMENT_ID || ', ' ) > 0)) AND (:bindPaymentClass IS NULL OR (BlcPayments.PAYMENT_CLASS IS NULL OR BlcPayments.PAYMENT_CLASS LIKE :bindPaymentClass || '%')))) AND ( ( ( (UPPER(BlcPayments.BILL_REFERENCE_DETAILS) LIKE UPPER(:vc_temp_1) ) ) ) )
40m3cxjxzu2qrBEGIN SRV_BILL_BO.Get_billing_event_Prem( :pi_Context, :po_RetPrm, :po_Err ); END;
41v4b16phu33tBEGIN srv_events_common.getKWValue( :pi_Context, :po_RetPrm, :po_Err ); END;
447h7nm94v4acBEGIN insis_cust.srv_cust_ds_qq.launch_quickquote( :pi_Context, :po_RetPrm, :po_Err ); END;
4bw2ddp4vv110SELECT OUTCONOUTER.ATTRCODE AS ATTRCODE , OUTCONOUTER.ATTRTYPE AS ATTRYPE FROM TABLE(:B1 ) OUTCONOUTER WHERE OUTCONOUTER.ATTRCODE NOT IN ( SELECT OUTCONINNER.ATTRCODE AS ATTRCODE FROM TABLE(:B1 ) OUTCONINNER INNER JOIN TABLE(:B2 ) QQVARS ON OUTCONINNER.ATTRCODE LIKE QQVARS.NAME AND QQVARS.CONFIGURATION_TYPE = NVL(:B3 , QQVARS.CONFIGURATION_TYPE) )
4m7m0t6fjcs5xupdate seq$ set increment$=:2, minvalue=:3, maxvalue=:4, cycle#=:5, order$=:6, cache=:7, highwater=:8, audit$=:9, flags=:10 where obj#=:1
4pzd7jrb7zma9BEGIN srv_policy_ds.GetCover( :pi_Context, :po_RetPrm, :po_Err ); END;
4tqv879z0n758BEGIN INSIS_SYS_V10.SRV_EVENTS.sysEvent(:1 , :2 , :3 , :4 ); END;
4z7t8ndjgvt9mSELECT MIN(BD.PERIOD_FROM), MIN(BD.PERIOD_TO) FROM INSIS_GEN_BLC_V10.BLC_TRX_ACC BT INNER JOIN BLC_DOCUMENTS BD ON BT.DOC_ID = BD.DOC_ID WHERE BT.AGREEMENT = :B3 AND BT.I_ITEM_TYPE = :B2 AND :B1 BETWEEN BD.PERIOD_FROM AND BD.PERIOD_TO
5ruswtsgwwyq1SELECT LAYER_CPR_ID FROM CPR_LAYER WHERE COUNTRY_ID = :B3 AND ( COMPANY_ID = 'ALL' OR COMPANY_ID = :B2 ) AND CUSTOMER_GRP IS NULL AND AFFINITY_GRP IS NULL AND SALES_CHANNEL IS NULL AND CAMPAIGN_ID IS NULL AND :B1 BETWEEN VALID_FROM AND NVL(VALID_TO, :B1 )
5t0w7b7rwmddqUPDATE QRTZ_SCHEDULER_STATE SET LAST_CHECKIN_TIME = :1 WHERE INSTANCE_NAME = :2
5xvk4h5ujy20kBEGIN insis_ul_v10.srv_invest_bo.CreateInvAccountByPolicy( :pi_Context, :po_RetPrm, :po_Err ); END;
5xvpmr5xubh5tBEGIN rbi_data.SetUserProfile( :pi_Context, :po_RetPrm, :po_Err ); END;
68sm2sdz9h00tBEGIN srv_billing_ps_bo.DirectTransferPaymentPlanToBLC( :pi_Context, :po_RetPrm, :po_Err ); END;
69sv4apbmu1u6SELECT SRV_EVENT_SEQ.nextval NEXTNUMBER FROM dual
6qhb6w68a0gvxWITH X1 AS (SELECT TABLE_NAME, ID, COLUMN_NAME, LANGUAGE, DESCRIPTION, CASE LANGUAGE WHEN :B4 THEN :B6 ELSE :B5 END AS RANK FROM SYSCFG_TRANSLATIONS WHERE LANGUAGE IN (:B4 , :B3 ) AND TABLE_NAME = :B2 AND COLUMN_NAME = :B1 ) , X AS (SELECT TABLE_NAME, ID, COLUMN_NAME, MIN(RANK) AS RANK FROM X1 GROUP BY TABLE_NAME, ID, COLUMN_NAME) SELECT X1.TABLE_NAME, X1.ID, X1.COLUMN_NAME, X1.LANGUAGE, X1.DESCRIPTION FROM X, X1 WHERE X.ID = X1.ID AND X.TABLE_NAME=X1.TABLE_NAME AND X.COLUMN_NAME=X1.COLUMN_NAME AND X.RANK = X1.RANK
6wfsppjwhm53tBEGIN insis_gen_v10.srv_policy_ds.GetRuleDateByPolicy( :pi_Context, :po_RetPrm, :po_Err ); END;
78qsqqh4q1fdbWITH A AS ( SELECT S.RISK_TYPE, SUM( LENGTH(S.RISK_TYPE) + :B4 ) OVER( ORDER BY S.RISK_TYPE ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW ) AS SM FROM GEN_RISK_SELECT S WHERE S.GRC_ID = :B3 AND S.ANNEX_ID = :B2 AND S.APPLY_RISK = :B1 HAVING COUNT(S.GRC_ID) > :B1 GROUP BY S.RISK_TYPE ) SELECT LISTAGG(RISK_TYPE, ', ') WITHIN GROUP (ORDER BY RISK_TYPE) FROM A WHERE SM <= :B5
79vqhq25p3038SELECT /*+ DYNAMIC_SAMPLING(st, 5) */ B.QUEST_ID, NVL( ST.DESCRIPTION, C.NAME ), C.ANSWER_TYPE, C.ANSWER_LEN_FIXED, C.ANSWER_LEN_MAX, C.DEFINED_ANSWERS, C.DEFAULT_ANSWER, C.MANDATORY, C.TO_LOAD, NULL, C.QUEST_ORDER, C.FORMAT_MASK, NULL FROM CPR_QUESTIONS B, CPRS_QUEST_QUESTIONS C, TABLE (RB_CS_NOM.C_SYSCFGTRANSLATIONSTAB(:B1 , :B2 )) ST WHERE C.QUEST_CPR_ID = B.QUEST_CPR_ID AND TO_CHAR(C.QUESTION_CPRS_ID) = ST.ID(+)
7fsg7bp85w7ktSELECT /*+ DYNAMIC_SAMPLING(CovRisk, 5) */ RB_CLAIM_COVERAGE_TYPE ( :B1 , :B2 , COVRISK.RISK_TYPE, CLAIMCOV.EVENT_TYPE, :B10 , OBJSUBT.OBJECT_KIND, OBJSUBT.OBJECT_SUB_TYPE, OBJSUPPL.OBJECT_SUPPL_TYPE, :B12 , CLAIMCOV.LOCATION_ID, CLAIMCOV.CLAIM_RESOLVE_TYPE, CLAIMCOV.MEASURE_TYPE, CLAIMCOV.CPRS_COVERAGE_ID, CLAIMCOV.CLAIM_CPR_ID, COVRISK.DEATH_RISK, RISKGROUP.RISK_GROUP ) FROM TABLE(RBI_NOM_COMMON.GETRISKS( :B1 , NULL, :B2 , :B3 )) COVRISK, CPR_RISKS RISKVERSION, CFG_NL_COVERS CNC, CFG_NL_OBJECTS CNO, CPRS_CLAIM_COVERAGE CLAIMCOV, CPR_OBJECTS OBJTYPE, CPRS_OBJECT_SUBT OBJSUBT, CPRS_OBJECT_SUPPL OBJSUPPL, CFG_COVER_RISK_GROUPS RISKGROUPLINK, CPR_RISK_GROUPS RISKGROUP WHERE CLAIMCOV.RISK_CPR_ID = RISKVERSION.RISK_CPR_ID AND COVRISK.RISK_TYPE = RISKVERSION.RISK_TYPE AND CNO.OBJECT_LINK_ID = CNC.OBJECT_LINK_ID AND COVRISK.COVER_LI NK_ID = CNC.COVER_LINK_ID AND ((CLAIMCOV.OBJECT_TYPE_CPR_ID IS NULL AND OBJTYPE.OBJECT_TYPE_CPR_ID = CNO.OBJECT_TYPE_CPR_ID ) OR ( CLAIMCOV.OBJECT_TYPE_CPR_ID = OBJTYPE.OBJECT_TYPE_CPR_ID)) AND (CLAIMCOV.OBJECT_SUBTYPE_CPRS_ID IS NULL OR CLAIMCOV.OBJECT_SUBTYPE_CPRS_ID = OBJSUBT.OBJECT_SUBTYPE_CPRS_ID ) AND (CLAIMCOV.OBJECT_SUPPL_ID IS NULL OR CLAIMCOV.OBJECT_SUPPL_ID = OBJSUPPL.OBJECT_SUPPL_ID) AND OBJTYPE.OBJECT_TYPE_CPR_ID = OBJSUPPL.OBJECT_TYPE_CPR_ID(+) AND OBJTYPE.OBJECT_TYPE_CPR_ID = OBJSUBT.OBJECT_TYPE_CPR_ID(+) AND CLAIMCOV.EVENT_TYPE = NVL(:B11 , CLAIMCOV.EVENT_TYPE) AND OBJTYPE.OBJECT_TYPE = :B10 AND (CLAIMCOV.OBJECT_SUBTYPE_CPRS_ID IS NULL OR OBJSUBT.OBJECT_SUB_TYPE = NVL(:B9 , OBJSUBT.OBJECT_SUB_TYPE)) AND (CLAIMCOV.OBJECT_SUBTYPE_CPRS_ID IS NULL OR OBJSUBT.OBJECT_KIND = NVL(:B8 , OBJSUBT.OBJECT_KIND)) AND (CLAIMCOV.LOCATION_ID IS NULL OR CLAIMCOV.LOCATION_ID = NVL(:B7 , CLAIMCOV.LOCATION_ID)) AND (CLAIMCOV.GEOG_AREA_ID IS NULL OR CLAIMCOV.GEOG_AREA_ID IN (SELECT GEOG_AR EA_ID FROM SYSCFG_GEOG_AREA_CONTENT WHERE COUNTRY_ID = NVL(:B12 , COUNTRY_ID ))) AND COVRISK.RISK_GROUP_LINK_ID = RISKGROUPLINK.RISK_GROUP_LINK_ID(+) AND RISKGROUPLINK.RISK_GROUP_CPR_ID = RISKGROUP.RISK_GROUP_CPR_ID(+) AND COALESCE( :B6 , RISKGROUP.RISK_GROUP, :B5 ) = NVL( RISKGROUP.RISK_GROUP, :B5 ) AND :B4 BETWEEN RISKVERSION.VALID_FROM AND RISKVERSION.VALID_TO
7hbk609csy3pcSELECT INSTANCE FROM ACTIVE WHERE SERVER = :1 AND DOMAINNAME='bip' AND CLUSTERNAME='bi_cluster' FOR UPDATE NOWAIT
7hdck51db5x8ySELECT * FROM (SELECT ClaimRequest.CLAIM_ID, Claim.CLAIM_REGID AS CLAIM_NO, Claim.INSR_TYPE, --Claim.INSR_CLASS, Claim.EVENT_TYPE, Claim.POLICY_ID, ClaimRequest.REQUEST_ID, ClaimRequest.REQUEST_DATE, ClaimRequest.CLAIMANT_TYPE, ClaimRequest.REQUEST_TYPE, ClaimRequest.SOLVE_WAY, Claim.CLAIM_ID AS CLAIM_CLAIM_ID, --ClaimRequest.OSNOWANIE, --ClaimRequest.SUMA, ClaimRequest.CURRENCY, ClaimRequest.CLAIM_STATE, ClaimRequest.DUE_DATE, ClaimRequest.CLAIM_TYPE, ClaimRequest.CLAIMANT_ID, ClaimRequest.REGISTRATION_DATE, ClaimRequest.USERNAME, ClaimRequest.PAYMENT_TYPE payment_type, ClaimRequest.CLAIM_STATE_AUX, ClaimRequest.ACCUMULATED_LR, ClaimRequest.PROVIDER_ID, ClaimRequestNames.CLAIMANT_ NAME AS CLAIMANT_ID_DESCR, ClaimRequestNames.CLAIMANT_MAN_ID AS MAN_ID, HsClaimState.NAME AS CLAIM_STATE_DESCR, HsClaimState.ID AS ID1, HsClaimStateAux.NAME AS CLAIM_STATE_AUX_DESCR, HsClaimStateAux.ID AS ID2, ClaimRequest.RECOVERY, ClaimRequest.SUBROGATION, ClaimRequestNames.provider_name AS PROVIDER_DESCR, ClaimRequest.reopen_request_id, ClaimRequest.reopen_reason, ClaimRequest.convert_date, ClaimRequest.attr1, ClaimRequest.attr2, ClaimRequest.attr3, ClaimRequest.attr4, ClaimRequest.attr5, ClaimRequest.amount AS SUMA, ClaimRequest.CLAIM_REQ_SEQ, ClaimRequest.OPERATION_DATE, ClaimRequest.ATTRC1, ClaimRequest.ATTRC2, ClaimRequest.ATTRC3, ClaimRequest.ATTRC4, ClaimRequest.ATTRC5, ClaimRequest.ATTRN1, ClaimRequest.ATTRN2, ClaimRequest.ATTRN3, ClaimRequest.ATTRN4, ClaimRequest.ATTRN5, ClaimRequest.ATTRN6, ClaimRequest.ATTRN7, ClaimRequest.ATTRN8, ClaimRequest.ATTRN9, ClaimRequest.ATTRN10, ClaimRequest.ATTRD1, ClaimRequest.ATTRD2, ClaimRequest.ATTRD3, ClaimRequest.ATTRD4, ClaimRequest.ATTRD5, ClaimRequest.UPDATED_BY, ClaimRequest.UPDATED_ON FROM claim_request ClaimRequest, claim Claim, hs_claim_type HsClaimType, h_claimant_benef ClwfClaimClaimant, hs_claim_state HsClaimState, hs_claim_state_aux HsClaimStateAux, claim_request_names ClaimRequestNames WHERE ClaimRequest.claim_id = Claim.claim_id AND ClaimRequest.CLAIM_TYPE = HsClaimType.ID(+) AND ClaimRequest.CLAIMANT_TYPE = ClwfClaimClaimant.ID(+) AND ClaimRequest.CLAIM_STATE = HsClaimState.ID AND ClaimRequest.CLAIM_STATE_AUX = HsClaimStateAux.ID AND ClaimRequest.CLAIM_ID = ClaimRequestNames.claim_id AND ClaimRequest.REQUEST_ID = ClaimRequestNames.request_id AND (:bind_claim_id IS NULL OR Cl aimRequest.claim_id = :bind_claim_id) AND (:bind_request_id IS NULL OR ClaimRequest.request_id LIKE :bind_request_id) AND (:bind_policy_id is null or Claim.POLICY_ID like :bind_policy_id)) QRSLT ORDER BY request_id desc
7kz2vfa0gkk0ySELECT P_COVER_TYPE ( INSURED_OBJ_ID, COVER_TYPE, INSR_TYPE, CLAIM_OBJECT_TYPE, POLICY_ID, ANNEX_ID, INSURED_VALUE, CURRENCY, CURRENCY_RATE, TARIFF_PERCENT, PREMIUM, ADD_PREMIUM, OBJECT_NUM, FULL_PREMIUM, DISCOUNT, NET_PREMIUM, INSR_BEGIN, INSR_END, RISK_STATE, DURATION, DUR_DIMENSION, REGISTRATION_DATE, MANUAL_PREM_DIMENSION, AUX_ANNEX_ID, COVER_ORDER, USERNAME, DATE_COVERED, ANNUAL_PREMIUM, ANNIVERSARY, RI_AMOUNT_SUBJECT, RATE_FULL_PREMIUM, RATE_ANNUAL_PREMIUM, PACKAGE_ID, IV_TYPE, RISK_CLASS, GRC_SRV1, GRC_SRV2, GRC_SRV3, LOCATION_VALUE, LOCVAL_DIMENSION, SELECTED_COVER, DESIGNATION, WAIVER, COVER_PAYMENT_SOURCE, GRC_ID, GRC_ORG_ID, GRC_REF_ID, SLICE_TYPE, COVER_LOB, UPDATED_BY, UPDATED_ON, GROUP_ID, SUBGROUP_ID, COVER_DESCRIPTION, TARIFF_RULE, ATTRC1, ATTRC2, ATTRC3, ATTRC4, ATTRC5, ATTRC6, ATTRC7, ATTRC8, ATTRC9, ATTRC10, ATTRN1, ATTRN2, ATTRN3, ATTRN4, ATTRN5, ATTRN6, ATTRN7, ATTRN8, ATTRN9, ATTRN10, ATTRD1, ATTRD2, ATTRD3, ATTRD4, ATTRD5 ) FROM GEN_RISK_COVERED WHERE POLICY_ID = :B6 AND ANNEX_ID = NVL( :B5 , ANNEX_ID ) AND INSURED_OBJ_ID = NVL( :B4 , INSURED_OBJ_ID ) AND COVER_TYPE = NVL( :B3 , COVER_TYPE ) AND GRC_ID = NVL( :B2 , GRC_ID ) AND NVL( :B1 , INSR_BEGIN ) BETWEEN INSR_BEGIN AND GREATEST(TRUNC( INSR_END ), INSR_BEGIN )
82akdnpv49zq9SELECT ClaimObjects.ANNEX_ID, ClaimObjects.ATTR1, ClaimObjects.ATTR2, ClaimObjects.ATTR3, ClaimObjects.ATTR4, ClaimObjects.ATTR5, ClaimObjects.CLAIM_ID, ClaimObjects.CLAIM_OBJ_SEQ, ClaimObjects.CLAIM_STATE, ClaimObjects.CLAIM_STATE_AUX, ClaimObjects.COVER_TYPE, ClaimObjects.EX_GRATIA, ClaimObjects.FIND_DATE, ClaimObjects.INITIAL_CSC_AMNT, ClaimObjects.INITIAL_CSC_CURRENCY, ClaimObjects.INITIAL_CSC_DIM, ClaimObjects.INITIAL_RESERV_AMNT, ClaimObjects.INITIAL_RESERV_CURRENCY, ClaimObjects.INJURED_GUILTY_TYPE, ClaimObjects.INJURED_OBJECT_ID, ClaimObjects.INJURED_OBJECT_TYPE, ClaimObjects.INJURY_CAUSED_BY, ClaimObjects.INSR_TYPE, ClaimObjects.INSURED_OBJ_ ID, ClaimObjects.ITEM_DESCRIPTION, ClaimObjects.ITEM_PURCHASE_DATE, ClaimObjects.ITEM_TYPE, ClaimObjects.LIABILITY, ClaimObjects.LOSS_TYPE, ClaimObjects.MAN_ID, ClaimObjects.OBJECT_ID, ClaimObjects.OBJECT_TYPE, ClaimObjects.PLACE_ID, ClaimObjects.POLICY_ID, ClaimObjects.REGISTRATION_DATE, ClaimObjects.REQUEST_ID, ClaimObjects.RESOLVE_TYPE, ClaimObjects.RISK_TYPE, ClaimObjects.SKIP_CALCULATION, ClaimObjects.SKIP_EVALUATION, ClaimObjects.SUPPL_OBJECT_ID, ClaimObjects.SYSTEM_NOTES, ClaimObjects.USERNAME, (SELECT ClaimObjectsNames.injured_object_name FROM claim_objects_names ClaimObjectsNames WHERE ClaimObjects.claim_obj_seq = ClaimObjectsNames.claim_obj_seq) AS INJURED_OBJECT_DESCR, (SELECT HClaimLocationView.NAME FROM h_claim_location_view HClaimLocationView WHERE ClaimObjects.place_id = HClaimLocation View.id) AS LOCATION_DESC, (SELECT HsClaimState.NAME FROM hs_claim_state HsClaimState WHERE ClaimObjects.CLAIM_STATE = HsClaimState.ID) AS CLAIM_STATE_DESCR, (SELECT HsClaimStateAux.NAME FROM hs_claim_state_aux HsClaimStateAux WHERE ClaimObjects.CLAIM_STATE_AUX = HsClaimStateAux.ID) AS CLAIM_STATE_AUX_DESCR, (SELECT HEventList.name FROM h_event_list HEventList WHERE HEventList.id = ClaimObjects.injury_caused_by) AS EVENT_NAME, ClaimObjectsNames.INSURED_OBJ_ID_TYPE, ClaimObjectsNames.CLAIM_OBJ_SEQ AS CLAIM_OBJ_SEQ1, ClaimObjects.ATTRC1, ClaimObjects.ATTRC2, ClaimObjects.ATTRC3, ClaimObjects.ATTRC4, ClaimObjects.ATTRC5, ClaimObjects.ATTRD1, ClaimObjects.ATTRD2, ClaimObjects.ATTRD3, ClaimObjects.ATTRD4, ClaimObjects.ATTRD5, ClaimObjects.ATTRN1, ClaimObjects.ATTRN2, ClaimObjects.ATTRN3, ClaimObjects.ATTRN4, Cla imObjects.ATTRN6, ClaimObjects.ATTRN7, ClaimObjects.ATTRN8, ClaimObjects.ATTRN9, ClaimObjects.ATTRN10, ClaimObjects.GRC_ID, ClaimObjects.DESIGNATION, ClaimObjects.WAIVER, ClaimObjects.LOB, ClaimObjects.DEATH, ClaimObjects.INV_OPER_STATE, ClaimObjects.PARENT_INSR_TYPE, ClaimObjects.RISK_GROUP, ClaimObjects.COVER_DSCR FROM CLAIM_OBJECTS ClaimObjects, CLAIM_OBJECTS_NAMES ClaimObjectsNames WHERE (ClaimObjects.CLAIM_OBJ_SEQ = ClaimObjectsNames.CLAIM_OBJ_SEQ(+)) AND ( ( (ClaimObjects.CLAIM_ID = :bind_claim_id ) AND ( ( ClaimObjects.CLAIM_OBJ_SEQ = :bind_claim_obj_seq ) OR ( :bind_claim_obj_seq IS NULL ) ) AND (ClaimObjects.REQUEST_ID = :bind_request_id ) ) )
8ccsdnu3qqyrrSELECT MenuEntryUserView.MENU_ENTRY, MenuEntryUserView.USERNAME, MenuEntryUserView.ORDER_NO, MenuEntryUserView.NAME, WebMenuView.action, WebMenuView.focus_view_id, (SELECT service_menu_process.gMenuEntry_tfId(MenuEntryUserView.MENU_ENTRY) FROM dual) AS content_source_id , (SELECT component_type FROM h_web_content_source WHERE id = service_menu_process.gMenuEntry_tfId(MenuEntryUserView.MENU_ENTRY) ) AS component_type FROM MENU_ENTRY_USER_VIEW MenuEntryUserView, WEB_MENU_VIEW WebMenuView WHERE UPPER(MenuEntryUserView.USERNAME) = UPPER(:bind_user_name) AND WebMenuView.menu_entry (+) = MenuEntryUserView.menu_entry ORDER BY ORDER_NO
8pjwnhc1c62pzBEGIN :1 := insis_sys_v10.aq_utils.send_ping(:2 ); END;
9c7qbm1svt7dySELECT NVL(GREATEST (SUM (pppf.amount), 0), 0) FROM blc_policy_payment_plan_fract pppf WHERE pppf.policy_pplan_id IN ( SELECT ppp.policy_pplan_id FROM blc_policy_payment_plan ppp INNER JOIN blc_policy_payment_plan ppp_paid ON ppp.policy_pplan_id = ppp_paid.pplan_link_id WHERE ppp.policy_id = :policy_id AND ppp_paid.amnt_type = 'PAID' AND TRUNC(ppp.due_date) >= (SELECT TRUNC(MAX(ga.insr_begin)) FROM gen_annex ga WHERE ga.policy_id = :policy_id AND annex_type = 17 AND annex_state NOT IN (-30, 0, 11, 12, 30, 38, 99)) AND (select object_state from insured_object where insured_obj_id = :INSURED_OBJ_ID) IN (0, 11, 12) ) AND pppf.cover_type = :cover_type AND pppf.gl_fract = :fract_type
9hfut3qvrzcacSELECT * FROM TABLE(RBI_NOM_COMMON.GETCOVERS( :B1 , :B2 , :B3 , :B4 ))
9pmfvsnkhxt4aBEGIN SRV_BILLING_BO.BLC_Item_Paid_Status( :pi_Context, :po_RetPrm, :po_Err ); END;
9uwqyhhd8mrp6SELECT * FROM (SELECT ClaimObjects.CLAIM_OBJ_SEQ, ClaimObjects.CLAIM_ID, ClaimObjects.REQUEST_ID, ClaimObjects.POLICY_ID, ClaimObjects.INSR_TYPE, ClaimObjects.COVER_TYPE, ClaimObjects.ANNEX_ID, ClaimObjects.RISK_TYPE, ClaimObjects.OBJECT_ID, ClaimObjects.OBJECT_TYPE, ClaimObjects.LOSS_TYPE, ClaimObjects.INJURED_GUILTY_TYPE, ClaimObjects.INJURED_OBJECT_TYPE, ClaimObjects.INJURED_OBJECT_ID, ClaimObjects.CLAIM_STATE, ClaimObjects.INITIAL_RESERV_AMNT, ClaimObjects.INITIAL_RESERV_CURRENCY, --ClaimObjects.REFERENCE_ID, ClaimObjects.MAN_ID, ClaimObjects.FIND_DATE, ClaimObjects.REGISTRATION_DATE, ClaimObjects.USERNAME, Clai mObjects.CLAIM_STATE_AUX, HsObjectType.ID AS ID1, HsObjectType.NAME AS OBJECT_TYPE_DESCR, ClaimObjectsNames.injured_object_name AS INJURED_OBJECT_DESCR, ClaimObjectsNames.object_name AS INSURED_DESCR, (SELECT InjuredObjType.object_type_description FROM claim_injured_object_type_view InjuredObjType WHERE ClaimObjects.injured_object_type = InjuredObjType.object_type AND ROWNUM = 1) AS INJURED_OBJECT_TYPE_DESCR, HsClaimState.NAME AS CLAIM_STATE_DESCR, HsClaimState.ID AS ID3, HsClaimStateAux.NAME AS CLAIM_STATE_AUX_DESCR, HsClaimStateAux.ID AS ID2, ClaimObjects.initial_csc_amnt, ClaimObjects.initial_csc_currency, ClaimObjects.initial_csc_dim, ClaimObjects.item_description, ClaimObjects.item_purchase_date, ClaimObjects.item_type, ClaimObjects.place_id, ClaimObjects.resolve_type, ClaimObjects.suppl_object_id, ClaimObjects.system_notes, claim.event_type, claim.claim_id as claim_id1, ClaimObjects.attr1, ClaimObjects.attr2, ClaimObjects.attr3, ClaimObjects.attr4, ClaimObjects.attr5, (SELECT policy_no FROM policy WHERE policy_id = ClaimObjects.policy_id) AS policy_no, (SELECT waiver FROM gen_risk_covered WHERE policy_id = ClaimObjects.policy_id AND cover_type = ClaimObjects.cover_type AND rownum = 1) AS waiver, ClaimObjects.INSURED_OBJ_ID AS INSURED_ID, ClaimObjects.attrc1, ClaimObjects.attrc2, ClaimObjects.attrc3, ClaimObjects.attrc4, ClaimObjects.attrc5, ClaimObjects.attrd1, ClaimObjects.attrd2, ClaimObjects.attrd3, ClaimObjects.attrd4, ClaimObjects.attrd5, ClaimObjects.attrn1, ClaimObjects.attrn2, ClaimObjects.attrn3, ClaimObjects.attrn4, ClaimObjects.attrn6, ClaimObjects.attrn7, ClaimObjects.attrn8, ClaimObjects.attrn9, ClaimObjects.attrn10, ClaimObjects.injury_caused_by, ClaimObjects.GRC_ID, ClaimObjects.DESIGNATION, ClaimObjects.LOB, ClaimObjects.DEATH, ClaimObjects.INV_OPER_STATE, ClaimObjects.PARENT_INSR_TYPE, ClaimObjects.UPDATED_BY, ClaimObjects.UPDATED_ON, ClaimObjects.COVER_DSCR, ClaimObjects.RISK_GROUP, (SELECT DISTINCT risk_group_name FROM rb_cover_risk rb WHERE rb.cover_type = ClaimObjects.cover_type and rb.object_type = ClaimObjects.object_type and rb.risk_group = ClaimObjects.risk_group) as RISK_GROUP_NAME FROM CLAIM_OBJECTS ClaimObjects, HS_OBJECT_TYPE HsObjectType, HS_CLAIM_STATE HsClaimState, HS_CLAIM_STATE_AUX HsClaimStateAux, claim, CLAIM_OBJECTS_NAMES ClaimObjectsNam es WHERE ClaimObjects.INJURED_OBJECT_TYPE = HsObjectType.ID AND ClaimObjects.CLAIM_STATE = HsClaimState.ID AND ClaimObjects.CLAIM_STATE_AUX = HsClaimStateAux.ID AND claim.claim_id = ClaimObjects.claim_id AND ClaimObjects.claim_obj_seq = ClaimObjectsNames.claim_obj_seq AND NVL(:bind_insr_type, -1) = NVL(:bind_insr_type, -1)) QRSLT WHERE ( ( ( ( INSR_TYPE = :bind_insr_type ) OR ( :bind_insr_type IS NULL ) ) ) ) AND CLAIM_ID = :Bind_ClaimId AND REQUEST_ID = :Bind_RequestId
9vhmnmg5j5hhgSELECT EVENT_ID, FUNCTION_NAME, ORDER_NO, PROCESSING_COMPONENT, PROCESSING_MODE, TIMEOUT, DEST_APP FROM SRV_EVENT_FUNCTION WHERE EVENT_ID = :B1 AND PROCESSING_COMPONENT IS NOT NULL ORDER BY ORDER_NO ASC
aahq4qbx8633vSELECT WebMenuView.ENTRY_LEVEL, WebMenuView.MENU_ENTRY, WebMenuView.NAME, WebMenuView.ORDER_1, WebMenuView.ORDER_2, WebMenuView.ORDER_3, WebMenuView.ORDER_4, WebMenuView.ORDER_5, WebMenuView.ORDER_6, WebMenuView.ORDER_7, WebMenuView.PARENT_ID, WebMenuView.ACTION, WebMenuView.FOCUS_VIEW_ID, WebMenuView.CONTENT_SOURCE_ID, WebMenuView.COMPONENT_TYPE FROM WEB_MENU_VIEW WebMenuView CONNECT BY PRIOR MENU_ENTRY = PARENT_ID START WITH ENTRY_LEVEL = 1 ORDER BY ORDER_1, ORDER_2, ORDER_3, ORDER_4, ORDER_5, ORDER_6, ORDER_7
ad8r3431t8v01BEGIN srv_policy_bo.Insert_Insured_Object( :pi_Context, :po_RetPrm, :po_Err ); END;
admh1skuwtbnkselect processins0_.InstanceId as InstanceId1_29_0_, processins0_.lastModificationDate as lastModificationDa2_29_0_, processins0_.lastReadDate as lastReadDate3_29_0_, processins0_.processId as processId4_29_0_, processins0_.processInstanceByteArray as processInstanceByt5_29_0_, processins0_.startDate as startDate6_29_0_, processins0_.state as state7_29_0_, processins0_.OPTLOCK as OPTLOCK8_29_0_ from ProcessInstanceInfo processins0_ where processins0_.InstanceId=:1
ag2u4uhg6kkn1SELECT q.id, q.quest_id, q.quest_answer, q.quest_order, q.man_id, h.name AS quest_name, quest_common.Get_Answer_Descr( q.id ) AS quest_answer_descr, DECODE( cq.mandatory, 'Y', '*', NULL ) AS is_mand FROM quest_questions q, cfg_quest_questions cq, h_quest_questions h WHERE h.id = q.quest_id AND cq.id = q.quest_id and q.man_id = :bind_man_id
atwuyuvqkf27wSELECT /*+ OPT_PARAM('_fix_control' '16391176:1') */ GROUP_TYPE, BUCKET_START, BUCKET_END, TM_GROUP_TYPE, TM_BUCKET_START, TM_BUCKET_END, SUM(TM_CPU_FIRST_BUCKET_VALUE) TM_CPU_FIRST_BUCKET_VALUE, SUM(TM_CPU_MIDDLE_BUCKETS_VALUE) TM_CPU_MIDDLE_BUCKETS_VALUE, SUM(TM_CPU_LAST_BUCKET_VALUE) TM_CPU_LAST_BUCKET_VALUE, SUM(TM_DB_FIRST_BUCKET_VALUE) TM_DB_FIRST_BUCKET_VALUE, SUM(TM_DB_MIDDLE_BUCKETS_VALUE) TM_DB_MIDDLE_BUCKETS_VALUE, SUM(TM_DB_LAST_BUCKET_VALUE) TM_DB_LAST_BUCKET_VALUE, SUM(RREQS_FIRST_BUCKET_VALUE) RREQS_FIRST_BUCKET_VALUE, SUM(RREQS_MIDDLE_BUCKETS_VALUE) RREQS_MIDDLE_BUCKETS_VALUE, SUM(RREQS_LAST_BUCKET_VALUE) RREQS_LAST_BUCKET_VALUE, SUM(WREQS_FIRST_BUCKET_VALUE) WREQS_FIRST_BUCKET_VALUE, SUM(WREQS_MIDDLE_BUCKETS_VALUE) WREQS_MIDDLE_BUCKETS_VALUE, SUM(WREQS_LAST_BUCKET_VALUE) WREQS_LAST_BUCKET_VALUE, SUM(RBYTES_FIRST_BUCKET _VALUE) RBYTES_FIRST_BUCKET_VALUE, SUM(RBYTES_MIDDLE_BUCKETS_VALUE) RBYTES_MIDDLE_BUCKETS_VALUE, SUM(RBYTES_LAST_BUCKET_VALUE) RBYTES_LAST_BUCKET_VALUE, SUM(WBYTES_FIRST_BUCKET_VALUE) WBYTES_FIRST_BUCKET_VALUE, SUM(WBYTES_MIDDLE_BUCKETS_VALUE) WBYTES_MIDDLE_BUCKETS_VALUE, SUM(WBYTES_LAST_BUCKET_VALUE) WBYTES_LAST_BUCKET_VALUE, SUM(IBYTES_FIRST_BUCKET_VALUE) IBYTES_FIRST_BUCKET_VALUE, SUM(IBYTES_MIDDLE_BUCKETS_VALUE) IBYTES_MIDDLE_BUCKETS_VALUE, SUM(IBYTES_LAST_BUCKET_VALUE) IBYTES_LAST_BUCKET_VALUE, SUM(CRBYTES_FIRST_BUCKET_VALUE) CRBYTES_FIRST_BUCKET_VALUE, SUM(CRBYTES_MIDDLE_BUCKETS_VALUE) CRBYTES_MIDDLE_BUCKETS_VALUE, SUM(CRBYTES_LAST_BUCKET_VALUE) CRBYTES_LAST_BUCKET_VALUE, SUM(PGA_ALLOC_FIRST_BUCKET_VALUE) PGA_ALLOC_FIRST_BUCKET_VALUE, SUM(PGA_ALLOC_MIDDLE_BUCKETS_VALUE) PGA_ALLOC_MIDDLE_BUCKETS_VALUE, SUM(PGA_ALLOC_LAST_BUCKET_VALUE) PGA_ALLOC_LAST_BUCKET_VALUE, SUM(TMP_ALLOC_FIRST_BUCKET_VALUE) TMP_ALLOC_FIRST_BUCKET_VALUE, SUM(TMP_ALLOC_MIDDLE_BUCKETS_VALUE) TMP _ALLOC_MIDDLE_BUCKETS_VALUE, SUM(TMP_ALLOC_LAST_BUCKET_VALUE) TMP_ALLOC_LAST_BUCKET_VALUE FROM ( SELECT GROUP_TYPE, BUCKET_START, TM_BUCKET_START, TM_BUCKET_END, BUCKET_END, TM_GROUP_TYPE, SUM(GVTF.TM_CPU_FIRST_BUCKET_VALUE) TM_CPU_FIRST_BUCKET_VALUE, SUM(GVTF.TM_CPU_MIDDLE_BUCKETS_VALUE) TM_CPU_MIDDLE_BUCKETS_VALUE, SUM(GVTF.TM_CPU_LAST_BUCKET_VALUE) TM_CPU_LAST_BUCKET_VALUE, SUM(GVTF.TM_DB_FIRST_BUCKET_VALUE) TM_DB_FIRST_BUCKET_VALUE, SUM(GVTF.TM_DB_MIDDLE_BUCKETS_VALUE) TM_DB_MIDDLE_BUCKETS_VALUE, SUM(GVTF.TM_DB_LAST_BUCKET_VALUE) TM_DB_LAST_BUCKET_VALUE, SUM(GVTF.RREQS_FIRST_BUCKET_VALUE) RREQS_FIRST_BUCKET_VALUE, SUM(GVTF.RREQS_MIDDLE_BUCKETS_VALUE) RREQS_MIDDLE_BUCKETS_VALUE, SUM(GVTF.RREQS_LAST_BUCKET_VALUE) RREQS_LAST_BUCKET_VALUE, SUM(GVTF.WREQS_FIRST_BUCKET_VALUE) WREQS_FIRST_BUCKET_VALUE, SUM(GVTF.WREQS_MIDDLE_BUCKETS_VALUE) WREQS_MIDDLE_BUCKETS_VALUE, SUM(GVTF.WREQS_LAST_BUCKET_VALUE) WREQS_LAST_BUCKET_VALUE, SUM(GVTF.RBYTES_FIRST_BUCKET_VALUE) RBYTES_FIR ST_BUCKET_VALUE, SUM(GVTF.RBYTES_MIDDLE_BUCKETS_VALUE) RBYTES_MIDDLE_BUCKETS_VALUE, SUM(GVTF.RBYTES_LAST_BUCKET_VALUE) RBYTES_LAST_BUCKET_VALUE, SUM(GVTF.WBYTES_FIRST_BUCKET_VALUE) WBYTES_FIRST_BUCKET_VALUE, SUM(GVTF.WBYTES_MIDDLE_BUCKETS_VALUE) WBYTES_MIDDLE_BUCKETS_VALUE, SUM(GVTF.WBYTES_LAST_BUCKET_VALUE) WBYTES_LAST_BUCKET_VALUE, SUM(GVTF.IBYTES_FIRST_BUCKET_VALUE) IBYTES_FIRST_BUCKET_VALUE, SUM(GVTF.IBYTES_MIDDLE_BUCKETS_VALUE) IBYTES_MIDDLE_BUCKETS_VALUE, SUM(GVTF.IBYTES_LAST_BUCKET_VALUE) IBYTES_LAST_BUCKET_VALUE, SUM(GVTF.CRBYTES_FIRST_BUCKET_VALUE) CRBYTES_FIRST_BUCKET_VALUE, SUM(GVTF.CRBYTES_MIDDLE_BUCKETS_VALUE) CRBYTES_MIDDLE_BUCKETS_VALUE, SUM(GVTF.CRBYTES_LAST_BUCKET_VALUE) CRBYTES_LAST_BUCKET_VALUE, SUM(GVTF.PGA_ALLOC_FIRST_BUCKET_VALUE) PGA_ALLOC_FIRST_BUCKET_VALUE, SUM(GVTF.PGA_ALLOC_MIDDLE_BUCKETS_VALUE) PGA_ALLOC_MIDDLE_BUCKETS_VALUE, SUM(GVTF.PGA_ALLOC_LAST_BUCKET_VALUE) PGA_ALLOC_LAST_BUCKET_VALUE, SUM(GVTF.TMP_ALLOC_FIRST_BUCKET_VALUE) TMP_ALLOC_FIR ST_BUCKET_VALUE, SUM(GVTF.TMP_ALLOC_MIDDLE_BUCKETS_VALUE) TMP_ALLOC_MIDDLE_BUCKETS_VALUE, SUM(GVTF.TMP_ALLOC_LAST_BUCKET_VALUE) TMP_ALLOC_LAST_BUCKET_VALUE FROM TABLE(SYS.GV$(CURSOR( SELECT INST_ID, GROUP_TYPE, BUCKET_START, TM_BUCKET_START, TM_BUCKET_END, BUCKET_END, TM_GROUP_TYPE, SUM(TM_DELTA_CPU_TIME * TM_FIRST_BUCKET_RATIO) TM_CPU_FIRST_BUCKET_VALUE, SUM(TM_DELTA_CPU_TIME * TM_MIDDLE_BUCKETS_RATIO) TM_CPU_MIDDLE_BUCKETS_VALUE, SUM(TM_DELTA_CPU_TIME * TM_LAST_BUCKET_RATIO) TM_CPU_LAST_BUCKET_VALUE, SUM(TM_DELTA_DB_TIME * TM_FIRST_BUCKET_RATIO) TM_DB_FIRST_BUCKET_VALUE, SUM(TM_DELTA_DB_TIME * TM_MIDDLE_BUCKETS_RATIO) TM_DB_MIDDLE_BUCKETS_VALUE, SUM(TM_DELTA_DB_TIME * TM_LAST_BUCKET_RATIO) TM_DB_LAST_BUCKET_VALUE, SUM(DELTA_READ_REQUESTS * FIRST_BUCKET_RATIO) RREQS_FIRST_BUCKET_VALUE, SUM(DELTA_READ_REQUESTS * MIDDLE_BUCKETS_RATIO) RREQS_MIDDLE_BUCKETS_VALUE, SUM(DELTA_READ_REQUESTS * LAST_BUCKET_RATIO) RREQS_LAST_BUCKET_VALUE, SUM(DELTA_WRITE_REQUESTS * FIRST_BUCKE T_RATIO) WREQS_FIRST_BUCKET_VALUE, SUM(DELTA_WRITE_REQUESTS * MIDDLE_BUCKETS_RATIO) WREQS_MIDDLE_BUCKETS_VALUE, SUM(DELTA_WRITE_REQUESTS * LAST_BUCKET_RATIO) WREQS_LAST_BUCKET_VALUE, SUM(DELTA_READ_BYTES * FIRST_BUCKET_RATIO) RBYTES_FIRST_BUCKET_VALUE, SUM(DELTA_READ_BYTES * MIDDLE_BUCKETS_RATIO) RBYTES_MIDDLE_BUCKETS_VALUE, SUM(DELTA_READ_BYTES * LAST_BUCKET_RATIO) RBYTES_LAST_BUCKET_VALUE, SUM(DELTA_WRITE_BYTES * FIRST_BUCKET_RATIO) WBYTES_FIRST_BUCKET_VALUE, SUM(DELTA_WRITE_BYTES * MIDDLE_BUCKETS_RATIO) WBYTES_MIDDLE_BUCKETS_VALUE, SUM(DELTA_WRITE_BYTES * LAST_BUCKET_RATIO) WBYTES_LAST_BUCKET_VALUE, SUM(DELTA_INTERCONNECT_BYTES * FIRST_BUCKET_RATIO) IBYTES_FIRST_BUCKET_VALUE, SUM(DELTA_INTERCONNECT_BYTES * MIDDLE_BUCKETS_RATIO) IBYTES_MIDDLE_BUCKETS_VALUE, SUM(DELTA_INTERCONNECT_BYTES * LAST_BUCKET_RATIO) IBYTES_LAST_BUCKET_VALUE, SUM(DELTA_READ_MEM_BYTES * FIRST_BUCKET_RATIO) CRBYTES_FIRST_BUCKET_VALUE, SUM(DELTA_READ_MEM_BYTES * MIDDLE_BUCKETS_RATIO) CRBYTES_MIDDLE_BU CKETS_VALUE, SUM(DELTA_READ_MEM_BYTES * LAST_BUCKET_RATIO) CRBYTES_LAST_BUCKET_VALUE, SUM(PGA_ALLOCATED * LENGTH_SEG * FIRST_BUCKET_RATIO) PGA_ALLOC_FIRST_BUCKET_VALUE, SUM(PGA_ALLOCATED * LENGTH_SEG * MIDDLE_BUCKETS_RATIO) PGA_ALLOC_MIDDLE_BUCKETS_VALUE, SUM(PGA_ALLOCATED * LENGTH_SEG * LAST_BUCKET_RATIO) PGA_ALLOC_LAST_BUCKET_VALUE, SUM(TEMP_SPACE_ALLOCATED * LENGTH_SEG * FIRST_BUCKET_RATIO) TMP_ALLOC_FIRST_BUCKET_VALUE, SUM(TEMP_SPACE_ALLOCATED * LENGTH_SEG * MIDDLE_BUCKETS_RATIO) TMP_ALLOC_MIDDLE_BUCKETS_VALUE, SUM(TEMP_SPACE_ALLOCATED * LENGTH_SEG * LAST_BUCKET_RATIO) TMP_ALLOC_LAST_BUCKET_VALUE FROM ( SELECT USERENV('INSTANCE') INST_ID, ROW_ID, SID, SAMPLE_TIME, CASE WHEN BUCKET_END IS NULL OR BUCKET_START IS NULL THEN NULL WHEN BUCKET_START = TM_BUCKET_START AND BUCKET_START = BUCKET_END THEN 'CO' WHEN BUCKET_START = TM_BUCKET_START THEN 'CM' WHEN BUCKET_START = BUCKET_END THEN 'SO' ELSE 'SM' END GROUP_TYPE, CASE WHEN TM_BUCKET_START IS NULL OR BUCKET_END IS NULL OR (TM_BUCKET_START = BUCKET_START) THEN NULL WHEN TM_BUCKET_START = BUCKET_END THEN 'O' ELSE 'M' END TM_GROUP_TYPE, START_SEG, BUCKET_START, BUCKET_START_OFFSET, TM_START_SEG, CASE WHEN TM_BUCKET_START IS NULL OR (TM_BUCKET_START = BUCKET_START) THEN NULL ELSE TM_BUCKET_START END TM_BUCKET_START, CASE WHEN TM_BUCKET_START IS NULL OR (TM_BUCKET_START = BUCKET_START) THEN NULL ELSE BUCKET_END END TM_BUCKET_END, TM_BUCKET_START_OFFSET, LENGTH_SEG, TM_LENGTH_SEG, END_SEG, BUCKET_END, BUCKET_END_OFFSET, CASE WHEN BUCKET_START != BUCKET_END THEN (:B9 - BUCKET_START_OFFSET) / LENGTH_SEG ELSE 1 END FIRST_BUCKET_RATIO, CASE WHEN BUCKET_END >= BUCKET_START + 2 THEN :B9 / LENGTH_SEG ELSE NULL END MIDDLE_BUCKETS_RATIO, CASE WHEN BUCKET_START != BUCKET_END THEN BUCKET_END_OFFSET / LENGTH_SEG ELSE NULL END LAST_BUCKET_RATIO, CASE WHEN TM_BUCKET_START != BUCKET_END THEN (:B9 - TM_BUCKET_START_OFFSET) / TM_LENGTH_SEG ELSE 1 END TM_FIRST_BUCKET_RATIO, CASE WHEN BUCKET_END >= TM_BUC KET_START + 2 THEN :B9 / TM_LENGTH_SEG ELSE NULL END TM_MIDDLE_BUCKETS_RATIO, CASE WHEN TM_BUCKET_START != BUCKET_END THEN BUCKET_END_OFFSET / TM_LENGTH_SEG ELSE NULL END TM_LAST_BUCKET_RATIO, TM_DELTA_CPU_TIME, TM_DELTA_DB_TIME, DELTA_READ_IO_REQUESTS DELTA_READ_REQUESTS, DELTA_WRITE_IO_REQUESTS DELTA_WRITE_REQUESTS, DELTA_READ_IO_BYTES DELTA_READ_BYTES, DELTA_WRITE_IO_BYTES DELTA_WRITE_BYTES, DELTA_INTERCONNECT_IO_BYTES DELTA_INTERCONNECT_BYTES, DELTA_READ_MEM_BYTES DELTA_READ_MEM_BYTES, PGA_ALLOCATED, TEMP_SPACE_ALLOCATED FROM (SELECT ROW_ID, SID, SAMPLE_TIME, START_SEG, TRUNC(START_SEG / :B9 ) BUCKET_START, MOD(START_SEG, :B9 ) BUCKET_START_OFFSET, TM_START_SEG, TRUNC(TM_START_SEG/:B9 ) TM_BUCKET_START, MOD(TM_START_SEG, :B9 ) TM_BUCKET_START_OFFSET, TRUNC(END_SEG/:B9 ) BUCKET_END, MOD(END_SEG, :B9 ) BUCKET_END_OFFSET, END_SEG, LENGTH_SEG, TM_LENGTH_SEG, TM_DELTA_CPU_TIME, TM_DELTA_DB_TIME, DELTA_READ_IO_REQUESTS, DELTA_WRITE_IO_REQUESTS, DELTA_READ_ IO_BYTES, DELTA_WRITE_IO_BYTES, DELTA_INTERCONNECT_IO_BYTES, DELTA_READ_MEM_BYTES, PGA_ALLOCATED, TEMP_SPACE_ALLOCATED FROM (SELECT ROW_ID, SID, SAMPLE_TIME, TIME_INTERVAL, CASE WHEN START_SEG < 0 THEN 0 ELSE START_SEG END START_SEG, CASE WHEN TM_START_SEG < 0 THEN 0 ELSE TM_START_SEG END TM_START_SEG, CASE WHEN END_SEG > TIME_INTERVAL THEN TIME_INTERVAL ELSE END_SEG END END_SEG, (LENGTH_SEG - (CASE WHEN START_SEG < 0 THEN -START_SEG ELSE 0 END + CASE WHEN END_SEG > TIME_INTERVAL THEN END_SEG - TIME_INTERVAL ELSE 0 END)) LENGTH_SEG, (TM_LENGTH_SEG - (CASE WHEN TM_START_SEG < 0 THEN -TM_START_SEG ELSE 0 END + CASE WHEN END_SEG > TIME_INTERVAL THEN END_SEG - TIME_INTERVAL ELSE 0 END)) TM_LENGTH_SEG, TM_DELTA_CPU_TIME, TM_DELTA_DB_TIME, DELTA_READ_IO_REQUESTS, DELTA_WRITE_IO_REQUESTS, DELTA_READ_IO_BYTES, DELTA_WRITE_IO_BYTES, DELTA_INTERCONNECT_IO_BYTES, DELTA_READ_MEM_BYTES, PGA_ALLOCATED, TEMP_SPACE_ALLOCATED FROM (SELECT ROW_ID, SID, SAMPL E_TIME, TIME_INTERVAL, LENGTH_SEG, TM_LENGTH_SEG, END_SEG - TM_LENGTH_SEG TM_START_SEG, END_SEG - LENGTH_SEG START_SEG, END_SEG, TM_DELTA_CPU_TIME, TM_DELTA_DB_TIME, DELTA_READ_IO_REQUESTS, DELTA_WRITE_IO_REQUESTS, DELTA_READ_IO_BYTES, DELTA_WRITE_IO_BYTES, DELTA_INTERCONNECT_IO_BYTES, DELTA_READ_MEM_BYTES, PGA_ALLOCATED, TEMP_SPACE_ALLOCATED FROM (SELECT ROW_ID, SID, SAMPLE_TIME, EXTRACT(SECOND FROM REL_SAMPLE_TIME_INT) + EXTRACT(MINUTE FROM REL_SAMPLE_TIME_INT)*60 + EXTRACT(HOUR FROM REL_SAMPLE_TIME_INT)*3600 + EXTRACT(DAY FROM REL_SAMPLE_TIME_INT)*3600*24 END_SEG, TIME_INTERVAL, DELTA_TIME/1000000 LENGTH_SEG, TM_DELTA_TIME/1000000 TM_LENGTH_SEG, TM_DELTA_CPU_TIME, TM_DELTA_DB_TIME, DELTA_READ_IO_REQUESTS, DELTA_WRITE_IO_REQUESTS, DELTA_READ_IO_BYTES, DELTA_WRITE_IO_BYTES, DELTA_INTERCONNECT_IO_BYTES, DELTA_READ_MEM_BYTES, PGA_ALLOCATED, TEMP_SPACE_ALLOCATED FROM (SELECT ROWNUM ROW_ID, SESSION_ID SID, CAST(FROM_TZ(SAMPLE_TIME, DBTIMEZONE) AS DATE) S AMPLE_DATE, SAMPLE_TIME, (SAMPLE_TIME - CAST(:B8 AS TIMESTAMP)) REL_SAMPLE_TIME_INT, TRUNC((:B7 - :B8 ) * 3600 * 24) TIME_INTERVAL, :B8 AS BND_START_INTERVAL , :B7 AS BND_END_INTERVAL , TM_DELTA_TIME, TM_DELTA_CPU_TIME, TM_DELTA_DB_TIME, DELTA_TIME, DELTA_READ_IO_REQUESTS, DELTA_WRITE_IO_REQUESTS, DELTA_READ_IO_BYTES, DELTA_WRITE_IO_BYTES, DELTA_INTERCONNECT_IO_BYTES, DELTA_READ_MEM_BYTES, PGA_ALLOCATED, TEMP_SPACE_ALLOCATED FROM (SELECT ASH0.* FROM V$ACTIVE_SESSION_HISTORY ASH0 WHERE SAMPLE_TIME BETWEEN :B6 AND :B5 AND ( (SESSION_ID = :B2 AND SESSION_SERIAL# = :B1 AND USERENV('INSTANCE') = :B3 ) OR (:B4 = 'yes' AND QC_INSTANCE_ID = :B3 AND QC_SESSION_ID = :B2 AND QC_SESSION_SERIAL# = :B1 ))) ) ASH1 WHERE SAMPLE_DATE >= BND_START_INTERVAL AND SAMPLE_DATE <= BND_END_INTERVAL + 120/3600/24 ) ) WHERE START_SEG <= TIME_INTERVAL ) WHERE (LENGTH_SEG IS NOT NULL AND LENGTH_SEG > 0) OR (TM_LENGTH_SEG IS NOT NULL AND TM_LENGTH_SEG > 0)) ) GROUP BY INST_ID, GROUP _TYPE, BUCKET_START, BUCKET_END, TM_GROUP_TYPE, TM_BUCKET_START, TM_BUCKET_END))) GVTF WHERE INST_ID >= :B11 AND INST_ID <= :B10 GROUP BY GROUP_TYPE, BUCKET_START, BUCKET_END, TM_GROUP_TYPE, TM_BUCKET_START, TM_BUCKET_END ) GROUP BY GROUPING SETS ( (GROUP_TYPE, BUCKET_START, BUCKET_END), (TM_GROUP_TYPE, TM_BUCKET_START, TM_BUCKET_END) )
au634v7kfdy4fBEGIN IF 1=1 THEN :l_result := 'TRUE'; ELSE :l_result := 'FALSE'; END IF; END;
axjfrq5n4qd9vBEGIN srv_system.Get_Context( :pi_Context, :po_RetPrm, :po_Err ); END;
ay8q3jzbthvuhINSERT INTO IAU_COMMON COLUMNS ( IAU_ID, IAU_COMPONENTTYPE, IAU_MAJORVERSION, IAU_MINORVERSION, IAU_INSTANCEID, IAU_HOSTID, IAU_HOSTNWADDR, IAU_MODULEID, IAU_PROCESSID, IAU_ORACLEHOME, IAU_HOMEINSTANCE, IAU_ECID, IAU_RID, IAU_CONTEXTFIELDS, IAU_SESSIONID, IAU_TARGETCOMPONENTTYPE, IAU_APPLICATIONNAME, IAU_EVENTTYPE, IAU_EVENTCATEGORY, IAU_EVENTSTATUS, IAU_TSTZORIGINATING, IAU_THREADID, IAU_COMPONENTNAME, IAU_INITIATOR, IAU_MESSAGETEXT, IAU_FAILURECODE, IAU_REMOTEIP, IAU_TARGET, IAU_RESOURCE, IAU_ROLES, IAU_DOMAINNAME, IAU_COMPONENTDATA, IAU_AUDITUSER, IAU_TENANTID, IAU_TRANSACTIONID, IAU_USERTENANTID, IAU_SERVERNAME ) VALUES ( :1 , :2 , :3 , :4 , :5 , :6 , :7 , :8 , :9 , :10 , :11 , :12 , :13 , :14 , :15 , :16 , :17 , :18 , :19 , :20 , :21 , :22 , :23 , :24 , :25 , :26 , :27 , :28 , :29 , :30 , :31 , :32 , :33 , :34 , :35 , :36 , :37 )
b0bf7ct0tbb5minsert into insis_cust.audit_log( al_log_id, al_fa_name, al_log_date, al_result) VALUES ( insis_cust.audit_log_pk_seq.nextval, 'insis_audit_trail', TO_TIMESTAMP('2023-09-15 14:39:43', 'YYYY-MM-DD HH24:MI:SS'), 'log file created')
b89tb01phnr7sWITH C_MASTER AS (SELECT B.PRODUCT_LINK_ID AS PRODUCT_LINK_ID, LEVEL AS LVL FROM CFG_NL_PRODUCT B WHERE EXISTS ( SELECT 1 FROM CFG_NL_PRODUCT WHERE PRODUCT_CODE=:B1 AND STATUS IN ( :B6 , :B5 ) ) OR :B4 IN ( :B3 , :B2 ) START WITH B.PRODUCT_CODE = :B1 CONNECT BY PRIOR B.PARENT_PRODUCT_LINK_ID = B.PRODUCT_LINK_ID ORDER BY LEVEL ASC) , TB AS ( SELECT CFGOBJ.OBJECT_LINK_ID, CFGOBJ.PRODUCT_LINK_ID, CFGOBJ.OBJECT_TYPE_CPR_ID, CFGOBJ.VALID_FROM, CFGOBJ.VALID_TO, CFGOBJ.VERSION_IN, CFGOBJ.VERSION_OUT, CFGOBJ.OBJECT_NUM_FLG, CFGOBJ.MANDATORY, CFGOBJ.RECOMMENDED, M.LVL FROM C_MASTER M, CFG_NL_OBJECTS CFGOBJ, CPR_OBJECTS CPROBJ WHERE CFGOBJ.PRODUCT_LINK_ID = M.PRODUCT_LINK_ID AND CFGOBJ.OBJECT_TYPE_CPR_ID = CPROBJ.OBJECT_TYPE_CPR_ID AND CPROBJ.OBJECT_TYPE = NVL ( :B8 , CPROBJ.OBJECT_TYPE ) AND ( (NOT EXISTS (SELECT 1 FROM CFG_NL_OBJECT_LAYERS L WHERE L.CFG_ID = CFGOBJ.OBJECT_LINK_ID AND ROWNUM = 1) OR EXISTS (SELECT 1 FROM CFG_NL_OBJECT_LAYERS L WHERE L.CFG_ID = CFGOBJ.OBJECT_LINK_ID AND INSTR(:B7 , TO_CHAR(L.LAYER_ID)) > 0 AND L.ALLOWED = :B9 AND ROWNUM = 1)) OR :B7 IS NULL ) AND ( EXISTS (SELECT 1 FROM TABLE( :B10 ) PROD_VER WHERE PROD_VER.VERSION = CFGOBJ.VERSION_IN AND CFGOBJ.PRODUCT_LINK_ID = PROD_VER.PRODUCT_LINK_ID ) OR :B4 IN ( :B3 , :B2 )) ) SELECT A.OBJECT_LINK_ID, A.PRODUCT_LINK_ID, A.OBJECT_TYPE_CPR_ID, A.VALID_FROM, A.VALID_TO, A.VERSION_IN, A.VERSION_OUT, A.OBJECT_NUM_FLG, A.MANDATORY, A.RECOMMENDED FROM TB A WHERE (( :B4 IN (:B3 , :B11 ) AND NOT EXISTS (SELECT 1 FROM TB B WHERE B.OBJECT_LINK_ID <> A.OBJECT_LINK_ID AND B.PRODUCT_LINK_ID <> A.PRODUCT_LINK_ID AND B.OBJECT_TYPE_CPR_ID = A.OBJECT_TYPE_CPR_ID AND B.LVL < A.LVL) ) OR :B4 IN ( :B9 , :B2 ))
bf1xvxfuhwccuSELECT ClaimObjectsIndemnity.CONVERT_DATE, ClaimObjectsIndemnity.CALCULATE_DATE, ClaimObjectsIndemnity.INDEM_TYPE, HsIndemnityType.NAME AS INDEM_TYPE_NAME, ClaimObjectsIndemnity.CALC_SUM, ClaimObjectsIndemnity.CURRENCY, ClaimObjectsIndemnity.PAY_SUM, ClaimObjectsIndemnity.CORRECT_REASON, ClaimObjectsIndemnity.INSPECT_NUM, ClaimObjectsIndemnity.OVER_LIMIT, ClaimObjectsIndemnity.REGISTRATION_DATE, ClaimObjectsIndemnity.USERNAME, ClaimObjectsIndemnity.CORRECT_PERC, ClaimObjectsIndemnity.CLAIM_INDEM_SEQ, ClaimObjectsIndemnity.CLAIM_OBJ_SEQ, ClaimObjectsIndemnity.CLAIM_ID, ClaimObjectsIndemnity.REQUEST_ID, ClaimObjectsIndemnity.POLICY_ID, ClaimObjectsIndemnity.INSR_TYPE, ClaimObjectsIndemnity.COVER_TYPE, ClaimObjectsIndemnity.ANNEX_ID, ClaimObjectsIndemnity.RISK_TYPE, HsIndemnityType.ID AS H_INDEM_TYPE, clm_process.GetCoverIVSlice(ClaimObjectsIndemnity.POLICY_ID, ClaimObjectsIndemnity.INSURED_OBJ_ID, ClaimObjectsIndemnity.COVER_TYPE, Claim.EVENT_DATE) AS INSURED_VALUE, ( SELECT grc.currency FROM TABLE(srv_policy_data.T_COVER_TABLE) grc, TABLE(srv_policy_data.T_ANNEX_TABLE) ga WHERE ga.policy_id(+) = grc.policy_id AND ga.annex_id(+) = grc.annex_id AND ( grc.annex_id = 0 OR ( grc.annex_id <> 0 AND ga.annex_state >= 0 )) AND grc.insured_obj _id = ClaimObjects.insured_obj_id AND grc.cover_type = ClaimObjects.cover_type AND rownum = 1 ) AS INSURED_VALUE_CURRENCY, ClaimObjects.OBJECT_ID, ClaimObjectsIndemnity.CONVERT_DATE_TYPE, ClaimObjectsIndemnity.INSURED_OBJ_ID AS INSURED_ID, ClaimObjectsIndemnity.attr1, ClaimObjectsIndemnity.attr2, ClaimObjectsIndemnity.attr3, ClaimObjectsIndemnity.attr4, ClaimObjectsIndemnity.attr5, ClaimObjectsIndemnity.UPDATED_BY, ClaimObjectsIndemnity.UPDATED_ON, Claim.EVENT_DATE FROM CLAIM_OBJECTS_INDEMNITY ClaimObjectsIndemnity, HS_INDEMNITY_TYPE HsIndemnityType, CLAIM_OBJECTS ClaimObjects, CLAIM Claim WHERE (ClaimObjectsIndemnity.INDEM_TYPE = HsIndemnityType.ID(+)) AND ClaimObjects.claim_obj_seq = ClaimObjectsIndemnity.claim_obj_seq AND ClaimObjectsIndemnity.claim_id = :bind_claim_id AND ClaimObjectsIndemnity.request_id = :bind_request_id AND ClaimObjectsIndemnity.claim_obj_seq = :bind_claim_obj_seq AND ClaimObjectsIndemnity.claim_id = Claim.claim_id AND ( (:bind_inspect_num is not NULL AND ClaimObjectsIndemnity.inspect_num = :bind_inspect_num ) OR ( :bind_inspect_num is NULL AND ClaimObjectsIndemnity.inspect_num = ( SELECT MAX(inspect_num) FROM claim_inspections WHERE claim_id = :bind_claim_id AND request_id = :bind_request_id AND claim_obj_seq = :bind_claim_obj_seq ) ) )
bfdqpzu2mk8jyWITH C_MASTER AS (SELECT B.PRODUCT_LINK_ID, LEVEL AS LVL FROM CFG_NL_PRODUCT B WHERE EXISTS ( SELECT 1 FROM CFG_NL_PRODUCT WHERE PRODUCT_CODE=:B1 AND STATUS IN ( :B3 , :B2 ) ) START WITH B.PRODUCT_CODE = :B1 CONNECT BY PRIOR B.PARENT_PRODUCT_LINK_ID = B.PRODUCT_LINK_ID ORDER BY LEVEL ASC) , TB AS (SELECT PP.PRODUCT_NAME_ID, PP.PRODUCT_LINK_ID, PP.PARAM_CPR_ID, PP.VALID_FROM, PP.VALID_TO, PP.VERSION_IN, PP.VERSION_OUT, M.LVL FROM C_MASTER M, CFG_NL_PRODUCT_PARAMS PP WHERE PP.PRODUCT_LINK_ID = M.PRODUCT_LINK_ID AND ((NOT EXISTS (SELECT 1 FROM CFG_NL_PRODUCT_PARAM_LAYERS L WHERE L.CFG_ID = PP.PRODUCT_NAME_ID AND ROWNUM = 1) OR EXISTS (SELECT 1 FROM CFG_NL_PRODUCT_PARAM_LAYERS L WHERE L.CFG_ID = PP.PRODUCT_NAME_ID AND INSTR(:B4 , TO_CHAR(L.LAYER_ID)) > 0 AND L.ALLOWED = :B5 AND ROWNUM = 1)) OR :B4 IS NULL ) AND EXISTS (SELECT /*+ DYNAMIC_SAMPLING (prod_ver, 5) */ 1 FROM TABLE( :B6 ) PROD_VER WHERE PROD_VER.VERSION = PP.VERSION_IN AND PP.PRODUCT_LINK_ID = PROD_VER.PRODUCT_LINK_ID)) SELECT DISTINCT A.PRODUCT_NAME_ID, A.PRODUCT_LINK_ID, A.PARAM_CPR_ID, A.VALID_FROM, A.VALID_TO, A.VERSION_IN, A.VERSION_OUT FROM TB A WHERE NOT EXISTS (SELECT 1 FROM TB B WHERE B.LVL < A.LVL AND B.PARAM_CPR_ID = A.PARAM_CPR_ID)
bh84mx8uugk2tSELECT * FROM TABLE(RBI_NOM_COMMON.GETOBJECTS( :B1 , :B2 , :B3 ))
bzccmyk64zt8nSELECT /*+ FIRST_ROWS(10) */ count(DN.entryid) from JPS_DN DN WHERE DN.PARENTDN = :1 and exists ( select 1 from CT_10 A where ( A.JPS_DN_ENTRYID = DN.entryid ) and ( A.attrval IS NOT NULL ))
c4hm92pdyf9dhSELECT SUM(TARGET_AMOUNT) FROM BLC_APPLICATIONS WHERE TARGET_TRX = :B2 AND (STATUS <> 'D' OR (STATUS = 'D' AND RUN_ID = :B1 ))
cjj5a8k0qzr2qSELECT BP.PAYMENT_ID, BA.APPLICATION_ID FROM BLC_PAYMENTS BP, BLC_APPLICATIONS BA WHERE BP.PAYMENT_ID = :B1 AND BP.PAYMENT_ID = BA.SOURCE_PAYMENT FOR UPDATE WAIT 10
ct4x6n43nykunBEGIN insis_gen_ri_v10.srv_ri_bo.process_ri_check_policy_CoverInst( :pi_Context, :po_RetPrm, :po_Err ); END;
d4zns8492dchuBEGIN INSIS_BLC_GLOBAL_CUST.srv_cust_bo.ModifyPayDate( :pi_Context, :po_RetPrm, :po_Err ); END;
d8uxmtq3qwjquSELECT NAMESPACE, ATTRIBUTE FROM (SELECT :B2 NAMESPACE, CT.ATTRIBUTE FROM TABLE(:B1 ) CT WHERE CT.NAMESPACE = :B2 AND NOT EXISTS (SELECT 1 FROM SRV_SYSTEM_CONTEXT S WHERE CT.ATTRIBUTE = S.ATTRIBUTE AND S.NAMESPACE = :B2 ))
dcuj2dhgmpv34SELECT BT.CURRENCY, BT.AMOUNT, BT.FC_AMOUNT, BLC_APPL_UTIL_PKG.TRX_OUTSTANDING_BALANCE(BT.TRANSACTION_ID, BT.AMOUNT, BT.PAID_STATUS, BT.OPEN_BALANCE), NVL(BT.ACTUAL_OPEN_BALANCE, BT.AMOUNT) FROM BLC_TRANSACTIONS BT WHERE BT.TRANSACTION_ID = :B1
f7gznycvm74x7BEGIN srv_policy_bo.ApplySelection( :pi_Context, :po_RetPrm, :po_Err ); END;
fjvmxv2f46065DECLARE p1 VARCHAR2(20); p2 VARCHAR2(100); p3 VARCHAR2(40); p4 VARCHAR2(1000); p5 VARCHAR2(20); p6 VARCHAR2(3); p7 VARCHAR2(1000); p8 VARCHAR2(1000); p9 VARCHAR2(1000); p10 VARCHAR2(1000); p11 VARCHAR2(1000); BEGIN ---------------------------------------------------- -- Input parameters setup -- ---------------------------------------------------- p1 := :1 ; p2 := :2 ; p3 := :3 ; p4 := :4 ; p5 := :5 ; p6 := :6 ; p7 := :7 ; p8 := :8 ; p9 := :9 ; p10 := :10 ; p11 := :11 ; ---------------------------------------------------- -- Call Function -- ---------------------------------------------------- insis_context.prepare_session(p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11); --------------------------------------- ------------- -- Output parameters setup -- ---------------------------------------------------- END;
ft8u1vzy0n92zcall INSIS_SCHEDULER.SCHEDULER_ENGINE.EXECUTE_JOB_PROGRAM ( :0 )
g3f9anp86j2cwBEGIN insis_context.Prepare_Session(:1 , :2 , :3 , :4 , :5 , :6 , :7 , :8 , :9 , :10 , :11 ); END;
gf4yn91705cfx/*dt:ownQuery*/WITH getsize AS ( SELECT tablespace_name, max(autoextensible) autoextensible, SUM(bytes) tsize FROM dba_data_files GROUP BY tablespace_name), getfree AS ( SELECT a.tablespace_name, contents, SUM(blocks * block_size) tfree FROM dba_free_space a, dba_tablespaces c WHERE a.tablespace_name = c.tablespace_name GROUP BY a.tablespace_name, contents) SELECT a.tablespace_name, b.contents, a.tsize, b.tfree, a.tsize - b.tfree AS tused, 100 * ((a.tsize - b.tfree) / a.tsize) AS tused_ratio, a.autoextensible AS autoextend FROM getsize a, getfree b WHERE a.tablespace_name = b.tablespace_name UNION SELECT tablespace_name, 'TEMPORARY', SUM(tablespace_s ize) AS tsize, SUM(free_space) AS tfree, SUM(tablespace_size) - SUM(free_space) AS tused, 100 * ((SUM(tablespace_size) - SUM(free_space)) / SUM(tablespace_size)) AS tused_ratio, 'NO' FROM dba_temp_free_space GROUP BY tablespace_name
ggdtf51ghany4SELECT /*+ DYNAMIC_SAMPLING(f, 5) */ F.PARAM_VALUE FROM TABLE( RBI_NOM_COVERAGE.GETPRODUCTPARAMS( :B1 ) ) D, CPRS_PARAM_VALUE F, CPR_PARAMS G WHERE D.PARAM_CPR_ID = F.PARAM_VALUE_CPR_ID AND F.PARAM_ID = G.PARAM_CPR_ID AND G.PARAM_NAME = :B2
ggg8hk3gqst7wupdate ProcessInstanceInfo set lastModificationDate=:1 , lastReadDate=:2 , processId=:3 , startDate=:4 , state=:5 , OPTLOCK=:6 , processInstanceByteArray=:7 where InstanceId=:8 and OPTLOCK=:9
gvswmctbh6nnwBEGIN insis_cust.srv_cust_ds_qq.get_input_parameters_quickquote( :pi_Context, :po_RetPrm, :po_Err ); END;

Back to SQL Statistics
Back to Top

Instance Activity Statistics

Back to Top

Key Instance Activity Stats

StatisticTotalper Secondper Trans
db block changes40,131,8105,556.38157.93
execute count14,950,8492,069.9958.84
logons cumulative3,0650.420.01
opened cursors cumulative14,102,2781,952.5155.50
parse count (total)2,974,190411.7911.70
parse time elapsed7,0410.970.03
physical reads7,011,775970.8027.59
physical writes8,515,3991,178.9833.51
redo size69,327,491,9089,598,617.34272,829.02
session cursor cache hits12,455,7721,724.5449.02
session logical reads430,581,20559,615.371,694.49
user calls3,480,619481.9013.70
user commits226,80831.400.89
user rollbacks27,2983.780.11
workarea executions - onepass00.000.00
workarea executions - optimal5,206,104720.8020.49


Back to Instance Activity Statistics
Back to Top

Instance Activity Stats

StatisticTotalper Secondper Trans
ASSM bg: segment fix monitor120.000.00
ASSM bg:create segment fix task120.000.00
ASSM bg:slave fix one segment120.000.00
ASSM cbk:blocks examined107,74014.920.42
ASSM cbk:blocks marked full9,2731.280.04
ASSM gsp:L1 bitmaps examined105,78614.650.42
ASSM gsp:L2 bitmap full200.000.00
ASSM gsp:L2 bitmaps examined3,7240.520.01
ASSM gsp:L3 bitmaps examined00.000.00
ASSM gsp:Optimized data block rejects00.000.00
ASSM gsp:Optimized index block rejects00.000.00
ASSM gsp:Optimized reject DB57,7327.990.23
ASSM gsp:Optimized reject l130.000.00
ASSM gsp:Optimized reject l200.000.00
ASSM gsp:Search all330.000.00
ASSM gsp:Search hint3390.050.00
ASSM gsp:Search steal330.000.00
ASSM gsp:bump HWM330.000.00
ASSM gsp:get free block98,72913.670.39
ASSM gsp:get free data block90,29412.500.36
ASSM gsp:get free index block8,0081.110.03
ASSM gsp:get free lob block4240.060.00
ASSM gsp:good hint95,48813.220.38
ASSM gsp:reject L100.000.00
ASSM gsp:reject L200.000.00
ASSM gsp:reject db1650.020.00
ASSM rsv:alloc from reserve00.000.00
ASSM rsv:alloc from reserve succ00.000.00
ASSM rsv:clear reserve00.000.00
ASSM rsv:fill reserve20.000.00
ASSM wasted db state change15,5392.150.06
Batched IO (bound) vector count1,8660.260.01
Batched IO (full) vector count3380.050.00
Batched IO (space) vector count00.000.00
Batched IO block miss count222,58830.820.88
Batched IO buffer defrag count00.000.00
Batched IO double miss count16,2662.250.06
Batched IO same unit count1,8050.250.01
Batched IO single block count7,0160.970.03
Batched IO slow jump count10.000.00
Batched IO vector block count215,12229.780.85
Batched IO vector read count11,4541.590.05
Block Cleanout Optim referenced3,2080.440.01
CCursor + sql area evicted41,1965.700.16
CPU used by this session387,52953.651.53
CPU used when call started344,67747.721.36
CR blocks created146,70220.310.58
Cached Commit SCN referenced6,245,375864.6924.58
Commit SCN cached00.000.00
DBWR checkpoint buffers written386,89053.571.52
DBWR checkpoints9480.130.00
DBWR object drop buffers written00.000.00
DBWR parallel query checkpoint buffers written10.000.00
DBWR thread checkpoint buffers written347,65048.131.37
DBWR transaction table writes3,0780.430.01
DBWR undo block writes103,60814.340.41
DFO trees parallelized00.000.00
DML statements retried00.000.00
Effective IO time555,274,48176,879.562,185.21
HSC Heap Segment Block Changes1,483,739205.435.84
HSC IDL Compressed Blocks00.000.00
Heap Segment Array Deletes1600.020.00
Heap Segment Array Inserts4,0400.560.02
Heap Segment Array Updates1,3990.190.01
Heatmap BlkLevel Flushed00.000.00
Heatmap BlkLevel Flushed to SYSAUX00.000.00
Heatmap BlkLevel Ranges Flushed00.000.00
Heatmap Blklevel Flush Task Count30.000.00
IMU CR rollbacks00.000.00
IMU Flushes00.000.00
IMU Redo allocation size00.000.00
IMU commits00.000.00
IMU contention00.000.00
IMU ktichg flush00.000.00
IMU pool not allocated270,80237.491.07
IMU recursive-transaction flush00.000.00
IMU undo allocation size00.000.00
IMU- failed to get a private strand270,80237.491.07
KTFB alloc myinst1,0540.150.00
KTFB alloc req1,2850.180.01
KTFB alloc search FFB12,4731.730.05
KTFB alloc space (block)519,416,19271,914.872,044.09
KTFB alloc steal00.000.00
KTFB alloc time (ms)2,028,095,048280,796.377,981.30
KTFB apply req2170.030.00
KTFB apply time (ms)9450.130.00
KTFB commit req00.000.00
KTFB commit time (ms)00.000.00
KTFB free req80.000.00
KTFB free space (block)43,1365.970.17
KTFB free time (ms)20.000.00
LOB table id lookup cache misses10.000.00
Misses for writing mapping00.000.00
Number of read IOs issued9580.130.00
PX local messages recv'd00.000.00
PX local messages sent00.000.00
Parallel operations not downgraded00.000.00
Requests to/from client1,694,111234.566.67
RowCR - row contention8670.120.00
RowCR attempts665,46192.142.62
RowCR hits609,50784.392.40
SMON posted for undo segment shrink20.000.00
SQL*Net roundtrips to/from client1,694,081234.556.67
TBS Extension: bytes extended00.000.00
TBS Extension: files extended00.000.00
TBS Extension: tasks created00.000.00
TBS Extension: tasks executed00.000.00
active txn count during cleanout25,8763.580.10
auto extends on undo tablespace00.000.00
background checkpoints completed9410.130.00
background checkpoints started9390.130.00
background timeouts63,8828.840.25
blocks cleaned out using minact147,62520.440.58
branch node splits320.000.00
buffer is not pinned count189,942,58826,298.17747.49
buffer is pinned count501,048,97469,371.861,971.81
bytes received via SQL*Net from client68,094,247,7559,427,870.66267,975.76
bytes sent via SQL*Net to client50,426,273,7866,981,682.05198,445.82
bytes via SQL*Net vector from client00.000.00
bytes via SQL*Net vector to client49,814,554,4166,896,987.51196,038.48
calls to get snapshot scn: kcmgss32,011,4374,432.09125.98
calls to kcmadj635,87188.042.50
calls to kcmgas1,380,621191.155.43
calls to kcmgcs23,690,2153,279.9993.23
cell physical IO interconnect bytes373,397,432,32051,698,092.191,469,455.39
change write time3,1890.440.01
cleanout - number of ktugct calls26,4253.660.10
cleanouts and rollbacks - consistent read gets3,3770.470.01
cleanouts only - consistent read gets66,4269.200.26
cluster key scan block gets51,5017.130.20
cluster key scans30,5464.230.12
commit batch performed20.000.00
commit batch requested20.000.00
commit batch/immediate performed2290.030.00
commit batch/immediate requested2290.030.00
commit cleanout failures: block lost9650.130.00
commit cleanout failures: buffer being written740.010.00
commit cleanout failures: callback failure2,9520.410.01
commit cleanout failures: cannot pin110.000.00
commit cleanout failures: hot backup in progress00.000.00
commit cleanouts1,033,088143.034.07
commit cleanouts successfully completed1,029,086142.484.05
commit immediate performed2270.030.00
commit immediate requested2270.030.00
commit txn count during cleanout10,7441.490.04
consistent changes22,154,0333,067.3087.18
consistent gets303,627,44142,038.211,194.88
consistent gets direct120,25716.650.47
consistent gets examination38,736,6105,363.21152.44
consistent gets examination (fastpath)38,727,9985,362.02152.41
consistent gets from cache303,507,18442,021.561,194.41
consistent gets pin264,770,57436,658.351,041.97
consistent gets pin (fastpath)263,965,56836,546.891,038.80
cumulative DB time in requests32,590,377,6524,512,244.07128,255.05
cumulative begin requests501,15269.391.97
cumulative end requests501,52869.441.97
cumulative time in requests298,256,187,44441,294,541.791,173,747.13
cursor authentications14,9012.060.06
cursor reload failures1240.020.00
data blocks consistent reads - undo records applied38,2455.300.15
db block changes40,131,8105,556.38157.93
db block gets126,953,81717,577.17499.61
db block gets direct1620.020.00
db block gets from cache126,953,65517,577.15499.61
db block gets from cache (fastpath)109,418,15115,149.30430.60
deferred (CURRENT) block cleanout applications651,57790.212.56
dirty buffers inspected20.000.00
enqueue conversions142,16819.680.56
enqueue releases4,132,696572.1916.26
enqueue requests4,132,923572.2216.26
enqueue timeouts930.010.00
enqueue waits6390.090.00
exchange deadlocks00.000.00
execute count14,950,8492,069.9958.84
failed probes on index block reclamation20.000.00
fastpath consistent get quota limit1,1450.160.00
file io service time700,89797.042.76
frame signature mismatch00.000.00
free buffer inspected522,27872.312.06
free buffer requested7,004,557969.8027.57
heap block compress70,1249.710.28
hot buffers moved to head of LRU1,333,646184.655.25
immediate (CR) block cleanout applications69,8039.660.27
immediate (CURRENT) block cleanout applications177,12924.520.70
index coal, examined blocks00.000.00
index crx state invalidation00.000.00
index crx upgrade (positioned)8330.120.00
index crx upgrade (prefetch)420.010.00
index fast full scans (full)92,85712.860.37
index fast full scans (rowid ranges)00.000.00
index fetch by key15,922,0032,204.4562.66
index range scans11,338,9651,569.9244.62
index reclamation/extension switch00.000.00
index split cancel op set00.000.00
index split cancel wait noclean30.000.00
leaf node 90-10 splits1,8400.250.01
leaf node splits7,9601.100.03
lob reads5,526,689765.1921.75
lob writes148,31020.530.58
lob writes unaligned72,1449.990.28
logical read bytes from cache3,526,335,193,088488,232,607.1713,877,418.06
logons cumulative3,0650.420.01
max cf enq hold time310.000.00
messages received649,54989.932.56
messages sent649,54989.932.56
min active SCN optimization applied on CR1,3470.190.01
no buffer to keep pinned count00.000.00
no work - consistent read gets244,378,00733,834.93961.72
non-idle wait count19,707,1592,728.5277.55
opened cursors cumulative14,102,2781,952.5155.50
parse count (describe)600.010.00
parse count (failures)1210.020.00
parse count (hard)45,4126.290.18
parse count (total)2,974,190411.7911.70
parse time cpu6,1450.850.02
parse time elapsed7,0410.970.03
physical read IO requests797,891110.473.14
physical read bytes57,440,460,8007,952,819.12226,049.21
physical read total IO requests1,269,876175.825.00
physical read total bytes159,855,296,00022,132,487.03629,089.03
physical read total multi block requests172,73023.920.68
physical reads7,011,775970.8027.59
physical reads cache639,55688.552.52
physical reads cache prefetch203,77128.210.80
physical reads direct6,372,219882.2525.08
physical reads direct (lob)6,245,375864.6924.58
physical reads direct temporary tablespace00.000.00
physical reads prefetch warmup00.000.00
physical write IO requests358,39349.621.41
physical write bytes69,758,148,6089,658,243.16274,523.82
physical write total IO requests991,820137.323.90
physical write total bytes213,542,136,32029,565,605.15840,366.37
physical write total multi block requests284,76239.431.12
physical writes8,515,3991,178.9833.51
physical writes direct8,126,2151,125.1031.98
physical writes direct (lob)8,119,4461,124.1631.95
physical writes direct temporary tablespace00.000.00
physical writes from cache389,18453.881.53
physical writes non checkpoint8,323,0811,152.3632.75
pinned buffers inspected360.000.00
prefetch clients - default00.000.00
prefetch warmup blocks aged out before use00.000.00
prefetch warmup blocks flushed out before use00.000.00
prefetched blocks aged out before use00.000.00
process last non-idle time7,2231.000.03
queries parallelized00.000.00
recursive aborts on index block reclamation00.000.00
recursive calls22,175,8173,070.3187.27
recursive cpu usage248,47634.400.98
redo KB read139,878,98219,366.70550.47
redo KB read (memory)68,812,3029,527.29270.80
redo KB read (memory) for transport68,812,3029,527.29270.80
redo KB read for transport69,862,0019,672.62274.93
redo blocks checksummed by FG (exclusive)127,129,81317,601.54500.30
redo blocks written140,031,29019,387.79551.07
redo blocks written (group 0)136,601,11518,912.87537.58
redo blocks written (group 1)3,199,568442.9912.59
redo buffer allocation retries22,1543.070.09
redo entries20,770,8912,875.8081.74
redo log space requests225,24631.190.89
redo ordering marks2030.030.00
redo size69,327,491,9089,598,617.34272,829.02
redo size for direct writes1,334,276184.735.25
redo subscn max counts32,5884.510.13
redo synch long waits210.000.00
redo synch time56,8107.870.22
redo synch time (usec)569,613,75678,864.882,241.64
redo synch time overhead (usec)3,771,168522.1314.84
redo synch time overhead count ( 2ms)253,07635.041.00
redo synch time overhead count ( 8ms)100.000.00
redo synch time overhead count ( 32ms)10.000.00
redo synch time overhead count (128ms)00.000.00
redo synch writes283,67639.281.12
redo wastage107,929,25214,943.16424.74
redo write active strands504,39669.841.98
redo write finish time909,493,645125,922.363,579.19
redo write gather time14,526,6782,011.2757.17
redo write info find253,08735.041.00
redo write issue time14,971,1512,072.8058.92
redo write schedule time14,916,2192,065.2058.70
redo write size count ( 4KB)365,74850.641.44
redo write size count ( 8KB)15,1442.100.06
redo write size count ( 16KB)7,6361.060.03
redo write size count ( 32KB)5,8640.810.02
redo write size count ( 128KB)8,6131.190.03
redo write size count ( 256KB)9,1831.270.04
redo write size count ( 512KB)18,9292.620.07
redo write size count (1024KB)32,9994.570.13
redo write size count (inf)27,8873.860.11
redo write time91,16312.620.36
redo write time (usec)911,612,077126,215.663,587.53
redo write total time924,359,672127,980.613,637.69
redo write worker delay (usec)12,034,9211,666.2747.36
redo write worker delay count491,59568.061.93
redo writes492,00368.121.94
redo writes (group 0)373,42851.701.47
redo writes (group 1)118,16716.360.47
redo writes adaptive all492,00368.121.94
redo writes adaptive worker491,59568.061.93
remote Oradebug requests790.010.00
rollback changes - undo records applied4,6220.640.02
rollbacks only - consistent read gets5,5390.770.02
root node splits00.000.00
rows fetched via callback11,878,3171,644.5946.75
securefile allocation bytes66,514,501,6329,209,149.66261,758.88
securefile allocation chunks95,18813.180.37
securefile bytes non-transformed65,102,007,7699,013,585.28256,200.20
securefile direct read bytes51,161,948,1607,083,538.57201,340.97
securefile direct read ops150,89120.890.59
securefile direct write bytes66,514,501,6329,209,149.66261,758.88
securefile direct write ops113,79815.760.45
securefile number of flushes00.000.00
securefile number of non-transformed flushes89,32812.370.35
segment cfs allocations40.000.00
segment chunks allocation from dispenser95,25013.190.37
segment dispenser allocations85,59211.850.34
segment dispenser load empty480.010.00
segment dispenser load tasks4790.070.00
segment prealloc bytes67,914,170,3689,402,938.36267,267.09
segment prealloc ops9,4991.320.04
segment prealloc tasks9,4561.310.04
segment prealloc time (ms)433,78560.061.71
segment prealloc ufs2cfs bytes00.000.00
segment total chunk allocation00.000.00
session connect time00.000.00
session cursor cache hits12,455,7721,724.5449.02
session logical reads430,581,20559,615.371,694.49
shared hash latch upgrades - no wait972,675134.673.83
shared hash latch upgrades - wait10.000.00
shared io pool buffer get success348,16548.201.37
sorts (disk)00.000.00
sorts (memory)5,468,063757.0721.52
sorts (rows)12,031,7161,665.8347.35
sql area evicted42,1465.840.17
sql area purged1850.030.00
summed dirty queue length370.010.00
switch current caused by our pin108,33515.000.43
switch current to new buffer109,14415.110.43
table fetch by rowid305,423,73342,286.911,201.95
table fetch continued row58,511,4658,101.10230.26
table scan blocks gotten75,530,42010,457.43297.24
table scan disk non-IMC rows gotten3,212,563,888444,789.9512,642.61
table scan rows gotten3,212,562,287444,789.7312,642.61
table scans (direct read)10.000.00
table scans (long tables)10.000.00
table scans (rowid ranges)00.000.00
table scans (short tables)1,206,923167.104.75
total cf enq hold time129,52517.930.51
total number of cf enq holders36,1175.000.14
total number of times SMON posted20.000.00
transaction rollbacks2440.030.00
transaction tables consistent read rollbacks20.000.00
transaction tables consistent reads - undo records applied190.000.00
undo change vector size740,283,300102,494.642,913.29
user calls3,480,619481.9013.70
user commits226,80831.400.89
user logons cumulative3,0030.420.01
user logouts cumulative3,0010.420.01
user rollbacks27,2983.780.11
workarea executions - onepass00.000.00
workarea executions - optimal5,206,104720.8020.49
write clones created in background1,2970.180.01
write clones created in foreground4350.060.00


Back to Instance Activity Statistics
Back to Top

Instance Activity Stats - Absolute Values

StatisticBegin ValueEnd Value
logons current236236
opened cursors current2,4122,314
session cursor cache count15,122,98715,140,846
session pga memory2,513,837,2882,294,781,016
session pga memory max5,488,322,1204,130,480,376
session uga memory375,399,252,952375,972,383,616
session uga memory max4,646,907,777,1524,652,377,868,056
workarea memory allocated06,485


Back to Instance Activity Statistics
Back to Top

Instance Activity Stats - Thread Activity

StatisticTotalper Hour
log switches (derived)939468.03


Back to Instance Activity Statistics
Back to Top

IO Stats

Back to Top

IOStat by Function summary

Function NameReads: DataReqs per secData per secWrites: DataReqs per secData per secWaits: CountAvg Time
Others91.6G26.0412.984M67.2G12.429.524M138.4K1.02ms
Direct Reads48.8G22.206.912M62G15.968.788M1001.14ms
LGWR4.3G39.45.612M67.1G76.159.515M794.5K1.35ms
Buffer Cache Reads4.9G88.53.692M0M0.000M435.9K701.58us
DBWR0M0.000M3G33.15.424M0 
Direct Writes2M0.030M192M0.90.027M97670.10us
TOTAL:149.5G176.2421.2M199.5G138.5828.278M1.4M1.11ms


Back to IO Stats
Back to Top

IOStat by Filetype summary

Filetype NameReads: DataReqs per secData per secWrites: DataReqs per secData per secSmall ReadLarge Read
Log File67.8G10.779.61M66.8G73.969.466M266.64us5.01ms
Data File53.5G110.497.584M65G49.629.21M674.02us1.69ms
Archive Log0M0.000M66.7G9.529.455M  
Control File27.6G54.393.913M454M4.02.063M65.17us439.45us
Other2M0.060M2M0.070M24.27us 
Temp File0M0.000M0M0.000M  
TOTAL:148.9G175.7021.107M198.9G137.1928.195M465.85us2.86ms


Back to IO Stats
Back to Top

IOStat by Function/Filetype summary

Function/File NameReads: DataReqs per secData per secWrites: DataReqs per secData per secWaits: CountAvg Time
Others 91.6G25.8612.984M67.2G12.249.523M116.4K853.12us
Others (Log File) 68G10.549.636M0M0.000M5750845.04us
Others (Archive Log) 0M0.000M66.9G9.549.481M0 
Others (Control File) 23.6G15.313.348M304M2.69.042M110.6K853.71us
Others (Data File) 0M0.010M0M0.000M56517.86us
Direct Reads (Data File) 48.8G22.196.912M62G15.958.788M0 
Direct Reads 48.8G22.196.912M62G15.958.788M0 
LGWR 4.3G39.45.612M67.1G76.159.515M286.8K547.77us
LGWR (Log File) 1M0.260M67G74.819.494M3772924.44us
LGWR (Control File) 4.3G39.19.612M151M1.34.021M283K542.75us
Buffer Cache Reads (Data File) 4.9G88.53.692M0M0.000M424.4K682.80us
Buffer Cache Reads 4.9G88.53.692M0M0.000M424.4K682.80us
DBWR (Data File) 0M0.000M3G33.15.424M0 
DBWR 0M0.000M3G33.15.424M0 
DBWR (Temp File) 0M0.000M0M0.000M0 
Direct Writes 2M0.030M192M0.90.027M72527.78us
Direct Writes (Data File) 1M0.020M192M0.90.027M0 
Direct Writes (Control File) 1M0.010M0M0.000M72527.78us
TOTAL: 149.5G176.0621.2M199.5G138.3928.278M827.7K659.95us


Back to IO Stats
Back to Top

Tablespace IO Stats

TablespaceReadsAv Rds/sAv Rd(ms)Av Blks/Rd 1-bk Rds/sAv 1-bk Rd(ms)% Opt ReadsWritesWrites avg/sAv Writes(ms)Buffer WaitsAv Buf Wt(ms)
USERS 639,066880.7110.72770.440.00 265,691378.74802743.28
INDX 44,00460.721.0060.720.00 62,18799.9000.00
SYSAUX 68,711100.641.00100.640.00 4,645110.5100.00
SYSTEM 43,16060.651.0060.650.00 3,12804.942,167963.60
UNDO_T1 94100.491.0000.490.00 20,82935.648,269954.91
LOBS 1,07600.591.0000.590.00 94101.4900.00
RDSADMIN 98900.491.0000.500.00 94101.4700.00


Back to IO Stats
Back to Top

File IO Stats

TablespaceFilenameReadsAv Rds/sAv Rd(ms)Av Blks/Rd 1-bk Rds/sAv 1-bk Rd(ms)% Opt ReadsWritesWrites avg/sBuffer WaitsAv Buf Wt(ms)
INDX/rdsdbdata/db/NNESP01P_A/datafile/o1_mf_indx_g4xd8mfn_.dbf 44,00460.721.0060.720.00 62,187900.00
LOBS/rdsdbdata/db/NNESP01P_A/datafile/o1_mf_lobs_g4xd8v2z_.dbf 1,07600.591.0000.590.00 941000.00
RDSADMIN/rdsdbdata/db/NNESP01P_A/datafile/o1_mf_rdsadmin_fxpkkz9k_.dbf 98900.491.0000.500.00 941000.00
SYSAUX/rdsdbdata/db/NNESP01P_A/datafile/o1_mf_sysaux_fxpjf1nv_.dbf 68,711100.641.00100.640.00 4,645100.00
SYSTEM/rdsdbdata/db/NNESP01P_A/datafile/o1_mf_system_fxpjdxws_.dbf 43,16060.651.0060.650.00 3,12802,167963.60
UNDO_T1/rdsdbdata/db/NNESP01P_A/datafile/o1_mf_undo_t1_l6qnw1gp_.dbf 94100.491.0000.490.00 20,82938,269954.91
USERS/rdsdbdata/db/NNESP01P_A/datafile/o1_mf_users_fxpjf3d2_.dbf 639,066880.7110.72770.440.00 265,69137802743.28


Back to IO Stats
Back to Top

Buffer Pool Statistics

Back to Top

Buffer Pool Statistics

PNumber of BuffersPool Hit%Buffer GetsPhysical ReadsPhysical WritesFree Buff WaitWrit Comp WaitBuffer Busy Waits
D5,032,317100422,317,426639,494389,1840011,239


Back to Buffer Pool Statistics
Back to Top

Checkpoint Activity

MTTR WritesLog Size WritesLog Ckpt WritesOther Settings WritesAutotune Ckpt WritesThread Ckpt Writes
03,3920039,239344,258


Back to Buffer Pool Statistics
Back to Top

Advisory Statistics

Back to Top

Instance Recovery Stats

Targt MTTR (s) Estd MTTR (s)Recovery Estd IOsActual RedoBlksTarget RedoBlksLog Sz RedoBlksLog Ckpt Timeout RedoBlksLog Ckpt Interval RedoBlksOpt Log Sz(M)Estd RAC Avail Time
B0241421334633604266636984604266   
E023162231548566369846369841063963   


Back to Advisory Statistics
Back to Top

MTTR Advisory

No data exists for this section of the report.

Back to Advisory Statistics
Back to Top

Buffer Pool Advisory

PSize for Est (M)Size FactorBuffers (thousands)Est Phys Read FactorEstimated Phys Reads (thousands)Est Phys Read TimeEst %DBtime for Rds
D4,0960.105024.1311,544,95215817187.00
D8,1920.201,0032.707,554,41913431000.00
D12,2880.301,5051.985,543,03312228267.00
D16,3840.402,0071.774,938,46611866759.00
D20,4800.502,5081.654,621,74111677370.00
D24,5760.603,0101.544,316,80411495028.00
D28,6720.703,5121.373,820,34811198167.00
D32,7680.804,0131.193,331,9941906149.00
D36,8640.904,5151.072,998,0031706436.00
D40,9601.005,0171.002,802,6251589607.00
D41,0881.005,0321.002,797,7601586698.00
D45,0561.105,5180.952,647,6311496926.00
D49,1521.206,0200.912,547,0101436759.00
D53,2481.306,5220.892,495,1141405727.00
D57,3441.407,0230.882,453,9141381091.00
D61,4401.507,5250.862,414,0291357241.00
D65,5361.608,0270.852,371,6271331887.00
D69,6321.698,5280.842,338,2691311940.00
D73,7281.799,0300.832,309,5971294795.00
D77,8241.899,5320.812,263,0791266979.00
D81,9201.9910,0330.802,227,0671245445.00


Back to Advisory Statistics
Back to Top

PGA Aggr Summary

PGA Cache Hit %W/A MB ProcessedExtra W/A MB Read/Written
100.00634,0850


Back to Advisory Statistics
Back to Top

PGA Aggr Target Stats

PGA Aggr Target(M)Auto PGA Target(M)PGA Mem Alloc(M) W/A PGA Used(M) %PGA W/A Mem%Auto W/A Mem%Man W/A MemGlobal Mem Bound(K)
B7,9005,0013,432.920.000.000.000.00809,000
E7,9005,2262,620.766.330.24100.000.00809,000


Back to Advisory Statistics
Back to Top

PGA Aggr Target Histogram

Low Optimal High OptimalTotal ExecsOptimal Execs1-Pass ExecsM-Pass Execs
2K4K4,759,2364,759,23600
64K128K53853800
128K256K707000
256K512K13113100
512K1024K140,353140,35300
1M2M238,786238,78600
2M4M65,98165,98100
4M8M151500
64M128M55055000


Back to Advisory Statistics
Back to Top

PGA Memory Advisory

PGA Target Est (MB)Size FactrW/A MB ProcessedEstd Extra W/A MB Read/ Written to Disk Estd PGA Cache Hit %Estd PGA Overalloc CountEstd Time
9880.13293,637,527.0320,876,115.3893.00110,95332,668,960,714
1,9750.25293,637,527.0318,000,425.1794.0075,48032,370,258,851
3,9500.50293,637,527.036,918,780.6398.0055031,219,193,329
5,9250.75293,637,527.036,134,044.9898.0019031,137,681,767
7,9001.00293,637,527.034,277,229.4799.006030,944,811,809
9,4811.20293,637,527.034,242,384.7299.002830,941,192,438
11,0611.40293,637,527.034,242,384.7299.00630,941,192,438
12,6411.60293,637,527.034,242,384.7299.00030,941,192,438
14,2211.80293,637,527.034,242,384.7299.00030,941,192,438
15,8012.00293,637,527.034,242,384.7299.00030,941,192,438
23,7013.00293,637,527.034,242,384.7299.00030,941,192,438
31,6024.00293,637,527.034,242,384.7299.00030,941,192,438
47,4036.00293,637,527.034,242,384.7299.00030,941,192,438
63,2048.00293,637,527.034,242,384.7299.00030,941,192,438


Back to Advisory Statistics
Back to Top

Shared Pool Advisory

Shared Pool Size(M)SP Size FactrEst LC Size (M)Est LC Mem ObjEst LC Time Saved (s)Est LC Time Saved FactrEst LC Load Time (s)Est LC Load Time FactrEst LC Mem Obj Hits (K)
4,4800.7838822,176718,348,9990.68335,923,856684.783,742,817
4,6080.8051526,592815,085,2530.77239,187,602487.583,112,673
4,7360.8264330,913849,417,4390.81204,855,416417.60944,426
4,8640.8477135,389882,542,4350.84171,730,420350.072,965,844
4,9920.8789842,765915,878,4330.87138,394,422282.12675,141
5,1200.891,02645,677949,326,5560.90104,946,299213.932,704,747
5,2480.911,15349,341982,925,6210.9371,347,234145.44444,325
5,3760.931,28056,2181,012,118,2320.9642,154,62385.932,254,197
5,5040.961,40763,8391,031,712,2020.9822,560,65345.993,422,705
5,6320.981,53370,2961,042,740,9970.9911,531,85823.514,172,836
5,7601.001,66175,0251,053,782,2951.00490,5601.00631,348
5,8881.021,78979,6881,053,782,8041.00490,0511.00631,789
6,0161.041,91787,4481,053,783,2421.00489,6131.00632,182
6,1441.072,04494,1801,053,783,6391.00489,2161.00632,539
6,2721.092,17196,3631,053,784,0121.00488,8431.00632,872
6,4001.112,298102,1261,053,784,3711.00488,4841.00633,191
6,5281.132,426105,9051,053,784,7031.00488,1521.00633,502
6,6561.162,554112,4251,053,785,0621.00487,7930.99633,810
6,7841.182,682119,2291,053,785,4371.00487,4180.99634,112
6,9121.202,810125,0301,053,785,8151.00487,0400.99634,420
7,0401.222,938126,8761,053,786,2411.00486,6140.99634,730
7,6801.333,577133,0091,053,788,9361.00483,9190.99636,300
8,3201.444,217139,2801,053,792,5501.00480,3050.98638,006
8,9601.564,857145,7391,053,795,6681.00477,1870.97639,629
9,6001.675,496152,3991,053,798,4521.00474,4030.97641,188
10,2401.786,135179,8341,053,801,7611.00471,0940.96642,808
10,8801.896,774207,0251,053,805,0761.00467,7790.95644,372
11,5202.007,413232,5031,053,808,3891.00464,4660.95645,852


Back to Advisory Statistics
Back to Top

SGA Target Advisory

SGA Target Size (M)SGA Size FactorEst DB Time (s)Est Physical Reads
11,8720.259,952,67011,544,955,117
17,8080.387,553,7947,554,510,556
23,7440.505,993,6544,938,605,301
29,6800.635,627,5324,316,943,111
35,6160.755,324,5513,820,340,776
41,5520.884,837,3312,998,079,221
47,4881.004,711,9922,797,759,631
53,4241.134,566,3912,547,080,368
59,3601.254,527,2822,495,042,039
65,2961.384,485,8162,413,907,010
71,2321.504,453,3042,371,660,839
77,1681.634,420,7912,338,367,500
83,1041.754,384,9802,263,107,766
89,0401.884,353,8812,227,016,666
94,9762.004,350,5822,227,016,666


Back to Advisory Statistics
Back to Top

Streams Pool Advisory

Size for Est (MB)Size FactorEst Spill CountEst Spill Time (s)Est Unspill CountEst Unspill Time (s)
1281.000000
2562.000000
3843.000000
5124.000000
6405.000000
7686.000000
8967.000000
1,0248.000000
1,1529.000000
1,28010.000000
1,40811.000000
1,53612.000000
1,66413.000000
1,79214.000000
1,92015.000000
2,04816.000000
2,17617.000000
2,30418.000000
2,43219.000000
2,56020.000000


Back to Advisory Statistics
Back to Top

Java Pool Advisory

No data exists for this section of the report.

Back to Advisory Statistics
Back to Top

Wait Statistics

Back to Top

Buffer Wait Statistics

ClassWaitsTotal Wait Time (s)Avg Time (ms)
undo header8,2637,896956
system undo header2,1172,088986
data block701596850
file header block1010
2nd level bmb14400
segment header700
undo block500


Back to Wait Statistics
Back to Top

Enqueue Activity

Enqueue Type (Request Reason)RequestsSucc GetsFailed GetsWaitsWt Time (s)Av Wt Time(ms)
SQ-Sequence Cache 8,8698,8690324079,866.33
CF-Controlfile Transaction 118,191118,1681358769.55
TX-Transaction (row lock contention) 1761142585.25
TX-Transaction 654,870654,82701406.71
US-Undo Segment 575701600.19
RF-Data Guard Broker (synch: DG Broker metadata) 18,86518,8650102.00
KO-Multiple Object Checkpoint (fast object checkpoint) 10100102.00
CR-Reuse Block Range (block range reuse ckpt) 30300300.33
TX-Transaction (index contention) 330300.33
TX-Transaction (allocate ITL entry) 110100.00
IS-Instance State 1,353,4941,353,494000 
TM-DML 508,030508,027000 
WG-Write gather local enqueue (lock fso) 323,265323,265000 
JG-Job Scheduler1 306,681306,681000 
JG-Job Scheduler1 (queue lock) 306,681306,681000 
TT-Tablespace 169,741169,741000 
HW-Segment High Water Mark 169,208169,208000 
WG-Write gather local enqueue (delete fso) 107,755107,755000 
DW-In memory Dispenser 104,532104,4854700 
CU-Cursor 45,05045,048000 
JG-Job Scheduler1 (q mem clnup lck) 29,20429,204000 
SJ-KTSJ Slave Task Cancel (Slave Task Cancel) 23,90023,878000 
RF-Data Guard Broker (Broker State Lock) 4,8524,852000 
SE-Session Migration 3,2003,198000 
FP-File Object (global fob contention) 2,5422,542000 
XR-Quiesce / Force Logging (database force logging) 2,4022,402000 
RC-Result Cache: Enqueue (Result Cache: Contention) 2,2422,242000 
PE-Parameter 1,8941,894000 
JZ-Join group dictionary (Join group dictionary) 1,3221,322000 
AE-Edition Lock (lock) 1,2101,210000 
TO-Temp Object 982982000 
WL-Being Written Redo Log 9829612100 
WR-LNS archiving log 939939000 
RF-Data Guard Broker (DG Broker Current File ID) 868868000 
FB-Format Block 711711000 
MR-Media Recovery 467467000 
RF-Data Guard Broker (RF - Database Automatic Disable) 373373000 
RF-Data Guard Broker (Broker Chief Lock) 372372000 
IT-In-Mem Temp Table Meta Creation 118118000 
TG-In Memory Temp Object (IMCDT global resource) 108108000 
TI-In Memory Temp Object HT (IMCDT object HT) 108108000 
TH-Threshold Chain (metric threshold evaluation) 107107000 
WF-AWR Flush 7069100 
PR-Process Startup 5353000 
WT-AWR CDB-Wide Table Lock 4747000 
PV-KSV slave startup (syncstart) 4343000 
TQ-Queue table enqueue (DDL contention) 2424000 
TA-Instance Undo 2323000 
TS-Temporary Segment 2323000 
SH-Active Session History Flushing 2222000 
UL-User-defined 2222000 
AF-Advisor Framework (task serialization) 1414000 
RF-Data Guard Broker (Broker NSV Lock) 1414000 
RF-Data Guard Broker (atomicity) 1414000 
TD-KTF map table enqueue (KTF dump entries) 1414000 
BE-Critical Block Allocation (Critical Block Allocation) 1212000 
PG-Global Parameter 1212000 
RS-Reclaimable Space (read alert level) 88000 
TQ-Queue table enqueue (INI contention) 66000 
TQ-Queue table enqueue (TM Job cache use) 66000 
DR-Distributed Recovery 44000 
MW-MWIN Schedule 44000 
FH-Flush Stat 33000 
PW-Buffer Cache PreWarm (flush prewarm buffers) 33000 
PF-Password File 22000 
PZ-Password File Metadata Cache (load passwordfile metadata) 22000 
TQ-Queue table enqueue (TM contention) 22000 
FU-DBFUS 11000 


Back to Wait Statistics
Back to Top

Undo Statistics

Back to Top

Undo Segment Summary

Undo TS#Num Undo Blocks (K)Number of TransactionsMax Qry Len (s)Max Tx ConcurcyMin/Max TR (mins)STO/ OOS uS/uR/uU/ eS/eR/eU
2105.85699,4661,66925720/7200/00/0/0/0/0/108726


Back to Undo Statistics
Back to Top

Undo Segment Stats

End TimeNum Undo BlocksNumber of TransactionsMax Qry Len (s)Max Tx ConcyTun Ret (mins)STO/ OOS uS/uR/uU/ eS/eR/eU
15-Sep 14:535,02010,7431,669257200/00/0/0/0/0/9368
15-Sep 14:439,67836,1281,414217200/00/0/0/0/0/12303
15-Sep 14:3310,68449,88381487200/00/0/0/0/0/12288
15-Sep 14:2311,17958,6071,41497200/00/0/0/0/0/8192
15-Sep 14:137,75851,41443267200/00/0/0/0/0/4111
15-Sep 14:039,03648,1241,58967200/00/0/0/0/0/12288
15-Sep 13:538,31064,2771,41767200/00/0/0/0/0/5120
15-Sep 13:437,21754,7731,41757200/00/0/0/0/0/2048
15-Sep 13:338,82270,9711,41677200/00/0/0/0/0/14336
15-Sep 13:237,09468,0111,41667200/00/0/0/0/0/2048
15-Sep 13:139,69796,2731,41667200/00/0/0/0/0/14336
15-Sep 13:0311,35790,26281657200/00/0/0/0/0/12288


Back to Undo Statistics
Back to Top

Latch Statistics

Back to Top

Latch Activity

Latch NameGet RequestsPct Get MissAvg Slps /MissWait Time (s)NoWait RequestsPct NoWait Miss
AQ Background: interrupt command latch20.00 02620.00
AQ Coord jobx_kwsbgsgn latch2410.00 00 
AQ Message drive state object latch20.00 00 
AQ Sharded master pool latch2410.00 00 
AQ deq hash table latch20.00 00 
ASM connection state latch2350.00 00 
ASM db client latch5,7710.00 00 
ASM map operation hash table20.00 00 
ASM network background latch2350.00 00 
ASM network state latch2,4950.00 00 
ASM remote client latch2,4640.00 00 
AWR Alerted Metric Element list84,3190.00 00 
Change Notification Hash table latch2,0710.00 00 
Column stats entry latch20.00 00 
Consistent RBA493,0530.010.0000 
DML lock allocation993,3570.000.0000 
DMON Work Queues Latch6140.00 00 
Event Group Locks6,1230.050.0000 
FAL Queue2,3750.00 00 
FIB s.o chain latch8,9020.00 00 
FOB consolidated s.o list latch8,9020.00 00 
Fast-Start Failover State Latch2,1070.00 00 
File State Object Pool Parent Latch215,5560.00 00 
GCS logfile block20.00 00 
GCS logfile write queue20.00 00 
Hang Manager wait event statistics4790.00 00 
I/O Staticstics latch20.00 00 
ILM Stats Stripe Latch20.00 00 
ILM Stats main anchor latch4,1290.050.0000 
ILM access tracking extent20.00 00 
ILM activity tracking latch20.00 00 
IM Global dictionary latch20.00 00 
IM Global dictionary queue latch20.00 00 
IM Global dictionary rw latch20.00 00 
IM area sb latch20.00 00 
IM area scb latch20.00 00 
IM emb latch20.00 00 
IM seg hdr latch20.00 00 
IMFS defer write list20.00 00 
IMXT hash table latch20.00 00 
IPC stats buffer allocation latch20.00 00 
In memory undo latch1,1120.00 0270,8120.00
JS Sh mem access14,6040.00 00 
JS global state obj latch660.00 00 
JS mem alloc latch180.00 00 
JS queue access latch290.00 00 
JS queue state obj latch613,3620.00 00 
JS slv state obj latch1160.00 00 
KCNIBR - invalid block range tree20.00 00 
KDCStatHash latch20.00 00 
KDFI Buffer Latch20.00 00 
KDFI Hash Bucket Latch20.00 00 
KDFI Hash Elem Latch20.00 00 
KDMADO action list latch20.00 00 
KDMADO bll latch20.00 00 
KDMADO latch20.00 00 
KFC FX Hash Latch20.00 00 
KFC Hash Latch20.00 00 
KFCL LE Freelist20.00 00 
KFIAS client latch20.00 00 
KFIAS cluster latch20.00 00 
KFIAS endpoint latch20.00 00 
KFIAS node latch20.00 00 
KFIAS process latch20.00 00 
KFIAS queue latch20.00 00 
KGNFS-NFS:SHM structure20.00 00 
KGNFS-NFS:SVR LIST20.00 00 
KJC message pool KGH calls20.00 00 
KJC message pool free list20.00 00 
KJC message pool pending avail list20.00 00 
KJCT flow control latch20.00 00 
KMG MMAN ready and startup request latch2,4080.00 00 
KSFS OFS ctx level parent latch20.00 00 
KSFS OFS req layer parent latch20.00 00 
KSFS OFS sess layer parent latch20.00 00 
KSFS Receive and Send Queue latch20.00 00 
KSFS id table parent latch20.00 00 
KSFS ksfs_node latch20.00 00 
KSFSD name cache parent latch20.00 00 
KSGL LS Segment latch20.00 00 
KSGL SGA anchor latch20.00 00 
KSIPC ASPC anchor latch20.00 00 
KSIPC SGA allocation parent latch2,4660.00 00 
KSIPCGSN Hash Table latch20.00 00 
KSIPCGSN Namespace latch20.00 00 
KSK PDB IO STAT20.00 00 
KSRMA SGA anchor latch20.00 00 
KSRMF SGA anchor latch20.00 00 
KSWL SGA anchor latch20.00 00 
KSXR hang analysis phase 1 latch20.00 00 
KSXR hang analysis phase 2 latch20.00 00 
KTF sga latch150.00 02,4210.00
KTILM latch20.00 00 
KTU in-memory txn table latch20.00 00 
KTURMA ODPSCN latch20.00 00 
KTURMA SGA allocation parent latch20.00 00 
KWQMN job cache list latch5490.00 00 
KWQS pqsubs latch40.00 00 
KWQS pqueue ctx latch2,9520.00 00 
LGWR NS Write939,9640.00 00 
Latch for NonceHistory20.00 00 
Locator state objects pool parent latch20.00 00 
Lost write change tracking20.00 00 
Lsod array latch20.00 00 
MGA asr alloc latch2280.00 00 
MGA heap latch13,9880.00 00 
MGA shared context latch5420.00 00 
MGA shared context root latch3360.00 00 
MQL Tracking Latch0  01440.00
Memory Management Latch0  02,4080.00
Memory Queue20.00 00 
Memory Queue Message Subscriber #120.00 00 
Memory Queue Message Subscriber #220.00 00 
Memory Queue Message Subscriber #320.00 00 
Memory Queue Message Subscriber #420.00 00 
Memory Queue Subscriber20.00 00 
Message cache latch20.00 00 
Metadata in SGA latch442,2060.010.0400 
MinActiveScn Latch2140.00 00 
Mutex20.00 00 
Mutex Stats20.00 00 
NSV command ID generation latch2550.00 00 
Nologging Standby SCN Time Map cache2,4060.00 00 
OS process14,9020.00 00 
OS process allocation20,7130.050.0000 
OS process: request allocation6,1130.050.0000 
PDB Hash Table Latch20.00 00 
PDB LRU structure20.00 00 
PL/SQL warning settings3,0650.00 00 
PX hash array latch20.00 00 
Parent latch for dependency tracking20.00 00 
Parent latch for query hash table access2720.00 00 
Parent latch for segments scanning9,7220.00 00 
QMT20.00 00 
RSM process latch7560.00 00 
RTT parent context9390.00 00 
Real-time descriptor latch136,2340.00 00 
Report Request stats latch4550.00 00 
Report Request struct latch810.00 00 
Request holder compeltion list latch1080.00 00 
Request id generation latch1240.00 00 
Result Cache: RC Latch6,9030.00 00 
Result Cache: SO Latch320.00 00 
Retry Ht elm latch20.00 00 
Retry bkt latch20.00 00 
SGA IO buffer pool latch2,2490.00 03,5620.00
SGA Logging Bkt Latch20.00 00 
SGA Logging Log Latch72,9620.00 00 
SGA blob parent20.00 00 
SGA bucket locks20.00 00 
SGA hash table parent latch - S par20.00 00 
SGA heap locks20.00 00 
SGA pool locks20.00 00 
SO private so latch4,4830.00 04,7790.00
SQL memory manager latch20.00 02,4030.00
SQL memory manager workarea list latch5,684,2460.000.0000 
SR Stats Stripe Latch20.00 00 
Sched IM Job latch2,4660.00 00 
Sched InMem Job Cache1610.00 00 
Shared B-Tree6,1120.00 00 
Shared fixed UGA latch20.00 00 
Streams Generic20.00 00 
Subscriber Ht elm latch20.00 00 
Testing20.00 00 
Token Manager20.00 00 
Txn Ht elm latch20.00 00 
Txn bkt latch20.00 00 
WCR: sync20.00 00 
Write State Object Pool Parent Latch20.00 00 
X$KSFQP100.00 00 
XDB NFS Security Latch20.00 00 
XDB unused session pool20.00 00 
XDB used session pool20.00 00 
active checkpoint queue latch72,3630.390.0000 
active service list255,9390.010.000852,0050.00
address list80.00 00 
alert log latch3,7780.00 00 
archive destination111,9460.00 00 
archive process6,1940.00 00 
begin backup scn array113,8080.00 00 
buffer pool20.00 00 
business card20.00 00 
cache buffer handles20,5050.00 00 
cache buffers chains881,796,1250.000.0207,019,7010.00
cache buffers lru chain1,224,6850.060.01013,301,7770.00
cache table scan latch110.00 0110.00
call allocation810,0620.020.0000 
change notification client cache latch20.00 00 
channel handle pool latch12,2970.030.0000 
channel operations parent latch22,6430.080.0000 
checkpoint queue latch4,010,8820.000.010861,2240.00
client/application info714,2880.000.0000 
compile environment latch3,0920.00 00 
controlfile update task2,8170.00 00 
corrupted undo seg latch14,1100.010.0000 
cp handoff latch20.00 00 
cp pool latch20.00 00 
cp server hash latch20.00 00 
cp sga latch2,4640.00 00 
cp srv type state latch7,2260.00 00 
cp srv type wait latch20.00 00 
cr slave free list20.00 00 
cvmap freelist lock20.00 00 
dbkea msgq latch1380.00 00 
deferred cleanup latch2,4640.00 00 
dml lock allocation2,4860.00 00 
done queue latch20.00 00 
dtp latch3,1100.100.0000 
dummy allocation6,1330.260.0000 
eighteenth cispare latch - S parent20.00 00 
eighteenth cispare latch - X parent20.00 00 
eighteenth cispare latch - children20.00 00 
eighth cispare latch - S parent20.00 00 
eighth cispare latch - X parent20.00 00 
eighth cispare latch - children20.00 00 
eighth spare latch - X parent20.00 00 
eleventh cispare latch - S parent20.00 00 
eleventh cispare latch - X parent20.00 00 
eleventh cispare latch - children20.00 00 
eleventh spare latch - children20.00 00 
enqueue freelist latch20.00 05,938,5380.00
enqueue hash chains8,434,7570.000.000850.00
fast space usage latch170,2440.00 00 
fifteenth cispare latch - S parent20.00 00 
fifteenth cispare latch - X parent20.00 00 
fifteenth cispare latch - children20.00 00 
fifteenth spare latch - children20.00 00 
fifth cispare latch - S parent20.00 00 
fifth cispare latch - X parent20.00 00 
fifth cispare latch - children20.00 00 
file cache latch2,3490.00 00 
first Audit Vault latch7440.00 00 
first cispare latch - S parent20.00 00 
first cispare latch - X parent20.00 00 
first cispare latch - children20.00 00 
first spare latch - X non-parent20.00 00 
flash file access latch20.00 00 
flashback copy20.00 00 
fourteenth cispare latch - S parent20.00 00 
fourteenth cispare latch - X parent20.00 00 
fourteenth cispare latch - children20.00 00 
fourteenth spare latch - children20.00 00 
fourth Audit Vault latch20.00 00 
fourth cispare latch - S parent20.00 00 
fourth cispare latch - X parent20.00 00 
fourth cispare latch - children20.00 00 
gc element20.00 00 
gcs commit scn state20.00 00 
gcs lock state resolution latch20.00 00 
gcs nodemap pool20.00 00 
gcs opaque info freelist20.00 00 
gcs partitioned table hash20.00 00 
gcs pcm hashed value bucket hash20.00 00 
gcs resource freelist20.00 00 
gcs resource hash20.00 00 
gcs resource scan list20.00 00 
gcs resource timerq list20.00 00 
gcs resource validate list20.00 00 
gcs shadows freelist20.00 00 
ges cached resource lists20.00 00 
ges domain table20.00 00 
ges enqueue table freelist20.00 00 
ges group table20.00 00 
ges process hash list20.00 00 
ges process parent latch20.00 00 
ges remote lock freelist20.00 00 
ges resource hash list20.00 00 
ges resource scan list20.00 00 
ges resource table freelist20.00 00 
ges timeout list20.00 00 
ges value block free list20.00 00 
global KZLD latch for auth type mem in SGA12,8140.00 00 
global ctx hash table latch3,132,6830.010.0000 
global tx hash mapping20.00 00 
granule from data transfer cache20.00 00 
gws:Sharding global descriptor latch6880.00 00 
hash table Sql Plan Finding latch5,1920.00 080,7130.00
hash table column usage latch3,8410.00 02,022,8560.00
hash table expression usage tracking latch3,3170.00 00 
hash table modification latch60.00 00 
hash table sql contorl latch20.00 00 
heartbeat check20.00 00 
imc buf hdl lat20.00 00 
imc cr clone buf20.00 00 
imc hash lat20.00 00 
imc sj lat20.00 00 
imc srchsp lat20.00 00 
imc-txn-wrk-lat20.00 00 
in-memory area latch20.00 00 
in-memory columnar segment hash table latch20.00 00 
in-memory columnar ts extent map chunk latch20.00 00 
in-memory global pool latch20.00 00 
internal temp table object number allocation latch4220.00 00 
interrupt manipulation520.00 00 
intra txn parallel recovery20.00 00 
io pool granule list696,3590.00 00 
io pool granule metadata list1,219,3450.000.0000 
job workq parent latch110.00 090.00
job_queue_processes free list latch390.00 00 
jslv pdb context latch180.00 00 
k2q lock allocation20.00 00 
kKCN Cqn SGA20.00 00 
kcb DW scan objtemp hash table latch20.00 00 
kcbtsemkid latch9390.00 00 
kcn buffer chains20.00 00 
kdlx hb parent latch20.00 00 
keiut hash table modification4660.00 00 
kgb parent20.00 00 
kgnfs mount latch20.00 00 
kjbr roi instance map20.00 00 
kjci objects freelist latch20.00 00 
kjci process context latch40.00 044,7610.00
kjci process list latch10.00 00 
kjcipctx state object freelist latch10.00 00 
kjoedcso state object freelist latch2,4640.00 00 
kjoeq omni enqueue hash bucket latch20.00 00 
kjoer owner hash bucket20.00 00 
kjsca protect pkey hash table bucket20.00 00 
kjsca protect service hash table bucket20.00 00 
kokc descriptor allocation latch53,8880.000.0000 
kpoxft latch0  01,1400.00
krbmrosl1200.00 00 
krso process5650.00 00 
ksevn object root latch2,4080.00 00 
ksfv messages20.00 00 
ksi resource reuse count20.00 00 
ksim group membership cache20.00 00 
ksm_pga_um_list_latch20.00 00 
ksm_pga_um_root_latch2,4080.00 00 
ksns object latch20.00 00 
kss move lock880.00 00 
ksuosstats global area4960.00 02,7580.00
ksutcpistat latch20.00 00 
ksv allocation latch2,6380.00 00 
ksv class latch3,9373.630.0100 
ksv msg queue latch5390.740.0005372.42
ksz_so allocation latch6,1130.210.0000 
ktfbn latch2,7100.00 00 
ktm adg jrnls20.00 00 
ktm adg lookuptable level 120.00 00 
ktm adg lookuptable level 220.00 00 
ktm adg space20.00 00 
ktm adg stages20.00 00 
ktm adg worklink20.00 00 
ktm global data1850.00 00 
ktm prv jrnls20.00 00 
ktmpj HT ls20.00 00 
kwqbsn:qsga2620.00 00 
kwslbmdl: metadata latch2780.00 00 
kwslbql: queue latch20.00 00 
kwslbutl: uncommitted txn latch20.00 00 
kwsptQcachLt: queue cache latch20.00 00 
kwsptTrncTsksLt: trunc task latch20.00 00 
kwsptjobAdPtLt: AdPt list latch1770.00 00 
kwsslLat: skiplist latch20.00 00 
kxfxscanrate_latch20.00 00 
lgwr LWN SCN562,4440.120.0000 
list of block allocation36,6550.00 00 
loader state object freelist18,5280.00 00 
lob segment dispenser latch1,134,8800.000.0000 
lob segment hash table latch390,8080.000.0000 
lob segment query latch20.00 00 
lock DBA buffer during media recovery20.00 00 
log archive config6680.00 00 
log write info0  0492,9710.00
log write worker phase28,1090.050.0000 
logical standby cache20.00 00 
logminer context allocation20.00 00 
logminer local20.00 00 
logminer work area20.00 00 
longop free list parent20.00 00 
managed standby2410.00 00 
message bitmap latch20.00 00 
message pool operations parent latch2,0590.00 00 
messages2,791,4190.180.0000 
msg queue latch20.00 00 
multiblock read objects22,9300.00 00 
name-service namespace bucket20.00 00 
ncodef allocation latch2,4640.00 00 
nineteenth cispare latch - S parent20.00 00 
nineteenth cispare latch - X parent20.00 00 
nineteenth cispare latch - children20.00 00 
ninth cispare latch - S parent20.00 00 
ninth cispare latch - X parent20.00 00 
ninth cispare latch - children20.00 00 
ninth spare latch - X parent20.00 00 
object queue header freelist3,601,5090.000.0000 
object queue header operation15,331,2010.000.0300 
object queue memory20.00 00 
object stats modification431,2730.00 00 
parallel query alloc buffer20.00 02,1900.00
parallel query stats20.00 00 
parameter list40.00 00 
parameter table management8,1120.050.0000 
pdb enqueue hash chains20.00 00 
peshm20.00 00 
pesom_free_list20.00 00 
pesom_hash_node20.00 00 
pkey global statistics20.00 00 
pmon dead latch1250.00 00 
post/wait queue1,453,0712.500.0001,026,9831.39
process allocation6,1660.110.2900 
process group creation6,1130.030.0000 
process memory detail20.00 00 
process pkey statistics list20.00 00 
process queue20.00 00 
process queue reference20.00 00 
qmn task queue latch1,0660.00 00 
quarantine object1150.00 00 
query server freelists20.00 00 
query server process4,4370.00 00 
queued dump request240.00 00 
queuing load statistics20.00 00 
read-moslty lock queue under pkey20.00 00 
readredo stats and histogram494,5290.00 00 
recovery domain hash bucket20.00 00 
redo allocation3,782,7770.250.00020,787,2020.08
redo copy20.00 020,793,1500.00
redo gen encryption key structure9390.00 00 
redo transport task4,3070.00 00 
redo writing2,253,9553.340.0000 
remote tool request latch3,0660.030.0000 
resmgr group change latch1,1470.00 00 
resmgr:active threads6,2830.00 00 
resmgr:actses change group1,1970.00 00 
resmgr:actses change state110.00 00 
resmgr:free threads list6,1310.230.0000 
resmgr:plan CPU method20.00 00 
resmgr:plan change alloc latch20.00 00 
resmgr:plan change latch20.00 00 
resmgr:resource group CPU method420.00 00 
resmgr:schema config2570.00 00 
resmgr:session queuing20.00 00 
resmgr:vc list latch20.00 00 
resumable state object10.00 00 
row cache objects20.00 00 
rules engine aggregate statistics20.00 00 
rules engine rule set statistics2040.00 00 
second Audit Vault latch20.00 00 
second cispare latch - S parent20.00 00 
second cispare latch - X parent20.00 00 
second cispare latch - children20.00 00 
sequence cache560,6210.000.0000 
service drain list7,2220.00 00 
session allocation282,0550.000.000276,0070.00
session idle bit7,512,1740.000.0000 
session queue latch20.00 00 
session state list latch6,6720.210.0000 
session statistics6,1330.030.0000 
session switching3,1800.090.00010.00
session timer2,4080.00 00 
seventeenth cispare latch - S parent20.00 00 
seventeenth cispare latch - X parent20.00 00 
seventeenth cispare latch - children20.00 00 
seventh cispare latch - S parent20.00 00 
seventh cispare latch - X parent20.00 00 
seventh cispare latch - children20.00 00 
seventh spare latch - X parent20.00 00 
sga hash table parent latch20.00 00 
shard latch20.00 00 
shardgroup list latch44,9390.000.0000 
shared pool5,388,4560.030.0702,6270.04
shared pool sim alloc20.00 00 
shared pool simulator168,3270.000.0000 
shared server configuration2,4190.00 00 
sim partition latch20.00 00 
simulator hash latch35,201,6490.000.0000 
simulator lru latch389,1790.020.00034,755,2600.02
sixteenth cispare latch - S parent20.00 00 
sixteenth cispare latch - X parent20.00 00 
sixteenth cispare latch - children20.00 00 
sixth cispare latch - S parent20.00 00 
sixth cispare latch - X parent20.00 00 
sixth cispare latch - children20.00 00 
sort extent pool911,1390.000.0000 
space background task latch67,10218.950.87214,0791.24
state object free list40.00 00 
statistics aggregation80.00 00 
subscriber Ht bkt20.00 00 
tablespace key chain20.00 00 
temp lob duration state obj allocation154,0600.00 00 
temporary table state object allocation5080.00 00 
tenth cispare latch - S parent20.00 00 
tenth cispare latch - X parent20.00 00 
tenth cispare latch - children20.00 00 
tenth spare latch - X parent20.00 00 
test excl. parent l020.00 00 
test excl. parent2 l020.00 00 
test excl. parent2 lmid cln20.00 00 
test mixed exclusive20.00 00 
test mode exclusive20.00 00 
test open exclusive20.00 00 
test pdb exclusive20.00 00 
test shared parent2 lmid20.00 00 
third cispare latch - S parent20.00 00 
third cispare latch - X parent20.00 00 
third cispare latch - children20.00 00 
thirteenth cispare latch - S parent20.00 00 
thirteenth cispare latch - X parent20.00 00 
thirteenth cispare latch - children20.00 00 
thirteenth spare latch - children20.00 00 
threshold alerts latch2870.00 00 
transaction allocation1,538,7580.000.0000 
transaction branch allocation4,2260.00 00 
twelfth cispare latch - S parent20.00 00 
twelfth cispare latch - X parent20.00 00 
twelfth cispare latch - children20.00 00 
twelfth spare latch - children20.00 00 
twentieth cispare latch - S parent20.00 00 
twentieth cispare latch - X parent20.00 00 
twentieth cispare latch - children20.00 00 
twenty-fifth spare latch - S par20.00 00 
twenty-fourth spare latch - S par20.00 00 
twenty-second spare latch - S par20.00 00 
twenty-third spare latch - S par20.00 00 
undo global data2,807,9330.000.0007630.00
virtual circuit buffers20.00 00 
virtual circuit holder20.00 00 
virtual circuit queues20.00 00 


Back to Latch Statistics
Back to Top

Latch Sleep Breakdown

Latch NameGet RequestsMissesSleepsSpin Gets
redo writing2,253,95575,220175,219
space background task latch67,10212,71711,1152,593
redo allocation3,782,7779,36599,356
cache buffers chains881,796,1255,3711005,267
shared pool5,388,4561,505981,427
cache buffers lru chain1,224,6857798771
ksv class latch3,9371431142
checkpoint queue latch4,010,88283182
object queue header operation15,331,20129128
Metadata in SGA latch442,20628127
process allocation6,166725


Back to Latch Statistics
Back to Top

Latch Miss Sources

Latch NameWhereNoWait Misses SleepsWaiter Sleeps
Metadata in SGA latchrfcdoml1011
cache buffers chainskcbgcur: fast path excl01100
cache buffers chainskcbchg: rollback0340
cache buffers chainskcbrls: pin release0100
cache buffers chainskcbnew: new latch again040
cache buffers chainskcbchg: change complete030
cache buffers chainskcbgtcr: fast path pin0223
cache buffers chainskcbzgb: scan from tail nowait020
cache buffers lru chainkcbzgws070
cache buffers lru chainkcbzgb015
checkpoint queue latchkcbbwthc: thread checkpoint buffers010
ksv class latchksvclsl: checkpool010
object queue header operationkcbo_link_q011
process allocationksuapc022
redo allocationkcrfw_redo_gen: redo allocation 1090
redo writingkcrfwnf: new logfile010
space background task latchktsj_grab_task07,01710,186
space background task latchktsj_detach_task03,104927
space background task latchktsj_smco_purgeexpired09800
space background task latchktsj_smco_movetasks0100
space background task latchktsjCreateTask042
unknown latchkghalo04846
unknown latchkghalp01716
unknown latchkghfrunp: no latch0130
unknown latchkghasp080
unknown latchkghfrunp: alloc: wait080
unknown latchkgh_heap_sizes030
unknown latchkghupr10129


Back to Latch Statistics
Back to Top

Mutex Sleep Summary

Mutex TypeLocationSleepsWait Time (ms)
Cursor Pinkkslce [KKSCHLPIN2]456490
Library Cachekglhdgn2 106100
Library Cachekglpndl1 95910
Library Cachekglpin1 450
Row Cache[14] kqrScan310
Library Cachekglpnal1 9030
Row Cache[10] kqreqd20
Cursor StatqesdpDPCSetupNextExec [KKSSTALOC16]20
Cursor StatqesdpIsResolved [KKSSTALOC14]22
Library Cachekglget2 210
Library Cachekgllkc1 5710
Cursor PinkksLockDelete [KKSCHLPIN6]11
Cursor Pinkksfbc [KKSCHLFSP2]11


Back to Latch Statistics
Back to Top

Parent Latch Statistics

No data exists for this section of the report.

Back to Latch Statistics
Back to Top

Child Latch Statistics

No data exists for this section of the report.

Back to Latch Statistics
Back to Top

Segment Statistics

Back to Top

Segments by Logical Reads

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Logical Reads%Total
INSIS_GEN_BLC_V10USERS BLC_PAYMENTS TABLE4703547035132,935,34430.87
INSIS_SYS_V10USERS UL_DAILY_ORDERS TABLE472914729115,475,2803.59
INSIS_JBPM7USERS SYS_LOB0000497241C00005$$ LOB49724253208812,230,3042.84
INSIS_GEN_V10USERS GEN_RISK_SELECT TABLE43887143887110,484,8642.44
INSIS_GEN_V10USERS BLC_POLICY_PAYMENT_PLAN TABLE46761467618,377,8241.95


Back to Segment Statistics
Back to Top

Segments by Physical Reads

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Physical Reads%Total
INSIS_JBPM7USERS SYS_LOB0000497241C00005$$ LOB4972425320886,245,08589.07
INSIS_GEN_BLC_V10USERS BLC_APPLICATIONS TABLE4697546975250,3293.57
INSIS_GEN_BLC_V10USERS BLC_PAYMENTS TABLE4703547035120,2581.72
RCUINSIS_IAUUSERS IAU_COMMON TABLE60700060700023,8250.34
INSIS_GEN_BLC_V10INDX APPL_TRX_TARGET_FK INDEX561405614014,7770.21


Back to Segment Statistics
Back to Top

Segments by Physical Read Requests

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Phys Read Requests%Total
INSIS_GEN_BLC_V10USERS BLC_APPLICATIONS TABLE4697546975250,32931.37
INSIS_JBPM7USERS SYS_LOB0000497241C00005$$ LOB497242532088150,86118.91
RCUINSIS_IAUUSERS IAU_COMMON TABLE60700060700023,8252.99
INSIS_GEN_BLC_V10INDX APPL_TRX_TARGET_FK INDEX561405614014,7771.85
INSIS_GEN_BLC_V10INDX BLC_TRX_OPEN_BALANCE INDEX56705567056,0690.76


Back to Segment Statistics
Back to Top

Segments by UnOptimized Reads

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#UnOptimized Reads%Total
INSIS_GEN_BLC_V10USERS BLC_APPLICATIONS TABLE4697546975250,32931.37
INSIS_JBPM7USERS SYS_LOB0000497241C00005$$ LOB497242532088150,86118.91
RCUINSIS_IAUUSERS IAU_COMMON TABLE60700060700023,8252.99
INSIS_GEN_BLC_V10INDX APPL_TRX_TARGET_FK INDEX561405614014,7771.85
INSIS_GEN_BLC_V10INDX BLC_TRX_OPEN_BALANCE INDEX56705567056,0690.76


Back to Segment Statistics
Back to Top

Segments by Optimized Reads

No data exists for this section of the report.

Back to Segment Statistics
Back to Top

Segments by Direct Physical Reads

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Direct Reads%Total
INSIS_JBPM7USERS SYS_LOB0000497241C00005$$ LOB4972425320886,245,08498.00
INSIS_GEN_BLC_V10USERS BLC_PAYMENTS TABLE4703547035120,2571.89


Back to Segment Statistics
Back to Top

Segments by Physical Writes

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Physical Writes%Total
INSIS_JBPM7USERS SYS_LOB0000497241C00005$$ LOB4972425320888,140,36895.60
RCUINSIS_IAUUSERS IAU_COMMON TABLE60700060700024,0730.28
INSIS_GEN_BLC_V10INDX BLC_TRX_OPEN_BALANCE INDEX567055670521,6660.25
INSIS_GEN_BLC_V10INDX BLC_PYMNT_OPEN_BALANCE INDEX554355543514,0260.16
INSIS_GEN_BLC_V10INDX APPL_TRX_TARGET_FK INDEX561405614013,2680.16


Back to Segment Statistics
Back to Top

Segments by Physical Write Requests

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Phys Write Requests%Total
INSIS_JBPM7USERS SYS_LOB0000497241C00005$$ LOB497242532088118,94733.19
INSIS_GEN_BLC_V10INDX BLC_TRX_OPEN_BALANCE INDEX567055670516,9514.73
INSIS_GEN_BLC_V10INDX APPL_TRX_TARGET_FK INDEX561405614012,6913.54
RCUINSIS_IAUUSERS IAU_COMMON TABLE60700060700011,7853.29
INSIS_GEN_BLC_V10INDX BLC_PYMNT_OPEN_BALANCE INDEX554355543510,2822.87


Back to Segment Statistics
Back to Top

Segments by Direct Physical Writes

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Direct Writes%Total
INSIS_JBPM7USERS SYS_LOB0000497241C00005$$ LOB4972425320888,118,98999.91
SYSSYSAUX WRH$_ACTIVE_SESSION_HISTORYWRH$_ACTIVE_SESSION_HISTORY_1998298958_32003TABLE PARTITION600475675108750.00


Back to Segment Statistics
Back to Top

Segments by Table Scans

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Table Scans%Total
RCUINSIS_OPSSUSERS IDX_JPS_PARENTDN_ID INDEX60744160744124,89626.81
INSIS_GEN_CFG_V10USERS CPRS_RULE_STMNT_PK INDEX3005083005083950.43
INSIS_GEN_BLC_V10USERS BLC_PAYMENTS TABLE470354703510.00


Back to Segment Statistics
Back to Top

Segments by DB Blocks Changes

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#DB Block Changes% of Capture
INSIS_GEN_V10TEMP PREM_INST_WP_MERGED TABLE3024624218752738,0164.34
INSIS_GEN_V10TEMP POL_BLK_INSURED_OBJECT_TBL TABLE3006324222592681,8084.01
INSIS_JBPM7USERS SYS_LOB0000497241C00005$$ LOB497242532088478,2722.81
INSIS_GEN_V10TEMP POL_BLK_INSURED_OBJECT_TBL TABLE3006325082368425,4882.50
INSIS_GEN_V10TEMP POL_BLK_COVERS_TBL TABLE3006251530880421,6322.48


Back to Segment Statistics
Back to Top

Segments by Row Lock Waits

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Row Lock Waits% of Capture
RCUBIP_WLS_RUNTIMEUSERS ACTIVE TABLE6082266082261381.25
INSIS_PEOPLE_V10USERS P_PEOPLE TABLE4740347403212.50
INSIS_PEOPLE_V10USERS P_PEOPLE_CHANGES TABLE469334693316.25


Back to Segment Statistics
Back to Top

Segments by ITL Waits

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#ITL Waits% of Capture
SYSSYSTEM SEG$ TABLE1481100.00


Back to Segment Statistics
Back to Top

Segments by Buffer Busy Waits

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Buffer Busy Waits% of Capture
RCUBIP_BIPLATFORMUSERS QRTZ_SCHEDULER_STATE TABLE60969460969460072.38
INSIS_JBPM7USERS SYS_LOB0000497241C00005$$ LOB49724253208814517.49
RCUINSIS_IAUUSERS DYN_IAU_RECORD_INDEX INDEX607003607003172.05
SYSSYSTEM I_UNDO2 INDEX3535151.81
RCUINSIS_IAUUSERS MLOG$_IAU_COMMON TABLE607420607420141.69


Back to Segment Statistics
Back to Top

Dictionary Cache Stats

CacheGet RequestsPct MissScan ReqsPct MissMod ReqsFinal Usage
dc_awr_control6720.000 445
dc_files1470.000 07
dc_global_oids43,6450.600 0386
dc_histogram_data301,5001.190 08,410
dc_histogram_defs609,9001.360 1,29012,303
dc_object_grants27,6170.520 0364
dc_objects785,8080.440 2455,921
dc_profiles2,8810.000 03
dc_props9100.000 02
dc_rollback_segments7,1220.000 3339
dc_segments140,1254.310 662,144
dc_sequences8,9570.880 8,95780
dc_table_scns1,7130.000 01
dc_tablespace_quotas250.000 01
dc_tablespaces76,7240.000 09
dc_users559,1880.024,2840.280223
outstanding_alerts600.000 25
sch_lj_objs205.000 40
sch_lj_oids2817.860 17



Back to Top

Library Cache Activity

NamespaceGet RequestsPct MissPin RequestsPct MissReloadsInvali- dations
ACCOUNT_STATUS6,6960.090 00
APP CONTEXT1620.003050.0000
AUDIT POLICY3,2130.003,2130.0000
BODY121,1350.074,113,6030.011920
CLUSTER2991.003110.9600
DBLINK4,2190.000 00
EDITION1,2100.002,4200.0000
FED APP2360.002360.0000
HINTSET OBJECT1315.381323.0800
INDEX3095.1831114.79300
OBJECT ID59100.000 00
QUEUE961.0431,8890.0230
RULESET20.00250.0010
SCHEMA40,7550.000 00
SQL AREA778,8799.3116,797,3120.7511,106186
SQL AREA BUILD44,77295.210 00
SQL AREA STATS44,13986.3744,13986.3710
SUBSCRIPTION130.00130.0000
TABLE/PROCEDURE361,9260.279,331,7130.083,9550
TRIGGER1,0140.79188,0640.02170
USER PRIVILEGE130.00130.0000



Back to Top

Memory Statistics

Back to Top

Memory Dynamic Components

ComponentBegin Snap Size (Mb)Current Size (Mb)Min Size (Mb)Max Size (Mb)Oper CountLast Op Typ/Mod
ASM Buffer Cache0.000.000.000.000STA/
DEFAULT 16K buffer cache0.000.000.000.000STA/
DEFAULT 2K buffer cache0.000.000.000.000STA/
DEFAULT 32K buffer cache0.000.000.000.000STA/
DEFAULT 4K buffer cache0.000.000.000.000STA/
DEFAULT 8K buffer cache0.000.000.000.000STA/
DEFAULT buffer cache41,088.0041,088.0041,088.0041,856.000SHR/IMM
Data Transfer Cache0.000.000.000.000STA/
In Memory RO Extension Area0.000.000.000.000STA/
In Memory RW Extension Area0.000.000.000.000STA/
In-Memory Area0.000.000.000.000STA/
KEEP buffer cache0.000.000.000.000STA/
PGA Target7,936.007,936.007,936.007,936.000STA/
RECYCLE buffer cache0.000.000.000.000STA/
SGA Target47,488.0047,488.0047,488.0047,488.000STA/
Shared IO Pool128.00128.000.00128.000GRO/IMM
java pool0.000.000.000.000STA/
large pool256.00256.00256.00256.000STA/
memoptimize buffer cache0.000.000.000.000STA/
shared pool5,760.005,760.005,248.005,760.000GRO/DEF
streams pool128.00128.000.00128.000GRO/IMM
unified pga pool0.000.000.000.000STA/


Back to Memory Statistics
Back to Top

Memory Resize Operations Summary

No data exists for this section of the report.

Back to Memory Statistics
Back to Top

Memory Resize Ops

No data exists for this section of the report.

Back to Memory Statistics
Back to Top

Process Memory Summary

CategoryAlloc (MB)Used (MB)Avg Alloc (MB)Std Dev Alloc (MB)Max Alloc (MB)Hist Max Alloc (MB)Num ProcNum Alloc
BFreeable937.750.005.4826.48291 171171
Other1,779.69 6.6414.25148250268268
PL/SQL699.1764.372.8712.35120130244236
SQL16.491.870.080.111537207189
Total3,433.0966.2415.0753.20560917890864
EFreeable342.130.002.023.8621 169169
Other1,550.61 5.7913.63150150268268
PL/SQL701.2952.952.8713.56130133244236
SQL23.418.940.110.507537207191
Total2,617.4461.8910.8031.55308820888864


Back to Memory Statistics
Back to Top

SGA Memory Summary

SGA regionsBegin Size (Bytes)End Size (Bytes) (if different)
Database Buffers43,218,108,416 
Fixed Size23,094,728 
Redo Buffers111,120,384 
Variable Size6,442,450,944 

Back to Memory Statistics
Back to Top

SGA breakdown difference by Pool and Name

PoolNameBegin MBEnd MB% Diff
largePX msg pool54.0054.000.00
largefree memory202.00202.000.00
sharedKGLDA73.2377.535.87
sharedKGLH01,026.331,058.823.17
sharedKGLHD130.06135.664.30
sharedKTI-UNDO82.5782.570.00
sharedResult Cache238.12238.120.00
sharedSO private sga90.4790.470.00
sharedSQLA1,113.901,133.681.78
sharedSQLP175.24193.0010.13
shareddb_block_hash_buckets256.00256.000.00
sharedfree memory1,043.80975.57-6.54
sharedksipc state object71.2271.220.00
sharedksunfy_meta 1256.81256.810.00
sharedprivate strands144.17144.170.00
sharedrow cache0.020.020.00
sharedsession98.3698.360.00
streamsfree memory127.37127.370.00
 buffer_cache41,088.0041,088.000.00
 fixed_sga22.0222.020.00
 log_buffer105.97105.970.00
 shared_io_pool128.00128.000.00


Back to Memory Statistics
Back to Top

Replication Statistics (GoldenGate, XStream)

Back to Top

Replication System Resource Usage

No data exists for this section of the report.

Back to Replication Statistics (GoldenGate, XStream)
Back to Top

Replication SGA Usage

No data exists for this section of the report.

Back to Replication Statistics (GoldenGate, XStream)
Back to Top

GoldenGate Capture

No data exists for this section of the report.

Back to Replication Statistics (GoldenGate, XStream)
Back to Top

GoldenGate Capture Rate

No data exists for this section of the report.

Back to Replication Statistics (GoldenGate, XStream)
Back to Top

GoldenGate Apply Reader

No data exists for this section of the report.

Back to Replication Statistics (GoldenGate, XStream)
Back to Top

GoldenGate Apply Coordinator

No data exists for this section of the report.

Back to Replication Statistics (GoldenGate, XStream)
Back to Top

GoldenGate Apply Server

No data exists for this section of the report.

Back to Replication Statistics (GoldenGate, XStream)
Back to Top

GoldenGate Apply Coordinator Rate

No data exists for this section of the report.

Back to Replication Statistics (GoldenGate, XStream)
Back to Top

GoldenGate Apply Reader and Server Rate

No data exists for this section of the report.

Back to Replication Statistics (GoldenGate, XStream)
Back to Top

XStream Capture

No data exists for this section of the report.

Back to Replication Statistics (GoldenGate, XStream)
Back to Top

XStream Capture Rate

No data exists for this section of the report.

Back to Replication Statistics (GoldenGate, XStream)
Back to Top

XStream Apply Reader

No data exists for this section of the report.

Back to Replication Statistics (GoldenGate, XStream)
Back to Top

XStream Apply Coordinator

No data exists for this section of the report.

Back to Replication Statistics (GoldenGate, XStream)
Back to Top

XStream Apply Server

No data exists for this section of the report.

Back to Replication Statistics (GoldenGate, XStream)
Back to Top

XStream Apply Coordinator Rate

No data exists for this section of the report.

Back to Replication Statistics (GoldenGate, XStream)
Back to Top

XStream Apply Reader and Server Rate

No data exists for this section of the report.

Back to Replication Statistics (GoldenGate, XStream)
Back to Top

Table Statistics by DML Operations

No data exists for this section of the report.

Back to Replication Statistics (GoldenGate, XStream)
Back to Top

Table Statistics by Conflict Resolutions

No data exists for this section of the report.

Back to Replication Statistics (GoldenGate, XStream)
Back to Top

Replication Large Transaction Statistics

No data exists for this section of the report.

Back to Replication Statistics (GoldenGate, XStream)
Back to Top

Replication Long Running Transaction Statistics

No data exists for this section of the report.

Back to Replication Statistics (GoldenGate, XStream)
Back to Top

Advanced Queuing

Back to Top

Advanced Queue CPU/IO Usage

Session TypeFirst LogonCPU time(s)User IO Wait time(s)SYS IO Wait time(s)
QMON Slave22-May-23 23:34:010.330.000.00
EMON Regular Slave13-Sep-23 01:00:120.180.000.00
EMON Reliable Slave13-Sep-23 01:00:120.040.000.00
EMON Coordinator13-Sep-23 01:00:120.040.000.00
QMON Coordinator22-May-23 23:34:010.000.000.00


Back to Advanced Queuing
Back to Top

Buffered Queues

No data exists for this section of the report.

Back to Advanced Queuing
Back to Top

Buffered Queue Subscribers

No data exists for this section of the report.

Back to Advanced Queuing
Back to Top

Rule Set

RuleEvalsNo-SQL Eval%SQL ExecsCPU(s)Ela(s)Eval /SecSQL per EvalEla(s) per EvalCPU(s) per EvalReloads
SYS.ALERT_QUE_R 20.0000.020.050.000.000.030.011


Back to Advanced Queuing
Back to Top

Persistent Queues

Queue NameEnq MsgsDeq Msgs%Exp Msgs%Delay MsgsEnq Time(s)Deq Time(s)%Transf Time%Eval Time
INSIS_SYS_V10.SRV_EVENTS_IN_QUEUE_JMS(57571) 7227220.000.001.904.010.000.00
INSIS_SYS_V10.SRV_EVENTS_OUT_QUEUE_JMS(57573) 7237230.000.001,895.470.260.000.00
SYS.AQ$_SCHEDULER$_EVENT_QTAB_E(19074) 00  0.000.00  
SYS.AQ_SRVNTFN_TABLE_Q_1(674614) 00  0.000.00  
SYS.SCHEDULER$_EVENT_QUEUE(19075) 00  0.000.00  


Back to Advanced Queuing
Back to Top

Persistent Queues Rate

Queue NameEnqueue Msgs/secDequeue Msgs/secAvg Enqueue sec / msgAvg Dequeue sec / msg
INSIS_SYS_V10.SRV_EVENTS_IN_QUEUE_JMS(57571) 0.100.100.000.01
INSIS_SYS_V10.SRV_EVENTS_OUT_QUEUE_JMS(57573) 0.100.102.620.00
SYS.AQ$_SCHEDULER$_EVENT_QTAB_E(19074) 0.000.00  
SYS.AQ_SRVNTFN_TABLE_Q_1(674614) 0.000.00  
SYS.SCHEDULER$_EVENT_QUEUE(19075) 0.000.00  


Back to Advanced Queuing
Back to Top

Persistent Queue Subscribers

Subscriber/QueueEnqueue MsgsDequeue MsgsExpire MsgsEnqueue Msgs/secDequeue Msgs/secExpire Msgs/sec
ILM_AGENT(1)/SYS.SCHEDULER$_EVENT_QUEUE 0000.000.000.00
INSIS_SCHEDULER_CONSUMER(21)/SYS.SCHEDULER$_EVENT_QUEUE 0000.000.000.00


Back to Advanced Queuing
Back to Top

Resource Limit Stats

Resource NameCurrent UtilizationMaximum Utilization Initial Allocation Limit
smartio_overhead_memory0174,1040UNLIMITED
smartio_sessions010UNLIMITED



Back to Top

Shared Server Statistics

Back to Top

Shared Servers Activity

Avg Total ConnectionsAvg Active ConnectionsAvg Total Shared SrvrsAvg Active Shared SrvrsAvg Total DispatchersAvg Active Dispatchers
000000


Back to Shared Server Statistics
Back to Top

Shared Servers Rates

Common Queue Per SecDisp Queue Per SecServer Msgs/SecServer KB/SecCommon Queue TotalDisp Queue TotalServer Total MsgsServer Total(KB)
0000.000000


Back to Shared Server Statistics
Back to Top

Shared Servers Utilization

No data exists for this section of the report.

Back to Shared Server Statistics
Back to Top

Shared Servers Common Queue

No data exists for this section of the report.

Back to Shared Server Statistics
Back to Top

Shared Servers Dispatchers

No data exists for this section of the report.

Back to Shared Server Statistics
Back to Top

Initialization Parameters

Back to Top

Modified Parameters

Parameter NameBegin valueEnd value (if different)
DBFIPS_140FALSE  
_disable_directory_link_checkTRUE  
_kolfuseslfTRUE  
archive_lag_target300  
audit_file_dest/rdsdbdata/admin/NNESP01P/adump  
audit_trailDB  
compatible19.0.0  
control_files/rdsdbdata/db/NNESP01P_A/controlfile/control-01.ctl  
db_block_checkingMEDIUM  
db_create_file_dest/rdsdbdata/db  
db_flash_cache_file/rdslocalstorage/dsfc1.dbf, /rdslocalstorage/dsfc2.dbf, /rdslocalstorage/dsfc3.dbf, /rdslocalstorage/dsfc4.dbf, /rdslocalstorage/dsfc5.dbf, /rdslocalstorage/dsfc6.dbf, /rdslocalstorage/dsfc7.dbf, /rdslocalstorage/dsfc8.dbf  
db_flash_cache_size0, 0, 0, 0, 0, 0, 0, 0  
db_nameNNESP01P  
db_recovery_file_dest_size53687091200  
db_unique_nameNNESP01P_A  
dg_broker_config_file1/rdsdbdata/config/dr1NNESP01P.dat  
dg_broker_config_file2/rdsdbdata/config/dr2NNESP01P.dat  
dg_broker_startTRUE  
diagnostic_dest/rdsdbdata/log  
enable_pluggable_databaseFALSE  
fal_server    
filesystemio_optionssetall  
heat_mapOFF  
job_queue_processes995  
local_listener(ADDRESS = (PROTOCOL = TCP)(PORT = 1521)(HOST = 10.106.212.217)), (ADDRESS = (PROTOCOL = TCP)(PORT = 1137)(HOST = 172.20.2.190))(ADDRESS = (PROTOCOL = TCP)(HOST = 10.106.212.217)(PORT = 1521)), (ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.2.190)(PORT = 1137))
log_archive_configdg_config=(NNESP01P_A, NNESP01P_B)  
log_archive_dest_1location="/rdsdbdata/db/NNESP01P_A/arch/redolog", valid_for=(ALL_LOGFILES, ALL_ROLES)  
log_archive_dest_2service="nnesp01p_b", ASYNC NOAFFIRM delay=0 optional compression=disable max_failure=0 reopen=300 db_unique_name="NNESP01P_B" net_timeout=30, valid_for=(online_logfile, all_roles)  
log_archive_dest_state_2ENABLE  
log_archive_format-%s-%t-%r.arc  
log_archive_max_processes4  
log_archive_min_succeed_dest1  
log_archive_trace0  
log_buffer100663296  
max_idle_blocker_time0  
max_string_sizeSTANDARD  
memory_target0  
nls_length_semanticsBYTE  
open_cursors65500  
pga_aggregate_target8284232704  
processes6715  
recyclebinON  
redo_transport_userRDS_DATAGUARD  
remote_dependencies_modeSIGNATURE  
sga_target49794777088  
sort_area_size1073741824  
spfile/rdsdbbin/oracle/dbs/spfileNNESP01P.ora  
standby_file_managementAUTO  
undo_retention43200  
undo_tablespaceUNDO_T1  
use_large_pagesONLY  


Back to Initialization Parameters
Back to Top

Modified Multi-Valued Parameters

Parameter NameBegin valueEnd value (if different)
db_flash_cache_file/rdslocalstorage/dsfc1.dbf  
/rdslocalstorage/dsfc2.dbf  
/rdslocalstorage/dsfc3.dbf  
/rdslocalstorage/dsfc4.dbf  
/rdslocalstorage/dsfc5.dbf  
/rdslocalstorage/dsfc6.dbf  
/rdslocalstorage/dsfc7.dbf  
/rdslocalstorage/dsfc8.dbf  
db_flash_cache_size0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
0  
local_listener(ADDRESS = (PROTOCOL = TCP)(PORT = 1137)(HOST = 172.20.2.190))(NULL)
(ADDRESS = (PROTOCOL = TCP)(PORT = 1521)(HOST = 10.106.212.217))(NULL)
(NULL)(ADDRESS = (PROTOCOL = TCP)(HOST = 10.106.212.217)(PORT = 1521))
(NULL)(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.2.190)(PORT = 1137))
log_archive_dest_2ASYNC NOAFFIRM delay=0 optional compression=disable max_failure=0 reopen=300 db_unique_name="NNESP01P_B" net_timeout=30  
service="nnesp01p_b"  
valid_for=(online_logfile, all_roles)  


Back to Initialization Parameters
Back to Top

Active Session History (ASH) Report

Back to Top

Top SQL with Top Events

SQL IDPlan HashExecutions% ActivityEvent% EventTop Row Source% Row SourceSQL Text
b89tb01phnr7s23917351844728.63 log file switch (archiving needed)15.49LOAD AS SELECT - (CURSOR DURATION MEMORY)15.49 WITH C_MASTER AS (SELECT B.PRO...
buffer busy waits12.77LOAD AS SELECT - (CURSOR DURATION MEMORY)12.77
ay8q3jzbthvuh 169.38 log file switch (archiving needed)8.44** Row Source Not Available **8.44 INSERT INTO IAU_COMMON COLUMNS...
8pjwnhc1c62pz 54.94 log file switch (archiving needed)4.94** Row Source Not Available **4.94 BEGIN :1 := insis_sys_v10.aq_u...
5t0w7b7rwmddq323468136664.57 log file switch (archiving needed)2.98UPDATE2.98 UPDATE QRTZ_SCHEDULER_STATE SE...
buffer busy waits1.54UPDATE1.54
d8uxmtq3qwjqu30467139481333.47 CPU + Wait for CPU3.47SELECT STATEMENT2.40 SELECT NAMESPACE, ATTRIBUTE FR...


Back to Active Session History (ASH) Report
Back to Top

Top SQL with Top Row Sources

SQL IDPlan HashExecutions% ActivityRow Source% Row SourceTop Event% EventSQL Text
b89tb01phnr7s23917351844728.63 LOAD AS SELECT - (CURSOR DURATION MEMORY)28.58log file switch (archiving needed)15.49 WITH C_MASTER AS (SELECT B.PRO...
ay8q3jzbthvuh 169.38 ** Row Source Not Available **9.38log file switch (archiving needed)8.44 INSERT INTO IAU_COMMON COLUMNS...
8pjwnhc1c62pz 54.94 ** Row Source Not Available **4.94log file switch (archiving needed)4.94 BEGIN :1 := insis_sys_v10.aq_u...
5t0w7b7rwmddq323468136664.57 UPDATE4.57log file switch (archiving needed)2.98 UPDATE QRTZ_SCHEDULER_STATE SE...
d8uxmtq3qwjqu30467139481333.47 SELECT STATEMENT2.40CPU + Wait for CPU2.40 SELECT NAMESPACE, ATTRIBUTE FR...


Back to Active Session History (ASH) Report
Back to Top

Top Sessions

Sid, Serial#% ActivityEvent% EventUserProgram# Samples ActiveXIDs
8217,527344.81log file switch (archiving needed)2.93 INSIS_GEN_V10_RLSJDBC Thin Client112/722 [ 16%]2
CPU + Wait for CPU1.44 55/722 [ 8%]32
8845,495723.55log file switch (archiving needed)2.93 INSIS_GEN_V10_RLSJDBC Thin Client112/722 [ 16%]0
4436,580173.53buffer busy waits2.12 INSIS_GEN_V10_RLSJDBC Thin Client81/722 [ 11%]0
2542,304063.45buffer busy waits1.54 INSIS_GEN_V10_RLSJDBC Thin Client59/722 [ 8%]0
log file switch (archiving needed)1.36 52/722 [ 7%]0
1283,274723.40buffer busy waits1.52 INSIS_GEN_V10_RLSJDBC Thin Client58/722 [ 8%]0
log file switch (archiving needed)1.36 52/722 [ 7%]0


Back to Active Session History (ASH) Report
Back to Top

Top Blocking Sessions

Blocking Sid (Inst)% ActivityEvent Caused% EventUserProgram# Samples ActiveXIDs
3157, 1681( 1)50.13log file switch (archiving needed)48.30 SYSoracle@ip-172-20-2-190 (LGWR)47/722 [ 7%]0
log file sync1.83
6951,17519( 1)4.52buffer busy waits4.52 RCUINSIS_IAU_APPENDJDBC Thin Client112/722 [ 16%]3
9477,53378( 1)3.13buffer busy waits3.13 RCUBIP_BIPLATFORMJDBC Thin Client60/722 [ 8%]0
1282,53936( 1)2.72buffer busy waits2.09 INSIS_SYS_V10JDBC Thin Client105/722 [ 15%]0
647,49515( 1)2.35buffer busy waits2.35 RCUINSIS_IAU_APPENDJDBC Thin Client112/722 [ 16%]2


Back to Active Session History (ASH) Report
Back to Top

Top PL/SQL Procedures

PL/SQL Entry Subprogram% ActivityPL/SQL Current Subprogram% Current
INSIS_GEN_CFG_V10.RB_SRV.RULEREQUEST30.75 SQL30.38
INSIS_SYS_V10.AQ_UTILS.SEND_PING7.73 SYS.DBMS_AQ.ENQUEUE#24.94
SQL2.80
INSIS_BLC_GLOBAL_CUST.CUST_UTIL_PKG.PREVALID_STATUS_PAYMENT_POLLER4.75 SQL4.39
INSIS_SYS_V10.SRV_EVENTS.SYSEVENT4.39 SQL4.21
INSIS_SYS_V10.INSIS_CONTEXT.PREPARE_SESSION3.63 SQL2.87


Back to Active Session History (ASH) Report
Back to Top

Top Events

EventEvent ClassSession Type% ActivityAvg Active Sessions
log file switch (archiving needed)ConfigurationFOREGROUND 45.612.42
buffer busy waitsConcurrencyFOREGROUND 25.601.36
CPU + Wait for CPUCPUFOREGROUND 10.270.54
log file switch (archiving needed)ConfigurationBACKGROUND 2.690.14
log file parallel writeSystem I/OBACKGROUND 2.660.14


Back to Active Session History (ASH) Report
Back to Top

Top Event P1/P2/P3 Values

Event% EventP1, P2, P3 Values% ActivityParameter 1Parameter 2Parameter 3
buffer busy waits27.87"1","128","15"5.51 file#block#class#
"3","192","25"2.90
"3","224","29"2.04
log file parallel write2.66"1","1","1"0.55 filesblocksrequests
log file sync1.83"75","28683889775","0"0.03 buffer#sync scnNOT DEFINED


Back to Active Session History (ASH) Report
Back to Top

Top DB Objects

Object ID% ActivityEvent% EventObject Name (Type)Tablespace
6096941.54buffer busy waits1.54 RCUBIP_BIPLATFORM.QRTZ_SCHEDULER_STATE (TABLE)USERS
4972421.18direct path write0.81 INSIS_JBPM7.SYS_LOB0000497241C00005$$ (LOB)USERS
15071.10buffer busy waits1.10 SYS.SYS_FBA_FA (TABLE)SYSTEM


Back to Active Session History (ASH) Report
Back to Top

Activity Over Time

Slot Time (Duration)Slot CountEventEvent Count% Event
13:00:28 (9.5 min)70CPU + Wait for CPU330.86
log file parallel write120.31
log file sync110.29
13:10:00 (10.0 min)62CPU + Wait for CPU320.84
log file parallel write110.29
log file sync50.13
13:20:00 (10.0 min)58CPU + Wait for CPU340.89
log file parallel write90.24
log file sync40.10
13:30:00 (10.0 min)89CPU + Wait for CPU521.36
log file parallel write110.29
log file sync90.24
13:40:00 (10.0 min)60CPU + Wait for CPU320.84
direct path write40.10
log file parallel write40.10
13:50:00 (10.0 min)71CPU + Wait for CPU471.23
direct path write60.16
log file parallel write60.16
14:00:00 (10.0 min)66CPU + Wait for CPU491.28
log file parallel write50.13
db file sequential read30.08
14:10:00 (10.0 min)118CPU + Wait for CPU380.99
log file switch (checkpoint incomplete)280.73
log file parallel write140.37
14:20:00 (10.0 min)95CPU + Wait for CPU350.91
log file switch (checkpoint incomplete)260.68
log file parallel write110.29
14:30:00 (10.0 min)304log file switch (archiving needed)1042.72
CPU + Wait for CPU691.80
buffer busy waits581.52
14:40:00 (10.0 min)1,518buffer busy waits75419.70
log file switch (archiving needed)74719.51
CPU + Wait for CPU110.29
14:50:00 (10.0 min)1,309log file switch (archiving needed)99826.07
buffer busy waits2546.64
enq: SQ - contention240.63
15:00:00 (51 secs)8CPU + Wait for CPU80.21


Back to Active Session History (ASH) Report
Back to Top

ADDM Task ADDM:1998298958_1_34844

ADDM Report for Task 'ADDM:1998298958_1_34844'
----------------------------------------------

Analysis Period
---------------
AWR snapshot range from 34843 to 34844.
Time period starts at 15-SEP-23 02.00.31 PM
Time period ends at 15-SEP-23 03.00.51 PM

Analysis Target
---------------
Database 'NNESP01P' with DB ID 1998298958.
Database version 19.0.0.0.0.
ADDM performed an analysis of instance NNESP01P, numbered 1 and hosted at
ip-172-20-2-190.

Activity During the Analysis Period
-----------------------------------
Total database time was 30458 seconds.
The average number of active sessions was 8.41.

Summary of Findings
-------------------
Description                Active Sessions      Recommendations
Percent of Activity
-------------------------  -------------------  ---------------
1  Top SQL Statements         5.24 | 62.23         5
2  Slow Archivers             4.65 | 55.28         2
3  Buffer Busy - Hot Objects  2.68 | 31.91         1
4  PL/SQL Execution           .58 | 6.91           4
5  Sequence Usage             .49 | 5.86           1
6  Log File Switches          .25 | 3.02           2


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Findings and Recommendations
----------------------------

Finding 1: Top SQL Statements
Impact is 5.23 active sessions, 62.23% of total activity.
---------------------------------------------------------
SQL statements consuming significant database time were found. These
statements offer a good opportunity for performance improvement.

Recommendation 1: SQL Tuning
Estimated benefit is 2.98 active sessions, 35.41% of total activity.
--------------------------------------------------------------------
Action
Investigate the SELECT statement with SQL_ID "b89tb01phnr7s" for
possible performance improvements. You can supplement the information
given here with an ASH report for this SQL_ID.
Related Object
SQL statement with SQL_ID b89tb01phnr7s.
WITH C_MASTER AS (SELECT B.PRODUCT_LINK_ID AS PRODUCT_LINK_ID, LEVEL
AS LVL FROM CFG_NL_PRODUCT B WHERE EXISTS ( SELECT 1 FROM
CFG_NL_PRODUCT WHERE PRODUCT_CODE=:B1 AND STATUS IN ( :B6 ,:B5 ) ) OR
:B4 IN ( :B3 , :B2 ) START WITH B.PRODUCT_CODE = :B1 CONNECT BY PRIOR
B.PARENT_PRODUCT_LINK_ID = B.PRODUCT_LINK_ID ORDER BY LEVEL ASC) , TB
AS ( SELECT CFGOBJ.OBJECT_LINK_ID, CFGOBJ.PRODUCT_LINK_ID,
CFGOBJ.OBJECT_TYPE_CPR_ID, CFGOBJ.VALID_FROM, CFGOBJ.VALID_TO,
CFGOBJ.VERSION_IN, CFGOBJ.VERSION_OUT, CFGOBJ.OBJECT_NUM_FLG,
CFGOBJ.MANDATORY, CFGOBJ.RECOMMENDED, M.LVL FROM C_MASTER M,
CFG_NL_OBJECTS CFGOBJ, CPR_OBJECTS CPROBJ WHERE
CFGOBJ.PRODUCT_LINK_ID = M.PRODUCT_LINK_ID AND
CFGOBJ.OBJECT_TYPE_CPR_ID = CPROBJ.OBJECT_TYPE_CPR_ID AND
CPROBJ.OBJECT_TYPE = NVL ( :B8 , CPROBJ.OBJECT_TYPE ) AND ( (NOT
EXISTS (SELECT 1 FROM CFG_NL_OBJECT_LAYERS L WHERE L.CFG_ID =
CFGOBJ.OBJECT_LINK_ID AND ROWNUM = 1) OR EXISTS (SELECT 1 FROM
CFG_NL_OBJECT_LAYERS L WHERE L.CFG_ID = CFGOBJ.OBJECT_LINK_ID AND
INSTR(:B7 , TO_CHAR(L.LAYER_ID)) > 0 AND L.ALLOWED = :B9 AND ROWNUM =
1)) OR :B7 IS NULL ) AND ( EXISTS (SELECT 1 FROM TABLE( :B10 )
PROD_VER WHERE PROD_VER.VERSION = CFGOBJ.VERSION_IN AND
CFGOBJ.PRODUCT_LINK_ID = PROD_VER.PRODUCT_LINK_ID ) OR :B4 IN ( :B3 ,
:B2 )) ) SELECT A.OBJECT_LINK_ID, A.PRODUCT_LINK_ID,
A.OBJECT_TYPE_CPR_ID, A.VALID_FROM, A.VALID_TO, A.VERSION_IN,
A.VERSION_OUT, A.OBJECT_NUM_FLG, A.MANDATORY, A.RECOMMENDED FROM TB A
WHERE (( :B4 IN (:B3 , :B11 ) AND NOT EXISTS (SELECT 1 FROM TB B
WHERE B.OBJECT_LINK_ID <> A.OBJECT_LINK_ID AND B.PRODUCT_LINK_ID <>
A.PRODUCT_LINK_ID AND B.OBJECT_TYPE_CPR_ID = A.OBJECT_TYPE_CPR_ID AND
B.LVL < A.LVL) ) OR :B4 IN ( :B9 , :B2 ))
Rationale
The SQL spent only 0% of its database time on CPU, I/O and Cluster
waits. Therefore, the SQL Tuning Advisor is not applicable in this case.
Look at performance data for the SQL to find potential improvements.
Rationale
Database time for this SQL was divided as follows: 100% for SQL
execution, 0% for parsing, 0% for PL/SQL execution and 0% for Java
execution.
Rationale
SQL statement with SQL_ID "b89tb01phnr7s" was executed 61071 times and
had an average elapsed time of 0.17 seconds.
Rationale
Waiting for event "log file switch (archiving needed)" in wait class
"Configuration" accounted for 54% of the database time spent in
processing the SQL statement with SQL_ID "b89tb01phnr7s".
Rationale
Waiting for event "buffer busy waits" in wait class "Concurrency"
accounted for 44% of the database time spent in processing the SQL
statement with SQL_ID "b89tb01phnr7s".
Rationale
Top level calls to execute the PL/SQL statement with SQL_ID
"3ajsr75apqgd8" are responsible for 100% of the database time spent on
the SELECT statement with SQL_ID "b89tb01phnr7s".
Related Object
SQL statement with SQL_ID 3ajsr75apqgd8.
BEGIN insis_gen_cfg_v10.rb_srv.RuleRequest(:1 , :2 , :3 , :4 ) ; END;

Recommendation 2: SQL Tuning
Estimated benefit is .98 active sessions, 11.6% of total activity.
------------------------------------------------------------------
Action
Investigate the INSERT statement with SQL_ID "ay8q3jzbthvuh" for
possible performance improvements. You can supplement the information
given here with an ASH report for this SQL_ID.
Related Object
SQL statement with SQL_ID ay8q3jzbthvuh.
INSERT INTO IAU_COMMON COLUMNS ( IAU_ID, IAU_COMPONENTTYPE,
IAU_MAJORVERSION, IAU_MINORVERSION, IAU_INSTANCEID, IAU_HOSTID,
IAU_HOSTNWADDR, IAU_MODULEID, IAU_PROCESSID, IAU_ORACLEHOME,
IAU_HOMEINSTANCE, IAU_ECID, IAU_RID, IAU_CONTEXTFIELDS,
IAU_SESSIONID, IAU_TARGETCOMPONENTTYPE, IAU_APPLICATIONNAME,
IAU_EVENTTYPE, IAU_EVENTCATEGORY, IAU_EVENTSTATUS,
IAU_TSTZORIGINATING, IAU_THREADID, IAU_COMPONENTNAME, IAU_INITIATOR,
IAU_MESSAGETEXT, IAU_FAILURECODE, IAU_REMOTEIP, IAU_TARGET,
IAU_RESOURCE, IAU_ROLES, IAU_DOMAINNAME, IAU_COMPONENTDATA,
IAU_AUDITUSER, IAU_TENANTID, IAU_TRANSACTIONID, IAU_USERTENANTID,
IAU_SERVERNAME ) VALUES ( :1 , :2 , :3 , :4 , :5 , :6 , :7 , :8 , :9
, :10 , :11 , :12 , :13 , :14 , :15 , :16 , :17 , :18 , :19 , :20 ,
:21 , :22 , :23 , :24 , :25 , :26 , :27 , :28 , :29 , :30 , :31 , :32
, :33 , :34 , :35 , :36 , :37  )
Rationale
The SQL spent only 0% of its database time on CPU, I/O and Cluster
waits. Therefore, the SQL Tuning Advisor is not applicable in this case.
Look at performance data for the SQL to find potential improvements.
Rationale
Database time for this SQL was divided as follows: 100% for SQL
execution, 0% for parsing, 0% for PL/SQL execution and 0% for Java
execution.
Rationale
SQL statement with SQL_ID "ay8q3jzbthvuh" was executed 728 times and had
an average elapsed time of 4.8 seconds.
Rationale
Waiting for event "log file switch (archiving needed)" in wait class
"Configuration" accounted for 89% of the database time spent in
processing the SQL statement with SQL_ID "ay8q3jzbthvuh".

Recommendation 3: SQL Tuning
Estimated benefit is .51 active sessions, 6.11% of total activity.
------------------------------------------------------------------
Action
Investigate the PL/SQL statement with SQL_ID "8pjwnhc1c62pz" for
possible performance improvements. You can supplement the information
given here with an ASH report for this SQL_ID.
Related Object
SQL statement with SQL_ID 8pjwnhc1c62pz.
BEGIN :1 := insis_sys_v10.aq_utils.send_ping(:2 ); END;
Rationale
The SQL Tuning Advisor cannot operate on PL/SQL statements.
Rationale
Database time for this SQL was divided as follows: 0% for SQL execution,
0% for parsing, 100% for PL/SQL execution and 0% for Java execution.
Rationale
SQL statement with SQL_ID "8pjwnhc1c62pz" was executed 316 times and had
an average elapsed time of 9.3 seconds.
Rationale
Waiting for event "log file switch (archiving needed)" in wait class
"Configuration" accounted for 100% of the database time spent in
processing the SQL statement with SQL_ID "8pjwnhc1c62pz".

Recommendation 4: SQL Tuning
Estimated benefit is .48 active sessions, 5.65% of total activity.
------------------------------------------------------------------
Action
Investigate the UPDATE statement with SQL_ID "5t0w7b7rwmddq" for
possible performance improvements. You can supplement the information
given here with an ASH report for this SQL_ID.
Related Object
SQL statement with SQL_ID 5t0w7b7rwmddq.
UPDATE QRTZ_SCHEDULER_STATE SET LAST_CHECKIN_TIME = :1  WHERE
INSTANCE_NAME = :2
Rationale
The SQL spent only 0% of its database time on CPU, I/O and Cluster
waits. Therefore, the SQL Tuning Advisor is not applicable in this case.
Look at performance data for the SQL to find potential improvements.
Rationale
Database time for this SQL was divided as follows: 100% for SQL
execution, 0% for parsing, 0% for PL/SQL execution and 0% for Java
execution.
Rationale
SQL statement with SQL_ID "5t0w7b7rwmddq" was executed 660 times and had
an average elapsed time of 2.6 seconds.
Rationale
Waiting for event "log file switch (archiving needed)" in wait class
"Configuration" accounted for 65% of the database time spent in
processing the SQL statement with SQL_ID "5t0w7b7rwmddq".

Recommendation 5: SQL Tuning
Estimated benefit is .29 active sessions, 3.46% of total activity.
------------------------------------------------------------------
Action
Investigate the SELECT statement with SQL_ID "69sv4apbmu1u6" for
possible performance improvements. You can supplement the information
given here with an ASH report for this SQL_ID.
Related Object
SQL statement with SQL_ID 69sv4apbmu1u6.
SELECT SRV_EVENT_SEQ.nextval NEXTNUMBER FROM dual
Rationale
The SQL spent only 0% of its database time on CPU, I/O and Cluster
waits. Therefore, the SQL Tuning Advisor is not applicable in this case.
Look at performance data for the SQL to find potential improvements.
Rationale
Database time for this SQL was divided as follows: 100% for SQL
execution, 0% for parsing, 0% for PL/SQL execution and 0% for Java
execution.
Rationale
SQL statement with SQL_ID "69sv4apbmu1u6" was executed 318 times and had
an average elapsed time of 3.3 seconds.
Rationale
Waiting for event "log file switch (archiving needed)" in wait class
"Configuration" accounted for 77% of the database time spent in
processing the SQL statement with SQL_ID "69sv4apbmu1u6".
Rationale
Top level calls to execute the PL/SQL statement with SQL_ID
"8pjwnhc1c62pz" are responsible for 100% of the database time spent on
the SELECT statement with SQL_ID "69sv4apbmu1u6".
Related Object
SQL statement with SQL_ID 8pjwnhc1c62pz.
BEGIN :1 := insis_sys_v10.aq_utils.send_ping(:2 ); END;


Finding 2: Slow Archivers
Impact is 4.65 active sessions, 55.28% of total activity.
---------------------------------------------------------
Archiver processes were unable to keep up with redo generation.
This problem can be caused by use of hot backup mode on tablespaces.  DML to
tablespaces in hot backup mode causes generation of additional redo, thereby
increasing the work of archiver processes.

Recommendation 1: Host Configuration
Estimated benefit is 4.65 active sessions, 55.28% of total activity.
--------------------------------------------------------------------
Action
Investigate the file I/O throughput of the archiver process(es) to make
sure it is appropriate for the underlying hardware.
Rationale
The archiver's I/O throughput was 0 K per second on redo log files and 0
K per second on archive and archive backup log files.
Rationale
The total I/O throughput on redo log files was 16 M per second and the
archiver was responsible for 0% of it.

Recommendation 2: Database Configuration
Estimated benefit is 4.65 active sessions, 55.28% of total activity.
--------------------------------------------------------------------
Action
Consider adding more archiver processes by setting the value of
parameter "log_archive_max_processes".
Rationale
The value of parameter "log_archive_max_processes" was "4" during the
analysis period.

Symptoms That Led to the Finding:
---------------------------------
Wait class "Configuration" was consuming significant database time.
Impact is 4.97 active sessions, 59.09% of total activity.


Finding 3: Buffer Busy - Hot Objects
Impact is 2.68 active sessions, 31.91% of total activity.
---------------------------------------------------------
Read and write contention on database blocks was consuming significant
database time.

Recommendation 1: Schema Changes
Estimated benefit is .16 active sessions, 1.92% of total activity.
------------------------------------------------------------------
Action
Consider rebuilding the TABLE "RCUBIP_BIPLATFORM.QRTZ_SCHEDULER_STATE"
with object ID 609694 using a higher value for PCTFREE.
Related Object
Database object with ID 609694.
Rationale
The UPDATE statement with SQL_ID "5t0w7b7rwmddq" was significantly
affected by "buffer busy" waits.
Related Object
SQL statement with SQL_ID 5t0w7b7rwmddq.
UPDATE QRTZ_SCHEDULER_STATE SET LAST_CHECKIN_TIME = :1  WHERE
INSTANCE_NAME = :2

Symptoms That Led to the Finding:
---------------------------------
Read and write contention on database blocks was consuming significant
database time.
Impact is 2.68 active sessions, 31.91% of total activity.
Wait class "Concurrency" was consuming significant database time.
Impact is 2.68 active sessions, 31.91% of total activity.


Finding 4: PL/SQL Execution
Impact is .58 active sessions, 6.91% of total activity.
-------------------------------------------------------
PL/SQL execution consumed significant database time.

Recommendation 1: SQL Tuning
Estimated benefit is .51 active sessions, 6.11% of total activity.
------------------------------------------------------------------
Action
Tune the entry point PL/SQL "INSIS_SYS_V10.AQ_UTILS.SEND_PING" of type
"PACKAGE" and ID 48046. Refer to the PL/SQL documentation for addition
information.
Rationale
1859 seconds spent in executing PL/SQL "SYS.DBMS_AQ.ENQUEUE#2" of type
"PACKAGE" and ID 13087.

Recommendation 2: SQL Tuning
Estimated benefit is .04 active sessions, .48% of total activity.
-----------------------------------------------------------------
Action
Tune the entry point PL/SQL
"INSIS_BLC_GLOBAL_CUST.CUST_UTIL_PKG.PREVALID_STATUS_PAYMENT_POLLER" of
type "PACKAGE" and ID 112064. Refer to the PL/SQL documentation for
addition information.
Rationale
49 seconds spent in executing PL/SQL
"INSIS_SYS_V10.SYS_CONTEXT_UTILS.SET_CTX_VALUE" of type "PACKAGE" and ID
48126.

Recommendation 3: SQL Tuning
Estimated benefit is .01 active sessions, .16% of total activity.
-----------------------------------------------------------------
Action
Tune the entry point PL/SQL
"INSIS_SYS_V10.INSIS_CONTEXT.PREPARE_SESSION" of type "PACKAGE" and ID
48001. Refer to the PL/SQL documentation for addition information.

Recommendation 4: SQL Tuning
Estimated benefit is .01 active sessions, .16% of total activity.
-----------------------------------------------------------------
Action
Tune the entry point PL/SQL "INSIS_GEN_CFG_V10.RB_SRV.RULEREQUEST" of
type "PACKAGE" and ID 48215. Refer to the PL/SQL documentation for
addition information.


Finding 5: Sequence Usage
Impact is .49 active sessions, 5.86% of total activity.
-------------------------------------------------------
Sequence cache misses were consuming significant database time.

Recommendation 1: Application Analysis
Estimated benefit is .49 active sessions, 5.86% of total activity.
------------------------------------------------------------------
Action
Investigate application or look at top SQL to find hot sequences. Use a
larger cache size for those sequences. Try avoiding the use of the ORDER
setting if running RAC.


Finding 6: Log File Switches
Impact is .25 active sessions, 3.02% of total activity.
-------------------------------------------------------
Log file switch operations were consuming significant database time while
waiting for checkpoint completion.
This problem can be caused by use of hot backup mode on tablespaces.  DML to
tablespaces in hot backup mode causes generation of additional redo.

Recommendation 1: Database Configuration
Estimated benefit is .25 active sessions, 3.02% of total activity.
------------------------------------------------------------------
Action
Verify whether incremental shipping was used for standby databases.

Recommendation 2: Database Configuration
Estimated benefit is .25 active sessions, 3.02% of total activity.
------------------------------------------------------------------
Action
Increase the size of the log files to 2048 M to hold at least 20 minutes
of redo information.

Symptoms That Led to the Finding:
---------------------------------
Wait class "Configuration" was consuming significant database time.
Impact is 4.97 active sessions, 59.09% of total activity.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Additional Information
----------------------

Miscellaneous Information
-------------------------
Wait class "Application" was not consuming significant database time.
Wait class "Commit" was not consuming significant database time.
CPU was not a bottleneck for the instance.
Wait class "Network" was not consuming significant database time.
Wait class "User I/O" was not consuming significant database time.
Session connect and disconnect calls were not consuming significant database
time.
Hard parsing of SQL statements was not consuming significant database time.

ADDM Task ADDM:1998298958_1_34843

ADDM Report for Task 'ADDM:1998298958_1_34843'
----------------------------------------------

Analysis Period
---------------
AWR snapshot range from 34842 to 34843.
Time period starts at 15-SEP-23 01.00.29 PM
Time period ends at 15-SEP-23 02.00.31 PM

Analysis Target
---------------
Database 'NNESP01P' with DB ID 1998298958.
Database version 19.0.0.0.0.
ADDM performed an analysis of instance NNESP01P, numbered 1 and hosted at
ip-172-20-2-190.

Activity During the Analysis Period
-----------------------------------
Total database time was 2871 seconds.
The average number of active sessions was .8.

Summary of Findings
-------------------
Description                               Active Sessions      Recommendations
Percent of Activity
----------------------------------------  -------------------  ---------------
1  Top SQL Statements                        .37 | 45.97          5
2  Commits and Rollbacks                     .1 | 13              1
3  PL/SQL Execution                          .09 | 11.74          2
4  Top Segments by "User I/O" and "Cluster"  .07 | 9.14           1
5  Undersized SGA                            .06 | 7.7            1
6  Log File Switches                         .03 | 3.46           2
7  Unusual "Network" Wait Event              .02 | 2.1            3


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Findings and Recommendations
----------------------------

Finding 1: Top SQL Statements
Impact is .37 active sessions, 45.97% of total activity.
--------------------------------------------------------
SQL statements consuming significant database time were found. These
statements offer a good opportunity for performance improvement.

Recommendation 1: SQL Tuning
Estimated benefit is .2 active sessions, 25.17% of total activity.
------------------------------------------------------------------
Action
Run SQL Tuning Advisor on the SELECT statement with SQL_ID
"d8uxmtq3qwjqu".
Related Object
SQL statement with SQL_ID d8uxmtq3qwjqu.
SELECT NAMESPACE, ATTRIBUTE FROM (SELECT :B2 NAMESPACE, CT.ATTRIBUTE
FROM TABLE(:B1 ) CT WHERE CT.NAMESPACE = :B2 AND NOT EXISTS (SELECT 1
FROM SRV_SYSTEM_CONTEXT S WHERE CT.ATTRIBUTE = S.ATTRIBUTE AND
S.NAMESPACE = :B2 ))
Rationale
The SQL spent 100% of its database time on CPU, I/O and Cluster waits.
This part of database time may be improved by the SQL Tuning Advisor.
Rationale
Database time for this SQL was divided as follows: 100% for SQL
execution, 0% for parsing, 0% for PL/SQL execution and 0% for Java
execution.
Rationale
SQL statement with SQL_ID "d8uxmtq3qwjqu" was executed 167903 times and
had an average elapsed time of 0.0042 seconds.
Rationale
Top level calls to execute the PL/SQL statement with SQL_ID
"g3f9anp86j2cw" are responsible for 97% of the database time spent on
the SELECT statement with SQL_ID "d8uxmtq3qwjqu".
Related Object
SQL statement with SQL_ID g3f9anp86j2cw.
BEGIN insis_context.Prepare_Session(:1 , :2 , :3 , :4 , :5 , :6 , :7
, :8 , :9 , :10 , :11 ); END;

Recommendation 2: SQL Tuning
Estimated benefit is .06 active sessions, 8.05% of total activity.
------------------------------------------------------------------
Action
Investigate the PL/SQL statement with SQL_ID "g3f9anp86j2cw" for
possible performance improvements. You can supplement the information
given here with an ASH report for this SQL_ID.
Related Object
SQL statement with SQL_ID g3f9anp86j2cw.
BEGIN insis_context.Prepare_Session(:1 , :2 , :3 , :4 , :5 , :6 , :7
, :8 , :9 , :10 , :11 ); END;
Rationale
The SQL Tuning Advisor cannot operate on PL/SQL statements.
Rationale
Database time for this SQL was divided as follows: 0% for SQL execution,
0% for parsing, 100% for PL/SQL execution and 0% for Java execution.
Rationale
SQL statement with SQL_ID "g3f9anp86j2cw" was executed 14163 times and
had an average elapsed time of 0.065 seconds.

Recommendation 3: SQL Tuning
Estimated benefit is .04 active sessions, 5.37% of total activity.
------------------------------------------------------------------
Action
Run SQL Tuning Advisor on the UPDATE statement with SQL_ID
"ggg8hk3gqst7w". Additionally, investigate this statement for possible
performance improvements. You can supplement the information given here
with an ASH report for this SQL_ID.
Related Object
SQL statement with SQL_ID ggg8hk3gqst7w.
update ProcessInstanceInfo set lastModificationDate=:1 ,
lastReadDate=:2 , processId=:3 , startDate=:4 , state=:5 , OPTLOCK=:6
, processInstanceByteArray=:7  where InstanceId=:8  and OPTLOCK=:9
Rationale
The SQL spent 43% of its database time on CPU, I/O and Cluster waits.
This part of database time may be improved by the SQL Tuning Advisor.
Look at data given below and an ASH report for further performance
improvements.
Rationale
Database time for this SQL was divided as follows: 100% for SQL
execution, 0% for parsing, 0% for PL/SQL execution and 0% for Java
execution.
Rationale
SQL statement with SQL_ID "ggg8hk3gqst7w" was executed 62620 times and
had an average elapsed time of 0.0032 seconds.
Rationale
Waiting for event "SQL*Net more data from client" in wait class
"Network" accounted for 37% of the database time spent in processing the
SQL statement with SQL_ID "ggg8hk3gqst7w".

Recommendation 4: SQL Tuning
Estimated benefit is .03 active sessions, 4.03% of total activity.
------------------------------------------------------------------
Action
Run SQL Tuning Advisor on the SELECT statement with SQL_ID
"gf4yn91705cfx".
Related Object
SQL statement with SQL_ID gf4yn91705cfx.
/*dt:ownQuery*/WITH getsize AS (
SELECT tablespace_name,
max(autoextensible) autoextensible,
SUM(bytes)          tsize
FROM dba_data_files
GROUP BY tablespace_name),
getfree AS (
SELECT a.tablespace_name,
contents,
SUM(blocks * block_size) tfree
FROM dba_free_space a,
dba_tablespaces c
WHERE a.tablespace_name = c.tablespace_name
GROUP BY a.tablespace_name, contents)
SELECT a.tablespace_name,
b.contents,
a.tsize,
b.tfree,
a.tsize - b.tfree AS tused,
100 * ((a.tsize - b.tfree) / a.tsize) AS tused_ratio,
a.autoextensible AS autoextend
FROM getsize a,
getfree b
WHERE a.tablespace_name = b.tablespace_name UNION SELECT
tablespace_name,
'TEMPORARY',
SUM(tablespace_size) AS tsize,
SUM(free_space) AS tfree,
SUM(tablespace_size) - SUM(free_space) AS tused,
100 * ((SUM(tablespace_size) - SUM(free_space)) /
SUM(tablespace_size)) AS tused_ratio,
'NO'
FROM dba_temp_free_space GROUP BY tablespace_name
Rationale
The SQL spent 100% of its database time on CPU, I/O and Cluster waits.
This part of database time may be improved by the SQL Tuning Advisor.
Rationale
Database time for this SQL was divided as follows: 100% for SQL
execution, 0% for parsing, 0% for PL/SQL execution and 0% for Java
execution.
Rationale
SQL statement with SQL_ID "gf4yn91705cfx" was executed 12 times and had
an average elapsed time of 9.9 seconds.

Recommendation 5: SQL Tuning
Estimated benefit is .03 active sessions, 3.36% of total activity.
------------------------------------------------------------------
Action
Investigate the PL/SQL statement with SQL_ID "3ajsr75apqgd8" for
possible performance improvements. You can supplement the information
given here with an ASH report for this SQL_ID.
Related Object
SQL statement with SQL_ID 3ajsr75apqgd8.
BEGIN insis_gen_cfg_v10.rb_srv.RuleRequest(:1 , :2 , :3 , :4 ) ; END;
Rationale
The SQL Tuning Advisor cannot operate on PL/SQL statements.
Rationale
Database time for this SQL was divided as follows: 0% for SQL execution,
0% for parsing, 100% for PL/SQL execution and 0% for Java execution.
Rationale
SQL statement with SQL_ID "3ajsr75apqgd8" was executed 37834 times and
had an average elapsed time of 0.009 seconds.


Finding 2: Commits and Rollbacks
Impact is .1 active sessions, 13% of total activity.
----------------------------------------------------
Waits on event "log file sync" while performing COMMIT and ROLLBACK operations
were consuming significant database time.

Recommendation 1: Host Configuration
Estimated benefit is .1 active sessions, 13% of total activity.
---------------------------------------------------------------
Action
Investigate the possibility of improving the performance of I/O to the
online redo log files.
Rationale
The average size of writes to the online redo log files was 116 K and
the average time per write was 1 milliseconds.
Rationale
The total I/O throughput on redo log files was 10 M per second for reads
and 10 M per second for writes.
Rationale
The redo log I/O throughput was divided as follows: 0% by RMAN and
recovery, 49% by Log Writer, 0% by Archiver, 0% by Streams AQ and 50% by
all other activity.

Symptoms That Led to the Finding:
---------------------------------
Wait class "Commit" was consuming significant database time.
Impact is .1 active sessions, 13% of total activity.


Finding 3: PL/SQL Execution
Impact is .09 active sessions, 11.74% of total activity.
--------------------------------------------------------
PL/SQL execution consumed significant database time.

Recommendation 1: SQL Tuning
Estimated benefit is .06 active sessions, 8.05% of total activity.
------------------------------------------------------------------
Action
Tune the entry point PL/SQL
"INSIS_SYS_V10.INSIS_CONTEXT.PREPARE_SESSION" of type "PACKAGE" and ID
48001. Refer to the PL/SQL documentation for addition information.
Rationale
221 seconds spent in executing PL/SQL
"INSIS_SYS_V10.SYS_CONTEXT_UTILS.SET_CTX_VALUE" of type "PACKAGE" and ID
48126.

Recommendation 2: SQL Tuning
Estimated benefit is .03 active sessions, 3.69% of total activity.
------------------------------------------------------------------
Action
Tune the entry point PL/SQL "INSIS_GEN_CFG_V10.RB_SRV.RULEREQUEST" of
type "PACKAGE" and ID 48215. Refer to the PL/SQL documentation for
addition information.


Finding 4: Top Segments by "User I/O" and "Cluster"
Impact is .07 active sessions, 9.14% of total activity.
-------------------------------------------------------
Individual database segments responsible for significant "User I/O" and
"Cluster" waits were found.

Recommendation 1: Segment Tuning
Estimated benefit is .07 active sessions, 9.14% of total activity.
------------------------------------------------------------------
Action
Run "Segment Advisor" on LOB "INSIS_JBPM7.SYS_LOB0000497241C00005$$"
with object ID 497242.
Related Object
Database object with ID 497242.
Action
Investigate application logic involving I/O on LOB
"INSIS_JBPM7.SYS_LOB0000497241C00005$$" with object ID 497242.
Related Object
Database object with ID 497242.
Rationale
The I/O usage statistics for the object are: 0 full object scans,
3526986 physical reads, 4598307 physical writes and 3526986 direct
reads.

Symptoms That Led to the Finding:
---------------------------------
Wait class "User I/O" was consuming significant database time.
Impact is .1 active sessions, 12.57% of total activity.


Finding 5: Undersized SGA
Impact is .06 active sessions, 7.7% of total activity.
------------------------------------------------------
The SGA was inadequately sized, causing additional I/O or hard parses.
The value of parameter "sga_target" was "47488 M" during the analysis period.

Recommendation 1: Database Configuration
Estimated benefit is .02 active sessions, 3.13% of total activity.
------------------------------------------------------------------
Action
Increase the size of the SGA by setting the parameter "sga_target" to
53424 M.

Symptoms That Led to the Finding:
---------------------------------
Wait class "User I/O" was consuming significant database time.
Impact is .1 active sessions, 12.57% of total activity.


Finding 6: Log File Switches
Impact is .03 active sessions, 3.46% of total activity.
-------------------------------------------------------
Log file switch operations were consuming significant database time while
waiting for checkpoint completion.
This problem can be caused by use of hot backup mode on tablespaces.  DML to
tablespaces in hot backup mode causes generation of additional redo.

Recommendation 1: Database Configuration
Estimated benefit is .03 active sessions, 3.46% of total activity.
------------------------------------------------------------------
Action
Verify whether incremental shipping was used for standby databases.

Recommendation 2: Database Configuration
Estimated benefit is .03 active sessions, 3.46% of total activity.
------------------------------------------------------------------
Action
Increase the size of the log files to 2048 M to hold at least 20 minutes
of redo information.

Symptoms That Led to the Finding:
---------------------------------
Wait class "Configuration" was consuming significant database time.
Impact is .03 active sessions, 3.46% of total activity.


Finding 7: Unusual "Network" Wait Event
Impact is .02 active sessions, 2.1% of total activity.
------------------------------------------------------
Wait event "SQL*Net more data from client" in wait class "Network" was
consuming significant database time.

Recommendation 1: Application Analysis
Estimated benefit is .02 active sessions, 2.1% of total activity.
-----------------------------------------------------------------
Action
Investigate the cause for high "SQL*Net more data from client" waits.
Refer to Oracle's "Database Reference" for the description of this wait
event.
Action
Look at the "Top SQL Statements" finding for SQL statements consuming
significant time on the "SQL*Net more data from client" wait event. For
example, the UPDATE statement with SQL_ID "ggg8hk3gqst7w" is responsible
for 95% of these waits.

Recommendation 2: Application Analysis
Estimated benefit is .02 active sessions, 2.1% of total activity.
-----------------------------------------------------------------
Action
Investigate the cause for high "SQL*Net more data from client" waits in
Service "SYS$USERS".

Recommendation 3: Application Analysis
Estimated benefit is .01 active sessions, 1.75% of total activity.
------------------------------------------------------------------
Action
Investigate the cause for high "SQL*Net more data from client" waits in
Module "GEN".

Symptoms That Led to the Finding:
---------------------------------
Wait class "Network" was consuming significant database time.
Impact is .02 active sessions, 2.92% of total activity.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Additional Information
----------------------

Miscellaneous Information
-------------------------
Wait class "Application" was not consuming significant database time.
Wait class "Concurrency" was not consuming significant database time.
CPU was not a bottleneck for the instance.
Session connect and disconnect calls were not consuming significant database
time.
Hard parsing of SQL statements was not consuming significant database time.


Back to Top

End of Report