WORKLOAD REPOSITORY report for

DB NameDB IdInstanceInst numStartup TimeReleaseRAC
DBOFINP13823384899DBOFINP12224-Sep-20 23:0912.1.0.2.0YES

Host NamePlatformCPUsCoresSocketsMemory (GB)
prdc1pdb02Solaris[tm] OE (64-bit) 120 15 2 638.50

Snap IdSnap TimeSessionsCursors/SessionInstances
Begin Snap:2630318-Nov-20 21:00:18342 11.22
End Snap:2630418-Nov-20 22:00:06340 8.62
Elapsed:  59.80 (mins)   
DB Time:  90.72 (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 Statements1.5258.23ADDM:3823384899_2_2630418-Nov-20 21:0018-Nov-20 22:00
Row Lock Waits1.5233.23ADDM:3823384899_2_2630418-Nov-20 21:0018-Nov-20 22:00
Global Cache Messaging1.525.71ADDM:3823384899_2_2630418-Nov-20 21:0018-Nov-20 22:00
Top Segments by "User I/O" and "Cluster"1.526.16ADDM:3823384899_2_2630418-Nov-20 21:0018-Nov-20 22:00
Undersized SGA1.524.65ADDM:3823384899_2_2630418-Nov-20 21:0018-Nov-20 22:00

Load Profile

Per SecondPer TransactionPer ExecPer Call
DB Time(s): 1.5 0.2 0.00 0.01
DB CPU(s): 0.9 0.1 0.00 0.01
Background CPU(s): 0.2 0.0 0.00 0.00
Redo size (bytes): 238,096.9 26,137.4  
Logical read (blocks): 49,748.2 5,461.2  
Block changes: 2,172.4 238.5  
Physical read (blocks): 1,019.9 112.0  
Physical write (blocks): 71.1 7.8  
Read IO requests: 190.5 20.9  
Write IO requests: 49.5 5.4  
Read IO (MB): 8.0 0.9  
Write IO (MB): 0.6 0.1  
IM scan rows: 0.0 0.0  
Session Logical Read IM:    
Global Cache blocks received: 207.4 22.8  
Global Cache blocks served: 193.7 21.3  
User calls: 102.4 11.2  
Parses (SQL): 159.1 17.5  
Hard parses (SQL): 1.5 0.2  
SQL Work Area (MB): 18.7 2.1  
Logons: 0.8 0.1  
Executes (SQL): 1,625.6 178.5  
Rollbacks: 1.1 0.1  
Transactions: 9.1   

Instance Efficiency Percentages (Target 100%)

Buffer Nowait %: 99.67Redo NoWait %: 100.00
Buffer Hit %: 99.57In-memory Sort %: 100.00
Library Hit %: 100.06Soft Parse %: 99.07
Execute to Parse %: 90.21Latch Hit %: 99.18
Parse CPU to Parse Elapsd %: 90.87% Non-Parse CPU: 96.40
Flash Cache Hit %: -2.97

Top 10 Foreground Events by Total Wait Time

EventWaitsTotal Wait Time (sec)Wait Avg(ms)% DB timeWait Class
DB CPU 3082.8 56.6 
enq: TX - row lock contention6691808.72703.5333.2Application
cell single block physical read476,0191880.393.5User I/O
read by other session90,30885.50.951.6User I/O
gc buffer busy acquire219,93381.80.371.5Cluster
gc cr block busy125,67981.20.651.5Cluster
gc cr block 2-way482,01680.80.171.5Cluster
gc current grant busy82,096270.33.5Cluster
direct path read70,03221.10.30.4User I/O
gc current block 2-way106,46320.40.19.4Cluster

Wait Classes by Total Wait Time

Wait ClassWaitsTotal Wait Time (sec)Avg Wait (ms)% DB timeAvg Active Sessions
DB CPU 3,083 56.60.9
Application9,4401,814192.1133.30.5
User I/O1,160,1583270.286.00.1
Cluster1,153,5913180.285.80.1
Other660,6522160.334.00.1
System I/O163,2091620.993.00.0
Concurrency892,466540.061.00.0
Commit5,18820.48.00.0
Configuration21313.98.00.0
Network336,34610.00.00.0

Host CPU

CPUsCoresSocketsLoad Average BeginLoad Average End%User%System%WIO%Idle
120 15 2 3.50 6.93 5.5 1.8 0.0 92.7

Instance CPU

%Total CPU%Busy CPU%DB time waiting for CPU (Resource Manager)
0.9 12.2 0.0

IO Profile

Read+Write Per SecondRead per SecondWrite Per Second
Total Requests: 278.1 197.8 80.2
Database Requests: 240.1 190.5 49.5
Optimized Requests: 210.2 197.0 13.2
Redo Requests: 29.8 0.4 29.5
Total (MB): 9.6 8.4 1.2
Database (MB): 8.5 8.0 0.6
Optimized Total (MB): 8.1 8.1 0.1
Redo (MB): 0.6 0.4 0.2
Database (blocks): 1,091.0 1,019.9 71.1
Via Buffer Cache (blocks): 279.1 208.6 70.5
Direct (blocks): 811.9 811.3 0.6

Memory Statistics

BeginEnd
Host Mem (MB): 653,824.0 653,824.0
SGA use (MB): 20,480.0 20,480.0
PGA use (MB): 5,860.7 5,730.8
% Host Mem used for SGA+PGA: 4.03 4.01

Cache Sizes

BeginEnd
Buffer Cache: 11,328M 11,328MStd Block Size: 8K
Shared Pool Size: 8,320M 8,320MLog Buffer: 59,600K
In-Memory Area: 0M 0M

Shared Pool Statistics

BeginEnd
Memory Usage %: 79.47 79.91
% SQL with executions>1: 93.53 90.70
% Memory for SQL w/exec>1: 96.12 90.81

Main Report

RAC Statistics

Exadata Configuration and Statistics


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 time5,239.3096.25 
DB CPU3,082.8356.6380.74
inbound PL/SQL rpc elapsed time2,344.4543.07 
PL/SQL execution elapsed time375.726.90 
parse time elapsed164.393.02 
hard parse elapsed time130.562.40 
connection management call elapsed time102.391.88 
hard parse (sharing criteria) elapsed time18.850.35 
repeated bind elapsed time0.650.01 
hard parse (bind mismatch) elapsed time0.590.01 
PL/SQL compilation elapsed time0.580.01 
sequence load elapsed time0.400.01 
failed parse elapsed time0.120.00 
Java execution elapsed time0.020.00 
DB time5,443.44  
background elapsed time899.69  
background cpu time735.31 19.26
total CPU time3,818.13  


Back to Wait Events Statistics
Back to Top

Operating System Statistics

StatisticValueEnd Value
AVG_BUSY_TIME25,346 
AVG_IDLE_TIME331,869 
AVG_SYS_TIME5,749 
AVG_USER_TIME18,844 
BUSY_TIME3,135,050 
IDLE_TIME39,923,667 
SYS_TIME779,091 
USER_TIME2,355,959 
LOAD47
OS_CPU_WAIT_TIME519,000 
PHYSICAL_MEMORY_BYTES685,584,154,624 
NUM_CPUS120 
NUM_CPU_CORES15 
NUM_CPU_SOCKETS2 
TCP_RECEIVE_SIZE_DEFAULT1,048,576 
TCP_RECEIVE_SIZE_MAX2,097,152 
TCP_SEND_SIZE_DEFAULT1,048,576 
TCP_SEND_SIZE_MAX2,097,152 


Back to Wait Events Statistics
Back to Top

Operating System Statistics - Detail

Snap TimeLoad%busy%user%sys%idle%iowait
18-Nov 21:00:183.50     
18-Nov 22:00:066.937.285.471.8192.720.00


Back to Wait Events Statistics
Back to Top

Foreground Wait Class

Wait ClassWaits%Time -outsTotal Wait Time (s)Avg wait (ms)%DB time
DB CPU  3,083 56.63
Application8,031161,813225.7033.30
User I/O1,143,41503180.285.84
Cluster1,150,03703170.285.83
Concurrency804,6980520.060.95
Other61,71559170.270.31
Commit5,177020.480.05
System I/O7,192020.230.03
Configuration212113.990.02
Network332,368010.000.02


Back to Wait Events Statistics
Back to Top

Foreground Wait Events

EventWaits%Time -outsTotal Wait Time (s)Avg wait (ms)Waits /txn% DB time
enq: TX - row lock contention669651,8092703.530.0233.23
cell single block physical read476,019 1880.3914.563.45
read by other session90,308 860.952.761.57
gc buffer busy acquire219,933 820.376.731.50
gc cr block busy125,679 810.653.851.49
gc cr block 2-way482,016 810.1714.751.48
gc current grant busy82,096 270.332.510.50
direct path read70,032 210.302.140.39
gc current block 2-way106,463 200.193.260.37
latch: cache buffers chains722,966 170.0222.120.32
cell list of blocks physical read11,778 90.810.360.17
cursor: pin S7,540 91.240.230.17
cell multiblock physical read15,039 90.590.460.16
cursor: pin S wait on X91 993.840.000.16
gc cr grant 2-way51,738 80.161.580.15
enq: IV - contention10,545870.630.320.12
library cache lock3,5521661.640.110.11
gc current grant 2-way36,056 50.151.100.10
gc buffer busy release20,188 50.250.620.09
enq: TS - contention20,45110040.210.630.08
library cache: mutex X37,137 40.101.140.07
utl_file I/O379,920 40.0111.620.07
gc cr multi block request10,605 30.310.320.06
row cache lock12,433 20.200.380.05
log file sync5,177 20.480.160.05
gc current block busy3,095 20.750.090.04
library cache pin4,146020.470.130.04
gc cr disk read11,691 20.160.360.03
control file sequential read7,192 20.230.220.03
enq: TX - index contention339 24.880.010.03
enq: RC - Result Cache: Contention642224.690.000.03
CRS call completion18 286.570.000.03
enq: UL - contention1,2376711.140.040.03
enq: PS - contention1,236410.930.040.02
write complete waits8 186.430.000.01
latch free125 15.410.000.01
name-service call wait8 177.410.000.01
library cache load lock64 18.720.000.01
Disk file Mirror Read1,780 10.290.050.01
Disk file operations I/O98,362 00.003.010.01
enq: TQ - DDL contention90 05.370.000.01
SQL*Net break/reset to client5,824 00.080.180.01
SQL*Net more data to client27,371 00.020.840.01
buffer busy waits14,906 00.030.460.01
reliable message411 00.880.010.01
SQL*Net message to client303,299 00.009.280.01
PX Deq: Slave Session Stats1,517 00.180.050.01
enq: TM - contention2001001.160.010.00
enq: KO - fast object checkpoint37 05.110.000.00
PX Deq: reap credit14,95710000.010.460.00
enq: DV - contention402 00.310.010.00
enq: SV - contention302 00.320.010.00
gc current multi block request275 00.330.010.00
latch: gc element191 00.400.010.00
enq: HW - contention180 00.410.010.00
latch: row cache objects1,165 00.050.040.00
direct path read temp35 01.660.000.00
ADR file lock6 09.570.000.00
enq: FB - contention188 00.300.010.00
gc cr block congested23 02.190.000.00
kksfbc child completion1100050.040.000.00
log file switch completion1 042.650.000.00
CSS initialization12 02.980.000.00
latch: shared pool305 00.110.010.00
undo segment extension3100010.040.000.00
enq: TO - contention82 00.330.000.00
IPC send completion sync3,462 00.010.110.00
gc current retry156 00.140.000.00
SQL*Net more data from client1,698 00.010.050.00
enq: TT - contention67 00.300.000.00
enq: ZZ - update hash tables60 00.300.000.00
gc current block congested7 01.960.000.00
ADR block file read40 00.310.000.00
CSS operation: action12 00.880.000.00
cell smart table scan1243400.080.000.00
enq: SQ - contention17 00.520.000.00
direct path write18 00.410.000.00
latch: ges resource hash list176 00.040.010.00
gcs enter server mode5,615 00.000.170.00
buffer deadlock23910000.020.010.00
enq: DL - contention1910000.290.000.00
PX Deq: Signal ACK EXT266 00.020.010.00
CSS operation: query36 00.140.000.00
enq: KM - contention19 00.260.000.00
cursor: mutex S3 01.600.000.00
enq: JS - job run lock - synchronize1810000.260.000.00
latch: gcs resource hash8 00.550.000.00
ADR block file write5 00.610.000.00
gc current split12 00.250.000.00
latch: cache buffers lru chain26 00.080.000.00
enq: TX - contention2 00.900.000.00
wait list latch free1 01.730.000.00
global enqueue expand wait49 00.030.000.00
gc current grant congested1 01.500.000.00
latch: object queue header operation4 00.320.000.00
cursor: mutex X51 00.020.000.00
SQL*Net message from client312,158 813,1202604.839.55 
Streams AQ: waiting for messages in the queue5,9396833,0165559.190.18 
PL/SQL lock timer56310016,15628695.710.02 
jobq slave wait1,747100872499.030.05 
PX Deq: Execution Msg3,751 41.020.11 
PX Deq: Execute Reply1,885 00.210.06 
PX Deq: Join ACK532 00.460.02 
PX Deq: Parse Reply266 00.540.01 
PX Deq Credit: send blkd634 00.190.02 
PX Deq: Msg Fragment566 00.100.02 
PX Deq Credit: need buffer64 00.540.00 


Back to Wait Events Statistics
Back to Top

Background Wait Events

EventWaits%Time -outsTotal Wait Time (s)Avg wait (ms)Waits /txn% bg time
process diagnostic dump10201091065.210.0012.08
db file parallel write18,35101065.780.5611.79
log file parallel write105,5140330.313.233.65
gcs log flush sync152,9791280.184.683.14
ges LMD suspend for testing event726314189.290.001.51
log file sequential read1,0960119.840.031.20
oracle thread bootstrap16901058.630.011.10
ASM file metadata operation111,341070.063.410.73
control file sequential read16,323060.380.500.69
KSV master wait10,9642050.440.340.54
control file parallel write1,580042.820.050.50
target log write size11,797040.330.360.43
cell single block physical read4,101040.910.130.41
reliable message2340415.230.010.40
LGWR all worker groups5,212030.600.160.35
Disk file Mirror Read5,835030.520.180.34
enq: CO - master slave det1,19210032.210.040.29
ges inquiry response2,261020.970.070.24
enq: IV - contention5,486020.360.170.22
os thread creation169029.320.010.18
libcache interrupt action by LCK85,526010.022.620.16
direct path write130189.550.000.13
ksdxexeotherwait100019.740.000.11
ges lms sync during dynamic remastering and reconfig27100133.190.000.10
enq: RO - fast object reuse400011.970.010.09
library cache lock2382113.240.010.09
Disk file operations I/O5,090010.150.160.09
CSS initialization240131.140.000.08
row cache process134,412010.014.110.08
enq: CF - contention1184715.770.000.08
CGS wait for IPC msg34,59410010.021.060.06
enq: XR - database force logging1,192010.440.040.06
Parameter File I/O1,440000.300.040.05
ASYNC Remote Write200149.330.000.03
enq: RF - Broker State Lock1,673000.180.050.03
PX Deq: Slave Join Frag1,250000.210.040.03
enq: PS - contention2352301.090.010.03
row cache cleanup100,178000.003.060.03
enq: KO - fast object checkpoint1,001000.200.030.02
gc current block 2-way835000.210.030.02
row cache lock620000.250.020.02
DFS lock handle8419100.180.030.02
name-service call wait30048.800.000.02
ges LMON to get to FTDONE911015.980.000.02
direct path write temp131001.050.000.02
gc cr grant 2-way762000.180.020.01
CSS operation: data query210000.610.010.01
PX Deq: reap credit10,87310000.010.330.01
latch: ges resource hash list1,262000.090.040.01
gc cr disk read821000.140.030.01
cell multiblock physical read105001.040.000.01
ges generic event60017.640.000.01
ksxr poll remote instances7,45210000.010.230.01
gc current grant 2-way547000.180.020.01
library cache pin415000.220.010.01
latch free55001.620.000.01
latch: gc element70001.250.000.01
gc current grant busy249000.260.010.01
CSS operation: data update60000.950.000.01
gc cr block 2-way255000.220.010.01
cell list of blocks physical read18002.170.000.00
CSS operation: action60000.620.000.00
rdbms ipc reply20016.650.000.00
PX Deq: Signal ACK EXT220000.150.010.00
ADR file lock6005.450.000.00
LGWR wait for redo copy369000.090.010.00
enq: RF - synch: DG Broker metadata124000.200.000.00
gc cr multi block request54000.390.000.00
PX Deq: Slave Session Stats220000.100.010.00
db file async I/O submit13,141000.000.400.00
gc current block busy15001.020.000.00
latch: cache buffers chains723000.020.020.00
CSS operation: query72000.160.000.00
enq: TO - contention28000.380.000.00
buffer busy waits201000.050.010.00
enq: TT - contention292100.300.000.00
gc cr block busy8001.040.000.00
latch: cache buffers lru chain15000.550.000.00
enq: PG - contention17000.400.000.00
enq: SM - contention17000.260.000.00
ADR block file read16000.260.000.00
enq: TM - contention8000.500.000.00
log file sync11000.360.000.00
enq: WT - contention10000.380.000.00
enq: WF - contention9000.400.000.00
ADR block file write5000.620.000.00
direct path read10000.310.000.00
SQL*Net message to client3,860000.000.120.00
enq: DW - contention610000.470.000.00
AQ Background Master: slave start1002.440.000.00
latch: shared pool27000.080.000.00
kfk: async disk IO6000.340.000.00
Log archive I/O2000.910.000.00
enq: TD - KTF dump entries8000.220.000.00
GCR CSS group query210000.010.010.00
enq: TA - contention6000.290.000.00
IPC send completion sync228000.010.010.00
gc current multi block request5000.280.000.00
latch: gcs resource hash6000.200.000.00
log file single write4000.290.000.00
enq: US - contention3000.350.000.00
rdbms ipc message378,45720132,329349.6511.58 
class slave wait1,048,4119936,56834.8832.08 
EMON slave idle wait4,1728417,7274249.100.13 
gcs remote message1,864,1761710,6255.7057.03 
Space Manager: slave idle wait1,573997,7744942.200.05 
wait for unread message on broadcast channel1,957977,1763667.040.06 
ges remote message196,281337,15236.446.01 
LGWR worker group idle105,51207,14267.693.23 
GCR sleep24,95677,064283.050.76 
DIAG idle wait58,524687,013119.841.79 
PX Idle Wait1,25405,0143998.210.04 
Streams AQ: qmn slave idle wait35403,64410294.390.01 
Streams AQ: load balancer idle301003,607120240.430.00 
REPL Capture/Apply: RAC AQ qmn coordinator189233,60719082.620.01 
smon timer20503,604180200.830.00 
AQPC idle1201003,60030000.480.00 
Streams AQ: emn coordinator idle wait3591003,59010000.150.01 
lreg timer1,1901003,5893015.590.04 
heartbeat redo informer43,78903,58781.931.34 
ASM background timer100,14103,58735.823.06 
PING980293,5853658.080.03 
pmon timer1,221963,5842935.690.04 
Streams AQ: qmn coordinator idle wait255503,58414055.300.01 
LNS ASYNC end of log107,34323,57633.313.28 
SQL*Net message from client5,2250305.820.16 
PX Deq: Execute Reply33902780.710.01 
PX Deq: Parse Reply220015.340.01 
PX Deq: Join ACK440000.460.01 
PX Deq Credit: send blkd339000.220.01 


Back to Wait Events Statistics
Back to Top

Wait Event Histogram

  % of Waits
EventTotal Waits <1ms <2ms <4ms <8ms<16ms<32ms <=1s >1s
ADR block file read56100.0       
ADR block file write10100.0       
ADR file lock1250.0  8.333.3 8.3 
AQ Background Master: slave start1  100.0     
ASM background starting2100.0       
ASM file metadata operation111.4K98.41.5.1.0.0.0.0 
ASYNC Remote Write2      100.0 
CGS wait for IPC msg34.6K100.0       
CRS call completion18      100.0 
CSS initialization3650.0  16.7  33.3 
CSS operation: action7288.911.1      
CSS operation: data query21087.612.4      
CSS operation: data update6061.738.3      
CSS operation: query10898.11.9      
DFS lock handle841100.0       
Disk file Mirror Read761397.81.2.9.0 .0.0 
Disk file operations I/O103.5K100.0.0.0.0    
GCR CSS group query210100.0       
GCR CSS group update60100.0       
IPC send completion sync3691100.0       
KJC: Wait for msg sends to complete16100.0       
KSV master wait11K83.215.7.8.1.1.1.0 
LGWR all worker groups521598.51.2.2     
LGWR wait for redo copy36998.11.6.3     
Log archive I/O250.050.0      
PX Deq: Signal ACK EXT48699.2.2.4.2    
PX Deq: Slave Join Frag1251100.0       
PX Deq: Slave Session Stats173799.7 .1.2    
PX Deq: reap credit25.8K100.0       
PX qref latch3100.0       
Parameter File I/O144099.1.6.1.1.1.1  
Redo Transport Open2100.0       
SQL*Net break/reset to client582699.9.1.0     
SQL*Net message to client310.2K100.0       
SQL*Net more data from client1757100.0       
SQL*Net more data to client27.4K100.0       
buffer busy waits15.1K99.9.1.0     
buffer deadlock239100.0       
cell list of blocks physical read11.8K85.38.63.51.8.4.3.0 
cell multiblock physical read15.1K91.96.11.8.1 .1  
cell single block physical read479.7K97.91.6.3.0.0.0.1 
cell smart table scan124100.0       
control file parallel write157989.85.1.91.5.7.41.5 
control file sequential read23.5K99.1.5.4.0.0.0.0 
cursor: mutex S3 100.0      
cursor: mutex X52100.0       
cursor: pin S75594.994.6.6     
cursor: pin S wait on X913.32.24.413.222.022.030.82.2
db file async I/O submit13.2K100.0       
db file parallel write18.4K55.713.29.46.24.85.55.2 
direct path read70K96.02.01.9.0  .0 
direct path read temp3542.920.037.1     
direct path write3177.46.5  3.23.29.7 
direct path write temp13191.63.11.5.8.81.5.8 
enq: CF - contention11898.3   .8 .8 
enq: CO - master slave det119299.2.1 .3  .4 
enq: CR - block range reuse ckpt1100.0       
enq: DL - contention19100.0       
enq: DR - contention2100.0       
enq: DV - contention40299.5.5      
enq: DW - contention6100.0       
enq: FB - contention188100.0       
enq: FH - contention1100.0       
enq: HW - contention18196.7 3.3     
enq: IV - contention16K99.5.4.1.0  .0 
enq: JS - job run lock - synchronize18100.0       
enq: JS - wdw op1100.0       
enq: KM - contention19100.0       
enq: KO - fast object checkpoint103899.8 .1   .1 
enq: KT - contention1100.0       
enq: MW - contention2100.0       
enq: PE - contention1100.0       
enq: PG - contention17100.0       
enq: PS - contention147299.5.1   .1.3 
enq: RA - RT ADDM flood control1100.0       
enq: RC - Result Cache: Contention641.6 7.853.1 3.134.4 
enq: RF - Broker State Lock167999.9.1.1     
enq: RF - synch: DG Broker metadata124100.0       
enq: RO - fast object reuse39788.23.53.01.8.81.01.8 
enq: SM - contention17100.0       
enq: SQ - contention17100.0       
enq: SV - contention30299.7.3      
enq: TA - contention6100.0       
enq: TD - KTF dump entries9100.0       
enq: TK - Auto Task Serialization1100.0       
enq: TM - contention20891.81.03.41.41.9 .5 
enq: TO - contention110100.0       
enq: TQ - DDL contention9055.61.11.114.417.88.91.1 
enq: TS - contention20.5K99.8.1.1     
enq: TT - contention96100.0       
enq: TX - allocate ITL entry3100.0       
enq: TX - contention250.050.0      
enq: TX - index contention34058.515.35.93.54.79.72.4 
enq: TX - row lock contention66973.21.0.6.1 .11.523.3
enq: UL - contention123798.2  .2.3.6.6 
enq: US - contention3100.0       
enq: WF - contention9100.0       
enq: WL - contention1100.0       
enq: WR - contention1100.0       
enq: WT - contention10100.0       
enq: XR - database force logging1191100.0       
enq: ZZ - update hash tables60100.0       
gc buffer busy acquire222.5K96.83.1.0.0 .0.0 
gc buffer busy release20.2K99.8.2.0.0.0   
gc cr block 2-way482.4K100.0.0.0.0  .0 
gc cr block busy125.7K96.63.3.1.0.0   
gc cr block congested23 47.847.84.3    
gc cr disk read12.5K100.0.0.0     
gc cr failure3100.0       
gc cr grant 2-way52.5K100.0.0 .0    
gc cr multi block request10.7K97.71.7.5.1    
gc current block 2-way107.2K100.0.0.0.0    
gc current block busy310987.512.2.2  .1.1 
gc current block congested7 71.428.6     
gc current grant 2-way36.7K100.0.0      
gc current grant busy82.4K99.7.2.1.0.0.0.0 
gc current grant congested1 100.0      
gc current multi block request27899.3.7      
gc current retry156100.0       
gc current split13100.0       
gcs enter server mode6020100.0       
gcs log flush sync153K100.0.0.0 .0   
ges LMD suspend for testing event722.81.4  2.86.986.1 
ges LMON to get to FTDONE9    88.911.1  
ges enter server mode1119100.0       
ges generic event666.7    16.716.7 
ges inquiry response226499.2.2 .3.1 .1 
ges lms sync during dynamic remastering and reconfig27    88.9 11.1 
get branch/thread/sequence enqueue3100.0       
global enqueue expand wait49100.0       
kfk: async disk IO6100.0       
kksfbc child completion1      100.0 
ksdxexeotherwait100   10.089.01.0  
ksxr poll remote instances7449100.0       
latch free18047.23.35.616.127.2.6  
latch: active service list9100.0       
latch: cache buffers chains725.1K100.0.0.0     
latch: cache buffers lru chain4190.29.8      
latch: call allocation11100.0       
latch: enqueue hash chains6100.0       
latch: gc element26198.9    .4.8 
latch: gcs resource hash1580.020.0      
latch: ges resource hash list143899.5.3.1.1    
latch: object queue header operation683.316.7      
latch: redo allocation2100.0       
latch: row cache objects1181100.0       
latch: shared pool33299.7 .3     
latch: undo global data11100.0       
libcache interrupt action by LCK85.5K100.0       
library cache load lock6467.29.4 6.39.41.66.3 
library cache lock379095.9.71.21.8.1.1.3 
library cache pin456199.0.2.7.0.0 .0 
library cache: mutex X37.2K99.2.1  .7.0  
lock deadlock retry2100.0       
lock escalate retry4100.0       
log file parallel write105.5K99.8.2.0.0    
log file sequential read10963.1.848.920.310.411.94.7 
log file single write4100.0       
log file switch completion1      100.0 
log file sync518499.1.9.0     
name-service call wait119.1   9.1 81.8 
oracle thread bootstrap169      100.0 
os thread creation169   31.468.0.6  
process diagnostic dump102      11.888.2
rdbms ipc reply475.0    25.0  
read by other session92.3K82.814.72.2.1.0.3.0 
reliable message64578.918.01.1.2 .51.4 
row cache cleanup100.2K100.0.0.0.0    
row cache lock13.1K99.7.1.1.0    
row cache process134.4K100.0       
target log write size11.8K99.7.2.1.0    
undo segment extension333.3   33.333.3  
utl_file I/O379.9K100.0       
wait list latch free1 100.0      
write complete waits825.012.512.5  12.537.5 
AQPC idle120       100.0
ASM background timer100.2K58.910.81.87.910.45.93.5.8
DIAG idle wait58.6K27.9.53.73.3.45.958.2 
EMON slave idle wait4182    17.1.0 82.9
GCR sleep25K      92.87.2
LGWR worker group idle105.5K58.311.37.95.64.54.08.4.0
LNS ASYNC end of log107.3K52.515.59.06.14.64.08.3 
PING98069.6     1.429.0
PL/SQL lock timer563       100.0
PX Deq Credit: need buffer6997.11.41.4     
PX Deq Credit: send blkd97395.92.02.2     
PX Deq: Execute Reply222487.25.91.3.7.5.43.8 
PX Deq: Execution Msg375394.92.01.2.5.5.4.6 
PX Deq: Join ACK97288.111.9      
PX Deq: Msg Fragment56699.6.4      
PX Deq: Parse Reply48673.516.33.92.31.41.21.4 
PX Idle Wait12512.62.84.36.03.53.813.963.1
REPL Capture/Apply: RAC AQ qmn coordinator189    31.210.67.950.3
SQL*Net message from client317K72.42.51.3.4.6.2.422.1
Space Manager: slave idle wait1574.3 .1  .1.798.9
Streams AQ: emn coordinator idle wait358       100.0
Streams AQ: load balancer idle30       100.0
Streams AQ: qmn coordinator idle wait25749.4    .4 50.2
Streams AQ: qmn slave idle wait355      4.895.2
Streams AQ: waiting for messages in the queue59343.5.2.6.1.4.311.283.6
class slave wait1M.0 .0.199.6.0.2.1
gcs remote message1.9M53.513.210.65.52.214.9.0 
ges remote message196.3K39.77.37.54.62.92.435.6 
heartbeat redo informer43.8K1.2.4.3.44.71.291.8 
jobq slave wait1756      100.0 
lreg timer1190       100.0
pmon timer1222.6  .2.2.21.197.9
rdbms ipc message378.3K60.54.13.42.41.91.818.27.7
smon timer21      14.385.7
wait for unread message on broadcast channel1958.1 .1  1.3.897.8


Back to Wait Events Statistics
Back to Top

Wait Event Histogram Detail (64 msec to 2 sec)

  % of Total Waits
EventWaits 64ms to 2s<32ms<64ms<1/8s<1/4s<1/2s <1s <2s>=2s
ADR file lock191.78.3      
ASM file metadata operation24100.0.0.0 .0   
ASYNC Remote Write2   100.0    
CRS call completion18 44.450.05.6    
CSS initialization1266.733.3      
Disk file Mirror Read1100.0.0      
KSV master wait2100.0.0.0     
cell list of blocks physical read4100.0.0      
cell single block physical read48599.9.1.0.0.0   
control file parallel write2498.51.1.1 .2.1  
control file sequential read5100.0.0.0  .0  
cursor: pin S wait on X2867.018.76.63.32.2  2.2
db file parallel write95494.84.1.9.1.0   
direct path read1100.0 .0     
direct path write390.33.2 3.2 3.2  
direct path write temp199.2.8      
enq: CF - contention199.2    .8  
enq: CO - master slave det599.6   .4   
enq: IV - contention6100.0 .0 .0.0  
enq: KO - fast object checkpoint199.9  .1    
enq: PS - contention599.7.1.1 .1   
enq: RC - Result Cache: Contention2265.625.09.4     
enq: RO - fast object reuse798.2.81.0     
enq: TM - contention199.5 .5     
enq: TQ - DDL contention198.91.1      
enq: TX - index contention897.62.4      
enq: TX - row lock contention1975.2  .3.9.31.322.0
enq: UL - contention899.4.2.2.2    
gc buffer busy acquire11100.0.0      
gc cr block 2-way2100.0.0.0     
gc current block busy299.9.1      
gc current grant busy2100.0.0      
ges LMD suspend for testing event6213.96.98.370.8    
ges generic event183.3 16.7     
ges inquiry response399.9  .0.0.0  
ges lms sync during dynamic remastering and reconfig388.93.73.7 3.7   
kksfbc child completion1 100.0      
latch: gc element299.2.4.4     
library cache load lock493.8 4.71.6    
library cache lock1099.7.0.0 .1.1  
library cache pin2100.0   .0.0  
log file sequential read5195.33.21.0.5    
log file switch completion1 100.0      
name-service call wait918.29.172.7     
oracle thread bootstrap169 87.611.8.6    
process diagnostic dump102   5.91.04.988.2 
read by other session10100.0.0      
reliable message998.6.2.3.2.3.5  
write complete waits362.5 12.512.512.5   


Back to Wait Events Statistics
Back to Top

Wait Event Histogram Detail (4 sec to 2 min)

  % of Total Waits
EventWaits 4s to 2m<2s <4s <8s<16s<32s< 1m< 2m>=2m
cursor: pin S wait on X297.82.2      
enq: TX - row lock contention14778.0.911.15.72.71.6  


Back to Wait Events Statistics
Back to Top

Wait Event Histogram Detail (4 min to 1 hr)

No data exists for this section of the report.

Back to Wait Events Statistics
Back to Top

Service Statistics

Service NameDB Time (s)DB CPU (s)Physical Reads (K)Logical Reads (K)
DBOFINP15,2722,948751171,790
SYS$USERS133972,9005,047
SYS$BACKGROUND393871,636
DBOFINP1_DGB0000
DBOFINP1_ebs_patch0000
ebs_patch0000


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
DBOFINP1 104226328980654552003409501
SYS$USERS 1044753348300015910
SYS$BACKGROUND 17141108823830000
DBOFINP1_DGB 00000000


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
1,967.047326.9536.146.363.97ctp9ravf5dxfr e:SQLAP:cp:sqlap/APPRVL UPDATE AP_HOLDS_ALL AHA SET AH...
1,592.2212412.8429.2583.675.28adj796q5rqv7m e:SQLAP:cp:sqlap/WORKERAPPRVL BEGIN AP_APPROVAL_PKG.WORKER_A...
562.244014.0610.3396.951.765t39uchjqpyfm e:OFA:cp:xla/XLAACCUP BEGIN xla_accounting_pkg.unit_...
501.724610.919.2298.001.1705td93dhf1b7y e:SQLAP:bes:oracle.apps.xla.accounting.extract BEGIN :1 := XLA_00200_AAD_C_01...
427.001243.447.8463.270.3890n1att0nq1u7 e:SQLAP:cp:sqlap/WORKERAPPRVL UPDATE AP_INVOICES_ALL AI SET ...
377.573,6690.106.9499.171.3367fx45mvnmbsz e:SQLAP:bes:oracle.apps.xla.accounting.extract SELECT CASE WHEN COUNT(1) > 0 ...
178.681178.683.2895.106.773dah89rz40kn9 e:SQLAP:cp:dka/DKA_IAPFACXGS BEGIN dka_iapfacxgs_pkg.import...
110.38591.872.0364.880.00bb4y6zxs3j061 e:SQLAP:cp:sqlap/APPRVL UPDATE AP_HOLDS_ALL AHA SET AH...
101.98571.791.87100.960.01dndn8zwusbhy7 e:SQLAP:cp:sqlap/APPRVL INSERT INTO AP_TEMP_APPROVAL_G...
87.93412.141.6299.880.006m3b4guk3yqzj e:SQLAP:cp:dka/DKA_IAPFACXGS UPDATE DKA_IAPFACXGS_REPORTING...
86.00561.541.5867.1248.1766xqc033rzyp5 e:SQLAP:cp:sqlap/APPRVL SELECT /*+ dynamic_sampling(2)...
81.29420.321.4964.7936.08ddudsfwj54f0g emagent_SQL_oracle_database select a.tablespace_name , rou...
66.07591.121.2154.821.76656sk77p7a7qs e:OFA:cp:ofa/FAACCPB Declare l_flag Boolean; BEGIN ...
56.54471.201.0496.237.03aqx0d1ra6a986 e:OFA:cp:xla/XLABAPUB BEGIN xla_balances_calc_pkg.ma...
54.762950.191.0150.571.07bwzqpznjgy3vu e:AR:bes:oracle.apps.xla.accounting.preaccountin SELECT /*+ leading(evt) use_nl...


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,332.1612410.7443.211,592.2283.675.28adj796q5rqv7m e:SQLAP:cp:sqlap/WORKERAPPRVL BEGIN AP_APPROVAL_PKG.WORKER_A...
545.114013.6317.68562.2496.951.765t39uchjqpyfm e:OFA:cp:xla/XLAACCUP BEGIN xla_accounting_pkg.unit_...
491.714610.6915.95501.7298.001.1705td93dhf1b7y e:SQLAP:bes:oracle.apps.xla.accounting.extract BEGIN :1 := XLA_00200_AAD_C_01...
374.463,6690.1012.15377.5799.171.3367fx45mvnmbsz e:SQLAP:bes:oracle.apps.xla.accounting.extract SELECT CASE WHEN COUNT(1) > 0 ...
270.161242.188.76427.0063.270.3890n1att0nq1u7 e:SQLAP:cp:sqlap/WORKERAPPRVL UPDATE AP_INVOICES_ALL AI SET ...
169.931169.935.51178.6895.106.773dah89rz40kn9 e:SQLAP:cp:dka/DKA_IAPFACXGS BEGIN dka_iapfacxgs_pkg.import...
125.17731.714.061,967.046.363.97ctp9ravf5dxfr e:SQLAP:cp:sqlap/APPRVL UPDATE AP_HOLDS_ALL AHA SET AH...
102.96571.813.34101.98100.960.01dndn8zwusbhy7 e:SQLAP:cp:sqlap/APPRVL INSERT INTO AP_TEMP_APPROVAL_G...
87.83412.142.8587.9399.880.006m3b4guk3yqzj e:SQLAP:cp:dka/DKA_IAPFACXGS UPDATE DKA_IAPFACXGS_REPORTING...
71.61591.212.32110.3864.880.00bb4y6zxs3j061 e:SQLAP:cp:sqlap/APPRVL UPDATE AP_HOLDS_ALL AHA SET AH...
57.72561.031.8786.0067.1248.1766xqc033rzyp5 e:SQLAP:cp:sqlap/APPRVL SELECT /*+ dynamic_sampling(2)...
54.41471.161.7656.5496.237.03aqx0d1ra6a986 e:OFA:cp:xla/XLABAPUB BEGIN xla_balances_calc_pkg.ma...
52.66413.171.7181.2964.7936.08ddudsfwj54f0g emagent_SQL_oracle_database select a.tablespace_name , rou...
46.72192.461.5251.4190.894.15dfffkcnqfystw MMON_SLAVE WITH MONITOR_DATA AS (SELECT I...
42.53470.901.3844.2796.084.97bwm53fxa4ckra e:OFA:cp:xla/XLABAPUB INSERT INTO xla_ctrl_bal_inter...
38.39201.921.2546.5182.545.66fhf8upax5cxsz MMON_SLAVE BEGIN sys.dbms_auto_report_int...
36.22590.611.1766.0754.821.76656sk77p7a7qs e:OFA:cp:ofa/FAACCPB Declare l_flag Boolean; BEGIN ...
35.862480.141.1640.0089.6724.815u1d16qak7nrp e:SQLAP:cp:sqlap/WORKERAPPRVL INSERT INTO ZX_TRX_HEADERS_GT(...
34.49191.821.1239.1688.085.450w26sk6t6gq98 MMON_SLAVE SELECT XMLTYPE(DBMS_REPORT.GET...


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
84.091240.6825.711,592.2283.675.28adj796q5rqv7m e:SQLAP:cp:sqlap/WORKERAPPRVL BEGIN AP_APPROVAL_PKG.WORKER_A...
78.05731.0723.861,967.046.363.97ctp9ravf5dxfr e:SQLAP:cp:sqlap/APPRVL UPDATE AP_HOLDS_ALL AHA SET AH...
41.43560.7412.6786.0067.1248.1766xqc033rzyp5 e:SQLAP:cp:sqlap/APPRVL SELECT /*+ dynamic_sampling(2)...
29.3347.338.9781.2964.7936.08ddudsfwj54f0g emagent_SQL_oracle_database select a.tablespace_name , rou...
23.371520.157.1440.0270.4658.395a72wzs0hj755 e:SQLAP:cp:dka/DKA_SAPCREATE_BLOCAGES BEGIN DKA_SAPCREATE_BLOCAGES_P...
23.281520.157.1233.3865.9269.75badzp9g6jzuz9 e:SQLAP:cp:dka/DKA_SAPCREATE_BLOCAGES SELECT AI.INVOICE_ID, AI.INVOI...
12.09112.093.70178.6895.106.773dah89rz40kn9 e:SQLAP:cp:dka/DKA_IAPFACXGS BEGIN dka_iapfacxgs_pkg.import...
9.922480.043.0340.0089.6724.815u1d16qak7nrp e:SQLAP:cp:sqlap/WORKERAPPRVL INSERT INTO ZX_TRX_HEADERS_GT(...
9.92400.253.03562.2496.951.765t39uchjqpyfm e:OFA:cp:xla/XLAACCUP BEGIN xla_accounting_pkg.unit_...
5.88460.131.80501.7298.001.1705td93dhf1b7y e:SQLAP:bes:oracle.apps.xla.accounting.extract BEGIN :1 := XLA_00200_AAD_C_01...
5.033,6690.001.54377.5799.171.3367fx45mvnmbsz e:SQLAP:bes:oracle.apps.xla.accounting.extract SELECT CASE WHEN COUNT(1) > 0 ...
3.97470.081.2156.5496.237.03aqx0d1ra6a986 e:OFA:cp:xla/XLABAPUB BEGIN xla_balances_calc_pkg.ma...


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
77,140,073124622,097.3643.211,592.2283.75.3adj796q5rqv7m e:SQLAP:cp:sqlap/WORKERAPPRVL BEGIN AP_APPROVAL_PKG.WORKER_A...
35,692,12440892,303.1020.00562.24971.85t39uchjqpyfm e:OFA:cp:xla/XLAACCUP BEGIN xla_accounting_pkg.unit_...
32,893,54046715,076.9618.43501.72981.205td93dhf1b7y e:SQLAP:bes:oracle.apps.xla.accounting.extract BEGIN :1 := XLA_00200_AAD_C_01...
32,100,5813,6698,749.1417.98377.5799.21.367fx45mvnmbsz e:SQLAP:bes:oracle.apps.xla.accounting.extract SELECT CASE WHEN COUNT(1) > 0 ...
24,922,111124200,984.7713.96427.0063.3.490n1att0nq1u7 e:SQLAP:cp:sqlap/WORKERAPPRVL UPDATE AP_INVOICES_ALL AI SET ...
9,939,59719,939,597.005.57178.6895.16.83dah89rz40kn9 e:SQLAP:cp:dka/DKA_IAPFACXGS BEGIN dka_iapfacxgs_pkg.import...
8,968,87256160,158.435.0286.0067.148.266xqc033rzyp5 e:SQLAP:cp:sqlap/APPRVL SELECT /*+ dynamic_sampling(2)...
8,817,55773120,788.454.941,967.046.44ctp9ravf5dxfr e:SQLAP:cp:sqlap/APPRVL UPDATE AP_HOLDS_ALL AHA SET AH...
4,943,11541,235,778.752.7781.2964.836.1ddudsfwj54f0g emagent_SQL_oracle_database select a.tablespace_name , rou...
4,766,6275980,790.292.67110.3864.90bb4y6zxs3j061 e:SQLAP:cp:sqlap/APPRVL UPDATE AP_HOLDS_ALL AHA SET AH...
3,955,9895769,403.322.22101.981010dndn8zwusbhy7 e:SQLAP:cp:sqlap/APPRVL INSERT INTO AP_TEMP_APPROVAL_G...
3,756,0214779,915.342.1056.5496.27aqx0d1ra6a986 e:OFA:cp:xla/XLABAPUB BEGIN xla_balances_calc_pkg.ma...
3,722,43424815,009.812.0940.0089.724.85u1d16qak7nrp e:SQLAP:cp:sqlap/WORKERAPPRVL INSERT INTO ZX_TRX_HEADERS_GT(...
3,709,8724778,933.452.0844.2796.15bwm53fxa4ckra e:OFA:cp:xla/XLABAPUB INSERT INTO xla_ctrl_bal_inter...
3,488,74224814,067.511.9522.5299.30685yb2upzj6kf e:SQLAP:cp:sqlap/WORKERAPPRVL SELECT I.INVOICE_ID, I.INVOICE...
3,378,5185957,263.021.8966.0754.81.8656sk77p7a7qs e:OFA:cp:ofa/FAACCPB Declare l_flag Boolean; BEGIN ...
3,253,43129511,028.581.8254.7650.61.1bwzqpznjgy3vu e:AR:bes:oracle.apps.xla.accounting.preaccountin SELECT /*+ leading(evt) use_nl...
3,047,4534174,328.121.7187.9399.906m3b4guk3yqzj e:SQLAP:cp:dka/DKA_IAPFACXGS UPDATE DKA_IAPFACXGS_REPORTING...
2,547,4455248,989.331.4329.5099.8.1fnvxqb1ncbd56 e:SQLAP:cp:dka/DKA_IAPFACXGS SELECT AII.* FROM AP_INVOICES_...
2,546,5445248,972.001.4330.0399.90dtt937fsj05m4 e:SQLAP:cp:dka/DKA_IAPFACXGS SELECT AII.INVOICE_ID, AII.GL_...


Back to SQL Statistics
Back to Top

SQL ordered by Reads

Physical ReadsExecutionsReads per Exec %TotalElapsed Time (s)%CPU%IO SQL IdSQL ModuleSQL Text
2,815,6534703,913.2576.9481.2964.7936.08ddudsfwj54f0g emagent_SQL_oracle_database select a.tablespace_name , rou...
221,7851241,788.596.061,592.2283.675.28adj796q5rqv7m e:SQLAP:cp:sqlap/WORKERAPPRVL BEGIN AP_APPROVAL_PKG.WORKER_A...
123,506562,205.463.3786.0067.1248.1766xqc033rzyp5 e:SQLAP:cp:sqlap/APPRVL SELECT /*+ dynamic_sampling(2)...
63,77273873.591.741,967.046.363.97ctp9ravf5dxfr e:SQLAP:cp:sqlap/APPRVL UPDATE AP_HOLDS_ALL AHA SET AH...
61,474152404.431.6840.0270.4658.395a72wzs0hj755 e:SQLAP:cp:dka/DKA_SAPCREATE_BLOCAGES BEGIN DKA_SAPCREATE_BLOCAGES_P...
61,454152404.301.6833.3865.9269.75badzp9g6jzuz9 e:SQLAP:cp:dka/DKA_SAPCREATE_BLOCAGES SELECT AI.INVOICE_ID, AI.INVOI...
47,594401,189.851.30562.2496.951.765t39uchjqpyfm e:OFA:cp:xla/XLAACCUP BEGIN xla_accounting_pkg.unit_...
41,20946895.851.13501.7298.001.1705td93dhf1b7y e:SQLAP:bes:oracle.apps.xla.accounting.extract BEGIN :1 := XLA_00200_AAD_C_01...
39,9653,66910.891.09377.5799.171.3367fx45mvnmbsz e:SQLAP:bes:oracle.apps.xla.accounting.extract SELECT CASE WHEN COUNT(1) > 0 ...
36,607136,607.001.00178.6895.106.773dah89rz40kn9 e:SQLAP:cp:dka/DKA_IAPFACXGS BEGIN dka_iapfacxgs_pkg.import...


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
92039,5553,6690.2597.67-3.9667fx45mvnmbsz e:SQLAP:bes:oracle.apps.xla.accounting.extract SELECT CASE WHEN COUNT(1) > 0 ...
401221,6541243.2399.82-1.72adj796q5rqv7m e:SQLAP:cp:sqlap/WORKERAPPRVL BEGIN AP_APPROVAL_PKG.WORKER_A...
931,316204.6592.93-0.40fhf8upax5cxsz MMON_SLAVE BEGIN sys.dbms_auto_report_int...
84445194.4281.12-0.360w26sk6t6gq98 MMON_SLAVE SELECT XMLTYPE(DBMS_REPORT.GET...
84445194.4281.12-0.36dfffkcnqfystw MMON_SLAVE WITH MONITOR_DATA AS (SELECT I...
346,594400.0899.99-0.015t39uchjqpyfm e:OFA:cp:xla/XLAACCUP BEGIN xla_accounting_pkg.unit_...
23712.0094.59-0.010vcs754gpmxrc MMON_SLAVE WITH binds as (select :dbid as...
140,738460.02100.00-0.0005td93dhf1b7y e:SQLAP:bes:oracle.apps.xla.accounting.extract BEGIN :1 := XLA_00200_AAD_C_01...
117,5372480.0099.99-0.005u1d16qak7nrp e:SQLAP:cp:sqlap/WORKERAPPRVL INSERT INTO ZX_TRX_HEADERS_GT(...
0020,4210.00 0.0005ywgcja87h9m e:SQLAP:wf:PAAPINVW UPDATE AP_INVOICE_DISTRIBUTION...


Back to SQL Statistics
Back to Top

SQL ordered by Executions

Executions Rows ProcessedRows per ExecElapsed Time (s) %CPU %IO SQL IdSQL ModuleSQL Text
47,08647,0911.003.0499.506t6z5yyv0b8ds e:SQLAP:wf:PAAPINVW SELECT ZX_REC_NREC_DIST_S.NEXT...
31,69931,6971.006.3999.5019p399n80dnsq e:PO:cp:po/POXSSPG begin :con := "ZX_SECURITY"."A...
28,82600.000.6898.50bn7jfdsf4zh36 e:SQLAP:wf:PAAPINVW DELETE FROM ZX_JURISDICTIONS_G...
28,11628,1151.008.701000dg7rw6zr1wdaa e:SQLAP:wf:PAAPINVW begin FND_FLEX_WORKFLOW_APIS.A...
22,32622,3421.001.1988.907466ar05kub5f SQL Developer SELECT COUNT(*) FROM AP_HOLDS_...
21,89321,8891.001.2594.17.3grwydz59pu6mc   select text from view$ where r...
20,42136,7801.8031.5792.9.105ywgcja87h9m e:SQLAP:wf:PAAPINVW UPDATE AP_INVOICE_DISTRIBUTION...
18,28418,2801.003.4699.80357ymr0xrucg6 e:DKA:cp:dka/DKA_SCTLFLUX_EAI begin :con := "MO_GLOBAL"."ORG...
15,20600.000.6195.7.22a0bdyyn0sgcb e:SQLAP:wf:PAAPINVW SELECT ALOC.RULE_TYPE FROM AP_...
12,34512,4611.011.9897.90479rc79k52ru1 e:SQLAP:wf:PAAPINVW SELECT DISTINCT PO_HEADER_ID F...


Back to SQL Statistics
Back to Top

SQL ordered by Parse Calls

Parse CallsExecutions % Total Parses SQL IdSQL ModuleSQL Text
39,51647,0866.926t6z5yyv0b8ds e:SQLAP:wf:PAAPINVW SELECT ZX_REC_NREC_DIST_S.NEXT...
31,63931,6995.5419p399n80dnsq e:PO:cp:po/POXSSPG begin :con := "ZX_SECURITY"."A...
28,10928,1164.93dg7rw6zr1wdaa e:SQLAP:wf:PAAPINVW begin FND_FLEX_WORKFLOW_APIS.A...
21,89121,8933.84grwydz59pu6mc   select text from view$ where r...
18,25318,2843.20357ymr0xrucg6 e:DKA:cp:dka/DKA_SCTLFLUX_EAI begin :con := "MO_GLOBAL"."ORG...
13,60928,8262.38bn7jfdsf4zh36 e:SQLAP:wf:PAAPINVW DELETE FROM ZX_JURISDICTIONS_G...
12,35322,3262.167466ar05kub5f SQL Developer SELECT COUNT(*) FROM AP_HOLDS_...
12,34012,3452.16479rc79k52ru1 e:SQLAP:wf:PAAPINVW SELECT DISTINCT PO_HEADER_ID F...
10,41610,4681.83cav2j60adrvb9 e:SQLAP:frm:APXINWKB begin :con := "XLA_SECURITY_PO...
9,9329,9361.74d1vdbgj9yykhh e:SQLAP:cp:sqlap/WORKERAPPRVL DELETE FROM ZX_REC_NREC_DIST_G...
8,8498,8531.557umy6juhzw766   select /*+ connect_by_filterin...
8,7988,8471.54aj3d1mw1zaymg e:SQLAP:frm:APXINWKB SELECT event_status_code FROM ...
8,7858,7891.54au7f6hpnhxpkx   select ts# from ts$ where dflm...
7,0287,0291.234xpxwj3mmpbj8 e:SQLAP:frm:APXINWKB SELECT COUNT(*) FROM PA_TASKS ...
6,5346,5351.141v818hwxjxy58 e:SQLGL:cp:sqlgl/GLPARV select FND_FLEX_VALUES_VL.FLEX...
5,8515,8531.031dkqbxgby1zrq e:SQLAP:wf:PAAPINVW select to_char(CODE_COMBINATIO...


Back to SQL Statistics
Back to Top

SQL ordered by Sharable Memory

Sharable Mem (b)Executions % Total SQL IdSQL ModuleSQL Text
20,157,252190.23dfffkcnqfystw MMON_SLAVE WITH MONITOR_DATA AS (SELECT I...
9,469,005190.118mdz49zkajhw3 MMON_SLAVE SELECT /*+ OPT_PARAM('_fix_con...
8,637,33750.1026a2tvptkg3hw e:ICX:wf:POAPPRV INSERT ALL WHEN (ZX_LOCATION_M...
6,674,5932520.083gbufv8ymg5gg e:SQLAP:wf:PAAPINVW INSERT INTO ZX_LINES_DET_FACTO...
6,051,89510.074kvhga64b6wah MMON_SLAVE WITH binds as (select :dbid as...
5,814,7062520.077azcgh1zf1p03 e:SQLAP:wf:PAAPINVW SELECT /*+ INDEX(HEADER ZX_TRX...
5,410,74210.060vcs754gpmxrc MMON_SLAVE WITH binds as (select :dbid as...
5,037,1061090.06616m6uhpa2usu   select i.obj#, i.ts#, i.file#,...
4,984,828380.061c0s28y6dgtp6 e:SQLAP:bes:oracle.apps.xla.accounting.extract SELECT /*+ leading(xet) cardin...
3,182,123950.04622ufbrgvxdc7   select decode(u.type#, 2, u.ex...
3,134,1493510.04aw7fu9a9bdyus SQL Developer SELECT * FROM PER_SECURITY_PRO...
2,984,1565960.035f9spvysgkr1c e:SQLAP:cp:xla/XLAACCPB INSERT INTO FND_CONCURRENT_REQ...
2,262,5501,4660.031p5grz1gs7fjq   select obj#, type#, ctime, mti...
1,945,73310.027qwsx7rw0s3a5 e::cp:30 SELECT PROFILE_OPTION_VALUE FR...
1,575,75650.02gmjbqkrskpkbt e:SQLAP:frm:APXINWKB SELECT SET_OF_BOOKS_ID FROM HR...
1,484,1267,2220.02dawf7hvg1ym94 JDBC Thin Client select V.PROFILE_OPTION_VALUE ...
1,473,6851,0830.02amjk7qdaq37s0 FNDOAMCOL SELECT R.RESPONSIBILITY_KEY FR...
1,415,5312,4850.02bkaaqaa5aj3gf e::cp:30 SELECT MESSAGE_TEXT, MESSAGE_N...
1,244,3374080.01f55uyfv6306pt JDBC Thin Client SELECT LANGUAGE_CODE, NLS_LANG...
1,243,3021260.010643vntsbbshw JDBC Thin Client select V.PROFILE_OPTION_VALUE ...
1,239,9261,3120.01a4gss3ajbyfzr JDBC Thin Client SELECT R.RESPONSIBILITY_NAME F...
1,232,1357,9110.0198j69vs3ymzjv JDBC Thin Client SELECT DECODE(:B2 , 'UTF8', FL...
1,203,4105,0540.013350m9wncvqvn JDBC Thin Client select HIERARCHY_TYPE, SITE_EN...
1,125,7111,6820.012g0a1aa03ngs0 e:SYSADMIN:cp:fnd/FNDGSCST SELECT FPI.STATUS, FPI.INDUSTR...


Back to SQL Statistics
Back to Top

SQL ordered by Version Count

Version Count Executions SQL IdSQL ModuleSQL Text
65109616m6uhpa2usu   select i.obj#, i.ts#, i.file#,...
561,4661p5grz1gs7fjq   select obj#, type#, ctime, mti...
4295622ufbrgvxdc7   select decode(u.type#, 2, u.ex...
42253cb21bacyh3c7d   select metadata from kopm$ whe...
40425dm5qmv0xq5qbn   select obj# from obj$ o where ...
39351aw7fu9a9bdyus SQL Developer SELECT * FROM PER_SECURITY_PRO...
367,91198j69vs3ymzjv JDBC Thin Client SELECT DECODE(:B2 , 'UTF8', FL...
335,0543350m9wncvqvn JDBC Thin Client select HIERARCHY_TYPE, SITE_EN...
332,485bkaaqaa5aj3gf e::cp:30 SELECT MESSAGE_TEXT, MESSAGE_N...
3217qwsx7rw0s3a5 e::cp:30 SELECT PROFILE_OPTION_VALUE FR...
315965f9spvysgkr1c e:SQLAP:cp:xla/XLAACCPB INSERT INTO FND_CONCURRENT_REQ...
291,083amjk7qdaq37s0 FNDOAMCOL SELECT R.RESPONSIBILITY_KEY FR...
287,222dawf7hvg1ym94 JDBC Thin Client select V.PROFILE_OPTION_VALUE ...
261260643vntsbbshw JDBC Thin Client select V.PROFILE_OPTION_VALUE ...
26408f55uyfv6306pt JDBC Thin Client SELECT LANGUAGE_CODE, NLS_LANG...
252442tkw12w5k68vd   select user#, password, datats...
25229v2t9naa94y3v e:DKA:wf:REQAPPRV SELECT TEXT FROM WF_RESOURCES ...
255gmjbqkrskpkbt e:SQLAP:frm:APXINWKB SELECT SET_OF_BOOKS_ID FROM HR...
242a2g5ca6utfkv7 oacore_server32 SELECT USER_ID FROM FND_USER W...
241,312a4gss3ajbyfzr JDBC Thin Client SELECT R.RESPONSIBILITY_NAME F...
232,23517d40vwcct4g6 oacore_server23 select instance_name from v$in...
223,00919w2h52d7ggr7 JDBC Thin Client SELECT * FROM V$NLS_PARAMETERS...
221,150fjqwt3zgytjdd e::cp:30 SELECT PROPERTY_VALUE FROM DAT...
2151ubm0swfj9nv5 e:SQLAP:cp:sqlap/APXIIMPT SELECT PRECISION, EXTENDED_PRE...
211,5032aufmzdhuf380 frmweb@udkfinp05 (TNS V1-V3) SELECT APPLICATION_SHORT_NAME ...


Back to SQL Statistics
Back to Top

SQL ordered by Cluster Wait Time

Cluster Wait Time (s)Executions%TotalElapsed Time(s)%Clu%CPU%IO SQL IdSQL ModuleSQL Text
249.2112478.331,592.2215.6583.675.28adj796q5rqv7m e:SQLAP:cp:sqlap/WORKERAPPRVL BEGIN AP_APPROVAL_PKG.WORKER_A...
170.6112453.62427.0039.9663.270.3890n1att0nq1u7 e:SQLAP:cp:sqlap/WORKERAPPRVL UPDATE AP_INVOICES_ALL AI SET ...
30.13599.4766.0745.6154.821.76656sk77p7a7qs e:OFA:cp:ofa/FAACCPB Declare l_flag Boolean; BEGIN ...
29.342959.2254.7653.5950.571.07bwzqpznjgy3vu e:AR:bes:oracle.apps.xla.accounting.preaccountin SELECT /*+ leading(evt) use_nl...
4.55401.43562.240.8196.951.765t39uchjqpyfm e:OFA:cp:xla/XLAACCUP BEGIN xla_accounting_pkg.unit_...
2.5340.7981.293.1164.7936.08ddudsfwj54f0g emagent_SQL_oracle_database select a.tablespace_name , rou...
2.4720,4210.7831.577.8492.870.1105ywgcja87h9m e:SQLAP:wf:PAAPINVW UPDATE AP_INVOICE_DISTRIBUTION...
1.6510,2110.5222.297.3890.624.40gtvyydjxda4kf e:SQLAP:wf:PAAPINVW UPDATE AP_INVOICE_DISTRIBUTION...
1.48560.4786.001.7367.1248.1766xqc033rzyp5 e:SQLAP:cp:sqlap/APPRVL SELECT /*+ dynamic_sampling(2)...
1.362480.4340.003.4089.6724.815u1d16qak7nrp e:SQLAP:cp:sqlap/WORKERAPPRVL INSERT INTO ZX_TRX_HEADERS_GT(...
1.221520.3840.023.0470.4658.395a72wzs0hj755 e:SQLAP:cp:dka/DKA_SAPCREATE_BLOCAGES BEGIN DKA_SAPCREATE_BLOCAGES_P...
1.151520.3633.383.4565.9269.75badzp9g6jzuz9 e:SQLAP:cp:dka/DKA_SAPCREATE_BLOCAGES SELECT AI.INVOICE_ID, AI.INVOI...
1.1310.36178.680.6395.106.773dah89rz40kn9 e:SQLAP:cp:dka/DKA_IAPFACXGS BEGIN dka_iapfacxgs_pkg.import...
0.93460.29501.720.1998.001.1705td93dhf1b7y e:SQLAP:bes:oracle.apps.xla.accounting.extract BEGIN :1 := XLA_00200_AAD_C_01...
0.70730.221,967.040.046.363.97ctp9ravf5dxfr e:SQLAP:cp:sqlap/APPRVL UPDATE AP_HOLDS_ALL AHA SET AH...
0.643,6690.20377.570.1799.171.3367fx45mvnmbsz e:SQLAP:bes:oracle.apps.xla.accounting.extract SELECT CASE WHEN COUNT(1) > 0 ...
0.588,8470.187.018.2884.1015.82aj3d1mw1zaymg e:SQLAP:frm:APXINWKB SELECT event_status_code FROM ...
0.561600.1824.852.2591.030.869k7t8q4kfcb7y e:OFA:bes:oracle.apps.xla.accounting.postprocess begin GL.apps_ddl.apps_ddl(:dd...
0.455960.141.8024.8874.0734.385f9spvysgkr1c e:SQLAP:cp:xla/XLAACCPB INSERT INTO FND_CONCURRENT_REQ...
0.3810,2140.1220.981.8397.990.635z2y27mbm98zm e:SQLAP:wf:PAAPINVW UPDATE AP_INVOICE_DISTRIBUTION...
0.31470.1056.540.5496.237.03aqx0d1ra6a986 e:OFA:cp:xla/XLABAPUB BEGIN xla_balances_calc_pkg.ma...
0.202480.0622.520.8999.270.01685yb2upzj6kf e:SQLAP:cp:sqlap/WORKERAPPRVL SELECT I.INVOICE_ID, I.INVOICE...
0.1422,3260.051.1912.0688.910.007466ar05kub5f SQL Developer SELECT COUNT(*) FROM AP_HOLDS_...
0.14410.0487.930.1699.880.006m3b4guk3yqzj e:SQLAP:cp:dka/DKA_IAPFACXGS UPDATE DKA_IAPFACXGS_REPORTING...
0.14470.0444.270.3296.084.97bwm53fxa4ckra e:OFA:cp:xla/XLABAPUB INSERT INTO xla_ctrl_bal_inter...
0.13590.04110.380.1264.880.00bb4y6zxs3j061 e:SQLAP:cp:sqlap/APPRVL UPDATE AP_HOLDS_ALL AHA SET AH...
0.101,4660.030.6215.4975.0938.821p5grz1gs7fjq   select obj#, type#, ctime, mti...
0.10200.0346.510.2182.545.66fhf8upax5cxsz MMON_SLAVE BEGIN sys.dbms_auto_report_int...
0.094,4740.0311.570.8099.280.001x86a57bmfjhp   select view_obj.owner# from us...
0.09570.03101.980.09100.960.01dndn8zwusbhy7 e:SQLAP:cp:sqlap/APPRVL INSERT INTO AP_TEMP_APPROVAL_G...
0.09380.0325.320.3578.631.001c0s28y6dgtp6 e:SQLAP:bes:oracle.apps.xla.accounting.extract SELECT /*+ leading(xet) cardin...
0.082520.031.087.7993.740.983gbufv8ymg5gg e:SQLAP:wf:PAAPINVW INSERT INTO ZX_LINES_DET_FACTO...
0.0521,8930.021.254.0894.107.26grwydz59pu6mc   select text from view$ where r...
0.0412,3450.011.982.1697.920.00479rc79k52ru1 e:SQLAP:wf:PAAPINVW SELECT DISTINCT PO_HEADER_ID F...
0.04520.0129.500.1499.810.15fnvxqb1ncbd56 e:SQLAP:cp:dka/DKA_IAPFACXGS SELECT AII.* FROM AP_INVOICES_...
0.03110.010.0841.5155.7549.429k7gd9pn661pj SQL*Plus SELECT PROFILE_OPTION_VALUE FR...
0.031090.010.1519.1073.4823.16616m6uhpa2usu   select i.obj#, i.ts#, i.file#,...
0.032,3430.011.351.9398.301.139tqv6543vc09h e:SQLAP:wf:PAAPINVW begin DKA_SAPWFAG_PKG.GET_AP_S...
0.0215,2060.010.613.9795.740.162a0bdyyn0sgcb e:SQLAP:wf:PAAPINVW SELECT ALOC.RULE_TYPE FROM AP_...
0.02520.0130.030.0799.940.00dtt937fsj05m4 e:SQLAP:cp:dka/DKA_IAPFACXGS SELECT AII.INVOICE_ID, AII.GL_...
0.024250.010.0920.5659.3844.55dm5qmv0xq5qbn   select obj# from obj$ o where ...
0.02190.0039.160.0488.085.450w26sk6t6gq98 MMON_SLAVE SELECT XMLTYPE(DBMS_REPORT.GET...
0.01190.0051.410.0290.894.15dfffkcnqfystw MMON_SLAVE WITH MONITOR_DATA AS (SELECT I...
0.015,8530.001.110.8696.763.261dkqbxgby1zrq e:SQLAP:wf:PAAPINVW select to_char(CODE_COMBINATIO...
0.01950.000.109.1589.7134.47622ufbrgvxdc7   select decode(u.type#, 2, u.ex...


Back to SQL Statistics
Back to Top

Complete List of SQL Text

SQL IdSQL Text
05td93dhf1b7yBEGIN :1 := XLA_00200_AAD_C_011111_PKG.CreateJournalEntries(:2, :3, :4, :5, :6 ); END;
05ywgcja87h9mUPDATE AP_INVOICE_DISTRIBUTIONS_ALL D SET MATCH_STATUS_FLAG = 'S' WHERE NVL(MATCH_STATUS_FLAG, '!') <> 'A' AND NVL(D.POSTED_FLAG, 'N' ) = 'N' AND D.INVOICE_ID = :B1
0643vntsbbshwselect V.PROFILE_OPTION_VALUE from FND_PROFILE_OPTIONS O, FND_PROFILE_OPTION_VALUES V where O.PROFILE_OPTION_NAME = :1 and V.LEVEL_ID = :2 and O.START_DATE_ACTIVE <= SYSDATE and nvl(O.END_DATE_ACTIVE, SYSDATE) >= SYSDATE and O.PROFILE_OPTION_ID = V.PROFILE_OPTION_ID and O.APPLICATION_ID = V.APPLICATION_ID and V.LEVEL_VALUE_APPLICATION_ID = :3 and V.LEVEL_VALUE = :4
0vcs754gpmxrc WITH binds as (select :dbid as dbid , :inst_id_low as instIdLow , :inst_id_high as instIdHigh , :begin_snap as beginSnap , :end_snap as endSnap , :begin_time as beginTime , :end_time as endTime , :disk_begin_time as diskBeginTime , :disk_end_time as diskEndTime , :mem_begin_time as memBeginTime , :mem_end_time as memEndTime , :bucket_count as bucketCount , :bucket_interval as bucketInterval , :mem_enable as memEnable , :disk_enable as diskEnable , :disk_filter_ratio as filterRatio, :filter_action as filter_action, :filter_blocking_session as filter_blocking_session, :filter_capture_id as filter_capture_id, :filter_client_id as filter_client_id, :filter_consumer_group_id as filter_consumer_group_id, :filter_dbop as filter_dbop, :filter_ecid as filter_ecid, :filter_event as filter_event, :filter_instance_number as filter_instance_number, :filter_is_captured as filter_is_captured, :filter_is_filtered_out as filter_is_filtered_out, :filter_is_nc_background as filter_is_nc_background, :filter_is_replayed as filter_is_replayed, :filter_machine as filter_machine, :filter_machine_port as filter_machine_port, :filter_module as filter_module, :filter_object as filter_object, :filter_pdb as filter_pdb, :filter_physical_session as filter_physical_session, :filter_pl_sql as filter_pl_sql, :filter_pl_sql_top as filter_pl_sql_top, :filter_program as filter_program, :filter_px_process as filter_px_process, :filter_service_hash as filter_service_hash, :filter_session_type as filter_session_type, :filter_sql_fms as filter_sql_fms, :filter_sql_id_top as filter _sql_id_top, :filter_sql_opcode as filter_sql_opcode, :filter_sql_opcode_top as filter_sql_opcode_top, :filter_sql_rws as filter_sql_rws, :filter_sql_rws_line as filter_sql_rws_line, :filter_sqlid as filter_sqlid, :filter_sqlid_fullphv as filter_sqlid_fullphv, :filter_sqlid_phv as filter_sqlid_phv, :filter_user_id as filter_user_id, :filter_wait_class as filter_wait_class, :filter_xid as filter_xid from dual) , unified_ash as (SELECT a.sample_id , a.sample_time , a.session_id , a.session_serial# , a.session_type , a.session_state , a.flags , a.user_id , a.sql_id , a.sql_opcode , a.sql_opname , a.top_level_sql_id , a.top_level_sql_opcode , a.sql_child_number , a.sql_plan_hash_value , a.sql_full_plan_hash_value , a.sql_plan_line_id , a.sql_plan_operation , a.sql_plan_options , a.sql_exec_id , a.force_ matching_signature , a.plsql_entry_object_id , a.plsql_entry_subprogram_id , a.plsql_object_id , a.plsql_subprogram_id , a.service_hash , a.qc_session_id , a.qc_instance_id , a.qc_session_serial# , nvl(a.event, CASE WHEN bitand(a.time_model, power(2, 19)) > 0 THEN 'CPU: IM Populate' WHEN bitand(a.time_model, power(2, 20)) > 0 THEN 'CPU: IM Prepopulate' WHEN bitand(a.time_model, power(2, 21)) > 0 THEN 'CPU: IM Repopulate' WHEN bitand(a.time_model, power(2, 22)) > 0 THEN 'CPU: IM Trickle Repop' WHEN bitand(a.time_model, power(2, 18)) > 0 THEN 'CPU: IM Query' ELSE 'CPU + Wait for CPU' END) as event , nvl(a.event_id, 1) as event_id , nvl(a.wait_class, 'CPU') as wait_class , nvl(a.wait_class_id, 9999) as wait_class_id , a.seq# , a.p1 , a.p1text , a.p2 , a.p2text , a.p3 , a.p3text , a.wait_time , a.time_waited , rawtohex(a.xid) as xid , a.blocking_session , a.blocking_session_serial# , a.blocking_session_status , a.blocking_inst_id , a.current_obj# , a.current_file# , a.current_block# , a.top_level_call# , a.top_level_call_name , a.program , a.module , a.action , a.client_id , a.remote_instance# , a.ecid , a.consumer_group_id , a.machine , a.port , a.in_connection_mgmt , a.in_parse , a.in_hard_parse , a.in_sql_execution , a.in_plsql_execution , a.in_plsql_rpc , a.in_plsql_compilation , a.in_java_execution , a.in_bind , a.in_cursor_close , a.in_sequence_load , a.is_captured , a.is_replayed , a.dbreplay_file_id , a.dbop_name , a.con_dbid, decode(binds.diskEnable, 0, 1, binds.filterRatio) as sample_count , inst_id as instance_number FROM gv$active_session_history a, binds WHERE binds.memEnable = 1 AND ( binds.diskEnable = 0 OR ( binds.diskEnable = 1 AND a.is_awr_sample = 'Y' AND bitand(a.flags, 128) = 0 ) ) AND a.inst_id between binds.instIdLow and binds.instIdHigh AND a.sample_time between binds.beginTime and binds.endTime UNION ALL SELECT a.sample_id , a.sample_time , a.session_id , a. session_serial# , a.session_type , a.session_state , a.flags , a.user_id , a.sql_id , a.sql_opcode , a.sql_opname , a.top_level_sql_id , a.top_level_sql_opcode , a.sql_child_number , a.sql_plan_hash_value , a.sql_full_plan_hash_value , a.sql_plan_line_id , a.sql_plan_operation , a.sql_plan_options , a.sql_exec_id , a.force_matching_signature , a.plsql_entry_object_id , a.plsql_entry_subprogram_id , a.plsql_object_id , a.plsql_subprogram_id , a.service_hash , a.qc_session_id , a.qc_instance_id , a.qc_session_serial# , nvl(a.event, CASE WHEN bitand(a.time_model, power(2, 19)) > 0 THEN 'CPU: IM Populate' WHEN bitand(a.time_model, power(2, 20)) > 0 THEN 'CPU: IM Prepopulate' WHEN bitand(a .time_model, power(2, 21)) > 0 THEN 'CPU: IM Repopulate' WHEN bitand(a.time_model, power(2, 22)) > 0 THEN 'CPU: IM Trickle Repop' WHEN bitand(a.time_model, power(2, 18)) > 0 THEN 'CPU: IM Query' ELSE 'CPU + Wait for CPU' END) as event , nvl(a.event_id, 1) as event_id , nvl(a.wait_class, 'CPU') as wait_class , nvl(a.wait_class_id, 9999) as wait_class_id , a.seq# , a.p1 , a.p1text , a.p2 , a.p2text , a.p3 , a.p3text , a.wait_time , a.time_waited , rawtohex(a.xid) as xid , a.blocking_session , a.blocking_session_serial# , a.blocking_session_status , a.blocking_inst_id , a.current_obj# , a.current_file# , a.current_block# , a.top_level_call# , a.top_level_call_name , a.program , a.module , a.action , a.client_id , a.remote_instance# , a.ecid , a.consumer_group_id , a.machine , a.port , a.in_connection_mgmt , a.in_parse , a.in_hard_parse , a.in_sql_execution , a.in_plsql_execution , a.in_plsql_rpc , a.in_plsql_compilation , a.in_java_execution , a.in_bind , a.in_cursor_close , a.in_sequence_load , a.is_captured , a.is_replayed , a.dbreplay_file_id , a.dbop_name , a.con_dbid, binds.filterRatio as sample_count , instance_number as instance_number FROM dba_hist_active_sess_history a, binds WHERE binds.diskEnable = 1 AND a.dbid = binds.dbid AND a.instance_number between binds.instIdLow and binds.instIdHigh AND a.snap_id between binds.beginSnap and binds.endSnap AND a.sample_time between binds.beginTime and binds.endTime ), logical_ash as (select sample_id , sample_time , sample_count , instance_number as inst_id, action as action, event as event, instance_number as instance_number, module as module, instance_number || ':' || session_id || ', ' || session_serial# as physical_session, service_hash as service_hash, sql_id as sqlid, wait_class as wait_class, xid as xid, user_id as user_id, program as program from unified_ash) , bucketized_ash as (SELECT ash0.*, (case when binds.bucketCount > 1 then trunc( ( (24 * 60 * 60 * extract(day from sample_t ime - binds.beginTime)) + (60 * 60 * extract(hour from sample_time - binds.beginTime)) + (60 * extract(minute from sample_time - binds.beginTime)) + (1 * extract(second from sample_time - binds.beginTime)) ) / binds.bucketInterval ) + 1 else 1 end) as bucket_number FROM logical_ash ash0, binds), filter_xml as (SELECT xmlconcat(xmlelement("filters" ) , xmlelement(" report_time", xmlattributes( to_char(o.begintime, 'HH24:MI:SS MM/DD/YYYY') as "begin_time", to_char(o.endtime, 'HH24:MI:SS MM/DD/YYYY') as "end_time"))) as xml_frag FROM (select binds.*, nvl(to_number(filter_pdb), 0) as con_dbid from binds) o) , filtered_ash as (SELECT ash.*, 1 filtered FROM bucketized_ash ash, binds WHERE 1=1 ), grouped_ash as (SELECT ash.*, 0 AS bucket_type FROM (SELECT sqlid, physical_session, action, module, service_hash, instance_number, event, wait_class , grouping_id(sqlid, physical_session, action, module, service_hash, instance_number, event, wait_class) as gid , max(inst_id) as inst_id , sum(sample_count) as sample_count , count(distinct sqlid) as uniq_sqlids , count(distinct xid) as uniq_xids , count(distinct physical_session) as uniq_sessions , count(distinct instance_number) as uniq_instances, max(user_id) as user_id, max(program) as program from filtered_ash group by grouping sets( (wait_class), (sqlid), (module), (event), (action), (instance_number), (physical_session), (service_hash)) ) ash ), component_1_treemap as (select dim_val , inst_id , sample_count , num_mem , mem_rank , uniq_sqlids , uniq_xids , uniq_sessions , uniq_instances , 0 AS bucket_type --target(not global)/filtered bucket from (select max(case when mem_rank <= 13 then dim_val else null end) as dim_val , sum(sample_count) as sample_count , count(*) as num_mem , max(case when mem_rank <= 13 then mem_rank else (13 + 1) end) as mem_rank , max(case when mem_rank <= 13 then uniq_sqlids else 0 end) as uniq_sqlids , max(case when mem_rank <= 13 then uniq_xids else 0 end) as uniq_xids , max(case when mem_rank <= 13 then uniq_sessions else 0 end) as uniq_sessions , max(case when mem_rank <= 13 then uniq_instances else 0 end) as uniq_instances , max(inst_id) as inst_id from (select wait_class as dim_val , sample_count , dense_rank() over (order by sample_count desc , wait_class) as mem_rank , uniq_sqlids , uniq_xids , uniq_sessions , uniq_instances , inst_id from grouped_ash where gid = 254 and wait_class is not null) group by (case when mem_rank <= 13 then dim_val else null end) ) left ) , component_1_xml as (select xmlelement("item" , xmlattributes('wait_class' as "id" , topmems.cnt_all as "count" , topmems.num_mem as "num_mem" , topmems.nu m_others as "num_others") , topmems.topmems_frag) as dim_frag from (select xmlelement( "top_mems" , xmlattributes(sum(case when mem_rank <= 13 then sample_count else 0 end) as "count") , xmlagg(xmlelement( "mem" , xmlattributes(mem_rank as "id" , dim_val as "name" , sample_count as "count" , uniq_sqlids as "uniq_sqlids" , uniq_xids as "uniq_xids" , uniq_sessions as "uniq_sessions" , uniq_instances as "uniq_instances") ) order by sample_count desc)) as topmems_frag , sum(case when mem_rank <= 13 then 1 else 0 end) as num_mem , sum(sample_count) as cnt_all , max(case when mem_rank <= 13 then 0 else num_mem end) as num_others f rom (component_1_treemap) t ) topmems), component_2_treemap as (select dim_val , inst_id , sample_count , num_mem , mem_rank , uniq_sqlids , uniq_xids , uniq_sessions , uniq_instances , 0 AS bucket_type --target(not global)/filtered bucket from (select max(case when mem_rank <= 5 then dim_val else null end) as dim_val , sum(sample_count) as sample_count , count(*) as num_mem , max(case when mem_rank <= 5 then mem_rank else (5 + 1) end) as mem_rank , max(case when mem_rank <= 5 then uniq_sqlids else 0 end) as uniq_sqlids , max(case when mem_rank <= 5 then uniq_xids else 0 end) as uniq_xids , max(case when mem_rank <= 5 then uniq_sessions else 0 end) as uniq_sessions , max(case when mem_rank <= 5 then uniq_instances else 0 end) as uniq_instances , max(inst_id) as inst_id from (select event as dim_val , sample_count , dense_rank() over (order by sample_count desc , event) as mem_rank , uniq_sqlids , uniq_xids , uniq_sessions , uniq_instances , inst_id from grouped_ash where gid = 253 and event is not null) group by (case when mem_rank <= 5 then dim_val else null end) ) left ) , component_2_xml as (select xmlelement("item" , xmlattributes('event' as "id" , topmems.cnt_all as "count" , topmems.num_mem as "num_mem" , topmems.num_others as "num_others") , topmems.topmems_frag) as dim_frag from (select xmlelement( "top_mems" , xmlattributes(sum(case when mem_rank <= 5 then sample_count else 0 end) as "count") , xmlagg (xmlelement( "mem" , xmlattributes(mem_rank as "id" , dim_val as "name" , sample_count as "count" , uniq_sqlids as "uniq_sqlids" , uniq_xids as "uniq_xids" , uniq_sessions as "uniq_sessions" , uniq_instances as "uniq_instances") ) order by sample_count desc)) as topmems_frag , sum(case when mem_rank <= 5 then 1 else 0 end) as num_mem , sum(sample_count) as cnt_all , max(case when mem_rank <= 5 then 0 else num_mem end) as num_others from (component_2_treemap) t ) topmems), component_3_treemap as (select dim_val , inst_id , sample_count , num_mem , mem_rank , uniq_sqlids , uniq_xids , uniq_sessions , uniq_instances , 0 AS bucket_type --target(not global)/filtered bucket from (select max(case when mem_rank <= 5 then dim_val else null end) as dim_val , sum(sample_count) as sample_count , count(*) as num_mem , max(case when mem_rank <= 5 then mem_rank else (5 + 1) end) as mem_rank , max(case when mem_rank <= 5 then uniq_sqlids else 0 end) as uniq_sqlids , max(case when mem_rank <= 5 then uniq_xids else 0 end) as uniq_xids , max(case when mem_rank <= 5 then uniq_sessions else 0 end) as uniq_sessions , max(case when mem_rank <= 5 then uniq_instances else 0 end) as uniq_instances , max(inst_id) as inst_id from (select instance_number as dim_val , sample_count , dense_rank() over (order by sample_count desc , instance_number) as mem_rank , uniq_sqlids , uniq_xids , uniq_sessions , uniq_instances , inst_id from grouped_ash where gid = 251 and instance_number is not null) group by (case when mem_rank <= 5 then dim_val else null end) ) left ) , component_3_xml as (select xmlelement("item" , xmlattributes('instance_number' as "id" , topmems.cnt_all as "count" , topmems.num_mem as "num_mem" , topmems.num_others as "num_others") , topmems.topmems_frag) as dim_frag from (select xmlelement( "top_mems" , xmlattributes(sum(case when mem_rank <= 5 then sample_count else 0 end) as "count") , xmlagg(xmlelement( "mem" , xmlattributes(mem_rank as "id" , dim_val as "name" , sample_count as "count" , uniq_sqlids as "uniq_sqlids" , uniq_xids as "uniq_xids" , uniq_sessions as "uniq_sessions" , uniq_instances as "uniq_instances") ) order by sample_count desc)) as topmems_frag , sum(case when mem_rank <= 5 then 1 else 0 end) as num_mem , sum(sample_count) as cnt_all , max(case when mem_rank <= 5 then 0 else num_mem end) as num_others from (component_3_treemap) t ) topmems), component_4_treemap as (select dim_val , inst_id , sample_count , num_mem , mem_rank , uniq_sqlids , uniq_xids , uniq_sessions , uniq_instances , 0 AS bucket_type --target(not global)/filtered bucket , NVL((SELECT name FROM gv$active_services v WHERE v.name_hash = left.dim_val AND v.inst_id = left.inst_id AND rownum < 2 ), ( SELECT service_name FROM dba_hist_service_name v, binds b WHERE v.dbid = b.dbid AND v.service_name_hash = left.dim_val AND rownum < 2)) as service_name from (select max(case when mem_rank <= 5 then dim_val else null end) as dim_val , sum(sample_count) as sample_count , count(*) as num_mem , max(case when mem_rank <= 5 then mem_rank else (5 + 1) end) as mem_rank , max(case when mem_rank <= 5 then uniq_sqlids else 0 end) as uniq_sqlids , max(case when mem_rank <= 5 then uniq_xids else 0 end) as uniq_xids , max(case when mem_rank <= 5 then uniq_sessions else 0 end) as uniq_sessions , max(case when mem_rank <= 5 then uniq_instances else 0 end) as uniq_instances , max(inst_id) as inst_id from (select service_hash as dim_val , sample_count , dense_rank() over (order by sample_count desc , service_hash) as mem_rank , uniq_s qlids , uniq_xids , uniq_sessions , uniq_instances , inst_id from grouped_ash where gid = 247 and service_hash is not null) group by (case when mem_rank <= 5 then dim_val else null end) ) left ) , component_4_xml as (select xmlelement("item" , xmlattributes('service_hash' as "id" , topmems.cnt_all as "count" , topmems.num_mem as "num_mem" , topmems.num_others as "num_others") , topmems.topmems_frag) as dim_frag from (select xmlelement( "top_mems" , xmlattributes(sum(case when mem_rank <= 5 then sample_count else 0 end) as "count") , xmlagg(xmlelement( "mem" , xmlattributes(mem_rank as "id" , dim_val as "name" , sample_count as "count" , uniq_sqlids as "uniq_sqlids" , uniq_xids as "uniq_xids" , uniq_sessions as "uniq_sessions" , uniq_instances as "uniq_instances") , service_name) order by sample_count desc)) as topmems_frag , sum(case when mem_rank <= 5 then 1 else 0 end) as num_mem , sum(sample_count) as cnt_all , max(case when mem_rank <= 5 then 0 else num_mem end) as num _others from (component_4_treemap) t ) topmems), component_5_treemap as (select dim_val , inst_id , sample_count , num_mem , mem_rank , uniq_sqlids , uniq_xids , uniq_sessions , uniq_instances , 0 AS bucket_type --target(not global)/filtered bucket from (select max(case when mem_rank <= 5 then dim_val else null end) as dim_val , sum(sample_count) as sample_count , count(*) as num_mem , max(case when mem_rank <= 5 then mem_rank else (5 + 1) end) as mem_rank , max(case when mem_rank <= 5 then uniq_sqlids else 0 end) as uniq_sqlids , max(case when mem_rank <= 5 then uniq_xids else 0 end) as uniq_xids , max(case when mem_rank <= 5 then uniq_sessions else 0 end) as uniq_sessions , max(case when mem_rank <= 5 then uniq_instances else 0 end) as uniq_instances , max(inst_id) as inst_id from (select module as dim_val , sample_count , dense_rank() over (order by sample_count desc , module) as mem_rank , uniq_sqlids , uniq_xids , uniq_sessions , uniq_instances , inst_id from grouped_ash where gid = 239 and module is not null) group by (case wh en mem_rank <= 5 then dim_val else null end) ) left ) , component_5_xml as (select xmlelement("item" , xmlattributes('module' as "id" , topmems.cnt_all as "count" , topmems.num_mem as "num_mem" , topmems.num_others as "num_others") , topmems.topmems_frag) as dim_frag from (select xmlelement( "top_mems" , xmlattributes(sum(case when mem_rank <= 5 then sample_count else 0 end) as "count") , xmlagg(xmlelement( "mem" , xmlattributes(mem_rank as "id" , dim_val as "name" , sample_count as "count" , uniq_sqlids as "uniq_sqlids" , uniq_xids as "uniq_xids" , uniq_sessions as "uniq_sessions" , uniq_instances as "uniq_instances") ) order by sample_count desc)) as topmems_frag , sum(case when mem_rank <= 5 then 1 else 0 end) as num_mem , sum(sample_count) as cnt_all , max(case when mem_rank <= 5 then 0 else num_mem end) as num_others from (component_5_treemap) t ) topmems), component_6_treemap as (select dim_val , inst_id , sample_count , num_mem , mem_rank , uniq_sqlids , uniq_xids , uniq_sessions , un iq_instances , 0 AS bucket_type --target(not global)/filtered bucket from (select max(case when mem_rank <= 5 then dim_val else null end) as dim_val , sum(sample_count) as sample_count , count(*) as num_mem , max(case when mem_rank <= 5 then mem_rank else (5 + 1) end) as mem_rank , max(case when mem_rank <= 5 then uniq_sqlids else 0 end) as uniq_sqlids , max(case w hen mem_rank <= 5 then uniq_xids else 0 end) as uniq_xids , max(case when mem_rank <= 5 then uniq_sessions else 0 end) as uniq_sessions , max(case when mem_rank <= 5 then uniq_instances else 0 end) as uniq_instances , max(inst_id) as inst_id from (select action as dim_val , sample_count , dense_rank() over (order by sample_count desc , action) as mem_rank , uniq_sqlids , uniq_xids , uniq_sessions , uniq_instances , inst_id from grouped_ash where gid = 223 and action is not null) group by (case when mem_rank <= 5 then dim_val else null end) ) left ) , component_6_xml as (select xmlelement("item" , xmlattributes('action' as "id" , topmems.cnt_all as "count" , topmems.num_mem as "num_mem" , topmems.num_others as "num_others") , topmems.topmems_frag) as dim_frag from (select xmlelement( "top_mems" , xmlattributes(sum(case when mem_rank <= 5 then sample_count else 0 end) as "count") , xmlagg(xmlelement( "mem" , xmlattributes(mem_rank as "id" , dim_val as "name" , sample_count as "count" , uniq_sqlids as "uniq_sqlids" , uniq_xids as "uniq_xids" , uniq_sessions as "uniq_sessions" , uniq_instances as "uniq_instances") ) order by sample_count desc)) as topmems_frag , sum(case when mem_rank <= 5 then 1 else 0 end) as num_mem , sum(sample_count) as cnt_all , max(case when mem_rank <= 5 then 0 else num_mem end) as num_others from (component_6_treemap) t ) topmems), component_7_treemap as (select dim_val , inst_id , sample_count , num_mem , mem_rank , uniq_sqlids , uniq_xids , uniq_sessions , uniq_instances , 0 AS bucket_type --target(not global)/filtered bucket , user_id, program from (select max(case when mem_rank <= 5 then dim_val else null end) as dim_val , sum(sample_count) as sample_count , count(*) as num_mem , max(case when mem_rank <= 5 then mem_rank else (5 + 1) end) as mem_rank , max(case when mem_rank <= 5 then uniq_sqlids else 0 end) as uniq_sqlids , max(case when mem_rank <= 5 then uniq_xids else 0 end) as uniq_xids , max(case when mem_rank <= 5 then uniq_sessions else 0 end) as uniq_sessions , max(case whe n mem_rank <= 5 then uniq_instances else 0 end) as uniq_instances , max(inst_id) as inst_id , max(case when mem_rank <= 5 then user_id else null end) as user_id, max(case when mem_rank <= 5 then program else null end) as program from (select physical_session as dim_val , sample_count , dense_rank() over (order by sample_count desc , physical_session) as mem_rank , uniq_sqlids , uni q_xids , uniq_sessions , uniq_instances , inst_id , user_id, program from grouped_ash where gid = 191 and physical_session is not null) group by (case when mem_rank <= 5 then dim_val else null end) ) left ) , component_7_xml as (select xmlelement("item" , xmlattributes('physical_session' as "id" , topmems.cnt_all as "count" , topmems.num_mem as "num_mem" , topmems. num_others as "num_others") , topmems.topmems_frag) as dim_frag from (select xmlelement( "top_mems" , xmlattributes(sum(case when mem_rank <= 5 then sample_count else 0 end) as "count") , xmlagg(xmlelement( "mem" , xmlattributes(mem_rank as "id" , dim_val as "name" , sample_count as "count" , uniq_sqlids as "uniq_sqlids" , uniq_xids as "uniq_xids" , uniq_sessions as "uniq_sessions" , uniq_instances as "uniq_instances") , xmlconcat(xmlelement("info", xmlattributes('user_id' as "name"), user_id), xmlelement("info", xmlattributes('program' as "name"), program)) ) order by sample_count desc)) as topmems_frag , sum(case when mem_rank <= 5 then 1 else 0 end) as num_mem , sum(sample_count) as cnt_all , max(case when mem_rank <= 5 then 0 else num_mem end) as num_others from (component_7_treemap) t ) topmems), component_8_treemap as (select dim_val , inst_id , sample_count , num_mem , mem_rank , uniq_sqlids , uniq_xids , uniq_sessions , uniq_instances , 0 AS bucket_type --target(not global)/filtered bucket , NVL((SELECT substr(v.sql_text, 1, 100) as sql_text FROM gv$sql v WHERE v.sql_id = left.dim_val AND v.inst_id = left.inst_id AND rownum < 2 ), ( SELECT dbms_lob.substr (v.sql_text, 100, 1) as sql_text FROM dba_hist_sqltext v, binds b WHERE v.dbid = b.dbid AND v.sql_id = left.dim_val AND rownum < 2)) as sql_text from (select max(case when mem_rank <= 5 then dim_val else null end) as dim_val , sum(sample_count) as sample_count , count(*) as num_mem , max(case when mem_rank <= 5 then mem_rank else (5 + 1) end) as mem_rank , max(case when mem_rank <= 5 then uniq_sqlids else 0 end) as uniq_sqlids , max(case when mem_rank <= 5 then uniq_xids else 0 end) as uniq_xids , max(case when mem_rank <= 5 then uniq_sessions else 0 end) as uniq_sessions , max(case when mem_rank <= 5 then uniq_instances else 0 end) as uniq_instances , max(inst_id) as inst_id from (select sqlid as dim_val , sample_count , dense_rank() over (order by sample_count desc , sqlid) as mem_rank , uniq_sqlids , uniq_xids , uniq_sessions , uniq_instances , inst_id from grouped_ash where gid = 127 and sqlid is not null) group by (case when mem_rank <= 5 then dim_val else null end) ) left ) , component_8_xml as (select xmlelement("item" , xmlattributes('sqlid' as "id" , topmems.cnt_a ll as "count" , topmems.num_mem as "num_mem" , topmems.num_others as "num_others") , topmems.topmems_frag) as dim_frag from (select xmlelement( "top_mems" , xmlattributes(sum(case when mem_rank <= 5 then sample_count else 0 end) as "count") , xmlagg(xmlelement( "mem" , xmlattributes(mem_rank as "id" , dim_val as "name" , sample_co unt as "count" , uniq_sqlids as "uniq_sqlids" , uniq_xids as "uniq_xids" , uniq_sessions as "uniq_sessions" , uniq_instances as "uniq_instances") , sql_text) order by sample_count desc)) as topmems_frag , sum(case when mem_rank <= 5 then 1 else 0 end) as num_mem , sum(sample_count) as cnt_all , max(case when mem_rank <= 5 then 0 else num_mem end) as num_others from (component_8_treemap) t ) topmems)select xmlconcat((select xml_frag from filter_xml), xmlelement("dim_list", xmlelement("item", xmlattributes('top_dimensions' as "id"), xmlelement("subdim", xmlconcat((select dim_frag from component_1_xml), (select dim_frag from component_2_xml), (select dim_frag from component_3_xml), (select dim_frag from component_4_xml), (select dim_frag from component_5_xml), (select dim_frag from component_6_xml), (select dim_frag from component_7_xml), (select dim_frag from component_8_xml)))), xmltype(' <item type="separator" />'), xmltype(' <item id=" sql_cat"> <subdim> <item id="sqlid" /> <item id="sql_id_top" /> <item id="sql_fms" /> <item id="sqlid_phv" /> <item id="sqlid_fullphv"/> <item id="sql_rws" /> <item id="sql_rws_line" /> <item id="sql_opcode" /> <item id="sql_opcode_top" /> </subdim> </item>'), xmltype(' <item id="pl_sql_cat"> <subdim> <item id="pl_sql" /> <item id="pl_sql_top" /> </subdim> </item>'), xmltype(' <item id="resource_consumption_cat"> <subdim> <item id="wait_class" /> <item id="event" /> <item id="object" /> <item id="blocking_session" /> </subdim> </item>'), xmltype(' <item id="session_identifiers_cat"> <subdim> <item id="instance_number" /> <item id="service_hash" /> <item id="physical_session" /> <item id="px_process" /> <item id="user_id" /> <item id="program" /> <item id="session_type" /> </subdim> </item>'), xmltype(' <item id="session_attributes_cat"> <subdim> <item id="consumer_group_id" / > <item id="module" /> <item id="action" /> <item id="client_id" /> <item id="machine" /> <item id="machine_port" /> <item id="xid" /> <item id="ecid" /> <item id="dbop" /> </subdim> </item>')) ) from dual
0w26sk6t6gq98SELECT XMLTYPE(DBMS_REPORT.GET_REPORT_WITH_SUMMARY(:B1 )) FROM DUAL
17d40vwcct4g6select instance_name from v$instance
19p399n80dnsqbegin :con := "ZX_SECURITY"."ADD_ICX_SESSION_ID"(:sn, :on); end;
19w2h52d7ggr7SELECT * FROM V$NLS_PARAMETERS WHERE PARAMETER IN ( 'NLS_LANGUAGE', 'NLS_DATE_LANGUAGE', 'NLS_SORT', 'NLS_TERRITORY', 'NLS_DATE_FORMAT', 'NLS_NUMERIC_CHARACTERS', 'NLS_CHARACTERSET' )
1c0s28y6dgtp6 SELECT /*+ leading(xet) cardinality(xet, 1) */ XET.ENTITY_ID , XET.LEGAL_ENTITY_ID , XET.ENTITY_CODE , XET.TRANSACTION_NUMBER , XET.EVENT_ID , XET.EVENT_CLASS_CODE , XET.EVENT_TYPE_CODE , XET.EVENT_NUMBER , XET.EVENT_DATE , XET.TRANSACTION_DATE , XET.REFERENCE_NUM_1 , XET.REFERENCE_NUM_2 , XET.REFERENCE_NUM_3 , XET.REFERENCE_NUM_4 , XET.REFERENCE_CHAR_1 , XET.REFERENCE_CHAR_2 , XET.REFERENCE_CHAR_3 , XET.REFERENCE_CHAR_4 , XET.REFERENCE_DATE_1 , XET.REFERENCE_DATE_2 , XET.REFERENCE_DATE_3 , XET.REFERENCE_DATE_4 , XET.EVENT_CREATED_BY , XET.BUDGETARY_CONTROL_FLAG , L1.LINE_NUMBER , L3.PO_NUMBER SOURCE_8 , L1.AID_INVOICE_DIST_ID SOURCE_11 , L1.LINE_NUMBER SOURCE_28 , L5.EXCHANGE_VARIANCE_ACCOUNT_ID SOURCE_36 , L1.LCM_ENABLED SOURCE_37 , FVL37.MEANING SOURCE_37_MEANING , L1.AID_LINE_TYPE_LOOKUP_CODE SOURCE_38 , FVL38.MEANING SOURCE_38_MEANING , L5.TAX_VARIANCE_ACCOUNT_ID SOURCE_39 , L1.INV_DIST_BASE_AMOUNT SOURCE_41 , L1.RELATED_INV_DIST_DEST_TYPE SOURCE_42 , FVL42.MEANING SO URCE_42_MEANING , L1.AID_DIST_CCID SOURCE_50 , L1.ASAT_LIAB_CCID SOURCE_60 , L1.AWT_RELATED_DIST_ACCOUNT SOURCE_63 , L1.AID_RET_RELATED_DIST_CCID SOURCE_65 , L1.VARIANCE_PARENT_DIST_CCID SOURCE_66 , L1.PO_VARIANCE_ACCOUNT SOURCE_70 , L1.POD_ACCRUE_ON_RECEIPT_FLAG SOURCE_74 , FVL74.MEANING SOURCE_74_MEANING , L1.SELF_ASSESSED_TAX_ACCOUNT SOURCE_77 , L1.SELF_ASSESSED_TAX_FLAG SOURCE_78 , FVL78.MEANING SOURCE_78_MEANING , L1.DIST_ACCOUNT_REVERSAL_OPTION SOURCE_80 , L1.DISTRIBUTION_LINK_TYPE SOURCE_82 , L1.ALLOC_TO_MAIN_DIST_ID SOURCE_84 , L1.BUS_FLOW_AP_APP_ID SOURCE_86 , L1.BUS_FLOW_INV_DIST_TYPE SOURCE_87 , L1.BUS_FLOW_INV_ENTITY_CODE SOURCE_88 , L1.BUS_FLOW_INV_DIST_ID SOURCE_89 , L1.BUS_FLOW_INV_ID SOURCE_90 , L1.UPG_ENC_CR_CCID SOURCE_91 , L1.UPG_ENC_CR_AMT SOURCE_92 , L1.UPG_ENC_CR_BASE_AMT SOURCE_94 , L1.UPG_ENC_DR_CCID SOURCE_95 , L1.UPG_ENC_DR_AMT SOURCE_96 , L1.UPG_ENC_DR_BASE_AMT SOURCE_97 , L1.UPG_AP_ENCUM_OPTION SOURCE_98 , L1.AID_AMOUNT SOURCE_99 , L1.DEFERRED_END_DATE SOURCE_103 , L1.DEFERRED_OPTION SOURCE_104 , L1.DEFERRED_START_DATE SOURCE_105 , L1.OVERRIDE_ACCTD_AMT_FLAG SOURCE_106 , FVL106.MEANING SOURCE_106_MEANING , L1.AID_PARENT_REVERSAL_ID SOURCE_110 , L1.AID_STAT_AMOUNT SOURCE_111 , L6.TAX_LINE_ID SOURCE_112 , L6.REC_NREC_TAX_DIST_ID SOURCE_113 , L1.SUMMARY_TAX_LINE_ID SOURCE_114 , L1.UPG_CR_ENC_TYPE_ID SOURCE_115 , L1.UPG_DR_ENC_TYPE_ID SOURCE_116 , L1.BUS_FLOW_PO_APP_ID SOURCE_117 , L1.BUS_FLOW_PO_DIST_TYPE SOURCE_118 , L1.BUS_FLOW_PO_ENTITY_CODE SOURCE_119 , L1.BUS_FLOW_PO_DIST_ID SOURCE_120 , L1.BUS_FLOW_PO_DOC_ID SOURCE_121 , L1.PO_RCV_CURR_CONVERSION_DATE SOURCE_125 , L1.PO_RCV_CURR_CONVERSION_RATE SOURCE_126 , L1.PO_RCV_CURR_CONVERSION_TYPE SOURCE_127 , L1.BUS_FLOW_RET_INV_DIST_ID SOURCE_196 , L1.BUS_FLOW_RET_INV_ID SOURCE_197 FROM XLA_EVENTS_GT XET , AP_INVOICE_EXTRACT_DETAILS_V L1 , AP_PO_HEADERS_EXTRACT_V L3 , RCV_PARAMETERS L5 , ZX_AP_DEF_TAX_EXTRACT_V L6 , FND_LOOKUP_VALUES FVL37 , FND_LOOKUP_VALUES FVL38 , FND_LOOKUP_VALUES FVL42 , FND_LOOKUP_VALUES FVL74 , FND_LOOKUP_VALUES FVL78 , FND_LOOKUP_VALUES FVL106 WHERE XET.EVENT_ID BETWEEN :B5 AND :B4 AND XET.EVENT_DATE BETWEEN :B3 AND :B2 AND XET.EVENT_CLASS_CODE = :B1 AND XET.EVENT_STATUS_CODE <> 'N' AND L1.EVENT_ID = XET.EVENT_ID AND L1.POD_PO_HEADER_ID = L3.PO_HEADER_ID (+) AND L1.ORGANIZATION_ID = L5.ORGANIZATION_ID (+) AND L1.ZRND_TAX_DIST_ID = L6.REC_NREC_TAX_DIST_ID (+) AND FVL37.LOOKUP_TYPE(+) = 'YES_NO' AND FVL37.LOOKUP_CODE(+) = L1.LCM_ENABLED AND FVL37.VIEW_APPLICATION_ID(+) = 0 AND FVL37.LANGUAGE(+) = USERENV('LANG') AND FVL38.LOOKUP_TYPE(+) = 'INVOICE DISTRIBUTION TYPE' AND FVL38.LOOKUP_CODE(+) = L1.AID_LINE_TYPE_LOOKUP_CODE AND FVL38.VIEW_APPLICATION_ID(+) = 200 AND FVL38.LANGUAGE(+) = USERENV('LANG') AND FVL42.LOOKUP_TYPE(+) = 'DESTINATION TYPE' AND FVL42.LOOKUP_CODE(+) = L1.RELATED_INV_DIST_DEST_TYPE AND FVL42.VIEW_APPLICATION_ID(+) = 201 AND FVL42.LANGUAGE(+) = USERENV('LANG') AND FVL74. LOOKUP_TYPE(+) = 'YES_NO' AND FVL74.LOOKUP_CODE(+) = L1.POD_ACCRUE_ON_RECEIPT_FLAG AND FVL74.VIEW_APPLICATION_ID(+) = 0 AND FVL74.LANGUAGE(+) = USERENV('LANG') AND FVL78.LOOKUP_TYPE(+) = 'YES_NO' AND FVL78.LOOKUP_CODE(+) = L1.SELF_ASSESSED_TAX_FLAG AND FVL78.VIEW_APPLICATION_ID(+) = 0 AND FVL78.LANGUAGE(+) = USERENV('LANG') AND FVL106.LOOKUP_TYPE(+) = 'YES_NO' AND FVL106.LOOKUP_CODE(+) = L1.OVERRIDE_ACCTD_AMT_FLAG AND FVL106.VIEW_APPLICATION_ID(+) = 0 AND FVL106.LANGUAGE(+) = USERENV('LANG')
1dkqbxgby1zrqselect to_char(CODE_COMBINATION_ID), nvl(ENABLED_FLAG, 'Y'), nvl(SUMMARY_FLAG, 'N'), to_char(START_DATE_ACTIVE, 'YYYY/MM/DD HH24:MI:SS'), to_char(END_DATE_ACTIVE, 'YYYY/MM/DD HH24:MI:SS'), SEGMENT1, SEGMENT2, SEGMENT3, SEGMENT4, SEGMENT5, SEGMENT6, SEGMENT7, SEGMENT8, SEGMENT9, SEGMENT10, SEGMENT11, SEGMENT12, ACCOUNT_TYPE, REFERENCE3, JGZZ_RECON_FLAG, DETAIL_BUDGETING_ALLOWED_FLAG, DETAIL_POSTING_ALLOWED_FLAG from GL_CODE_COMBINATIONS where CHART_OF_ACCOUNTS_ID = :FND_BIND1 and CODE_COMBINATION_ID = :FND_BIND2
1p5grz1gs7fjqselect obj#, type#, ctime, mtime, stime, status, dataobj#, flags, oid$, spare1, spare2, spare3, signature, spare7, spare8, spare9 from obj$ where owner#=:1 and name=:2 and namespace=:3 and remoteowner is null and linkname is null and subname is null
1ubm0swfj9nv5SELECT PRECISION, EXTENDED_PRECISION, MINIMUM_ACCOUNTABLE_UNIT FROM FND_CURRENCIES C WHERE :B1 = C.CURRENCY_CODE
1v818hwxjxy58select FND_FLEX_VALUES_VL.FLEX_VALUE, FND_FLEX_VALUES_VL.FLEX_VALUE, FND_FLEX_VALUES_VL.DESCRIPTION, FND_FLEX_VALUES_VL.ENABLED_FLAG, to_char(FND_FLEX_VALUES_VL.START_DATE_ACTIVE, 'YYYY/MM/DD HH24:MI:SS'), to_char(FND_FLEX_VALUES_VL.END_DATE_ACTIVE, 'YYYY/MM/DD HH24:MI:SS'), FND_FLEX_VALUES_VL.SUMMARY_FLAG, FND_FLEX_VALUES_VL.COMPILED_VALUE_ATTRIBUTES from FND_FLEX_VALUES_VL FND_FLEX_VALUES_VL where (( FND_FLEX_VALUES_VL.FLEX_VALUE_SET_ID = :FND_BIND1) AND ( ((1=1) AND /* GL_COA_BS_TAG */ (GL_AFF_AWC_API_PKG.gl_valid_flex_values(:FND_BIND2, FND_FLEX_VALUES_VL.Flex_Value) = 'Y') ) )) and FND_FLEX_VALUES_VL.FLEX_VALUE = :FND_BIND3
1x86a57bmfjhpselect view_obj.owner# from user$ u, obj$ view_obj, cdef$ cdef, con$ con where u.spare2=:1 and u.ext_username=:2 and u.user#=view_obj.owner# and view_obj.type#=4 and view_obj.obj#=cdef.obj# and cdef.con#=con.con# and con.name=:3
26a2tvptkg3hw INSERT ALL WHEN (ZX_LOCATION_MISSING = 'Y') THEN INTO ZX_VALIDATION_ERRORS_GT( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, SUMMARY_TAX_LINE_NUMBER, MESSAGE_NAME, MESSAGE_TEXT, TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) VALUES( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, NULL, 'ZX_LOCATION_MISSING', :B30 , TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) WHEN (ZX_LINE_CLASS_INVALID = 'Y') THEN INTO ZX_VALIDATION_ERRORS_GT( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, SUMMARY_TAX_LINE_NUMBER, MESSAGE_NAME, MESSAGE_TEXT, TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) VALUES( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, NULL, 'ZX_LINE_CLASS_INVALID', :B29 , TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) WHEN (ZX_TRX_LINE_TYPE_INVALID = 'Y') THEN INTO ZX_VALIDATION_ERRORS_GT( APPLICATION_ID , ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, SUMMARY_TAX_LINE_NUMBER, MESSAGE_NAME, MESSAGE_TEXT, TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) VALUES( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, NULL, 'ZX_TRX_LINE_TYPE_INVALID', :B28 , TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) WHEN (ZX_LINE_AMT_INCL_TAX_INVALID = 'Y') THEN INTO ZX_VALIDATION_ERRORS_GT( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, SUMMARY_TAX_LINE_NUMBER, MESSAGE_NAME, MESSAGE_TEXT, TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) VALUES( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, NULL, 'ZX_LINE_AMT_INCTAX_INVALID', :B27 , TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) WHEN (PRODUCT_CATEG_NOT_EXISTS = 'Y') THEN INTO ZX_VALIDATION_ERRORS_GT( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, SUMMARY_TAX_LINE_ NUMBER, MESSAGE_NAME, MESSAGE_TEXT, TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) VALUES( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, NULL, 'ZX_PRODUCT_CATEG_NOT_EXIST', :B26 , TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) WHEN (PRODUCT_CATEG_NOT_EFFECTIVE = 'Y') THEN INTO ZX_VALIDATION_ERRORS_GT( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, SUMMARY_TAX_LINE_NUMBER, MESSAGE_NAME, MESSAGE_TEXT, TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) VALUES( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, NULL, 'ZX_PRODUCT_CATEG_NOT_EFFECTIVE', :B25 , TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) WHEN (PRODUCT_CATEG_COUNTRY_INCONSIS = 'Y') THEN INTO ZX_VALIDATION_ERRORS_GT( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, SUMMARY_TAX_LINE_NUMBER, MESSAGE_NAME, MESSAGE_TEXT, TRX_LEVEL_TYPE, INTERFACE _LINE_ENTITY_CODE, INTERFACE_LINE_ID ) VALUES( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, NULL, 'ZX_PRODUCT_CATEG_COUNTRY_INCON', :B24 , TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) WHEN (USER_DEF_FC_CODE_NOT_EXISTS = 'Y') THEN INTO ZX_VALIDATION_ERRORS_GT( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, SUMMARY_TAX_LINE_NUMBER, MESSAGE_NAME, MESSAGE_TEXT, TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) VALUES( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, NULL, 'ZX_USER_DEF_FC_CODE_NOT_EXIST', :B23 , TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) WHEN (USER_DEF_FC_CODE_NOT_EFFECTIVE = 'Y') THEN INTO ZX_VALIDATION_ERRORS_GT( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, SUMMARY_TAX_LINE_NUMBER, MESSAGE_NAME, MESSAGE_TEXT, TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) VALUES( APPLICATION_ID , ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, NULL, 'ZX_USER_DEF_FC_CODE_NOT_EFFECT', :B22 , TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) WHEN (USER_DEF_COUNTRY_INCONSIS = 'Y') THEN INTO ZX_VALIDATION_ERRORS_GT( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, SUMMARY_TAX_LINE_NUMBER, MESSAGE_NAME, MESSAGE_TEXT, TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) VALUES( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, NULL, 'ZX_USER_DEF_COUNTRY_INCONSIS', :B21 , TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) WHEN (DOC_FC_CODE_NOT_EFFECTIVE = 'Y') THEN INTO ZX_VALIDATION_ERRORS_GT( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, SUMMARY_TAX_LINE_NUMBER, MESSAGE_NAME, MESSAGE_TEXT, TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) VALUES( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, NULL, 'ZX_ DOC_FC_CODE_NOT_EFFECTIVE', :B20 , TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) WHEN (TRX_BIZ_FC_CODE_NOT_EXISTS = 'Y') THEN INTO ZX_VALIDATION_ERRORS_GT( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, SUMMARY_TAX_LINE_NUMBER, MESSAGE_NAME, MESSAGE_TEXT, TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) VALUES( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, NULL, 'ZX_TRX_BIZ_FC_CODE_NOT_EXIST', :B19 , TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) WHEN (TRX_BIZ_FC_CODE_NOT_EFFECTIVE = 'Y') THEN INTO ZX_VALIDATION_ERRORS_GT( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, SUMMARY_TAX_LINE_NUMBER, MESSAGE_NAME, MESSAGE_TEXT, TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) VALUES( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, NULL, 'ZX_TRX_BIZ_FC_CODE_NOT_EFFECT', :B18 , TRX_LEVEL_TYPE, INTERFACE_LI NE_ENTITY_CODE, INTERFACE_LINE_ID ) WHEN (TRX_BIZ_FC_COUNTRY_INCONSIS = 'Y') THEN INTO ZX_VALIDATION_ERRORS_GT( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, SUMMARY_TAX_LINE_NUMBER, MESSAGE_NAME, MESSAGE_TEXT, TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) VALUES( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, NULL, 'ZX_TRX_BIZ_FC_COUNTRY_INCONSIS', :B17 , TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) WHEN (INTENDED_USE_CODE_NOT_EXISTS = 'Y') THEN INTO ZX_VALIDATION_ERRORS_GT( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, SUMMARY_TAX_LINE_NUMBER, MESSAGE_NAME, MESSAGE_TEXT, TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) VALUES( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, NULL, 'ZX_INTENDED_USE_CODE_NOT_EXIST', :B16 , TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) WHEN (INTENDED_USE_NOT_EFF ECTIVE = 'Y') THEN INTO ZX_VALIDATION_ERRORS_GT( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, SUMMARY_TAX_LINE_NUMBER, MESSAGE_NAME, MESSAGE_TEXT, TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) VALUES( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, NULL, 'ZX_INTENDED_USE_NOT_EFFECTIVE', :B15 , TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) WHEN (INTENDED_USE_CONTRY_INCONSIS = 'Y') THEN INTO ZX_VALIDATION_ERRORS_GT( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, SUMMARY_TAX_LINE_NUMBER, MESSAGE_NAME, MESSAGE_TEXT, TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) VALUES( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, NULL, 'ZX_INTENDED_USE_COUNTRY_INCON', :B14 , TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) WHEN (PRODUCT_TYPE_CODE_NOT_EXISTS = 'Y') THEN INTO ZX_VALIDATION_ERRORS_GT( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, SUMMARY_TAX_LINE_NUMBER, MESSAGE_NAME, MESSAGE_TEXT, TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) VALUES( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, NULL, 'ZX_PRODUCT_TYPE_CODE_NOT_EXIST', :B13 , TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) WHEN (PRODUCT_TYPE_NOT_EFFECTIVE = 'Y') THEN INTO ZX_VALIDATION_ERRORS_GT( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, SUMMARY_TAX_LINE_NUMBER, MESSAGE_NAME, MESSAGE_TEXT, TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) VALUES( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, NULL, 'ZX_PRODUCT_TYPE_NOT_EFFECTIVE', :B12 , TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) WHEN (PRODUCT_FC_CODE_NOT_EXISTS = 'Y') THEN INTO ZX_VALIDATION_ERRORS_GT( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, SUMMARY_T AX_LINE_NUMBER, MESSAGE_NAME, MESSAGE_TEXT, TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) VALUES( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, NULL, 'ZX_PRODUCT_FC_CODE_NOT_EXIST', :B11 , TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) WHEN (ZX_LINE_CTRL_AMT_NOT_NULL = 'Y') THEN INTO ZX_VALIDATION_ERRORS_GT( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, SUMMARY_TAX_LINE_NUMBER, MESSAGE_NAME, MESSAGE_TEXT, TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) VALUES( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, NULL, 'ZX_LINE_CTRL_AMT_NOT_NULL', :B10 , TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) WHEN (ZX_EXEMPTION_CTRL_FLAG_INVALID = 'Y') THEN INTO ZX_VALIDATION_ERRORS_GT( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, SUMMARY_TAX_LINE_NUMBER, MESSAGE_NAME, MESSAGE_TEXT, TRX_LEVEL_TYPE, INTERF ACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) VALUES( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, NULL, 'ZX_EXEMPTION_CTRL_FLAG_INVALID', :B9 , TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) WHEN (ZX_PRODUCT_TYPE_INVALID = 'Y') THEN INTO ZX_VALIDATION_ERRORS_GT( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, SUMMARY_TAX_LINE_NUMBER, MESSAGE_NAME, MESSAGE_TEXT, TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) VALUES( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, NULL, 'ZX_PRODUCT_TYPE_INVALID', :B8 , TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) WHEN (ZX_INVALID_TAX_LINES = 'Y') THEN INTO ZX_VALIDATION_ERRORS_GT( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, SUMMARY_TAX_LINE_NUMBER, MESSAGE_NAME, MESSAGE_TEXT, TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) VALUES( APPLICATION_ID, ENTITY_CODE, EV ENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, NULL, 'ZX_INVALID_TAX_LINES', :B7 , TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) WHEN (ZX_INVALID_LINE_TAX_AMT = 'Y') THEN INTO ZX_VALIDATION_ERRORS_GT( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, SUMMARY_TAX_LINE_NUMBER, MESSAGE_NAME, MESSAGE_TEXT, TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) VALUES( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, NULL, 'ZX_INVALID_LINE_TAX_AMT', :B6 , TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) WHEN (ZX_INVALID_TAX_FOR_ALLOC_FLG = 'Y') THEN INTO ZX_VALIDATION_ERRORS_GT( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, SUMMARY_TAX_LINE_NUMBER, MESSAGE_NAME, MESSAGE_TEXT, TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) VALUES( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, NULL, 'ZX_INVALID_TAX_FOR_ALLOC_FLG', :B5 , TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) WHEN (ZX_INVALID_TAX_ONLY_TAX_LINES = 'Y') THEN INTO ZX_VALIDATION_ERRORS_GT( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, SUMMARY_TAX_LINE_NUMBER, MESSAGE_NAME, MESSAGE_TEXT, TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) VALUES( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, NULL, 'ZX_INVALID_TAX_ONLY_TAX_LINES', :B4 , TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) WHEN (TAX_RATE_NOT_EXISTS = 'Y') THEN INTO ZX_VALIDATION_ERRORS_GT( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, SUMMARY_TAX_LINE_NUMBER, MESSAGE_NAME, MESSAGE_TEXT, TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) VALUES( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, NULL, 'ZX_TAX_RATE_NOT_EXIST', :B3 , TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) WHEN (NVL(TAX_R ATE_NOT_EXISTS, 'N') <> 'Y' AND TAX_RATE_CODE_NOT_EFFECTIVE = 'Y') THEN INTO ZX_VALIDATION_ERRORS_GT( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, SUMMARY_TAX_LINE_NUMBER, MESSAGE_NAME, MESSAGE_TEXT, TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) VALUES( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, NULL, 'ZX_TAX_RATE_NOT_EFFECTIVE', :B2 , TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) WHEN (NVL(TAX_RATE_NOT_EXISTS, 'N') <> 'Y' AND TAX_RATE_CODE_NOT_ACTIVE = 'Y') THEN INTO ZX_VALIDATION_ERRORS_GT( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, SUMMARY_TAX_LINE_NUMBER, MESSAGE_NAME, MESSAGE_TEXT, TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) VALUES( APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, TRX_ID, TRX_LINE_ID, NULL, 'ZX_TAX_RATE_NOT_ACTIVE', :B1 , TRX_LEVEL_TYPE, INTERFACE_LINE_ENTITY_CODE, INTERFACE_LINE_ID ) SEL ECT HEADER.APPLICATION_ID, HEADER.ENTITY_CODE, HEADER.EVENT_CLASS_CODE, HEADER.TRX_ID, LINES_GT.TRX_LINE_ID, LINES_GT.TRX_LINE_ID INTERFACE_LINE_ID , LINES_GT.ENTITY_CODE INTERFACE_LINE_ENTITY_CODE, LINES_GT.TRX_LEVEL_TYPE, CASE WHEN (LINES_GT.SHIP_FROM_LOCATION_ID IS NOT NULL OR LINES_GT.SHIP_TO_LOCATION_ID IS NOT NULL OR LINES_GT.POA_LOCATION_ID IS NOT NULL OR LINES_GT.POO_LOCATION_ID IS NOT NULL OR LINES_GT.PAYING_LOCATION_ID IS NOT NULL OR LINES_GT.OWN_HQ_LOCATION_ID IS NOT NULL OR LINES_GT.TRADING_HQ_LOCATION_ID IS NOT NULL OR LINES_GT.POC_LOCATION_ID IS NOT NULL OR LINES_GT.POI_LOCATION_ID IS NOT NULL OR LINES_GT.POD_LOCATION_ID IS NOT NULL OR LINES_GT.BILL_TO_LOCATION_ID IS NOT NULL OR LINES_GT.BILL_FROM_LOCATION_ID IS NOT NULL OR LINES_GT.TITLE_TRANSFER_LOCATION_ID IS NOT NULL) THEN NULL ELSE 'Y' END ZX_LOCATION_MISSING, NVL2(LINES_GT.LINE_CLASS, CASE WHEN (NOT EXISTS (SELECT 1 FROM FND_LOOKUPS LKP WHERE LINES_GT.LINE_CLASS = LKP.LOOKUP_CODE AND LKP.LOOKUP_TYPE = 'ZX_ LINE_CLASS')) THEN 'Y' ELSE NULL END, NULL ) ZX_LINE_CLASS_INVALID, CASE WHEN (LINES_GT.TRX_LINE_TYPE NOT IN('ITEM', 'FREIGHT', 'MISC', 'MISCELLANEOUS')) THEN 'Y' ELSE NULL END ZX_TRX_LINE_TYPE_INVALID, CASE WHEN (LINES_GT.LINE_AMT_INCLUDES_TAX_FLAG IS NULL OR LINES_GT.LINE_AMT_INCLUDES_TAX_FLAG NOT IN ('A', 'N', 'S')) THEN 'Y' ELSE NULL END ZX_LINE_AMT_INCL_TAX_INVALID, NVL2(LINES_GT.PRODUCT_CATEGORY, CASE WHEN (NOT EXISTS (SELECT 1 FROM ZX_FC_PRODUCT_CATEGORIES_V WHERE CLASSIFICATION_CODE = LINES_GT.PRODUCT_CATEGORY AND (COUNTRY_CODE IS NULL OR COUNTRY_CODE = HEADER.DEFAULT_TAXATION_COUNTRY) ) ) THEN 'Y' ELSE NULL END, NULL ) PRODUCT_CATEG_NOT_EXISTS, CASE WHEN LINES_GT.PRODUCT_CATEGORY IS NOT NULL AND (EXISTS (SELECT 1 FROM ZX_FC_PRODUCT_CATEGORIES_V WHERE CLASSIFICATION_CODE = LINES_GT.PRODUCT_CATEGORY AND (COUNTRY_CODE IS NULL OR COUNTRY_CODE = HEADER.DEFAULT_TAXATION_COUNTRY))) THEN CASE WHEN (NOT EXISTS (SELECT 1 FROM ZX_FC_PRODUCT_CATEGORIES_V WHERE CLASSIFICATION_CODE = LINES_GT.PRODUCT_CATEGORY AND (COUNTRY_CODE IS NULL OR COUNTRY_CODE = HEADER.DEFAULT_TAXATION_COUNTRY) AND NVL(LINES_GT.TRX_LINE_DATE, HEADER.TRX_DATE) BETWEEN EFFECTIVE_FROM AND NVL(EFFECTIVE_TO, NVL(LINES_GT.TRX_LINE_DATE, HEADER.TRX_DATE)) ) ) THEN 'Y' ELSE NULL END ELSE NULL END PRODUCT_CATEG_NOT_EFFECTIVE, CASE WHEN LINES_GT.PRODUCT_CATEGORY IS NOT NULL AND (EXISTS (SELECT 1 FROM ZX_FC_PRODUCT_CATEGORIES_V WHERE CLASSIFICATION_CODE = LINES_GT.PRODUCT_CATEGORY AND COUNTRY_CODE IS NOT NULL)) THEN CASE WHEN (NOT EXISTS (SELECT 1 FROM ZX_FC_PRODUCT_CATEGORIES_V WHERE CLASSIFICATION_CODE = LINES_GT.PRODUCT_CATEGORY AND COUNTRY_CODE IS NOT NULL AND COUNTRY_CODE = HEADER.DEFAULT_TAXATION_COUNTRY)) THEN 'Y' ELSE NULL END ELSE NULL END PRODUCT_CATEG_COUNTRY_INCONSIS, NVL2(LINES_GT.USER_DEFINED_FISC_CLASS, CASE WHEN (NOT EXISTS (SELECT 1 FROM ZX_FC_USER_DEFINED_V WHERE CLASSIFICATION_CODE = LINES_GT.USER_DEFINED_FISC_CLASS AND (COUNTRY_CODE IS NULL OR COUNTRY_CODE = HEADER.DEFAULT_T AXATION_COUNTRY))) THEN 'Y' ELSE NULL END, NULL) USER_DEF_FC_CODE_NOT_EXISTS, CASE WHEN LINES_GT.USER_DEFINED_FISC_CLASS IS NOT NULL AND (EXISTS (SELECT 1 FROM ZX_FC_USER_DEFINED_V WHERE CLASSIFICATION_CODE = LINES_GT.USER_DEFINED_FISC_CLASS AND (COUNTRY_CODE IS NULL OR COUNTRY_CODE = HEADER.DEFAULT_TAXATION_COUNTRY))) THEN CASE WHEN (NOT EXISTS (SELECT 1 FROM ZX_FC_USER_DEFINED_V WHERE CLASSIFICATION_CODE = LINES_GT.USER_DEFINED_FISC_CLASS AND (COUNTRY_CODE IS NULL OR COUNTRY_CODE = HEADER.DEFAULT_TAXATION_COUNTRY) AND NVL(LINES_GT.TRX_LINE_DATE, HEADER.TRX_DATE) BETWEEN EFFECTIVE_FROM AND NVL(EFFECTIVE_TO, NVL(LINES_GT.TRX_LINE_DATE, HEADER.TRX_DATE)) ) ) THEN 'Y' ELSE NULL END ELSE NULL END USER_DEF_FC_CODE_NOT_EFFECTIVE, CASE WHEN LINES_GT.USER_DEFINED_FISC_CLASS IS NOT NULL AND (EXISTS (SELECT 1 FROM ZX_FC_USER_DEFINED_V WHERE CLASSIFICATION_CODE = LINES_GT.USER_DEFINED_FISC_CLASS AND COUNTRY_CODE IS NOT NULL)) THEN CASE WHEN (NOT EXISTS (SELECT 1 FROM ZX_FC_USER_DEFINED_V W HERE CLASSIFICATION_CODE = LINES_GT.USER_DEFINED_FISC_CLASS AND COUNTRY_CODE IS NOT NULL AND COUNTRY_CODE = HEADER.DEFAULT_TAXATION_COUNTRY)) THEN 'Y' ELSE NULL END ELSE NULL END USER_DEF_COUNTRY_INCONSIS, CASE WHEN HEADER.DOCUMENT_SUB_TYPE IS NOT NULL AND FC_DOC.CLASSIFICATION_CODE IS NOT NULL THEN CASE WHEN (FC_DOC.COUNTRY_CODE IS NULL OR FC_DOC.COUNTRY_CODE = HEADER.DEFAULT_TAXATION_COUNTRY) THEN CASE WHEN ( LINES_GT.TAX_DATE NOT BETWEEN FC_DOC.EFFECTIVE_FROM AND NVL(FC_DOC.EFFECTIVE_TO, LINES_GT.TAX_DATE) AND (NOT EXISTS (SELECT 1 FROM ZX_TRANSACTION_LINES_GT WHERE APPLICATION_ID = LINES_GT.APPLICATION_ID AND ENTITY_CODE = LINES_GT.ENTITY_CODE AND EVENT_CLASS_CODE = LINES_GT.EVENT_CLASS_CODE AND TRX_ID = LINES_GT.TRX_ID AND TRX_LINE_ID < LINES_GT.TRX_LINE_ID AND TRX_LEVEL_TYPE = LINES_GT.TRX_LEVEL_TYPE ) ) ) THEN 'Y' ELSE NULL END ELSE NULL END ELSE NULL END DOC_FC_CODE_NOT_EFFECTIVE, NVL2(LINES_GT.TRX_BUSINESS_CATEGORY, CASE WHEN (NOT EXISTS (SELECT 1 FROM ZX_FC_BUSINESS_CA TEGORIES_V WHERE CLASSIFICATION_CODE = DECODE(LINES_GT.SOURCE_APPLICATION_ID, NULL, LINES_GT.TRX_BUSINESS_CATEGORY, DECODE(LINES_GT.SOURCE_EVENT_CLASS_CODE, 'INTERCOMPANY_TRX', REPLACE(LINES_GT.TRX_BUSINESS_CATEGORY, 'SALES_TRANSACTION', 'PURCHASE_TRANSACTION'), LINES_GT.TRX_BUSINESS_CATEGORY)) AND (APPLICATION_ID IS NULL OR (APPLICATION_ID = LINES_GT.APPLICATION_ID AND (ENTITY_CODE IS NULL OR (ENTITY_CODE = LINES_GT.ENTITY_CODE AND (EVENT_CLASS_CODE IS NULL OR EVENT_CLASS_CODE = LINES_GT.EVENT_CLASS_CODE) ) ) ) ) AND (COUNTRY_CODE IS NULL OR COUNTRY_CODE = HEADER.DEFAULT_TAXATION_COUNTRY))) THEN 'Y' ELSE NULL END, NULL ) TRX_BIZ_FC_CODE_NOT_EXISTS, CASE WHEN LINES_GT.TRX_BUSINESS_CATEGORY IS NOT NULL AND (EXISTS (SELECT 1 FROM ZX_FC_BUSINESS_CATEGORIES_V WHERE CLASSIFICATION_CODE = DECODE(LINES_GT.SOURCE_APPLICATION_ID, NULL, LINES_GT.TRX_BUSINESS_CATEGORY, DECODE(LINES_GT.SOURCE_EVENT_CLASS_CODE, 'INTERCOMPANY_TRX', REPLACE(LINES_GT.TRX_BUSINESS_CATEGORY, 'SALES_TRANS ACTION', 'PURCHASE_TRANSACTION'), LINES_GT.TRX_BUSINESS_CATEGORY) ) AND (APPLICATION_ID IS NULL OR (APPLICATION_ID = LINES_GT.APPLICATION_ID AND (ENTITY_CODE IS NULL OR (ENTITY_CODE = LINES_GT.ENTITY_CODE AND (EVENT_CLASS_CODE IS NULL OR EVENT_CLASS_CODE = LINES_GT.EVENT_CLASS_CODE)))) ) AND (COUNTRY_CODE IS NULL OR COUNTRY_CODE = HEADER.DEFAULT_TAXATION_COUNTRY) ) ) THEN CASE WHEN (NOT EXISTS (SELECT 1 FROM ZX_FC_BUSINESS_CATEGORIES_V WHERE CLASSIFICATION_CODE = DECODE(LINES_GT.SOURCE_APPLICATION_ID, NULL, LINES_GT.TRX_BUSINESS_CATEGORY, DECODE(LINES_GT.SOURCE_EVENT_CLASS_CODE, 'INTERCOMPANY_TRX', REPLACE(LINES_GT.TRX_BUSINESS_CATEGORY, 'SALES_TRANSACTION', 'PURCHASE_TRANSACTION'), LINES_GT.TRX_BUSINESS_CATEGORY)) AND (APPLICATION_ID IS NULL OR (APPLICATION_ID = LINES_GT.APPLICATION_ID AND (ENTITY_CODE IS NULL OR (ENTITY_CODE = LINES_GT.ENTITY_CODE AND (EVENT_CLASS_CODE IS NULL OR EVENT_CLASS_CODE = LINES_GT.EVENT_CLASS_CODE)))) ) AND (COUNTRY_CODE IS NULL OR COUNTRY_CODE = HEADER.DEFAULT_TAXATION_COUNTRY) AND NVL(LINES_GT.TRX_LINE_DATE, HEADER.TRX_DATE) BETWEEN EFFECTIVE_FROM AND NVL(EFFECTIVE_TO, NVL(LINES_GT.TRX_LINE_DATE, HEADER.TRX_DATE)) ) ) THEN 'Y' ELSE NULL END ELSE NULL END TRX_BIZ_FC_CODE_NOT_EFFECTIVE, CASE WHEN LINES_GT.TRX_BUSINESS_CATEGORY IS NOT NULL AND (EXISTS (SELECT 1 FROM ZX_FC_BUSINESS_CATEGORIES_V WHERE CLASSIFICATION_CODE = DECODE(LINES_GT.SOURCE_APPLICATION_ID, NULL, LINES_GT.TRX_BUSINESS_CATEGORY, DECODE(LINES_GT.SOURCE_EVENT_CLASS_CODE, 'INTERCOMPANY_TRX', REPLACE(LINES_GT.TRX_BUSINESS_CATEGORY, 'SALES_TRANSACTION', 'PURCHASE_TRANSACTION'), LINES_GT.TRX_BUSINESS_CATEGORY)) AND (APPLICATION_ID IS NULL OR (APPLICATION_ID = LINES_GT.APPLICATION_ID AND (ENTITY_CODE IS NULL OR (ENTITY_CODE = LINES_GT.ENTITY_CODE AND (EVENT_CLASS_CODE IS NULL OR EVENT_CLASS_CODE = LINES_GT.EVENT_CLASS_CODE)))) ) AND COUNTRY_CODE IS NOT NULL)) THEN CASE WHEN (NOT EXISTS (SELECT 1 FROM ZX_FC_BUSINESS_CATEGORIES_V WHERE CLASSIFICATION_CODE = DECODE(LINES_GT.SOURCE_APPLICATION_ID, NULL, LINES_GT.TRX_BUSINESS_CATEGORY, DECODE(LINES_GT.SOURCE_EVENT_CLASS_CODE, 'INTERCOMPANY_TRX', REPLACE(LINES_GT.TRX_BUSINESS_CATEGORY, 'SALES_TRANSACTION', 'PURCHASE_TRANSACTION'), LINES_GT.TRX_BUSINESS_CATEGORY)) AND (APPLICATION_ID IS NULL OR (APPLICATION_ID = LINES_GT.APPLICATION_ID AND (ENTITY_CODE IS NULL OR (ENTITY_CODE = LINES_GT.ENTITY_CODE AND (EVENT_CLASS_CODE IS NULL OR EVENT_CLASS_CODE = LINES_GT.EVENT_CLASS_CODE)))) ) AND COUNTRY_CODE IS NOT NULL AND COUNTRY_CODE = HEADER.DEFAULT_TAXATION_COUNTRY) ) THEN 'Y' ELSE NULL END ELSE NULL END TRX_BIZ_FC_COUNTRY_INCONSIS, NVL2(LINES_GT.LINE_INTENDED_USE, CASE WHEN (NOT EXISTS (SELECT 1 FROM ZX_FC_INTENDED_USE_V WHERE CLASSIFICATION_CODE = LINES_GT.LINE_INTENDED_USE AND (COUNTRY_CODE IS NULL OR COUNTRY_CODE = HEADER.DEFAULT_TAXATION_COUNTRY)) ) THEN 'Y' ELSE NULL END, NULL) INTENDED_USE_CODE_NOT_EXISTS, CASE WHEN LINES_GT.LINE_INTENDED_USE IS NOT NULL AND (EXISTS (SELECT 1 FROM ZX_FC_INTENDED_USE_V WHERE CLASSIFICATION_CODE = LINES_GT.LINE_INTENDED_USE AND (COUNTRY_CODE IS NULL OR COUNTRY_CODE = HEADER.DEFAULT_TAXATION_COUNTRY))) THEN CASE WHEN (NOT EXISTS (SELECT 1 FROM ZX_FC_INTENDED_USE_V WHERE CLASSIFICATION_CODE = LINES_GT.LINE_INTENDED_USE AND (COUNTRY_CODE IS NULL OR COUNTRY_CODE = HEADER.DEFAULT_TAXATION_COUNTRY) AND NVL(LINES_GT.TRX_LINE_DATE, HEADER.TRX_DATE) BETWEEN EFFECTIVE_FROM AND NVL(EFFECTIVE_TO, NVL(LINES_GT.TRX_LINE_DATE, HEADER.TRX_DATE)))) THEN 'Y' ELSE NULL END ELSE NULL END INTENDED_USE_NOT_EFFECTIVE, CASE WHEN LINES_GT.LINE_INTENDED_USE IS NOT NULL AND (EXISTS (SELECT 1 FROM ZX_FC_INTENDED_USE_V WHERE CLASSIFICATION_CODE = LINES_GT.LINE_INTENDED_USE AND COUNTRY_CODE IS NOT NULL)) THEN CASE WHEN (NOT EXISTS (SELECT 1 FROM ZX_FC_INTENDED_USE_V WHERE CLASSIFICATION_CODE = LINES_GT.LINE_INTENDED_USE AND COUNTRY_CODE IS NOT NULL AND COUNTRY_CODE = HEADER.DEFAULT_TAXATION_COUNTRY)) THEN 'Y' ELSE NULL END ELSE NULL END INTENDED_USE_CONTR Y_INCONSIS, NVL2(LINES_GT.PRODUCT_TYPE, NVL(FND.LOOKUP_CODE, 'Y'), NULL ) PRODUCT_TYPE_CODE_NOT_EXISTS, CASE WHEN (FND.LOOKUP_CODE IS NOT NULL) THEN CASE WHEN ( LINES_GT.TAX_DATE BETWEEN FND.START_DATE_ACTIVE AND NVL(FND.END_DATE_ACTIVE, LINES_GT.TAX_DATE) ) THEN NULL ELSE 'Y' END ELSE NULL END PRODUCT_TYPE_NOT_EFFECTIVE, NVL2(LINES_GT.PRODUCT_FISC_CLASSIFICATION, CASE WHEN (NOT EXISTS (SELECT 1 FROM ZX_FC_PRODUCT_FISCAL_V WHERE CLASSIFICATION_CODE = LINES_GT.PRODUCT_FISC_CLASSIFICATION AND (COUNTRY_CODE IS NULL OR COUNTRY_CODE = HEADER.DEFAULT_TAXATION_COUNTRY))) THEN 'Y' ELSE NULL END, NULL) PRODUCT_FC_CODE_NOT_EXISTS, CASE WHEN (LINES_GT.LINE_LEVEL_ACTION <> 'CREATE' AND LINES_GT.CTRL_TOTAL_LINE_TX_AMT IS NOT NULL ) THEN 'Y' ELSE NULL END ZX_LINE_CTRL_AMT_NOT_NULL, CASE WHEN (LINES_GT.EXEMPTION_CONTROL_FLAG IS NOT NULL AND LINES_GT.EXEMPTION_CONTROL_FLAG NOT IN ('R', 'S', 'E')) THEN 'Y' ELSE NULL END ZX_EXEMPTION_CTRL_FLAG_INVALID, CASE WHEN (LINES_GT.PRODUCT_TYPE IS NOT NULL AND LINES_GT.PRODUCT_TYPE NOT IN ('GOODS', 'SERVICES')) THEN 'Y' ELSE NULL END ZX_PRODUCT_TYPE_INVALID, CASE WHEN (LINES_GT.CTRL_HDR_TX_APPL_FLAG = 'Y' AND LINES_GT.LINE_LEVEL_ACTION <> 'LINE_INFO_TAX_ONLY' AND EXISTS (SELECT 1 FROM ZX_IMPORT_TAX_LINES_GT IMPTAXES_GT WHERE APPLICATION_ID = LINES_GT.APPLICATION_ID AND ENTITY_CODE = LINES_GT.ENTITY_CODE AND EVENT_CLASS_CODE = LINES_GT.EVENT_CLASS_CODE AND TRX_ID = LINES_GT.TRX_ID AND TRX_LINE_ID = LINES_GT.TRX_LINE_ID) ) THEN 'Y' ELSE NULL END ZX_INVALID_TAX_LINES, CASE WHEN (LINES_GT.CTRL_TOTAL_LINE_TX_AMT IS NOT NULL AND EXISTS (SELECT 1 FROM ZX_TRX_TAX_LINK_GT WHERE APPLICATION_ID = LINES_GT.APPLICATION_ID AND ENTITY_CODE = LINES_GT.ENTITY_CODE AND EVENT_CLASS_CODE = LINES_GT.EVENT_CLASS_CODE AND TRX_ID = LINES_GT.TRX_ID AND TRX_LINE_ID = LINES_GT.TRX_LINE_ID AND TRX_LEVEL_TYPE = LINES_GT.TRX_LEVEL_TYPE) ) THEN 'Y' ELSE NULL END ZX_INVALID_LINE_TAX_AMT, CASE WHEN (LINES_GT.CTRL_TOTAL_LINE_TX_AMT IS NOT NULL AND EXIS TS(SELECT 1 FROM ZX_IMPORT_TAX_LINES_GT IMPTAXES_GT WHERE APPLICATION_ID = LINES_GT.APPLICATION_ID AND ENTITY_CODE = LINES_GT.ENTITY_CODE AND EVENT_CLASS_CODE = LINES_GT.EVENT_CLASS_CODE AND TRX_ID = LINES_GT.TRX_ID AND TRX_LINE_ID IS NULL AND IMPTAXES_GT.TAX_LINE_ALLOCATION_FLAG = 'N') ) THEN 'Y' ELSE NULL END ZX_INVALID_TAX_FOR_ALLOC_FLG, CASE WHEN (LINES_GT.LINE_LEVEL_ACTION = 'LINE_INFO_TAX_ONLY' AND EXISTS (SELECT 1 FROM ZX_IMPORT_TAX_LINES_GT IMPTAXES_GT WHERE APPLICATION_ID = LINES_GT.APPLICATION_ID AND ENTITY_CODE = LINES_GT.ENTITY_CODE AND EVENT_CLASS_CODE = LINES_GT.EVENT_CLASS_CODE AND TRX_ID = LINES_GT.TRX_ID AND TRX_LINE_ID = LINES_GT.TRX_LINE_ID AND IMPTAXES_GT.TAX_LINE_ALLOCATION_FLAG <> 'Y') ) THEN 'Y' ELSE NULL END ZX_INVALID_TAX_ONLY_TAX_LINES, CASE WHEN LINES_GT.OUTPUT_TAX_CLASSIFICATION_CODE IS NOT NULL AND NOT EXISTS (SELECT 1 FROM ZX_OUTPUT_CLASSIFICATIONS_V WHERE LOOKUP_CODE = LINES_GT.OUTPUT_TAX_CLASSIFICATION_CODE AND ORG_ID IN (HEADER.INTERNAL_ORGANIZA TION_ID, -99)) THEN 'Y' ELSE CASE WHEN LINES_GT.INPUT_TAX_CLASSIFICATION_CODE IS NOT NULL AND NOT EXISTS (SELECT 1 FROM ZX_INPUT_CLASSIFICATIONS_V WHERE LOOKUP_CODE = LINES_GT.INPUT_TAX_CLASSIFICATION_CODE AND ORG_ID IN (HEADER.INTERNAL_ORGANIZATION_ID, -99)) THEN CASE WHEN (LINES_GT.SOURCE_APPLICATION_ID IS NOT NULL AND LINES_GT.SOURCE_EVENT_CLASS_CODE = 'INTERCOMPANY_TRX' AND NOT EXISTS (SELECT 1 FROM ZX_INPUT_CLASSIFICATIONS_V WHERE UPPER(LOOKUP_CODE) = UPPER(LINES_GT.INPUT_TAX_CLASSIFICATION_CODE) AND ORG_ID IN (HEADER.INTERNAL_ORGANIZATION_ID, -99))) THEN 'Y' ELSE NULL END ELSE NULL END END TAX_RATE_NOT_EXISTS, CASE WHEN LINES_GT.OUTPUT_TAX_CLASSIFICATION_CODE IS NOT NULL AND NOT EXISTS (SELECT 1 FROM ZX_OUTPUT_CLASSIFICATIONS_V WHERE LOOKUP_CODE = LINES_GT.OUTPUT_TAX_CLASSIFICATION_CODE AND ORG_ID IN (HEADER.INTERNAL_ORGANIZATION_ID, -99) AND LINES_GT.TAX_DATE BETWEEN START_DATE_ACTIVE AND NVL(END_DATE_ACTIVE, LINES_GT.TAX_DATE) ) THEN 'Y' ELSE CASE WHEN LINES_GT.INPUT_TAX_C LASSIFICATION_CODE IS NOT NULL AND NOT EXISTS (SELECT 1 FROM ZX_INPUT_CLASSIFICATIONS_V WHERE LOOKUP_CODE = LINES_GT.INPUT_TAX_CLASSIFICATION_CODE AND ORG_ID IN (HEADER.INTERNAL_ORGANIZATION_ID, -99) AND LINES_GT.TAX_DATE BETWEEN START_DATE_ACTIVE AND NVL(END_DATE_ACTIVE, LINES_GT.TAX_DATE) ) THEN CASE WHEN (LINES_GT.SOURCE_APPLICATION_ID IS NOT NULL AND LINES_GT.SOURCE_EVENT_CLASS_CODE = 'INTERCOMPANY_TRX' AND NOT EXISTS (SELECT 1 FROM ZX_INPUT_CLASSIFICATIONS_V WHERE UPPER(LOOKUP_CODE) = UPPER(LINES_GT.INPUT_TAX_CLASSIFICATION_CODE) AND ORG_ID IN (HEADER.INTERNAL_ORGANIZATION_ID, -99) AND LINES_GT.TAX_DATE BETWEEN START_DATE_ACTIVE AND NVL(END_DATE_ACTIVE, LINES_GT.TAX_DATE) ) ) THEN 'Y' ELSE NULL END ELSE NULL END END TAX_RATE_CODE_NOT_EFFECTIVE, CASE WHEN LINES_GT.OUTPUT_TAX_CLASSIFICATION_CODE IS NOT NULL AND NOT EXISTS (SELECT 1 FROM ZX_OUTPUT_CLASSIFICATIONS_V WHERE LOOKUP_CODE = LINES_GT.OUTPUT_TAX_CLASSIFICATION_CODE AND ORG_ID IN (HEADER.INTERNAL_ORGANIZATION_ID, -99) AND ENABLED_FLAG = 'Y') THEN 'Y' ELSE CASE WHEN LINES_GT.INPUT_TAX_CLASSIFICATION_CODE IS NOT NULL AND NOT EXISTS (SELECT 1 FROM ZX_INPUT_CLASSIFICATIONS_V WHERE LOOKUP_CODE = LINES_GT.INPUT_TAX_CLASSIFICATION_CODE AND ORG_ID IN (HEADER.INTERNAL_ORGANIZATION_ID, -99) AND ENABLED_FLAG = 'Y') THEN CASE WHEN (LINES_GT.SOURCE_APPLICATION_ID IS NOT NULL AND LINES_GT.SOURCE_EVENT_CLASS_CODE = 'INTERCOMPANY_TRX' AND NOT EXISTS (SELECT 1 FROM ZX_INPUT_CLASSIFICATIONS_V WHERE UPPER(LOOKUP_CODE) = UPPER(LINES_GT.INPUT_TAX_CLASSIFICATION_CODE) AND ORG_ID IN (HEADER.INTERNAL_ORGANIZATION_ID, -99) AND ENABLED_FLAG = 'Y')) THEN 'Y' ELSE NULL END ELSE NULL END END TAX_RATE_CODE_NOT_ACTIVE FROM ZX_TRX_HEADERS_GT HEADER, ZX_EVNT_CLS_MAPPINGS EVNTMAP, ZX_TRANSACTION_LINES_GT LINES_GT, ZX_FC_DOCUMENT_FISCAL_V FC_DOC, FND_LOOKUPS FND WHERE LINES_GT.TRX_ID = HEADER.TRX_ID AND LINES_GT.APPLICATION_ID = HEADER.APPLICATION_ID AND LINES_GT.ENTITY_CODE = HEADER.ENTITY_CODE AND LINES_GT.EVENT_CLASS_CODE = HEA DER.EVENT_CLASS_CODE AND FC_DOC.CLASSIFICATION_CODE(+) = HEADER.DOCUMENT_SUB_TYPE AND HEADER.APPLICATION_ID = EVNTMAP.APPLICATION_ID (+) AND HEADER.ENTITY_CODE = EVNTMAP.ENTITY_CODE (+) AND HEADER.EVENT_CLASS_CODE = EVNTMAP.EVENT_CLASS_CODE(+) AND FND.LOOKUP_TYPE(+) = 'ZX_PRODUCT_TYPE' AND FND.LOOKUP_CODE(+) = LINES_GT.PRODUCT_TYPE
2a0bdyyn0sgcbSELECT ALOC.RULE_TYPE FROM AP_INVOICE_LINES AIL, AP_ALLOCATION_RULES ALOC WHERE AIL.INVOICE_ID = :B2 AND AIL.LINE_NUMBER = :B1 AND AIL.INVOICE_ID = ALOC.INVOICE_ID AND AIL.LINE_NUMBER = ALOC.CHRG_INVOICE_LINE_NUMBER(+)
2aufmzdhuf380SELECT APPLICATION_SHORT_NAME FROM FND_APPLICATION WHERE APPLICATION_ID = :B1
2g0a1aa03ngs0SELECT FPI.STATUS, FPI.INDUSTRY, FPI.PRODUCT_VERSION, FOU.ORACLE_USERNAME, FPI.TABLESPACE, FPI.INDEX_TABLESPACE, FPI.TEMPORARY_TABLESPACE, FPI.SIZING_FACTOR FROM FND_PRODUCT_INSTALLATIONS FPI, FND_ORACLE_USERID FOU, FND_APPLICATION FA WHERE FPI.APPLICATION_ID = FA.APPLICATION_ID AND FPI.ORACLE_ID = FOU.ORACLE_ID AND FA.APPLICATION_SHORT_NAME = :B1
2tkw12w5k68vdselect user#, password, datats#, tempts#, type#, defrole, resource$, ptime, decode(defschclass, NULL, 'DEFAULT_CONSUMER_GROUP', defschclass), spare1, spare4, ext_username, spare2 from user$ where name=:1
3350m9wncvqvnselect HIERARCHY_TYPE, SITE_ENABLED_FLAG, APP_ENABLED_FLAG, RESP_ENABLED_FLAG, USER_ENABLED_FLAG, SERVER_ENABLED_FLAG, ORG_ENABLED_FLAG, SQL_VALIDATION, SERVERRESP_ENABLED_FLAG from FND_PROFILE_OPTIONS where PROFILE_OPTION_NAME = :1
357ymr0xrucg6begin :con := "MO_GLOBAL"."ORG_SECURITY"(:sn, :on); end;
3dah89rz40kn9BEGIN dka_iapfacxgs_pkg.import(:errbuf, :rc); END;
3gbufv8ymg5gg INSERT INTO ZX_LINES_DET_FACTORS( EVENT_ID, INTERNAL_ORGANIZATION_ID, APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, EVENT_CLASS_MAPPING_ID, EVENT_TYPE_CODE, DOC_EVENT_STATUS, LINE_LEVEL_ACTION, TRX_ID, TRX_LINE_ID, TRX_LEVEL_TYPE, TRX_DATE, TRX_DOC_REVISION, LEDGER_ID, TRX_CURRENCY_CODE, CURRENCY_CONVERSION_DATE, CURRENCY_CONVERSION_RATE, CURRENCY_CONVERSION_TYPE, MINIMUM_ACCOUNTABLE_UNIT, PRECISION, TRX_LINE_CURRENCY_CODE, TRX_LINE_CURRENCY_CONV_DATE, TRX_LINE_CURRENCY_CONV_RATE, TRX_LINE_CURRENCY_CONV_TYPE, TRX_LINE_MAU, TRX_LINE_PRECISION, LEGAL_ENTITY_ID, ESTABLISHMENT_ID, RECEIVABLES_TRX_TYPE_ID, DEFAULT_TAXATION_COUNTRY, TRX_NUMBER, TRX_LINE_NUMBER, TRX_LINE_DESCRIPTION, TRX_DESCRIPTION, TRX_COMMUNICATED_DATE, BATCH_SOURCE_ID, BATCH_SOURCE_NAME, DOC_SEQ_ID, DOC_SEQ_NAME, DOC_SEQ_VALUE, TRX_DUE_DATE, TRX_TYPE_DESCRIPTION, DOCUMENT_SUB_TYPE, SUPPLIER_TAX_INVOICE_NUMBER, SUPPLIER_TAX_INVOICE_DATE, SUPPLIER_EXCHANGE_RATE, TAX_INVOICE_DA TE, TAX_INVOICE_NUMBER, FIRST_PTY_ORG_ID, TAX_EVENT_CLASS_CODE, TAX_EVENT_TYPE_CODE, RDNG_SHIP_TO_PTY_TX_PROF_ID, RDNG_SHIP_FROM_PTY_TX_PROF_ID, RDNG_BILL_TO_PTY_TX_PROF_ID, RDNG_BILL_FROM_PTY_TX_PROF_ID, RDNG_SHIP_TO_PTY_TX_P_ST_ID, RDNG_SHIP_FROM_PTY_TX_P_ST_ID, RDNG_BILL_TO_PTY_TX_P_ST_ID, RDNG_BILL_FROM_PTY_TX_P_ST_ID, LINE_INTENDED_USE , TRX_LINE_TYPE , TRX_SHIPPING_DATE, TRX_RECEIPT_DATE, TRX_SIC_CODE, FOB_POINT , TRX_WAYBILL_NUMBER, PRODUCT_ID, PRODUCT_FISC_CLASSIFICATION , PRODUCT_ORG_ID, UOM_CODE, PRODUCT_TYPE , PRODUCT_CODE, PRODUCT_CATEGORY , PRODUCT_DESCRIPTION, USER_DEFINED_FISC_CLASS, LINE_AMT, TRX_LINE_QUANTITY, UNIT_PRICE, CASH_DISCOUNT, VOLUME_DISCOUNT, TRADING_DISCOUNT, TRANSFER_CHARGE, TRANSPORTATION_CHARGE, INSURANCE_CHARGE, OTHER_CHARGE, ASSESSABLE_VALUE, ASSET_FLAG, ASSET_NUMBER, ASSET_ACCUM_DEPRECIATION, ASSET_TYPE, ASSET_COST, RELATED_DOC_APPLICATION_ID, RELATED_DOC_ENTITY_CODE, RELATED_DOC_EVENT_CLASS_CODE, RELATE D_DOC_TRX_ID, RELATED_DOC_NUMBER, RELATED_DOC_DATE, APPLIED_FROM_APPLICATION_ID, APPLIED_FROM_ENTITY_CODE, APPLIED_FROM_EVENT_CLASS_CODE, APPLIED_FROM_TRX_ID, APPLIED_FROM_LINE_ID, APPLIED_FROM_TRX_NUMBER, ADJUSTED_DOC_APPLICATION_ID, ADJUSTED_DOC_ENTITY_CODE, ADJUSTED_DOC_EVENT_CLASS_CODE, ADJUSTED_DOC_TRX_ID, ADJUSTED_DOC_LINE_ID, ADJUSTED_DOC_NUMBER, ADJUSTED_DOC_DATE, APPLIED_TO_APPLICATION_ID, APPLIED_TO_ENTITY_CODE, APPLIED_TO_EVENT_CLASS_CODE, APPLIED_TO_TRX_ID , APPLIED_TO_TRX_LINE_ID, TRX_ID_LEVEL2, TRX_ID_LEVEL3, TRX_ID_LEVEL4, TRX_ID_LEVEL5, TRX_ID_LEVEL6, TRX_BUSINESS_CATEGORY, EXEMPT_CERTIFICATE_NUMBER, EXEMPT_REASON, HISTORICAL_FLAG, TRX_LINE_GL_DATE, LINE_AMT_INCLUDES_TAX_FLAG, ACCOUNT_CCID, ACCOUNT_STRING, MERCHANT_PARTY_TAX_PROF_ID, HQ_ESTB_PARTY_TAX_PROF_ID, NUMERIC1, NUMERIC2, NUMERIC3, NUMERIC4, NUMERIC5, NUMERIC6, NUMERIC7, NUMERIC8, NUMERIC9, NUMERIC10, CHAR1, CHAR2, CHAR3, CHAR4, CHAR5, CHAR6, CHAR7, CHAR8, CH AR9, CHAR10, DATE1, DATE2, DATE3, DATE4, DATE5, DATE6, DATE7, DATE8, DATE9, DATE10, MERCHANT_PARTY_NAME, MERCHANT_PARTY_DOCUMENT_NUMBER, MERCHANT_PARTY_REFERENCE, MERCHANT_PARTY_TAXPAYER_ID, MERCHANT_PARTY_TAX_REG_NUMBER, MERCHANT_PARTY_ID, MERCHANT_PARTY_COUNTRY, SHIP_TO_LOCATION_ID, SHIP_FROM_LOCATION_ID, POA_LOCATION_ID, POO_LOCATION_ID, BILL_TO_LOCATION_ID, BILL_FROM_LOCATION_ID, PAYING_LOCATION_ID, OWN_HQ_LOCATION_ID, TRADING_HQ_LOCATION_ID, POC_LOCATION_ID, POI_LOCATION_ID, POD_LOCATION_ID, TITLE_TRANSFER_LOCATION_ID, SHIP_TO_PARTY_TAX_PROF_ID , SHIP_FROM_PARTY_TAX_PROF_ID, POA_PARTY_TAX_PROF_ID, POO_PARTY_TAX_PROF_ID, PAYING_PARTY_TAX_PROF_ID, OWN_HQ_PARTY_TAX_PROF_ID, TRADING_HQ_PARTY_TAX_PROF_ID, POI_PARTY_TAX_PROF_ID, POD_PARTY_TAX_PROF_ID, BILL_TO_PARTY_TAX_PROF_ID, BILL_FROM_PARTY_TAX_PROF_ID, TITLE_TRANS_PARTY_TAX_PROF_ID, SHIP_TO_SITE_TAX_PROF_ID, SHIP_FROM_SITE_TAX_PROF_ID, POA_SITE_TAX_PROF_ID, POO_SITE_TAX_PROF_ID, PAYING _SITE_TAX_PROF_ID, OWN_HQ_SITE_TAX_PROF_ID, TRADING_HQ_SITE_TAX_PROF_ID, POI_SITE_TAX_PROF_ID, POD_SITE_TAX_PROF_ID, BILL_TO_SITE_TAX_PROF_ID, BILL_FROM_SITE_TAX_PROF_ID, TITLE_TRANS_SITE_TAX_PROF_ID, CTRL_HDR_TX_APPL_FLAG, CTRL_TOTAL_LINE_TX_AMT, CTRL_TOTAL_HDR_TX_AMT, REF_DOC_APPLICATION_ID, REF_DOC_ENTITY_CODE, REF_DOC_EVENT_CLASS_CODE, REF_DOC_TRX_ID, REF_DOC_LINE_ID, REF_DOC_LINE_QUANTITY, LINE_CLASS, TRX_LINE_DATE, INPUT_TAX_CLASSIFICATION_CODE, OUTPUT_TAX_CLASSIFICATION_CODE, INTERNAL_ORG_LOCATION_ID, PORT_OF_ENTRY_CODE, TAX_REPORTING_FLAG, TAX_AMT_INCLUDED_FLAG, COMPOUNDING_TAX_FLAG, SHIP_THIRD_PTY_ACCT_ID, BILL_THIRD_PTY_ACCT_ID, SHIP_THIRD_PTY_ACCT_SITE_ID, BILL_THIRD_PTY_ACCT_SITE_ID, SHIP_TO_CUST_ACCT_SITE_USE_ID, BILL_TO_CUST_ACCT_SITE_USE_ID, START_EXPENSE_DATE, TRX_BATCH_ID, APPLIED_TO_TRX_NUMBER, SOURCE_APPLICATION_ID, SOURCE_ENTITY_CODE, SOURCE_EVENT_CLASS_CODE, SOURCE_TRX_ID, SOURCE_LINE_ID, SOURCE_TRX_LEVEL_TYPE, SOURCE_TAX_LI NE_ID, REF_DOC_TRX_LEVEL_TYPE, ADJUSTED_DOC_TRX_LEVEL_TYPE, APPLIED_TO_TRX_LEVEL_TYPE, APPLIED_FROM_TRX_LEVEL_TYPE, APPLICATION_DOC_STATUS, OBJECT_VERSION_NUMBER, TAX_PROCESSING_COMPLETED_FLAG, USER_UPD_DET_FACTORS_FLAG, RECORD_TYPE_CODE, HDR_TRX_USER_KEY1, HDR_TRX_USER_KEY2, HDR_TRX_USER_KEY3, HDR_TRX_USER_KEY4, HDR_TRX_USER_KEY5, HDR_TRX_USER_KEY6, LINE_TRX_USER_KEY1, LINE_TRX_USER_KEY2, LINE_TRX_USER_KEY3, LINE_TRX_USER_KEY4, LINE_TRX_USER_KEY5, LINE_TRX_USER_KEY6, TAX_CALCULATION_DONE_FLAG, REVERSED_APPLN_ID, REVERSED_ENTITY_CODE, REVERSED_EVNT_CLS_CODE, REVERSED_TRX_ID, REVERSED_TRX_LEVEL_TYPE, REVERSED_TRX_LINE_ID, EXEMPTION_CONTROL_FLAG, EXEMPT_REASON_CODE, INTERFACE_ENTITY_CODE, INTERFACE_LINE_ID, DEFAULTING_ATTRIBUTE1, DEFAULTING_ATTRIBUTE2, DEFAULTING_ATTRIBUTE3, DEFAULTING_ATTRIBUTE4, DEFAULTING_ATTRIBUTE5, DEFAULTING_ATTRIBUTE6, DEFAULTING_ATTRIBUTE7, DEFAULTING_ATTRIBUTE8, DEFAULTING_ATTRIBUTE9, DEFAULTING_ATTRIBUTE10, PROVNL_TAX_ DETERMINATION_DATE, HISTORICAL_TAX_CODE_ID, GLOBAL_ATTRIBUTE_CATEGORY, GLOBAL_ATTRIBUTE1, TOTAL_INC_TAX_AMT, ICX_SESSION_ID, CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN) SELECT :B298 , :B287 , :B286 , :B285 , :B284 , :B297 , :B283 , :B296 , :B282 , :B281 , :B280 , :B279 , :B278 , :B277 , :B276 , :B275 , :B274 , :B273 , :B272 , :B271 , :B270 , NVL(:B268 , :B269 ), NVL(:B266 , :B267 ), NVL(:B264 , :B265 ), NVL(:B262 , :B263 ), NVL(:B260 , :B261 ), NVL(:B258 , :B259 ), :B257 , :B256 , :B255 , :B254 , :B253 , :B252 , :B251 , :B250 , :B249 , :B248 , :B247 , :B246 , :B245 , :B244 , :B243 , :B242 , :B241 , :B240 , :B239 , :B238 , :B237 , :B236 , :B235 , :B234 , :B233 , :B232 , :B231 , :B230 , :B229 , :B228 , :B227 , :B226 , :B225 , :B224 , :B223 , :B222 , :B221 , :B220 , :B219 , :B218 , :B217 , :B216 , :B215 , :B214 , :B213 , :B212 , :B211 , :B210 , :B209 , :B208 , :B207 , :B206 , :B205 , :B204 , :B203 , :B202 , :B201 , :B200 , :B199 , :B198 , :B197 , :B196 , :B195 , :B194 , :B193 , :B192 , :B191 , :B190 , :B189 , :B188 , :B187 , :B186 , :B185 , :B184 , :B183 , :B182 , :B181 , :B180 , :B179 , :B178 , :B177 , :B176 , :B175 , :B174 , :B173 , :B172 , :B171 , :B170 , :B169 , :B168 , :B167 , :B166 , :B165 , :B164 , :B163 , :B162 , :B161 , :B160 , :B159 , :B158 , :B157 , :B156 , :B155 , :B154 , :B153 , :B152 , :B151 , :B150 , :B149 , :B148 , :B147 , :B146 , :B145 , :B144 , :B143 , :B142 , :B141 , :B140 , :B139 , :B138 , :B137 , :B136 , :B135 , :B134 , :B133 , :B132 , :B131 , :B130 , :B129 , :B128 , :B127 , :B126 , :B125 , :B124 , :B123 , :B122 , :B121 , :B120 , :B119 , :B118 , :B117 , :B116 , :B115 , :B114 , :B113 , :B112 , :B111 , :B110 , :B109 , :B108 , :B107 , :B106 , :B105 , :B104 , :B103 , :B102 , :B101 , :B100 , :B99 , :B98 , :B97 , :B96 , :B 95 , :B94 , :B93 , :B92 , :B91 , :B90 , :B89 , :B88 , :B87 , :B86 , :B85 , :B84 , :B83 , :B82 , :B81 , :B80 , :B79 , :B78 , :B77 , :B76 , :B75 , :B74 , :B73 , :B72 , :B71 , NVL(:B70 , :B295 ), :B69 , :B68 , :B67 , :B66 , :B65 , DECODE(:B63 , 'RECORD_WITH_NO_TAX', 'N', DECODE(:B294 , 'N', 'N', NVL(:B64 , :B293 ))), :B62 , :B61 , :B60 , :B59 , :B58 , :B57 , :B56 , :B55 , :B54 , :B53 , :B52 , :B51 , :B50 , :B49 , :B48 , :B47 , :B46 , :B45 , :B44 , :B43 , :B42 , :B41 , :B40 , 1, :B39 , :B38 , 'ETAX_CREATED', :B37 , :B36 , :B35 , :B34 , :B33 , :B32 , :B31 , :B30 , :B29 , :B28 , :B27 , :B26 , :B292 , :B25 , :B24 , :B23 , :B22 , :B21 , :B20 , :B19 , :B18 , :B17 , :B16 , :B15 , :B14 , :B13 , :B12 , :B11 , :B10 , :B9 , :B8 , :B7 , :B6 , :B5 , :B4 , :B3 , :B2 , NVL(:B1 , 0), DECODE(:B291 , 'CALCULATE_TAX', :B290 , NULL), SYSDATE SYSTEM_DATE_1, FND_GLOBAL.USER_ID USER_ID_1, SYSDATE SYSTEM_DATE _2, FND_GLOBAL.USER_ID USER_ID_2, FND_GLOBAL.CONC_LOGIN_ID FROM DUAL WHERE :B289 IS NOT NULL AND :B288 IN ('CREATE', 'CREATE_TAX_ONLY', 'APPLY_FROM', 'INTERCOMPANY_CREATE', 'LINE_INFO_TAX_ONLY', 'CREATE_WITH_TAX', 'ALLOCATE_TAX_ONLY_ADJUSTMENT', 'COPY_AND_CREATE', 'RECORD_WITH_NO_TAX')
479rc79k52ru1SELECT DISTINCT PO_HEADER_ID FROM AP_INVOICE_LINES WHERE INVOICE_ID = :B1 AND PO_HEADER_ID IS NOT NULL
4kvhga64b6wah WITH binds as (select :dbid as dbid , :inst_id_low as instIdLow , :inst_id_high as instIdHigh , :begin_snap as beginSnap , :end_snap as endSnap , :begin_time as beginTime , :end_time as endTime , :disk_begin_time as diskBeginTime , :disk_end_time as diskEndTime , :mem_begin_time as memBeginTime , :mem_end_time as memEndTime , :bucket_count as bucketCount , :bucket_interval as bucketInterval , :mem_enable as memEnable , :disk_enable as diskEnable , :disk_filter_ratio as filterRatio, :filter_action as filter_action, :filter_blocking_session as filter_blocking_session, :filter_capture_id as filter_capture_id, :filter_client_id as filter_client_id, :filter_consumer_group_id as filter_consumer_group_id, :filter_dbop as filter_dbop, :filter_ecid as filter_ecid, :filter_event as filter_event, :filter_instance_number as filter_instance_number, :filter_is_captured as filter_is_captured, :filter_is_filtered_out as filter_is_filtered_out, :filter_is_nc_background as filter_is_nc_background, :filter_is_replayed as filter_is_replayed, :filter_machine as filter_machine, :filter_machine_port as filter_machine_port, :filter_module as filter_module, :filter_object as filter_object, :filter_pdb as filter_pdb, :filter_physical_session as filter_physical_session, :filter_pl_sql as filter_pl_sql, :filter_pl_sql_top as filter_pl_sql_top, :filter_program as filter_program, :filter_px_process as filter_px_process, :filter_service_hash as filter_service_hash, :filter_session_type as filter_session_type, :filter_sql_fms as filter_sql_fms, :filter_sql_id_top as filter _sql_id_top, :filter_sql_opcode as filter_sql_opcode, :filter_sql_opcode_top as filter_sql_opcode_top, :filter_sql_rws as filter_sql_rws, :filter_sql_rws_line as filter_sql_rws_line, :filter_sqlid as filter_sqlid, :filter_sqlid_fullphv as filter_sqlid_fullphv, :filter_sqlid_phv as filter_sqlid_phv, :filter_user_id as filter_user_id, :filter_wait_class as filter_wait_class, :filter_xid as filter_xid from dual) , unified_ash as (SELECT a.sample_id , a.sample_time , a.session_id , a.session_serial# , a.session_type , a.session_state , a.flags , a.user_id , a.sql_id , a.sql_opcode , a.sql_opname , a.top_level_sql_id , a.top_level_sql_opcode , a.sql_child_number , a.sql_plan_hash_value , a.sql_full_plan_hash_value , a.sql_plan_line_id , a.sql_plan_operation , a.sql_plan_options , a.sql_exec_id , a.force_ matching_signature , a.plsql_entry_object_id , a.plsql_entry_subprogram_id , a.plsql_object_id , a.plsql_subprogram_id , a.service_hash , a.qc_session_id , a.qc_instance_id , a.qc_session_serial# , nvl(a.event, CASE WHEN bitand(a.time_model, power(2, 19)) > 0 THEN 'CPU: IM Populate' WHEN bitand(a.time_model, power(2, 20)) > 0 THEN 'CPU: IM Prepopulate' WHEN bitand(a.time_model, power(2, 21)) > 0 THEN 'CPU: IM Repopulate' WHEN bitand(a.time_model, power(2, 22)) > 0 THEN 'CPU: IM Trickle Repop' WHEN bitand(a.time_model, power(2, 18)) > 0 THEN 'CPU: IM Query' ELSE 'CPU + Wait for CPU' END) as event , nvl(a.event_id, 1) as event_id , nvl(a.wait_class, 'CPU') as wait_class , nvl(a.wait_class_id, 9999) as wait_class_id , a.seq# , a.p1 , a.p1text , a.p2 , a.p2text , a.p3 , a.p3text , a.wait_time , a.time_waited , rawtohex(a.xid) as xid , a.blocking_session , a.blocking_session_serial# , a.blocking_session_status , a.blocking_inst_id , a.current_obj# , a.current_file# , a.current_block# , a.top_level_call# , a.top_level_call_name , a.program , a.module , a.action , a.client_id , a.remote_instance# , a.ecid , a.consumer_group_id , a.machine , a.port , a.in_connection_mgmt , a.in_parse , a.in_hard_parse , a.in_sql_execution , a.in_plsql_execution , a.in_plsql_rpc , a.in_plsql_compilation , a.in_java_execution , a.in_bind , a.in_cursor_close , a.in_sequence_load , a.is_captured , a.is_replayed , a.dbreplay_file_id , a.dbop_name , a.con_dbid, decode(binds.diskEnable, 0, 1, binds.filterRatio) as sample_count , inst_id as instance_number FROM gv$active_session_history a, binds WHERE binds.memEnable = 1 AND ( binds.diskEnable = 0 OR ( binds.diskEnable = 1 AND a.is_awr_sample = 'Y' AND bitand(a.flags, 128) = 0 ) ) AND a.inst_id between binds.instIdLow and binds.instIdHigh AND a.sample_time between binds.beginTime and binds.endTime UNION ALL SELECT a.sample_id , a.sample_time , a.session_id , a. session_serial# , a.session_type , a.session_state , a.flags , a.user_id , a.sql_id , a.sql_opcode , a.sql_opname , a.top_level_sql_id , a.top_level_sql_opcode , a.sql_child_number , a.sql_plan_hash_value , a.sql_full_plan_hash_value , a.sql_plan_line_id , a.sql_plan_operation , a.sql_plan_options , a.sql_exec_id , a.force_matching_signature , a.plsql_entry_object_id , a.plsql_entry_subprogram_id , a.plsql_object_id , a.plsql_subprogram_id , a.service_hash , a.qc_session_id , a.qc_instance_id , a.qc_session_serial# , nvl(a.event, CASE WHEN bitand(a.time_model, power(2, 19)) > 0 THEN 'CPU: IM Populate' WHEN bitand(a.time_model, power(2, 20)) > 0 THEN 'CPU: IM Prepopulate' WHEN bitand(a .time_model, power(2, 21)) > 0 THEN 'CPU: IM Repopulate' WHEN bitand(a.time_model, power(2, 22)) > 0 THEN 'CPU: IM Trickle Repop' WHEN bitand(a.time_model, power(2, 18)) > 0 THEN 'CPU: IM Query' ELSE 'CPU + Wait for CPU' END) as event , nvl(a.event_id, 1) as event_id , nvl(a.wait_class, 'CPU') as wait_class , nvl(a.wait_class_id, 9999) as wait_class_id , a.seq# , a.p1 , a.p1text , a.p2 , a.p2text , a.p3 , a.p3text , a.wait_time , a.time_waited , rawtohex(a.xid) as xid , a.blocking_session , a.blocking_session_serial# , a.blocking_session_status , a.blocking_inst_id , a.current_obj# , a.current_file# , a.current_block# , a.top_level_call# , a.top_level_call_name , a.program , a.module , a.action , a.client_id , a.remote_instance# , a.ecid , a.consumer_group_id , a.machine , a.port , a.in_connection_mgmt , a.in_parse , a.in_hard_parse , a.in_sql_execution , a.in_plsql_execution , a.in_plsql_rpc , a.in_plsql_compilation , a.in_java_execution , a.in_bind , a.in_cursor_close , a.in_sequence_load , a.is_captured , a.is_replayed , a.dbreplay_file_id , a.dbop_name , a.con_dbid, binds.filterRatio as sample_count , instance_number as instance_number FROM dba_hist_active_sess_history a, binds WHERE binds.diskEnable = 1 AND a.dbid = binds.dbid AND a.instance_number between binds.instIdLow and binds.instIdHigh AND a.snap_id between binds.beginSnap and binds.endSnap AND a.sample_time between binds.beginTime and binds.endTime ), logical_ash as (select sample_id , sample_time , sample_count , instance_number as inst_id, wait_class as global_hist_wc, event as event, instance_number || ':' || session_id || ', ' || session_serial# as physical_session, sql_id as sqlid, wait_class as wait_class, xid as xid, instance_number as instance_number, user_id as user_id, program as program from unified_ash) , bucketized_ash as (SELECT ash0.*, (case when binds.bucketCount > 1 then trunc( ( (24 * 60 * 60 * extract(day from sample_time - binds.beginTime)) + (60 * 60 * extract(hour from sample_time - binds.beginTime)) + (60 * extract(minute from sample_time - binds.beginTime)) + (1 * extract(second from sample_time - binds.beginTime)) ) / binds.bucketInterval ) + 1 else 1 end) as bucket_number FROM logical_ash ash0, binds), filter_xml as (SELECT xmlconcat(xmlelement("filters" ) , xmlelement("report_time", xmlattributes( to_char(o.begintime, 'HH24:MI:SS MM/DD/YYYY') as "begin_time", to_char(o.endtime, 'HH24:MI:SS MM/DD/YYYY') as "end_time"))) as xml_frag FROM (select binds.*, nvl(to_number(filter_pdb), 0) as con_dbid from binds) o) , filtered_ash as (SELECT ash.*, (case when 1=1 then 1 else 0 end) filtered FROM bucketized_ash ash, binds), grouped_ash as (SELECT ash.*, (CASE WHEN nvl(filtered, 2) = 1 THEN 0 -- target / no histogram ELSE 1 -- totals/global END) AS bucket_type FROM (SELECT filtered, event, physical_session, sqlid, wait_class, bucket_number , grouping_id(filtered, event, physical_session, sqlid, wait_class, bucket_number) as gid , global_hist_wc , max(inst_id) as inst_id , sum(sample_cou nt) as sample_count , count(distinct sqlid) as uniq_sqlids , count(distinct xid) as uniq_xids , count(distinct physical_session) as uniq_sessions , count(distinct instance_number) as uniq_instances, max(user_id) as user_id, max(program) as program from filtered_ash group by grouping sets( (bucket_number, global_hist_wc) , ( bucket_number, wait_class, filtered), (wait_class, filtered), (sqlid, wait_class, filtered), (physical_session, wait_class, filtered), (wait_class, event, filtered)) ) ash -- eliminate rows with filtered = 0 -- keep filtered and from global/total WHERE (nvl(filtered, 2) != 0)), component_1_treemap as (select dim_val , inst_id , sample_count , num_mem , mem_rank , uniq_sqlids , uniq_xids , uniq_sessions , uniq_instances , 0 AS bucket_type --target(not global)/filtered bucket from (select max(case when mem_rank <= 13 then dim_val else null end) as dim_val , sum(sample_count) as sample_count , count(*) as num_mem , max(case when mem_rank <= 13 then mem_rank else (13 + 1) end) as mem_rank , max(case when mem_rank <= 13 then uniq_sqlids else 0 end) as uniq_sqlids , max(case when mem_rank <= 13 then uniq_xids else 0 end) as uniq_xids , max(case when mem_rank <= 13 then uniq_sessions else 0 end) as uniq_sessions , max(case when mem_rank <= 13 then uniq_instances else 0 end) as uniq_instances , max(inst_id) as inst_id from (select wait_class as dim_val , sample_count , dense_rank() over (order by sample_count desc , wait_class) as mem_rank , uniq_sqlids , uniq_xids , uniq_sessions , uniq_instances , inst_id from grouped_ash where gid = 29 and wait_class is not null) group by (case when mem_rank <= 13 then dim_val else null end) ) left ) , component_1_histogram as (select bucket_number , sum(sample_count) as sample_count , max(case when mem_rank <= 13 then mem_rank when mem_rank is not null then (13 + 1) end) as mem_rank , bucket_type from (select g1.bucket_number , g1.sample_count as sample_count , (case when g1.wait_class = g2.dim_val then to_char(g2.dim_val) -- global/totals when g1.bucket_type = 1 then g1.global_hist_wc else null end) as dim_val , (case when g1.wait_class = g2.dim_val then g2.mem_rank when g1.bucket_type = 1 then NULL else (13 + 1) end) as mem_rank , g1.bucket_type from grouped_ash g1, component_1_treemap g2 where -- both filtered and global (g1.gid = 28 AND g1.wait_class is not null OR g1.bucket_type = 1) and g1.wait_class = g2.dim_val(+) -- join filtered rows only and g1.bucket_type = g2.bucket_type(+) ) group by bucket_number , dim_val , bucket_type ) , component_1_xml as (select xmlelement("item" , xmlattributes('wait_class' as "id" , topmems.cnt_all as "count" , topmems.num_mem as "num_mem" , topmems.num_others as "num_others") , xmlconcat( topmems.topmems_frag , histogram.histogram_xml)) as dim_frag from (select xmlelement( "top_mems" , xmlatt ributes(sum(case when mem_rank <= 13 then sample_count else 0 end) as "count") , xmlagg(xmlelement( "mem" , xmlattributes(mem_rank as "id" , dim_val as "name" , sample_count as "count" , uniq_sqlids as "uniq_sqlids" , uniq_xids as "uniq_xids" , uniq_sessions as "uniq_sessions" , uniq_instances as "uniq_instances") ) order by sample_count desc)) as topmems_frag , sum(case when mem_rank <= 13 then 1 else 0 end) as num_mem , sum(sample_count) as cnt_all , max(case when mem_rank <= 13 then 0 else num_mem end) as num_others from (component_1_treemap) t ) topmems , (SELECT xmlagg( xmlelement( "histogram" , xm lattributes( (case when bucket_type = 1 then 'all' else 'target' end) AS "type" , max(binds.bucketCount) as "bucket_count" , max(binds.bucketInterval) as "bucket_interval") , xmlagg(bucket_xml order by bucket_type, bucket_number asc) ) ) as histogram_xml FROM (SELECT bucket_type , bucket_number , xmlelement( "bucket" , xmlattributes(bucket_number as "number" , sum(sample_count) as "c ount") , (case when bucket_type = 0 then -- filtered rows xmlelement( "top_mems" , xmlattributes( sum(case when mem_rank <= 13 then sample_count else 0 end) as "count") , xmlagg( xmlelement( "mem" , xmlattributes( mem_rank as "id" , sample_count as "count")) order by mem_rank asc)) end)) as bucket_xml FROM (component_1_histogram) GROUP BY bucket_number, bucket_type), binds GROUP by bucket_type) histogram ), component_2_xml as (select xmlelement( "item" , xmlattributes( 'sqlid, wait_class' as "item") , xmlelement( "top_mems" , xmlagg( xmlelement( "mem" , xmlattributes( dim1_value as "dim1_value" , dim1_nummem as "dim1_nummem" , dim1_rank as "dim1_rank" , dim2_value as "dim2_value" , dim12_nummem as "dim2_nummem" , dim12_rank as "dim2_rank" , dim12_count as "count" , uniq_sqlids as "uniq_sqlids" , uniq_xids as "uniq_xids" , uniq_sessions as "uniq_sessions" , uniq_instances as "uniq_instances" ) , NVL2(sql_text1, xmlelement("info" , xmlattributes('dim1_name' as "type") , sql_text1), NULL) , NVL2(NULL, xmlelement("info" , xmlattributes('dim2_name' as "type") , NULL), NULL) ) order by dim1_rank, dim12_rank ) ) ) as dim_frag from (select dim_data.* , NVL((SELECT substr(v.sql_text, 1, 100) as sql_text FROM gv$sql v WHERE v.sql_id = dim_data.dim1_value AND v.inst_id = dim_data.inst_id AND rownum < 2 ), ( SELECT dbms_lob.substr(v.sql_text, 100, 1) as sql_text FROM dba_hist_sqltext v, binds b WHERE v.dbid = b.dbid AND v.sql_id = dim_data.dim1_value AND rownum < 2)) as sql_text1 from (select max(case when dim1_rank <= 10 then dim1_val else null end) as dim1_value , max(case when dim1_rank <= 10 then dim2_val else null end) as dim2_value , sum(dim12_count) as dim12_count , max(case when dim1_rank <= 10 then uniq_sqlids else 0 end) as uniq_sqlids , max(case when dim1_rank <= 10 then uniq_xids else 0 end) as uniq_xids , max(case when dim1_rank <= 10 then uniq_sessions else 0 end) as uniq_sessions , max(case when dim1_rank <= 10 then uniq_instances else 0 end) as uniq_instances , count(distinct dim1_val) as dim1_nummem , sum(dim12_nummem) as dim12_nummem , max(case when dim1_rank <= 10 then dim1_rank else (10 + 1) end) as dim1_rank , max(case when dim1_rank <= 10 then dim12_rank else (10 + 1) end) as dim12_rank , max(inst_id) as inst_id from (select dim1_val , max(case when dim12_rank <= 13 then dim2_val else null end) as dim2_val , dim1_count , sum(dim12_count) as dim12_count , max(case when dim12_rank <= 13 then uniq_sqlids else 0 end) as uniq_sqlids , max(case when dim12_rank <= 13 then uniq_xids else 0 end) as uniq_xids , max(case when dim12_rank <= 13 then uniq_sessions else 0 end) as uniq_sessions , max(case when dim12_rank <= 13 then uniq_instances else 0 end) as uniq_instances , count(*) as dim12_nummem , dense_rank() over (order by dim1_count desc , dim1_val ) as dim1_rank , max(case when dim12_rank <= 13 then dim12_rank else (13 + 1) end) as dim12_rank , max(inst_id) as inst_id from (select sqlid as dim1_val , wait_class as dim2_val , sample_count as dim12_count , dense_rank() over (partition by sqlid order by sample_count desc , wait_class ) as dim12_rank , sum(sample_count) over (partition by sqlid ) as dim1_count , uniq_sqlids , uniq_xids , uniq_sessions , uniq_instances , inst_id from grouped_ash where gid = 25 and sqlid is not null and wait_class is not null ) group by dim1_val , dim1_count , (case when dim12_rank <= 13 then dim2_val else null end) ) group by (case when dim1_rank <= 10 then dim1_val else null end) , (case when dim1_rank <= 10 then dim2_val else null end) ) dim_data ) t ), component_3_xml as (select xmlelement( "item" , xmlattributes( 'physical_session, wait_class' as "item") , xmlelement( "top_mems" , xmlagg( xmlelement( "mem" , xmlattributes( dim1_value as "dim1_value" , dim1_nummem as "dim1_nummem" , dim1_rank as "dim1_rank" , dim2_value as "dim2_value" , dim12_nummem as "dim2_nummem" , dim12_rank as "dim2_rank" , dim12_count as "count" , uniq_sqlids as "uniq_sqlids" , uniq_xids as "uniq_xids" , uniq_sessions as "uniq_sessions" , uniq_instances as "uniq_instances" ) , NVL2(NULL, xmlelement("info" , xmlattributes('dim1_name' as "type") , NULL), NULL) , NVL2(NULL, xmlelement("info" , xmlattributes('dim2_name' as "type") , NULL), NULL) ) order by dim1_rank, dim12_rank ) ) ) as dim_frag from (select dim_data.* from (select max(case when dim1_rank <= 10 then dim1_val else null end) as dim1_value , max(case when dim1_rank <= 10 then dim2_val else null end) as dim2_value , sum(dim12_count) as dim12_count , max(case when dim1_rank <= 10 then uniq_sqlids else 0 end) as uniq_sqlids , max(case when dim1_rank <= 10 then uniq_xids else 0 end) as uniq_xids , max(case when dim1_rank <= 10 then uniq_sessions else 0 end) as uniq_sessions , max(case when dim1_rank <= 10 then uniq_instances else 0 end) as uniq_instances , count(distinct dim1_val) as dim1_nummem , sum(dim12_nummem) as dim12_nummem , max(case when dim1_rank <= 10 then dim1_rank else (10 + 1) end) as dim1_rank , max(case when dim1_rank <= 10 then dim12_rank else (10 + 1) end) as dim12_rank , max(inst_id) as inst_id from (select dim1_val , max(case when dim12_rank <= 13 then dim2_val else null end) as dim2_val , dim1_count , sum(dim12_count) as dim12_count , max(case when dim12_ran k <= 13 then uniq_sqlids else 0 end) as uniq_sqlids , max(case when dim12_rank <= 13 then uniq_xids else 0 end) as uniq_xids , max(case when dim12_rank <= 13 then uniq_sessions else 0 end) as uniq_sessions , max(case when dim12_rank <= 13 then uniq_instances else 0 end) as uniq_ins tances , count(*) as dim12_nummem , dense_rank() over (order by dim1_count desc , dim1_val ) as dim1_rank , max(case when dim12_rank <= 13 then dim12_rank else (13 + 1) end) as dim12_rank , max(inst_id) as inst_id from (select physical_session as dim1_val , wait_class as dim2_val , sample_count as dim12_count , dense_rank() over (partition by physical_session order by sample_count desc , wait_class ) as dim12_rank , sum(sample_count) over (partition by physical_session ) as dim1_count , uniq_sqlids , uniq_xids , uniq_sessions , uniq_instances , inst_id from grouped_ash where gid = 21 and physical_session is not null and wait_class is not null ) group by dim1_val , dim1_count , (case when dim12_rank <= 13 then dim2_val else null end) ) group by (case when dim1_rank <= 10 then dim1_val else null end) , (case when dim1_rank <= 10 then dim2_val else null end) ) dim_data ) t ), component_4_xml as (select xmlelement( "item" , xmlattributes( 'wait_class, event' as "item") , xmlelement( "top_mems" , xmlagg( xmlelement( "mem" , xmlattributes( dim1_value as "dim1_value" , dim1_nummem as "dim1_nummem" , dim1_rank as "dim1_rank" , dim2_value as "dim2_value " , dim12_nummem as "dim2_nummem" , dim12_rank as "dim2_rank" , dim12_count as "count" , uniq_sqlids as "uniq_sqlids" , uniq_xids as "uniq_xids" , uniq_sessions as "uniq_sessions" , uniq_instances as "uniq_instances" ) , NVL2(NULL, xmlelement("info" , xmlattributes('dim1_name' as "type") , NULL), NULL) , NVL2(NULL, xmlelement("info" , xmlattributes('dim2_name' as "type") , NULL), NULL) ) order by dim1_rank, dim12_rank ) ) ) as dim_frag from (select dim_data.* from (select max(case when dim1_rank <= 13 then dim1_val else null end) as dim1_value , max(case when dim1_rank <= 13 then dim2_val else null end) as dim2_value , sum(dim12_count) as dim12_count , max(case when dim1_rank <= 13 then uniq_sqlids else 0 end) as uniq_sqlids , max(case when dim1_rank <= 13 then uniq_xids else 0 end) as uniq_xids , max(case when dim1_rank <= 13 then uniq_sessions else 0 end) as uniq_sessions , max(case when dim1_rank <= 13 then uniq_instances else 0 end) as uniq_instances , count(distinct dim1_val) as dim1_nummem , sum(dim12_nummem) as dim12_nummem , max(case when dim1_rank <= 13 then dim1_rank else (13 + 1) end) as dim1_rank , max(case when dim1_rank <= 13 then dim12_rank else (13 + 1) end) as dim12_rank , max(inst_id) as inst_id from (select dim1_val , max(case when dim12_rank <= 10 then dim2_val else null end) as dim2_val , dim1_count , sum(dim12_count) as dim12_count , max(case when dim12_rank <= 10 then uniq_sqlids else 0 end) as uniq_sqlids , max(case when dim12_rank <= 10 then uniq_xids else 0 end) as uniq_xids , max(case when dim12_rank <= 10 then uniq_sessions else 0 end) as uniq _sessions , max(case when dim12_rank <= 10 then uniq_instances else 0 end) as uniq_instances , count(*) as dim12_nummem , dense_rank() over (order by dim1_count desc , dim1_val ) as dim1_rank , max(case when dim12_rank <= 10 then dim12_rank else (10 + 1) end) as dim12_rank , max(inst_id) as inst_id from (sele ct wait_class as dim1_val , event as dim2_val , sample_count as dim12_count , dense_rank() over (partition by wait_class order by sample_count desc , event ) as dim12_rank , sum(sample_count) over (partition by wait_class ) as dim1_count , uniq_sqlids , uniq_xids , uniq_sessions , uniq_instances , inst_id from grouped_ash where gid = 13 and wait_class is not null and event is not null ) group by dim1_val , dim1_count , (case when dim12_rank <= 10 then dim2_val else null end) ) group by (case when dim1_rank <= 13 th en dim1_val else null end) , (case when dim1_rank <= 13 then dim2_val else null end) ) dim_data ) t )select xmlconcat((select xml_frag from filter_xml), xmlelement("dim_list", xmlconcat((select dim_frag from component_1_xml), (select dim_frag from component_2_xml), (select dim_frag from component_3_xml), (select dim_frag from component_4_xml))) ) from dual
4xpxwj3mmpbj8SELECT COUNT(*) FROM PA_TASKS WHERE PROJECT_ID = :B2 AND TASK_ID = :B1
5a72wzs0hj755BEGIN DKA_SAPCREATE_BLOCAGES_PKG.MAIN(:errbuf, :rc); END;
5f9spvysgkr1c INSERT INTO FND_CONCURRENT_REQUESTS ( REQUEST_ID, SECURITY_GROUP_ID, PHASE_CODE, STATUS_CODE, PRIORITY, PARENT_REQUEST_ID, PRIORITY_REQUEST_ID, DESCRIPTION, REQ_INFORMATION, IS_SUB_REQUEST, HAS_SUB_REQUEST, UPDATE_PROTECTED, HOLD_FLAG, ENFORCE_SERIALITY_FLAG, SINGLE_THREAD_FLAG, ARGUMENT_INPUT_METHOD_CODE, IMPLICIT_CODE, REQUEST_DATE, REQUESTED_START_DATE, REQUESTED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN, ORACLE_ID, CONC_LOGIN_ID, RESPONSIBILITY_ID, RESPONSIBILITY_APPLICATION_ID, NLS_LANGUAGE, NLS_TERRITORY, NLS_NUMERIC_CHARACTERS, NLS_SORT, PROGRAM_APPLICATION_ID, CONCURRENT_PROGRAM_ID, QUEUE_METHOD_CODE, REQUEST_CLASS_APPLICATION_ID, CONCURRENT_REQUEST_CLASS_ID, PRINT_GROUP, PRINTER, PRINT_STYLE, NUMBER_OF_COPIES, SAVE_OUTPUT_FLAG, CRM_THRSHLD, RESUBMIT_TIME, RESUBMIT_INTERVAL, RESUBMIT_INTERVAL_UNIT_CODE, RESUBMIT_INTERVAL_TYPE_CODE, RESUBMIT_END_DATE, RESUBMITTED, CRITICAL, REQUEST_TYPE, RELEASE_CLASS_APP_ID, RELE ASE_CLASS_ID, STALE_DATE, CANCEL_OR_HOLD, OUTPUT_FILE_TYPE, NLS_COMPLIANT, CD_ID, REQUEST_LIMIT, INCREMENT_DATES, ENABLE_TRACE, OPS_INSTANCE, ORG_ID, NODE_NAME1, CONNSTR1, RECALC_PARAMETERS, EDITION_NAME, ARGUMENT_TEXT, NUMBER_OF_ARGUMENTS, ARGUMENT1, ARGUMENT2, ARGUMENT3, ARGUMENT4, ARGUMENT5, ARGUMENT6, ARGUMENT7, ARGUMENT8, ARGUMENT9, ARGUMENT10, ARGUMENT11, ARGUMENT12, ARGUMENT13, ARGUMENT14, ARGUMENT15, ARGUMENT16, ARGUMENT17, ARGUMENT18, ARGUMENT19, ARGUMENT20, ARGUMENT21, ARGUMENT22, ARGUMENT23, ARGUMENT24, ARGUMENT25) SELECT :B79 , :B78 , :B77 , DECODE (:B76 , 'A', 'A', 'Z', 'Z', DECODE(FCP.QUEUE_METHOD_CODE, 'B', 'Q', DECODE (:B57 , 'Y', 'Q', DECODE(:B38 , 'Y', 'Q', 'I')))), DECODE (FCP.QUEUE_CONTROL_FLAG, 'Y', NVL(FCP.REQUEST_PRIORITY, 0), DECODE (:B75 , NULL, 50, :B75 )), DECODE (:B67 , 0, NULL, :B67 ), :B74 , :B73 , NULL, :B72 , 'N', :B71 , :B70 , 'Y', :B57 , 'S', :B69 , SYSDATE, DECODE (:B68 , '', (SYSDATE - :B66 ), GREATEST (:B68 , DECODE (:B67 , 0, (SYSDATE - :B66 ), FND_CONC_DATE.STRING_TO_DATE ( '01-01-0001')))), :B65 , SYSDATE, :B65 , :B64 , ORACLE_ID, :B64 , :B63 , :B62 , :B61 , :B60 , :B59 , :B58 , FA.APPLICATION_ID, FCP.CONCURRENT_PROGRAM_ID, DECODE(:B38 , 'Y', 'B', DECODE(:B57 , 'N', FCP.QUEUE_METHOD_CODE, 'B')), FCP.CLASS_APPLICATION_ID, FCP.CONCURRENT_CLASS_ID, :B56 , :B55 , :B54 , :B53 , :B52 , :B51 , DECODE (:B50 , '', NULL, TO_CHAR (FND_CONC_DATE.STRING_TO_DATE ( '01-01-0001' || :B50 ), 'HH24:MI:SS')), DECODE (:B49 , '', NULL, :B49 ), :B48 , :B47 , :B46 , 'N', :B45 , :B44 , :B43 , :B42 , :B41 , :B40 , FCP.OUTPUT_FILE_TYPE, FCP.NLS_COMPLIANT, :B39 , :B38 , :B37 , DECODE(:B36 , 'Y', 'Y', FCP.ENABLE_TRACE), :B35 , :B34 , :B33 , :B32 , :B31 , SYS_CONTEXT('userenv', 'current_edition_name'), :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 FROM FND_APPLICATION FA, FND_CONCURRENT_PROGRAMS FCP, FND_ORACLE_USERID WHERE ORACLE_USERNAME = :B3 AND FCP.ENABLED_FLAG = 'Y' AND (FCP.APPLICATION_ID = FA.APPLICATION_ID AND CONCURRENT_PROGRAM_NAME = UPPER (:B2 )) AND FA.APPLICATION_SHORT_NAME = UPPER (:B1 )
5t39uchjqpyfmBEGIN xla_accounting_pkg.unit_processor_batch(:errbuf, :rc, :A0, :A1, :A2, :A3, :A4, :A5, :A6, :A7, :A8, :A9, :A10, :A11, :A12, :A13, :A14); END;
5u1d16qak7nrp INSERT INTO ZX_TRX_HEADERS_GT( INTERNAL_ORGANIZATION_ID, APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, EVENT_TYPE_CODE, TRX_ID, TRX_DATE, LEDGER_ID, TRX_CURRENCY_CODE, CURRENCY_CONVERSION_DATE, CURRENCY_CONVERSION_RATE, CURRENCY_CONVERSION_TYPE, MINIMUM_ACCOUNTABLE_UNIT, PRECISION, LEGAL_ENTITY_ID, ROUNDING_SHIP_FROM_PARTY_ID, ROUNDING_BILL_FROM_PARTY_ID, RNDG_SHIP_FROM_PARTY_SITE_ID, RNDG_BILL_FROM_PARTY_SITE_ID, RELATED_DOC_APPLICATION_ID, RELATED_DOC_ENTITY_CODE, RELATED_DOC_EVENT_CLASS_CODE, RELATED_DOC_TRX_ID, RELATED_DOC_NUMBER, RELATED_DOC_DATE, DEFAULT_TAXATION_COUNTRY, QUOTE_FLAG, CTRL_TOTAL_HDR_TX_AMT, TRX_NUMBER, TRX_DESCRIPTION, DOC_SEQ_ID, DOC_SEQ_NAME, DOC_SEQ_VALUE, DOCUMENT_SUB_TYPE, SUPPLIER_TAX_INVOICE_NUMBER, SUPPLIER_TAX_INVOICE_DATE, SUPPLIER_EXCHANGE_RATE, TAX_INVOICE_DATE, TAX_INVOICE_NUMBER, BILL_THIRD_PTY_ACCT_ID, BILL_THIRD_PTY_ACCT_SITE_ID, SHIP_THIRD_PTY_ACCT_ID, SHIP_THIRD_PTY_ACCT_SITE_ID ) SELECT AI.ORG_ID, 200, 'AP_INVOICES', (CASE WHEN AI.INVOICE_TYPE_LOOKUP_CODE IN ('STANDARD', 'CREDIT', 'DEBIT', 'MIXED', 'ADJUSTMENT', 'PO PRICE ADJUST', 'INVOICE REQUEST', 'CREDIT MEMO REQUEST', 'RETAINAGE RELEASE', 'PAYMENT REQUEST') THEN 'STANDARD INVOICES' WHEN (AI.INVOICE_TYPE_LOOKUP_CODE = 'PREPAYMENT') OR (:B1 IN ('RECOUPMENT', 'DISTRIBUTE RECOUP')) THEN 'PREPAYMENT INVOICES' WHEN AI.INVOICE_TYPE_LOOKUP_CODE = 'EXPENSE REPORT' THEN 'EXPENSE REPORTS' END), (CASE WHEN AI.INVOICE_TYPE_LOOKUP_CODE IN ('STANDARD', 'CREDIT', 'DEBIT', 'MIXED', 'ADJUSTMENT', 'PO PRICE ADJUST', 'INVOICE REQUEST', 'CREDIT MEMO REQUEST', 'RETAINAGE RELEASE', 'PAYMENT REQUEST') THEN 'STANDARD ' WHEN (AI.INVOICE_TYPE_LOOKUP_CODE = 'PREPAYMENT') OR (:B1 IN ('RECOUPMENT', 'DISTRIBUTE RECOUP')) THEN 'PREPAYMENT ' WHEN AI.INVOICE_TYPE_LOOKUP_CODE = 'EXPENSE REPORT' THEN 'EXPENSE REPORT ' END)|| DECODE(:B1 , 'CALCULATE', (CASE ((SELECT 'Y' FROM AP_INVOICE_LINES_ALL WHERE INVOICE_ID = AI.INVOICE_ID AND LINE_TYP E_LOOKUP_CODE <> 'AWT' AND (TAX_ALREADY_CALCULATED_FLAG = 'Y' OR SUMMARY_TAX_LINE_ID IS NOT NULL) AND ROWNUM = 1) UNION (SELECT 'Y' FROM ZX_LINES_DET_FACTORS WHERE APPLICATION_ID = 200 AND ENTITY_CODE = 'AP_INVOICES' AND TRX_ID = AI.INVOICE_ID AND EVENT_CLASS_CODE IN ('STANDARD INVOICES', 'PREPAYMENT INVOICES', 'EXPENSE REPORTS') AND ROWNUM=1)) WHEN 'Y' THEN 'UPDATED' ELSE 'CREATED' END), 'DISTRIBUTE', (CASE (SELECT 'Y' FROM AP_INVOICE_DISTRIBUTIONS_ALL WHERE INVOICE_ID = AI.INVOICE_ID AND LINE_TYPE_LOOKUP_CODE <> 'AWT' AND (TAX_ALREADY_DISTRIBUTED_FLAG = 'Y' OR DETAIL_TAX_DIST_ID IS NOT NULL) AND (RELATED_ID IS NULL OR RELATED_ID = INVOICE_DISTRIBUTION_ID) AND ROWNUM = 1) WHEN 'Y' THEN 'REDISTRIBUTE' ELSE 'DISTRIBUTE' END)), AI.INVOICE_ID, AI.INVOICE_DATE, AI.SET_OF_BOOKS_ID, AI.INVOICE_CURRENCY_CODE, AI.EXCHANGE_DATE, AI.EXCHANGE_RATE, AI.EXCHANGE_RATE_TYPE, NVL(CUR.MINIMUM_ACCOUNTABLE_UNIT, (1/POWER(10, CUR.PRECISION))), NVL(CUR.PRECISION, 0), AI.LEGAL_ENTIT Y_ID, AI.PARTY_ID, AI.PARTY_ID, AI.PARTY_SITE_ID, AI.PARTY_SITE_ID, (CASE WHEN RELATED_AI.INVOICE_TYPE_LOOKUP_CODE IS NOT NULL THEN 200 ELSE NULL END), (CASE WHEN RELATED_AI.INVOICE_TYPE_LOOKUP_CODE IS NOT NULL THEN 'AP_INVOICES' ELSE NULL END), (CASE WHEN RELATED_AI.INVOICE_TYPE_LOOKUP_CODE IN ('STANDARD', 'CREDIT', 'DEBIT', 'MIXED', 'ADJUSTMENT', 'PO PRICE ADJUST', 'INVOICE REQUEST', 'CREDIT MEMO REQUEST', 'RETAINAGE RELEASE') THEN 'STANDARD INVOICES' WHEN AI.INVOICE_TYPE_LOOKUP_CODE = 'PREPAYMENT' THEN 'PREPAYMENT INVOICES' WHEN AI.INVOICE_TYPE_LOOKUP_CODE = 'EXPENSE REPORT' THEN 'EXPENSE REPORTS' END), AI.TAX_RELATED_INVOICE_ID, RELATED_AI.INVOICE_NUM, RELATED_AI.INVOICE_DATE, AI.TAXATION_COUNTRY, DECODE(:B1 , 'CALCULATE QUOTE', 'Y', 'N'), AI.CONTROL_AMOUNT, AI.INVOICE_NUM, AI.DESCRIPTION, AI.DOC_SEQUENCE_ID, DOC.NAME, NVL(TO_CHAR(AI.DOC_SEQUENCE_VALUE), AI.VOUCHER_NUM), AI.DOCUMENT_SUB_TYPE, AI.SUPPLIER_TAX_INVOICE_NUMBER, AI.SUPPLIER_TAX_INVOICE_D ATE, AI.SUPPLIER_TAX_EXCHANGE_RATE, AI.TAX_INVOICE_RECORDING_DATE, AI.TAX_INVOICE_INTERNAL_SEQ, AI.VENDOR_ID, AI.VENDOR_SITE_ID, AI.VENDOR_ID, AI.VENDOR_SITE_ID FROM AP_INVOICES_ALL AI, FND_CURRENCIES CUR, FND_DOCUMENT_SEQUENCES DOC, AP_INVOICES_ALL RELATED_AI, AP_SYSTEM_PARAMETERS_ALL ASP WHERE AI.INVOICE_CURRENCY_CODE = CUR.CURRENCY_CODE AND AI.DOC_SEQUENCE_ID = DOC.DOC_SEQUENCE_ID (+) AND AI.TAX_RELATED_INVOICE_ID = RELATED_AI.INVOICE_ID (+) AND NVL(AI.QUICK_CREDIT, 'N') = 'N' AND AI.INVOICE_TYPE_LOOKUP_CODE NOT IN ('AWT', 'INTEREST') AND AI.VALIDATION_REQUEST_ID = :B2 AND ASP.ORG_ID = AI.ORG_ID AND ((ASP.BASE_CURRENCY_CODE = AI.INVOICE_CURRENCY_CODE) OR (:B1 IN ('CALCULATE')) OR (ASP.BASE_CURRENCY_CODE <> AI.INVOICE_CURRENCY_CODE AND AI.EXCHANGE_RATE IS NOT NULL AND :B1 IN ('DISTRIBUTE', 'DISTRIBUTE IMPORT') ))
5z2y27mbm98zmUPDATE AP_INVOICE_DISTRIBUTIONS_ALL D SET MATCH_STATUS_FLAG = 'T', LAST_UPDATE_DATE = SYSDATE, LAST_UPDATED_BY = :B2 , PROGRAM_APPLICATION_ID = DECODE(FND_GLOBAL.PROG_APPL_ID, -1, NULL, FND_GLOBAL.PROG_APPL_ID), REQUEST_ID = DECODE(FND_GLOBAL.CONC_REQUEST_ID, -1, NULL, FND_GLOBAL.CONC_REQUEST_ID), PROGRAM_ID = DECODE(FND_GLOBAL.CONC_PROGRAM_ID, -1, NULL, FND_GLOBAL.CONC_PROGRAM_ID), PROGRAM_UPDATE_DATE = DECODE(FND_GLOBAL.CONC_PROGRAM_ID, -1, NULL, SYSDATE) WHERE MATCH_STATUS_FLAG = 'S' AND D.INVOICE_ID = :B1
616m6uhpa2ususelect i.obj#, i.ts#, i.file#, i.block#, i.intcols, i.type#, i.flags, i.property, i.pctfree$, i.initrans, i.maxtrans, i.blevel, i.leafcnt, i.distkey, i.lblkkey, i.dblkkey, i.clufac, i.cols, i.analyzetime, i.samplesize, i.dataobj#, nvl(i.degree, 1), nvl(i.instances, 1), i.rowcnt, mod(i.pctthres$, 256), i.indmethod#, i.trunccnt, nvl(c.unicols, 0), nvl(c.deferrable#+c.valid#, 0), nvl(i.spare1, i.intcols), i.spare4, i.spare2, i.spare6, decode(i.pctthres$, null, null, mod(trunc(i.pctthres$/256), 256)), nvl(i.evaledition#, 1), nvl(i.unusablebefore#, 0), nvl(i.unusablebeginning#, 0), ist.cachedblk, ist.cachehit, ist.logicalread from ind$ i, ind_stats$ ist, (select enabled, min(cols) unicols, min(to_number(bitand(defer, 1))) deferrable#, min(to_number(bitand(defer, 4))) valid# from cdef$ where obj#=:1 and enabled > 1 group by enabled) c where i.obj#=c.enabled(+) and i.obj# = ist.obj#(+) and i.bo#=:1 order by i.obj#
622ufbrgvxdc7select decode(u.type#, 2, u.ext_username, u.name), o.name, t.update$, t.insert$, t.delete$, t.enabled, decode(bitand(t.property, 8192), 8192, 1, 0), decode(bitand(t.property, 65536), 65536, 1, 0), decode(bitand(t.property, 131072), 131072, 1, 0), (select o.name from obj$ o where o.obj# = u.spare2 and o.type# =57), decode(bitand(t.property, 524288), 524288, 1, 0) from sys.obj$ o, sys.user$ u, sys.trigger$ t, sys.obj$ bo where t.baseobject=bo.obj# and bo.name = :1 and bo.spare3 = :2 and bo.namespace = 1 and t.obj#=o.obj# and o.owner#=u.user# and o.type# = 12 and bitand(property, 16)=0 and bitand(property, 8)=0 order by o.obj#
656sk77p7a7qsDeclare l_flag Boolean; BEGIN l_flag := XLA_CREATE_ACCT_RPT_PVT.BeforeReport ; if (l_flag) then :XDO_OUT_PARAMETER := 1; end if; end;
66xqc033rzyp5 SELECT /*+ dynamic_sampling(2) cardinality(ai, 10) */ invoice_id from AP_INVOICES AI -- 7461423 WHERE AI.VALIDATION_REQUEST_ID IS NULL AND AI.APPROVAL_READY_FLAG <> 'S' AND AI.INVOICE_TYPE_LOOKUP_CODE<>'INVOICE REQUEST' /*Bug 16263597*/ AND AI.CANCELLED_DATE IS NULL /* Bug 9777752 */ AND NOT ( NVL(AI.PAYMENT_STATUS_FLAG, 'N') = 'Y' AND NVL(AI.HISTORICAL_FLAG, 'N') = 'Y' AND NVL(AI.FORCE_REVALIDATION_FLAG, 'N') = 'N') /*Bug11934187*/ AND EXISTS ( SELECT /*+ PUSH_SUBQ */ 1 FROM DUAL WHERE UPPER(NVL(AI.SOURCE, 'X')) <> 'RECURRING INVOICE' UNION ALL SELECT 1 FROM DUAL WHERE UPPER(NVL(AI.SOURCE, 'X')) = 'RECURRING INVOICE' AND NOT EXISTS ( SELECT NULL FROM GL_PERIOD_STATUSES GLPS WHERE GLPS.APPLICATION_ID = '200' AND GLPS.SET_OF_BOOKS_ID = AI.SET_OF_BOOKS_ID AND TRUNC(AI.GL_DATE) BETWEEN GLPS.START_DATE AND GLPS.END_DATE AND NVL(GLPS.ADJUSTMENT_PERIOD_FLAG, 'N') = 'N' AND GLPS.CLOSING_STATUS = 'N' ) ) AND EXISTS ( SELECT 1 FROM DUAL WHERE AI.FORCE_REVALIDATION_FLAG = 'Y' UNION ALL SELECT /*+ index(D AP_INVOICE_DISTRIBUTIONS_N32) cardinality(D 1) use_nl(fsp) */ 1 FROM AP_INVOICE_DISTRIBUTIONS_ALL D, FINANCIALS_SYSTEM_PARAMS_ALL FSP W HERE D.INVOICE_ID = AI.INVOICE_ID AND FSP.ORG_ID = D.ORG_ID AND NVL(D.MATCH_STATUS_FLAG, 'N') <> 'A' AND FSP.SET_OF_BOOKS_ID = D.SET_OF_BOOKS_ID AND (NVL(FSP.PURCH_ENCUMBRANCE_FLAG, 'N') = 'Y' OR (NVL(FSP.PURCH_ENCUMBRANCE_FLAG, 'N') = 'N' AND NVL(D.MATCH_STATUS_FLAG, 'N') <> 'T')) UNION ALL SELECT /*+ index(D AP_SELF_ASSESSED_TAX_DIST_N31) use_nl(fsp) */ 1 FROM AP_SELF_ASSESSED_TAX_DIST_ALL D, FINANCIALS_SYSTEM_PARAMS_ALL FSP WHERE D.INVOICE_ID = AI.INVOICE_ID AND NVL (D.MATCH_STATUS_FLAG, 'N') <> 'A' AND FSP.ORG_ID = D.ORG_ID AND FSP.SET_OF_BOOKS_ID = D.SET_OF_BOOKS_ID AND (NVL(FSP.PURCH_ENCUMBRANCE_FLAG, 'N') = 'Y' OR (NVL(FSP.PURCH_ENCUMBRANCE_FLAG, 'N') = 'N' AND NVL(D.MATCH_STATUS_FLAG, 'N') <> 'T')) AND NOT EXISTS ( SELECT /*+ index(D2 AP_SELF_ASSESSED_TAX_DIST_N30) */ 'Cancelled distributions' FROM AP_SELF_ASSESSED_TAX_DIST_ALL D2 WHERE D2.INVOICE_ID = D.INVOICE_ID AND D2.CANCELLATION_FLAG = 'Y' ) UNION ALL SELECT 1 FROM AP_HOLDS_ALL H WHERE H.INVOICE_ID = AI.INVOICE_ID AND ((H.HOLD_LOOKUP_CODE IN ('QTY ORD', 'QTY REC', 'AMT ORD', 'AMT REC', 'QUALITY', 'PRICE', 'TAX DIFFERENCE', 'CURRENCY DIFFERENCE', 'REC EXCEPTION', 'TAX VARIANCE', 'PO NOT APPROVED', 'PO REQUIRED', 'MAX SHIP AMOU NT', 'MAX RATE AMOUNT', 'MAX TOTAL AMOUNT', 'TAX AMOUNT RANGE', 'MAX QTY ORD', 'MAX QTY REC', 'MAX AMT ORD', 'MAX AMT REC', 'CANT CLOSE PO', 'CANT TRY PO CLOSE', 'LINE VARIANCE', 'CANT FUNDS CHECK', 'Expired Registration', 'Amount Funded', 'Quantity Funded', 'GTAS Mandatory Fields', 'GTAS Data Validation', 'AWT ERROR')) OR /* Bug#13464635 */ /*Bug18411094: Added AWT error*/ (H.HOLD_LOOKUP_CODE IN (SELECT HOLD_LOOKUP_CODE FROM AP_HOLD_CODES WHERE POSTABLE_FLAG = 'N' AND USER_RELEASEABLE_FLAG = 'N'))) /* Bug 14579876 */ AND H.RELEASE_LOOKUP_CODE IS NULL AND EXISTS ( SELECT 'Lines' FROM AP_INVOICE_LINES_ALL L2 WHERE L2.INVOICE_ID = H.INVOICE_ID ) --8580790, 9112369 UNION ALL SELECT 1 FROM AP_INVOICE_LINES_ALL AIL WHERE AIL.INVOICE_ID = AI.INVOICE_ID /* Bug 9777752 AND AI.CANCELLED_DATE IS NULL */ AND NVL(AIL.DISCARDED_FLAG, 'N') <> 'Y' AND NVL(AIL.CANCELLED_FLAG, 'N') <> 'Y' AND (AIL.AMOUNT <> 0 OR (AIL.AMOUNT = 0 AND AIL.GENERATE_DISTS = 'Y')) --8580790 AND NOT EXISTS ( SELECT /*+ NO_UNNEST */ 'distributed line' FROM AP_INVOICE_DISTRIBUTIONS_ALL D5 WHERE D5.INVOICE_ID = AIL.INVOICE_ID AND D5.INVOICE_LINE_NUMBER = AIL.LINE_NUMBER ) ) AND NOT EXISTS ( SELECT /*+ push_subq no_unnest */ 'Cancelled distributions' FROM AP_INVOICE_DISTRIBUTIONS_ALL D3 WHERE D3.INVOICE_ID = AI.INVOICE_ID AND D3.CANCELLATION_FLAG = 'Y' ) AND AI.org_id = :b_org_id FOR UPDATE SKIP LOCKED
67fx45mvnmbszSELECT CASE WHEN COUNT(1) > 0 THEN 'Y' ELSE 'N' END FROM FA_CATEGORY_BOOKS FCB JOIN GL_CODE_COMBINATIONS_KFV GCC ON FCB.ASSET_CLEARING_ACCOUNT_CCID = GCC.CODE_COMBINATION_ID WHERE GCC.SEGMENT3 = :B1
685yb2upzj6kfSELECT I.INVOICE_ID, I.INVOICE_NUM, I.ORG_ID, I.INVOICE_AMOUNT, I.BASE_AMOUNT, I.EXCHANGE_RATE, I.INVOICE_CURRENCY_CODE, S.INVOICE_AMOUNT_LIMIT, NVL(S.HOLD_FUTURE_PAYMENTS_FLAG, 'N') HOLD_FUTURE_PAYMENTS_FLAG, I.INVOICE_TYPE_LOOKUP_CODE, I.EXCHANGE_DATE, I.EXCHANGE_RATE_TYPE, I.VENDOR_ID, I.INVOICE_DATE, NVL(I.DISC_IS_INV_LESS_TAX_FLAG, 'N') DISC_IS_INV_LESS_TAX_FLAG, NVL(I.EXCLUDE_FREIGHT_FROM_DISCOUNT, 'N') EXCLUDE_FREIGHT_FROM_DISCOUNT, NVL(S.TOLERANCE_ID, ASP.TOLERANCE_ID), NVL(S.SERVICES_TOLERANCE_ID, ASP.SERVICES_TOLERANCE_ID) FROM AP_INVOICES_ALL I, AP_SUPPLIER_SITES_ALL S, AP_SYSTEM_PARAMETERS_ALL ASP WHERE I.VENDOR_SITE_ID = S.VENDOR_SITE_ID (+) AND I.VALIDATION_REQUEST_ID = :B1 AND ASP.ORG_ID = I.ORG_ID ORDER BY I.ORG_ID
6m3b4guk3yqzjUPDATE DKA_IAPFACXGS_REPORTING_ALL XIRA SET STATUT_INTERFACE ='OK', DATE_TRAITEMENT = SYSDATE , ORG_ID = :B1 WHERE EXISTS ( SELECT 1 FROM DKA_IAPFACXGS_INTERFACE XII, HR_ALL_ORGANIZATION_UNITS HAOU WHERE XII.NUM_FACT = XIRA.NUM_FACT AND NVL(XIRA.SITE_FRS, '#VIDE#') = NVL(XII.SITE_FRS, '#VIDE#') AND XIRA.DATE_NUMERISATION = XII.DATE_NUMERISATION AND XIRA.TYPE_PIECE = XII.TYPE_PIECE AND XIRA.TYPE = XII.TYPE AND XIRA.BATCHNO = XII.BATCHNO AND XIRA.BATCHIDX = XII.BATCHIDX AND XIRA.MHT_DEVISE = XII.MHT_DEVISE AND XII.FLAG_TRT = 1 AND XII.CODE_REGION||XII.CODE_SOCIETE = HAOU.NAME AND HAOU.ORGANIZATION_ID = :B1 )
6t6z5yyv0b8dsSELECT ZX_REC_NREC_DIST_S.NEXTVAL FROM DUAL
7466ar05kub5fSELECT COUNT(*) FROM AP_HOLDS_ALL WHERE INVOICE_ID = :B1 AND RELEASE_LOOKUP_CODE IS NULL
7azcgh1zf1p03 SELECT /*+ INDEX(HEADER ZX_TRX_HEADERS_GT_U1) INDEX(TRXLINES ZX_TRANSACTION_LINES_GT_U1) */ HEADER.INTERNAL_ORGANIZATION_ID , HEADER.APPLICATION_ID , HEADER.ENTITY_CODE , HEADER.EVENT_CLASS_CODE , HEADER.EVENT_TYPE_CODE , HEADER.TRX_ID , TRXLINES.TRX_LEVEL_TYPE , TRXLINES.TRX_LINE_ID , TRXLINES.LINE_LEVEL_ACTION , DECODE(TRXLINES.SOURCE_EVENT_CLASS_CODE, 'INTERCOMPANY_TRX', TRXLINES.LINE_CLASS, NVL(TRXLINES.LINE_CLASS, :B3 )), HEADER.TRX_DATE , HEADER.TRX_DOC_REVISION , HEADER.LEDGER_ID , HEADER.TRX_CURRENCY_CODE , HEADER.CURRENCY_CONVERSION_DATE , HEADER.CURRENCY_CONVERSION_RATE , HEADER.CURRENCY_CONVERSION_TYPE , HEADER.MINIMUM_ACCOUNTABLE_UNIT , HEADER.PRECISION , TRXLINES.TRX_LINE_CURRENCY_CODE , TRXLINES.TRX_LINE_CURRENCY_CONV_DATE , TRXLINES.TRX_LINE_CURRENCY_CONV_RATE , TRXLINES.TRX_LINE_CURRENCY_CONV_TYPE , TRXLINES.TRX_LINE_MAU , TRXLINES.TRX_LINE_PRECISION , TRXLINES.TRX_SHIPPING_DATE , TRXLINES.TRX_RECEIPT_DATE , HEADER.LEGAL_ENTITY_ID , HEADER. ROUNDING_SHIP_TO_PARTY_ID , HEADER.ROUNDING_SHIP_FROM_PARTY_ID , HEADER.ROUNDING_BILL_TO_PARTY_ID , HEADER.ROUNDING_BILL_FROM_PARTY_ID , HEADER.RNDG_SHIP_TO_PARTY_SITE_ID , HEADER.RNDG_SHIP_FROM_PARTY_SITE_ID , HEADER.RNDG_BILL_TO_PARTY_SITE_ID , HEADER.RNDG_BILL_FROM_PARTY_SITE_ID , HEADER.ESTABLISHMENT_ID , TRXLINES.TRX_LINE_TYPE , TRXLINES.TRX_LINE_DATE , TRXLINES.TRX_BUSINESS_CATEGORY , TRXLINES.LINE_INTENDED_USE , TRXLINES.USER_DEFINED_FISC_CLASS , TRXLINES.LINE_AMT , TRXLINES.TRX_LINE_QUANTITY , TRXLINES.UNIT_PRICE , TRXLINES.EXEMPT_CERTIFICATE_NUMBER , TRXLINES.EXEMPT_REASON , TRXLINES.CASH_DISCOUNT , TRXLINES.VOLUME_DISCOUNT , TRXLINES.TRADING_DISCOUNT , TRXLINES.TRANSFER_CHARGE , TRXLINES.TRANSPORTATION_CHARGE , TRXLINES.INSURANCE_CHARGE , TRXLINES.OTHER_CHARGE , TRXLINES.PRODUCT_ID , TRXLINES.PRODUCT_FISC_CLASSIFICATION , TRXLINES.PRODUCT_ORG_ID , TRXLINES.UOM_CODE , TRXLINES.PRODUCT_TYPE , TRXLINES.PRODUCT_CODE , TRXLINES.PRODUCT_CATEGORY , T RXLINES.TRX_SIC_CODE , TRXLINES.FOB_POINT , TRXLINES.SHIP_TO_PARTY_ID , TRXLINES.SHIP_FROM_PARTY_ID , TRXLINES.POA_PARTY_ID , TRXLINES.POO_PARTY_ID , TRXLINES.BILL_TO_PARTY_ID , TRXLINES.BILL_FROM_PARTY_ID , TRXLINES.MERCHANT_PARTY_ID , TRXLINES.SHIP_TO_PARTY_SITE_ID , TRXLINES.SHIP_FROM_PARTY_SITE_ID , TRXLINES.POA_PARTY_SITE_ID , TRXLINES.POO_PARTY_SITE_ID , TRXLINES.BILL_TO_PARTY_SITE_ID , TRXLINES.BILL_FROM_PARTY_SITE_ID , TRXLINES.SHIP_TO_LOCATION_ID , TRXLINES.SHIP_FROM_LOCATION_ID , TRXLINES.POA_LOCATION_ID , TRXLINES.POO_LOCATION_ID , TRXLINES.BILL_TO_LOCATION_ID , TRXLINES.BILL_FROM_LOCATION_ID , TRXLINES.ACCOUNT_CCID , TRXLINES.ACCOUNT_STRING , TRXLINES.MERCHANT_PARTY_COUNTRY , HEADER.RECEIVABLES_TRX_TYPE_ID , TRXLINES.REF_DOC_APPLICATION_ID , TRXLINES.REF_DOC_ENTITY_CODE , TRXLINES.REF_DOC_EVENT_CLASS_CODE , TRXLINES.REF_DOC_TRX_ID , TRXLINES.REF_DOC_LINE_ID , TRXLINES.REF_DOC_LINE_QUANTITY , HEADER.RELATED_DOC_APPLICATION_ID , HEADER.RELATED_ DOC_ENTITY_CODE , HEADER.RELATED_DOC_EVENT_CLASS_CODE , HEADER.RELATED_DOC_TRX_ID , HEADER.RELATED_DOC_NUMBER , HEADER.RELATED_DOC_DATE , TRXLINES.APPLIED_FROM_APPLICATION_ID , TRXLINES.APPLIED_FROM_EVENT_CLASS_CODE , TRXLINES.APPLIED_FROM_ENTITY_CODE , TRXLINES.APPLIED_FROM_TRX_ID , TRXLINES.APPLIED_FROM_LINE_ID , TRXLINES.APPLIED_FROM_TRX_NUMBER , TRXLINES.ADJUSTED_DOC_APPLICATION_ID , TRXLINES.ADJUSTED_DOC_EVENT_CLASS_CODE , TRXLINES.ADJUSTED_DOC_ENTITY_CODE , TRXLINES.ADJUSTED_DOC_TRX_ID , TRXLINES.ADJUSTED_DOC_LINE_ID , TRXLINES.ADJUSTED_DOC_NUMBER , TRXLINES.ADJUSTED_DOC_DATE , TRXLINES.APPLIED_TO_APPLICATION_ID , TRXLINES.APPLIED_TO_ENTITY_CODE , TRXLINES.APPLIED_TO_EVENT_CLASS_CODE , TRXLINES.APPLIED_TO_TRX_ID , TRXLINES.APPLIED_TO_TRX_LINE_ID , TRXLINES.TRX_ID_LEVEL2 , TRXLINES.TRX_ID_LEVEL3 , TRXLINES.TRX_ID_LEVEL4 , TRXLINES.TRX_ID_LEVEL5 , TRXLINES.TRX_ID_LEVEL6 , HEADER.TRX_NUMBER , HEADER.TRX_DESCRIPTION , TRXLINES.TRX_LINE_NUMBER , TRXLINES .TRX_LINE_DESCRIPTION , TRXLINES.PRODUCT_DESCRIPTION , TRXLINES.TRX_WAYBILL_NUMBER , HEADER.TRX_COMMUNICATED_DATE , TRXLINES.TRX_LINE_GL_DATE , HEADER.BATCH_SOURCE_ID , HEADER.BATCH_SOURCE_NAME , HEADER.DOC_SEQ_ID , HEADER.DOC_SEQ_NAME , HEADER.DOC_SEQ_VALUE , HEADER.TRX_DUE_DATE , HEADER.TRX_TYPE_DESCRIPTION , TRXLINES.MERCHANT_PARTY_NAME , TRXLINES.MERCHANT_PARTY_DOCUMENT_NUMBER , TRXLINES.MERCHANT_PARTY_REFERENCE , TRXLINES.MERCHANT_PARTY_TAXPAYER_ID , TRXLINES.MERCHANT_PARTY_TAX_REG_NUMBER , TRXLINES.PAYING_PARTY_ID , TRXLINES.OWN_HQ_PARTY_ID , TRXLINES.TRADING_HQ_PARTY_ID , TRXLINES.POI_PARTY_ID , TRXLINES.POD_PARTY_ID , TRXLINES.TITLE_TRANSFER_PARTY_ID , TRXLINES.PAYING_PARTY_SITE_ID , TRXLINES.OWN_HQ_PARTY_SITE_ID , TRXLINES.TRADING_HQ_PARTY_SITE_ID , TRXLINES.POI_PARTY_SITE_ID , TRXLINES.POD_PARTY_SITE_ID , TRXLINES.TITLE_TRANSFER_PARTY_SITE_ID , TRXLINES.PAYING_LOCATION_ID , TRXLINES.OWN_HQ_LOCATION_ID , TRXLINES.TRADING_HQ_LOCATION_ID , TRXLINE S.POC_LOCATION_ID , TRXLINES.POI_LOCATION_ID , TRXLINES.POD_LOCATION_ID , TRXLINES.TITLE_TRANSFER_LOCATION_ID , TRXLINES.ASSESSABLE_VALUE , TRXLINES.ASSET_FLAG , TRXLINES.ASSET_NUMBER , TRXLINES.ASSET_ACCUM_DEPRECIATION , TRXLINES.ASSET_TYPE , TRXLINES.ASSET_COST , TRXLINES.NUMERIC1 , TRXLINES.NUMERIC2 , TRXLINES.NUMERIC3 , TRXLINES.NUMERIC4 , TRXLINES.NUMERIC5 , TRXLINES.NUMERIC6 , TRXLINES.NUMERIC7 , TRXLINES.NUMERIC8 , TRXLINES.NUMERIC9 , TRXLINES.NUMERIC10 , TRXLINES.CHAR1 , TRXLINES.CHAR2 , TRXLINES.CHAR3 , TRXLINES.CHAR4 , TRXLINES.CHAR5 , TRXLINES.CHAR6 , TRXLINES.CHAR7 , TRXLINES.CHAR8 , TRXLINES.CHAR9 , TRXLINES.CHAR10 , TRXLINES.DATE1 , TRXLINES.DATE2 , TRXLINES.DATE3 , TRXLINES.DATE4 , TRXLINES.DATE5 , TRXLINES.DATE6 , TRXLINES.DATE7 , TRXLINES.DATE8 , TRXLINES.DATE9 , TRXLINES.DATE10 , HEADER.FIRST_PTY_ORG_ID , HEADER.TAX_EVENT_CLASS_CODE , HEADER.TAX_EVENT_TYPE_CODE , HEADER.DOC_EVENT_STATUS , HEADER.RDNG_SHIP_TO_PTY_TX_PROF_ID , HEADER.RDNG_SHIP_FROM_PTY_TX_PROF_ID , HEADER.RDNG_BILL_TO_PTY_TX_PROF_ID , HEADER.RDNG_BILL_FROM_PTY_TX_PROF_ID , HEADER.RDNG_SHIP_TO_PTY_TX_P_ST_ID , HEADER.RDNG_SHIP_FROM_PTY_TX_P_ST_ID , HEADER.RDNG_BILL_TO_PTY_TX_P_ST_ID , HEADER.RDNG_BILL_FROM_PTY_TX_P_ST_ID , TRXLINES.SHIP_TO_PARTY_TAX_PROF_ID , TRXLINES.SHIP_FROM_PARTY_TAX_PROF_ID , TRXLINES.POA_PARTY_TAX_PROF_ID , TRXLINES.POO_PARTY_TAX_PROF_ID , TRXLINES.PAYING_PARTY_TAX_PROF_ID , TRXLINES.OWN_HQ_PARTY_TAX_PROF_ID , TRXLINES.TRADING_HQ_PARTY_TAX_PROF_ID , TRXLINES.POI_PARTY_TAX_PROF_ID , TRXLINES.POD_PARTY_TAX_PROF_ID , TRXLINES.BILL_TO_PARTY_TAX_PROF_ID , TRXLINES.BILL_FROM_PARTY_TAX_PROF_ID , TRXLINES.TITLE_TRANS_PARTY_TAX_PROF_ID , TRXLINES.SHIP_TO_SITE_TAX_PROF_ID , TRXLINES.SHIP_FROM_SITE_TAX_PROF_ID , TRXLINES.POA_SITE_TAX_PROF_ID , TRXLINES.POO_SITE_TAX_PROF_ID , TRXLINES.PAYING_SITE_TAX_PROF_ID , TRXLINES.OWN_HQ_SITE_TAX_PROF_ID , TRXLINES.TRADING_HQ_SITE_TAX_PROF_ID , TRXLINES.POI_SITE_TAX _PROF_ID , TRXLINES.POD_SITE_TAX_PROF_ID , TRXLINES.BILL_TO_SITE_TAX_PROF_ID , TRXLINES.BILL_FROM_SITE_TAX_PROF_ID , TRXLINES.TITLE_TRANS_SITE_TAX_PROF_ID , TRXLINES.MERCHANT_PARTY_TAX_PROF_ID , TO_NUMBER(NULL) HQ_ESTB_PARTY_TAX_PROF_ID, HEADER.DOCUMENT_SUB_TYPE , HEADER.SUPPLIER_TAX_INVOICE_NUMBER , HEADER.SUPPLIER_TAX_INVOICE_DATE , HEADER.SUPPLIER_EXCHANGE_RATE , HEADER.TAX_INVOICE_DATE , HEADER.TAX_INVOICE_NUMBER , TRXLINES.LINE_AMT_INCLUDES_TAX_FLAG , HEADER.QUOTE_FLAG , HEADER.DEFAULT_TAXATION_COUNTRY , TRXLINES.HISTORICAL_FLAG , HEADER.INTERNAL_ORG_LOCATION_ID , TRXLINES.CTRL_HDR_TX_APPL_FLAG , HEADER.CTRL_TOTAL_HDR_TX_AMT , TRXLINES.CTRL_TOTAL_LINE_TX_AMT , NULL DIST_LEVEL_ACTION , TO_NUMBER(NULL) ADJUSTED_DOC_TASK_DIST_ID , TO_NUMBER(NULL) APPLIED_FROM_TAX_DIST_ID , TO_NUMBER(NULL) TASK_ID , TO_NUMBER(NULL) AWARD_ID , TO_NUMBER(NULL) PROJECT_ID , NULL EXPENDITURE_TYPE , TO_NUMBER(NULL) EXPENDITURE_ORGANIZATION_ID , NULL EXPENDITURE_ITEM_DATE , TO_ NUMBER(NULL) TRX_LINE_DIST_AMT , TO_NUMBER(NULL) TRX_LINE_DIST_QUANTITY , TO_NUMBER(NULL) REF_DOC_CURR_CONV_RATE , TO_NUMBER(NULL) ITEM_DIST_NUMBER , TO_NUMBER(NULL) REF_DOC_DIST_ID , TO_NUMBER(NULL) TRX_LINE_DIST_TAX_AMT , TO_NUMBER(NULL) TRX_LINE_DIST_ID , TO_NUMBER(NULL) APPLIED_FROM_DIST_ID , TO_NUMBER(NULL) ADJUSTED_DOC_DIST_ID , TO_NUMBER(NULL) OVERRIDING_RECOVERY_RATE , TRXLINES.INPUT_TAX_CLASSIFICATION_CODE , TRXLINES.OUTPUT_TAX_CLASSIFICATION_CODE , HEADER.PORT_OF_ENTRY_CODE , HEADER.TAX_REPORTING_FLAG , NULL TAX_AMT_INCLUDED_FLAG , NULL COMPOUNDING_TAX_FLAG , HEADER.SHIP_THIRD_PTY_ACCT_ID , HEADER.BILL_THIRD_PTY_ACCT_ID , HEADER.SHIP_THIRD_PTY_ACCT_SITE_ID , HEADER.BILL_THIRD_PTY_ACCT_SITE_ID , HEADER.SHIP_TO_CUST_ACCT_SITE_USE_ID , HEADER.BILL_TO_CUST_ACCT_SITE_USE_ID , HEADER.PROVNL_TAX_DETERMINATION_DATE , TRXLINES.START_EXPENSE_DATE , HEADER.TRX_BATCH_ID , HEADER.APPLIED_TO_TRX_NUMBER , TRXLINES.SOURCE_APPLICATION_ID , TRXLINES.SOURCE_ENTITY_COD E , TRXLINES.SOURCE_EVENT_CLASS_CODE , TRXLINES.SOURCE_TRX_ID , TRXLINES.SOURCE_LINE_ID , TRXLINES.SOURCE_TRX_LEVEL_TYPE , TRXLINES.REF_DOC_TRX_LEVEL_TYPE , TRXLINES.APPLIED_TO_TRX_LEVEL_TYPE , TRXLINES.APPLIED_FROM_TRX_LEVEL_TYPE , TRXLINES.ADJUSTED_DOC_TRX_LEVEL_TYPE , HEADER.APPLICATION_DOC_STATUS , HEADER.HDR_TRX_USER_KEY1 , HEADER.HDR_TRX_USER_KEY2 , HEADER.HDR_TRX_USER_KEY3 , HEADER.HDR_TRX_USER_KEY4 , HEADER.HDR_TRX_USER_KEY5 , HEADER.HDR_TRX_USER_KEY6 , TRXLINES.LINE_TRX_USER_KEY1 , TRXLINES.LINE_TRX_USER_KEY2 , TRXLINES.LINE_TRX_USER_KEY3 , TRXLINES.LINE_TRX_USER_KEY4 , TRXLINES.LINE_TRX_USER_KEY5 , TRXLINES.LINE_TRX_USER_KEY6 , TRXLINES.SOURCE_TAX_LINE_ID , TRXLINES.EXEMPTION_CONTROL_FLAG , TO_NUMBER(NULL) REVERSED_APPLN_ID , NULL REVERSED_ENTITY_CODE , NULL REVERSED_EVNT_CLS_CODE , TO_NUMBER(NULL) REVERSED_TRX_ID , NULL REVERSED_TRX_LEVEL_TYPE , TO_NUMBER(NULL) REVERSED_TRX_LINE_ID , TRXLINES.EXEMPT_REASON_CODE , TRXLINES.INTERFACE_ENTITY_CODE , TRXLINES.INTERFACE_LINE_ID , TRXLINES.DEFAULTING_ATTRIBUTE1 , TRXLINES.DEFAULTING_ATTRIBUTE2 , TRXLINES.DEFAULTING_ATTRIBUTE3 , TRXLINES.DEFAULTING_ATTRIBUTE4 , TRXLINES.DEFAULTING_ATTRIBUTE5 , TRXLINES.DEFAULTING_ATTRIBUTE6 , TRXLINES.DEFAULTING_ATTRIBUTE7 , TRXLINES.DEFAULTING_ATTRIBUTE8 , TRXLINES.DEFAULTING_ATTRIBUTE9 , TRXLINES.DEFAULTING_ATTRIBUTE10 , TRXLINES.HISTORICAL_TAX_CODE_ID , NVL(TRXLINES.SHIP_THIRD_PTY_ACCT_ID, HEADER.SHIP_THIRD_PTY_ACCT_ID), NVL(TRXLINES.BILL_THIRD_PTY_ACCT_ID, HEADER.BILL_THIRD_PTY_ACCT_ID), NVL(TRXLINES.SHIP_THIRD_PTY_ACCT_SITE_ID, HEADER.SHIP_THIRD_PTY_ACCT_SITE_ID), NVL(TRXLINES.BILL_THIRD_PTY_ACCT_SITE_ID, HEADER.BILL_THIRD_PTY_ACCT_SITE_ID), NVL(TRXLINES.SHIP_TO_CUST_ACCT_SITE_USE_ID, HEADER.SHIP_TO_CUST_ACCT_SITE_USE_ID), NVL(TRXLINES.BILL_TO_CUST_ACCT_SITE_USE_ID, HEADER.BILL_TO_CUST_ACCT_SITE_USE_ID), NVL(TRXLINES.RECEIVABLES_TRX_TYPE_ID, HEADER.RECEIVABLES_TRX_TYPE_ID), TRXLINES.GLOBAL_ATTRIBUTE_CATEGORY, TRXLINES.GLOBA L_ATTRIBUTE1, TO_NUMBER(NULL) TOTAL_INC_TAX_AMT , TRXLINES.USER_UPD_DET_FACTORS_FLAG, DECODE(TRXLINES.LINE_LEVEL_ACTION, 'CREATE', 'I', 'CREATE_TAX_ONLY', 'I', 'APPLY_FROM', 'I', 'INTERCOMPANY_CREATE', 'I', 'UNAPPLY_FROM', 'U', 'LINE_INFO_TAX_ONLY', 'I', 'CREATE_WITH_TAX', 'I', 'ALLOCATE_TAX_ONLY_ADJUSTMENT', 'I', 'COPY_AND_CREATE', 'I', 'RECORD_WITH_NO_TAX', 'I', 'NO_CHANGE', 'U', 'UPDATE', 'U', 'DISCARD', 'U', 'CANCEL', 'U', 'SYNCHRONIZE', 'U', 'DELETE', 'U') INSERT_UPDATE_FLAG, NULL TAX_PROCESSING_COMPLETED_FLAG, NULL TAX_CALCULATION_DONE_FLAG FROM ZX_TRANSACTION_LINES_GT TRXLINES, ZX_TRX_HEADERS_GT HEADER WHERE TRXLINES.APPLICATION_ID = HEADER.APPLICATION_ID AND TRXLINES.ENTITY_CODE = HEADER.ENTITY_CODE AND TRXLINES.EVENT_CLASS_CODE = HEADER.EVENT_CLASS_CODE AND TRXLINES.TRX_ID = HEADER.TRX_ID AND HEADER.EVENT_CLASS_CODE = :B3 AND HEADER.ENTITY_CODE = :B2 AND HEADER.APPLICATION_ID = :B1 AND NVL(HEADER.VALIDATION_CHECK_FLAG, 'Y') = 'Y' AND NOT EXISTS( SELECT 1 FROM ZX_ERRORS_GT ERR WHERE ERR.APPLICATION_ID = HEADER.APPLICATION_ID AND ERR.ENTITY_CODE = HEADER.ENTITY_CODE AND ERR.EVENT_CLASS_CODE = HEADER.EVENT_CLASS_CODE AND ERR.TRX_ID = HEADER.TRX_ID) ORDER BY HEADER.RELATED_DOC_APPLICATION_ID ASC NULLS FIRST , HEADER.LEGAL_ENTITY_ID ASC, HEADER.TRX_DATE ASC, HEADER.TRX_ID ASC, INSERT_UPDATE_FLAG DESC
7qwsx7rw0s3a5SELECT PROFILE_OPTION_VALUE FROM FND_PROFILE_VALUES_USER_V WHERE PROFILE_OPTION_ID = :B3 AND APPLICATION_ID = :B2 AND LEVEL_VALUE = :B1 AND PROFILE_OPTION_VALUE IS NOT NULL
7umy6juhzw766select /*+ connect_by_filtering index(sysauth$ i_sysauth1) */ privilege#, bitand(nvl(option$, 0), 8), grantee#, level from sysauth$ connect by grantee#=prior privilege# and privilege#>0 start with grantee#=:1 and privilege#>0
8mdz49zkajhw3 SELECT /*+ 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_FIRST_BUCKET_VALUE, SUM(GVTF.RBYTES_MIDDLE_BUCKETS_VALUE) RBYTES_MIDDLE_BUCKETS_VALUE, SUM(GVTF.RBYTES_LAST_BUCKET_VALUE) RBYTES_LAST_BU CKET_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_FIRST_BUCKET_VALUE, SUM(GVTF.TMP_ALLOC_MIDDLE_BUCKETS_VALUE) TMP_ALLOC_MIDDLE_BUCKETS_VALUE, SUM(GVTF.TMP_ALLOC_LAST_BUCKET_VALUE) TMP_A LLOC_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_BUCKET_RATIO) WREQS_FIRST_BUCKET_VALUE, SUM(DELTA_WRITE_REQUESTS * MIDDLE_BUCKETS_RATIO) WREQS_MIDDLE_BUCKETS_VALUE, SUM(DELTA_WRITE_REQUE STS * 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_BUCKETS_VALUE, SUM(DELTA_READ_MEM_BYTES * LAST_BUCKET_RATIO) CRBYTES_LAST_BUCKET_VALUE, SUM(PGA_ALLOCATED * LENGTH_SEG * FIRST_BUCKET_R ATIO) 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_S TART, 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 (:B7 - BUCKET_START_OFFSET) / LENGTH_SEG ELSE 1 END FIRST_BUCKET_RATIO, CASE WHEN BUCKET_END >= BUCKET_START + 2 THEN :B7 / 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 (:B7 - TM_BUCKET_START_OFFSET) / TM_LENGTH_SEG ELSE 1 END TM_FIRST_BUCKET_RATIO, CASE WHEN BUCKET_END >= TM_BUCKET_START + 2 THEN :B7 / 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 / :B7 ) BUCKET_START, MOD(START_SEG, :B7 ) BUCKET_START_OFFSET, TM_START_SEG, TRUNC(TM_START_SEG/:B7 ) TM_BUCKET_START, MOD(TM_START_SEG, :B7 ) TM_BUCKET_START_OFFSET, TRUNC(END_SEG/:B7 ) BUCKET_END, MOD(END_SEG, :B7 ) 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 (SELEC T 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, SAMPLE_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) SAMPLE_DATE, SAMPLE_TIME, (SAMPLE_TIME - CAST(:B6 AS TIMESTAMP)) REL_SAMPLE_TIME_INT, TRUNC((:B5 - :B6 ) * 3600 * 24) TIME_INTERVAL, :B6 AS BND_START_INTERVAL , :B5 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 ((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 >= :B9 AND INST_ID <= :B8 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) )
90n1att0nq1u7UPDATE AP_INVOICES_ALL AI SET AI.VALIDATION_REQUEST_ID = :B4 WHERE AI.VALIDATION_REQUEST_ID = :B3 AND AI.VALIDATION_WORKER_ID = :B2 AND AI.INVOICE_ID = :B1
98j69vs3ymzjvSELECT DECODE(:B2 , 'UTF8', FL.UTF8_DATE_LANGUAGE, 'AL32UTF8', FL.UTF8_DATE_LANGUAGE, FL.LOCAL_DATE_LANGUAGE ) DATA_RTN FROM FND_LANGUAGES FL WHERE FL.NLS_LANGUAGE = :B1 AND FL.INSTALLED_FLAG <>'D'
9k7gd9pn661pjSELECT PROFILE_OPTION_VALUE FROM FND_PROFILE_VALUES_RESP_V WHERE PROFILE_OPTION_ID = :B4 AND APPLICATION_ID = :B3 AND LEVEL_VALUE = :B2 AND LEVEL_VALUE_APPLICATION_ID = :B1 AND PROFILE_OPTION_VALUE IS NOT NULL
9k7t8q4kfcb7ybegin GL.apps_ddl.apps_ddl(:ddl_text); end;
9tqv6543vc09hbegin DKA_SAPWFAG_PKG.GET_AP_SEGMENT8_VALUE (:v1, :v2, :v3, :v4, :v5); end;
9v2t9naa94y3vSELECT TEXT FROM WF_RESOURCES WHERE TYPE = :B2 AND NAME = :B1 AND LANGUAGE = USERENV('LANG')
a2g5ca6utfkv7SELECT USER_ID FROM FND_USER WHERE USER_NAME = :B1
a4gss3ajbyfzrSELECT R.RESPONSIBILITY_NAME FROM FND_RESPONSIBILITY_VL R WHERE R.RESPONSIBILITY_ID = :B2 AND R.APPLICATION_ID = :B1
adj796q5rqv7mBEGIN AP_APPROVAL_PKG.WORKER_APPROVAL(:errbuf, :rc, :A0, :A1, :A2, :A3, :A4, :A5, :A6, :A7, :A8, :A9, :A10, :A11, :A12, :A13, :A14); END;
aj3d1mw1zaymgSELECT event_status_code FROM xla_events WHERE entity_id = :1 AND application_id =:2 AND event_status_code =:3 AND event_type_code IN (SELECT event_type_code FROM xla_event_types_b WHERE application_id =:4 AND entity_code =:5 )
amjk7qdaq37s0SELECT R.RESPONSIBILITY_KEY FROM FND_RESPONSIBILITY_VL R WHERE R.RESPONSIBILITY_ID = :B2 AND R.APPLICATION_ID = :B1
aqx0d1ra6a986BEGIN xla_balances_calc_pkg.massive_update_srs(:errbuf, :rc, :A0, :A1, :A2, :A3); END;
au7f6hpnhxpkxselect ts# from ts$ where dflmaxext =:1 and bitand(flags, 1024) =1024 and online$=1
aw7fu9a9bdyusSELECT * FROM PER_SECURITY_PROFILES WHERE SECURITY_PROFILE_ID = :B1
badzp9g6jzuz9SELECT AI.INVOICE_ID, AI.INVOICE_NUM FROM AP_INVOICES_ALL AI WHERE AI.WFAPPROVAL_STATUS <> 'NOT REQUIRED' AND AI.WFAPPROVAL_STATUS<>'WFAPPROVED' AND AI.SOURCE IN ('SCAN_XGS', 'ZCI') AND INSTR(AI.ATTRIBUTE1, '40')>0 AND AI.ORG_ID=:B1 AND NOT EXISTS (SELECT 1 FROM AP_HOLDS_ALL AHA WHERE HOLD_LOOKUP_CODE=:B2 AND AI.INVOICE_ID=AHA.INVOICE_ID ) AND EXISTS (SELECT 1 FROM DKA_STRANSCO_HEADERS DSH, DKA_STRANSCO_LINES DSL, GL_CODE_COMBINATIONS GCC, HR_ALL_ORGANIZATION_UNITS HOU WHERE AI.ACCTS_PAY_CODE_COMBINATION_ID = GCC.CODE_COMBINATION_ID AND DSL.PARAM2_VALUE = GCC.SEGMENT2 AND HOU.ORGANIZATION_ID = AI.ORG_ID AND DSL.PARAM1_VALUE = HOU.ATTRIBUTE10 AND DSH.SET_ID = DSL.SET_ID AND DSH.SET_NAME = 'CENTRE_SERVICE_PARTAGE' AND DSL.START_DATE <= TRUNC (SYSDATE) AND NVL (DSL.END_DATE, TRUNC (SYSDATE)) >= TRUNC (SYSDATE) )
bb4y6zxs3j061UPDATE AP_HOLDS_ALL AHA SET AHA.VALIDATION_REQUEST_ID = NULL WHERE AHA.VALIDATION_REQUEST_ID = :B1 OR (AHA.VALIDATION_REQUEST_ID IN (SELECT FCR.REQUEST_ID FROM FND_CONCURRENT_REQUESTS FCR WHERE FCR.PARENT_REQUEST_ID = :B1 ))
bkaaqaa5aj3gfSELECT MESSAGE_TEXT, MESSAGE_NUMBER, TYPE, FND_LOG_SEVERITY, CATEGORY, SEVERITY FROM FND_NEW_MESSAGES M, FND_APPLICATION A WHERE :B3 = M.MESSAGE_NAME AND :B2 = M.LANGUAGE_CODE AND :B1 = A.APPLICATION_SHORT_NAME AND M.APPLICATION_ID = A.APPLICATION_ID
bn7jfdsf4zh36DELETE FROM ZX_JURISDICTIONS_GT
bwm53fxa4ckra INSERT INTO xla_ctrl_bal_interim_gt ( application_id , ledger_id , code_combination_id , party_type_code , party_id , party_site_id , period_name , effective_period_num , period_balance_dr , period_balance_cr , period_year ) SELECT /*+ use_nl(aeh) use_nl(ael) */ ael.application_id , ael.ledger_id , ael.code_combination_id , ael.party_type_code , ael.party_id , nvl(ael.party_site_id, -999) -- bug11887321 , gps.period_name , gps.effective_period_num , SUM (NVL (ael.accounted_dr, 0)) period_balance_dr , SUM (NVL (ael.accounted_cr, 0)) period_balance_cr , SUBSTR (gps.effective_period_num, 1, 4) period_year FROM xla_ae_headers aeh , xla_ae_lines ael , gl_period_statuses gps , xla_ledger_options xlo , xla_ledger_relationships_v xlr , xla_bal_concurrency_control bcc WHERE aeh.application_id = :1 AND aeh.accounting_entry_status_code = 'F' AND aeh.balance_type_code = 'A' AND ael.application_id = aeh.application_id AND ael.ae_header_id = aeh.ae_header_id AND ael.control_balance_flag = 'P' AND ael.ledger_id = aeh.ledger_id AND xlr.ledger_id = aeh.ledger_id AND xlo.application_id = aeh.application_id AND xlo.ledger_id = DECODE (xlr.ledger_category_code , 'ALC' , xlr.primary_ledger_id , xlr.ledger_id ) AND gps.ledger_id = xlo.ledger_id AND gps.application_id = 101 AND gps.closing_status IN ('O', 'C', 'P') AND gps.effective_period_num <= xlo.effective_period_num AND gps.adjustment_period_flag = 'N' AND gps.period_name = aeh.period_name AND bcc.request_id = :2 AND bcc.accounting_batch_id = aeh.accounting_batch_id AND bcc.application_id = aeh.application_id AND bcc.ledger_id = aeh.ledger_id AND aeh.accounting_batch_id = :3 GROUP BY ael.application_id , ael.ledger_id , ael.code_combination_id , ael.party_type_code , ael.party_id , ael.party_site_id , gps.period_name , gps.effective_period_num
bwzqpznjgy3vu SELECT /*+ leading(evt) use_nl(ent) index(evt, XLA_EVENTS_N3) */ -- Bug 5529420 reverted bug6369888 modified hint bug9192859 DISTINCT evt.entity_id FROM xla_events evt , xla_transaction_entities ent , xla_event_types_b xet , xla_event_class_attrs eca , xla_evt_class_orders_gt xpo WHERE ent.application_id = :1 AND ent.ledger_id = :2 AND evt.application_id = :3 AND evt.entity_id = ent.entity_id AND xet.application_id = evt.application_id AND xet.event_type_code = evt.event_type_code AND eca.application_id = xet.application_id AND eca.entity_code = xet.entity_code AND eca.event_class_code = xet.event_class_code AND eca.event_class_group_code = NVL(:4, eca.e vent_class_group_code) AND evt.event_type_code NOT IN ('FULL_MERGE', 'PARTIAL_MERGE') AND evt.process_status_code IN ('I', 'E', 'R', DECODE(:5, 'N', 'D', 'E') , DECODE(:6, 'N', 'U', 'E') ) AND evt.event_status_code IN ('U', DECODE(:7, 'F', 'N', 'U')) AND evt.on_hold_flag = 'N' AND evt.event_date <= :8 AND ent.entity_code <> :9 AND NVL(evt.budgetary_control_flag, 'N') = 'N' AND xet.event_class_code = xpo.event_class_code AND xpo.processing_order = :10
cav2j60adrvb9begin :con := "XLA_SECURITY_POLICY_PKG"."MO_POLICY"(:sn, :on); end;
cb21bacyh3c7dselect metadata from kopm$ where name='DB_FDO'
ctp9ravf5dxfrUPDATE AP_HOLDS_ALL AHA SET AHA.VALIDATION_REQUEST_ID = NULL WHERE AHA.VALIDATION_REQUEST_ID IN ( SELECT FCR.REQUEST_ID FROM FND_CONCURRENT_REQUESTS FCR WHERE FCR.CONCURRENT_PROGRAM_ID IN ( SELECT FCP.CONCURRENT_PROGRAM_ID FROM FND_CONCURRENT_PROGRAMS FCP WHERE FCP.APPLICATION_ID = 200 AND FCP.CONCURRENT_PROGRAM_NAME IN ('APPRVL', 'WORKERAPPRVL') ) AND FCR.PHASE_CODE = 'C')
d1vdbgj9yykhhDELETE FROM ZX_REC_NREC_DIST_GT WHERE REC_NREC_TAX_DIST_ID IN :B1
dawf7hvg1ym94select V.PROFILE_OPTION_VALUE from FND_PROFILE_OPTIONS O, FND_PROFILE_OPTION_VALUES V where O.PROFILE_OPTION_NAME = :1 and V.LEVEL_ID = :2 and O.START_DATE_ACTIVE <= SYSDATE and nvl(O.END_DATE_ACTIVE, SYSDATE) >= SYSDATE and O.PROFILE_OPTION_ID = V.PROFILE_OPTION_ID and O.APPLICATION_ID = V.APPLICATION_ID and V.LEVEL_VALUE = :3
ddudsfwj54f0gselect a.tablespace_name , round(a.alloc_size/1024/1024/1024, 0) , round(a.cur_size/1024/1024/1024, 0) , round((u.used+a.file_count*65536)/1024/1024/1024, 0) , round((a.alloc_size-(u.used+a.file_count*65536))/1024/1024/1024, 0) , round(((u.used+a.file_count*65536)*100)/a.alloc_size, 0) as Pct_used from dba_tablespaces t , (select t1.tablespace_name , nvl(sum(s.bytes), 0) used from dba_segments s , dba_tablespaces t1 where t1.tablespace_name=s.tablespace_name(+) group by t1.tablespace_name) u , (select d.tablespace_name , sum(greatest(d.bytes, nvl(d.maxbytes, 0))) alloc_size , sum(d.bytes) cur_size , count(*) file_count from dba_data_files d where AUTOEXTENSIBLE='YES' group by d.tablespace_name) a where t.tablespace_name=u.tablespace_name and t.tablespace_name=a.tablespace_name order by Pct_used asc
dfffkcnqfystw WITH MONITOR_DATA AS (SELECT 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, IS_FULL_SQLTEXT, 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+ C ONCURRENCY_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, 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_ENTRY_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 GV$SQL_MONITOR MO1 WHERE MO1.INST_ID 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.DBOP_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 DBA_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_EN TRY_OID IS NOT NULL THEN NVL((SELECT P.OWNER || '.' || P.OBJECT_NAME || DECODE(P.PROCEDURE_NAME, NULL, '', '.' || P.PROCEDURE_NAME) FROM DBA_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, IS_FULL_TEXT, 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, SUM_WRITE_REQS, SUM_WRITE_BYTES, SUM_IO_BYTES, SUM_IO_INTER_BYTES, DECODE(:B14 , 1, 'db_name', DB.DB_UNIQUE_NAME) DB_UNIQUE_NAME, DECODE(:B14 , 1, 'platform_name', DB.PLATFORM_NAME) PLATFORM_NAME, DECODE(:B14 , 1, 'host_name', INST.HOST_NAME) HOST_NAME, AGG_RM_INFO MAX_RM_INFO, MAX_CON_NAME, DEC ODE(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(SERVERS_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(SERVI CE_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_REFRESH_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, MAX(IS_FULL_SQLTEXT) IS_FULL_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) SUM_IO_BYTES, SUM(IO_INTER_BYTES) SUM_IO_INTER_BYTES, MAX(RM_INFO) AGG_RM_INFO, MAX(CON_NAME) MAX_CON_NAME, MAX(CON_ID) MAX_CON_ID FROM MONITOR_DATA) MD, (SELECT HOST_NAME FROM V$INSTANCE) INST, (SELECT DB_UNIQUE_NAME, PLATFORM_NAME FROM V$DATABASE) DB), ASH_DATA AS (SELECT AD0.INST_ID, AD0.SESSION_ID, AD0.PLAN_LINE_ID, AD0.PLSQL_OBJECT_ID, AD0.PLSQL_SUBPROGRAM_ID, AD0.ACTIVITY_BU CKET_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_SE RVER_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_START, 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_SUBPROGRAM_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_S QL_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 GVTF.SQL, GVTF.ACTIVITY_BUCKET_NUM) SQL_BUCKET_DISTINCT_SAMPLES FROM TABLE(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, A SH2.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.ACTIVITY_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) O VER(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_SLAVE, 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 != 'Cp u' 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$TIMER UNION ALL SELECT 1 C1, 1 C2 FROM V$TIMER) 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, ASH00 0.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, SAMP LE_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$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 Parent 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 DBA_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_IDL E_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 WH EN 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 ADH_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_SECONDS 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 THE N 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_SERIAL_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_ID, 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 */ 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 "instance_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 :B60 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_unique_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(SQL_VTEXT, 'Y', IS_FULL_TEXT) AS "is_full"), NVL2(SQL_VTEXT, SQL_VTEXT, SQLMON_TEXT)) END, XMLELEMENT( "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(:B65 , 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 (:B63 = 'Y') THEN XMLELEMENT( "adaptive_plan", XMLATTRIBUTES(:B64 AS "is_final"), :B63 ) ELSE NULL END, NVL((SELECT XMLFOREST( XMLAGG( XMLELEMENT( "param", XMLATTRIBUTES(E.NAME AS "name"), DECODE(:B14 , 1, 'XXXX', E.VALUE)) ORDER BY E.NAME) AS "optimizer_env") SQL_ENV FROM GV$SQL_OPTIMIZER_ENV E WHERE E.INST_ID = :B17 AND E.SQL_ID = :B9 AND E.CHILD_ADDRESS = HEXTORAW(:B66 ) AND (DECODE(:B14 , 1, 'YES', E.ISDEFAULT) = 'NO' OR E.ID IN (2, 12, 24, 35, 36, 37, 246, 256, 257, 274, 275, 289, 290))), (SELECT XMLELEMENT( "optimizer_env", XMLATTRIBUTES('sys' AS "type"), XMLAGG( XMLELEMENT( "param", XMLATTRIBUTES(E.NAME AS "name"), DECODE(:B14 , 1, 'XXXX', E.VALUE)) ORDER BY E.NAME)) SYS_ENV FROM V$SYS_OPTIMIZER_ENV E WHERE (DECODE(:B14 , 1, 'YES', E.ISDEFAULT) = 'NO' OR E.ID IN (2, 12, 24, 35, 36, 37, 24 6, 256, 257, 274, 275, 289, 290)))) ) 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 "name"), 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", XMLAT TRIBUTES('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('read_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)), CASE WHEN SUM_IO_INTER_BYTES IS NULL OR SUM_IO_BYTES = 0 OR SUM_IO_INTER_BYTES = SUM_IO_BYTES 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 :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 :B62 = 1 AND MAGG.QC_HAS_BINDS_XML = 'Y' THEN (SELECT XMLTYPE(BINDS_XML) FROM GV$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 :B61 = 1 AND MAGG.QC_HAS_OTHER_XML = 'Y' THEN (SELECT XMLTYPE(OTHER_XML) FROM GV$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 (SELECT V.*, CASE WHEN :B13 = 2 AND IS_FULL_TEXT = 'N' AND :B46 IS NULL AND :B60 IS NULL THEN (SELECT SQL_FULLTEXT FROM GV$SQL SQ WHERE SQ.INST_ID BETWEEN :B11 AND :B10 AND SQ.SQL_ID = :B9 AND ROWNUM = 1) ELSE NULL END SQL_VTEXT FROM MONITOR_AGG V) MAGG), CASE WHEN :B44 = 1 THEN (SELECT CASE WHEN AT.ACTIVITY_COUNT > 0 THEN XMLELEMENT( "activity_sampled", XMLATTRIBUTES( :B41 AS "ash_missing_seconds", TO_CHAR(AT.ACTIVITY_START, :B12 ) AS "first_sample_time", TO_CHAR(AT.ACT IVITY_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_NAME) 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, SUM(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 :B67 = 'Y' THEN AD1.DFO_MOST_ACTIVE_IID END AS "skew_iid", DECODE(AD1.DFO_MOST_ACTIVE_COUN T, 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, C ASE 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", DIST_INST_COUNT AS "inst_count", DIST_PX_GROUP_COUNT AS "server_group_count", DIST_PX_SET_COUNT AS "server_set_count"), CASE WHEN :B69 = 1 THEN PX_SESSIONS ELSE NULL END, CASE WHEN :B67 = 'Y' THEN DECODE(:B68 , 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_SER VER#)) 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"), 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), CASE WHEN MAX(IO_INTER_BYTES) IS NULL OR NVL(MAX(IO_BYTES), 0) = 0 OR MAX(IO_INTER_BYTES) = MAX(IO_BYTES) 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 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", SU M(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 :B61 = 1 AND PI.HAS_OTHER_XML = 'Y' THEN (SELECT XMLTYPE(OTHER_XML) FROM GV$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.SESSION_ 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(MO.BUF FER_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.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_WAIT_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(DECO DE(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 (:B69 = 1 OR :B68 = 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, MO.PX_SERVER#, ASH0.ACTIVITY_TYPE, ASH0.EVENT_NAME) PI WHERE (:B69 = 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#) P X_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_REQS, 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) OTHE R_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), CASE WHEN MAX(IO_INTER_BYTES) IS NULL OR NVL(MAX(IO_BYTES), 0) = 0 OR MAX(IO_INTER_BYTES) = MAX(IO_BYTES) 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)) E ND), 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, ASH.EVENT_NAME, ASH.ACTIVITY_COUNT, A SH.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 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.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) PX_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", XMLATTRIBUTES(PLI.OBJECT_TYPE AS "type"), XMLFOREST(PLI.OBJECT_OWNER AS "owner"), XMLFOREST(PLI.OBJECT_NAME AS "name")), NULL), XMLFOREST(PLI.PARTITION_START AS "partition_s tart", 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)), NU LL), 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(:B67 , '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_EXECUTED = 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( "s tat", 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(:B67 , '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 WHEN 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(:B67 , 'Y', MOD(TRUNC(MIN_MAX_MEM/10 00000), 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(:B67 , '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(:B67 , '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(:B67 , '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(:B67 , '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( "stat", XMLATTRIBUTES( 'max_write_bytes' AS "name", DECODE(:B67 , '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(:B67 , '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( "stat", XMLATTRIBUTES(3 AS "id"), STAT3_VALUE), NULL), NVL2(STAT4_VALUE, XMLELEMENT( "stat", XMLATTRIBUTES(4 AS "id"), STAT4_VALUE), NULL), NVL2(STAT5_VALUE, XMLELE MENT( "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.L INE_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_SET 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, PM.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_ACTIVITY_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_OT HER_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, MAX(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) OTH ER_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_BUC KET 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 LO.SQL_PLAN_LINE_ID PLAN_LINE_ID, DECODE(SUM(LO.TOTALWORK), 0, NULL, ROUND(SUM(LO.SOFAR)*100/SUM(LO.TOTALWORK))) PERCENT_COMPLETE, MAX(LO.TIME_REMAINING) TIME_REMAINING FROM GV$SESSION_LONGOPS LO, MONITOR_DATA MO WHERE (:B49 = 'Y' OR :B70 = 'DONE (ERROR)') AND LO.SQL_ID = :B9 AND LO.SQL_EXEC_START = :B8 AND LO.SQL_EXEC_ID = :B7 AND LO.INST_ID = MO.INST_ID AND LO.SID = MO.SID GROUP BY LO.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 OPERATION, 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) CARDINALI TY, 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)) MI N_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), NULL), 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, M IN(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, MAX(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 + O THERSTAT_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.INST_ID * 1000000 + A.SID ES, DECODE(A.PROCESS_NAME, 'ora', NULL, 1) PAR FROM GV$SQL_PLAN_MONITOR A) PLM, MONITOR_DATA MO WHERE PLM.SQL_ID = :B9 AND PLM.SQL_EXEC_START = :B8 AND PLM.SQL_EXEC_ID = :B7 AND 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_OPTION S) 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_COUNT=>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_I D)) 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 "refr esh_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 XML ELEMENT( "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", XMLATTRI BUTES('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)), 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)), 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 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) ) 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_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_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", XMLATTRIBUTES('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)), 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 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) ) 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$sql_plan', PLAN_TAG=>'plan', FILTER_PREDS=>:B35 , FORMAT=>'-PROJECTION +ALIAS +ADAPTIVE') ELSE NULL END XPLAN_XML FROM DUAL) V1) CONST_VIEW
dg7rw6zr1wdaabegin FND_FLEX_WORKFLOW_APIS.ASSIGN_TO_SEGMENT (:v1, :v2, :v3, :v4, :v5); end;
dm5qmv0xq5qbnselect obj# from obj$ o where name=:1 and owner#=:2
dndn8zwusbhy7INSERT INTO AP_TEMP_APPROVAL_GT(HOLD_LOOKUP_CODE, NUMBER_HOLDS_PLACED, NUMBER_HOLDS_RELEASED, ORG_ID) SELECT HOLD_LOOKUP_CODE, COUNT(1) - COUNT(RELEASE_LOOKUP_CODE), COUNT(RELEASE_LOOKUP_CODE), ORG_ID FROM AP_HOLDS_ALL AHA WHERE (AHA.VALIDATION_REQUEST_ID IN (SELECT FCR.REQUEST_ID FROM FND_CONCURRENT_REQUESTS FCR WHERE FCR.PARENT_REQUEST_ID = :B1 )) OR AHA.VALIDATION_REQUEST_ID = :B1 GROUP BY ORG_ID, HOLD_LOOKUP_CODE
dtt937fsj05m4SELECT AII.INVOICE_ID, AII.GL_DATE, AII.ATTRIBUTE9 ORIGINE, SUBSTR(AII.DOC_CATEGORY_CODE, 1, 4) SOCIETE, SUBSTR(AII.PAY_GROUP_LOOKUP_CODE, 8) TYPE_FOURNISSEUR, AII.VENDOR_ID, AII.STATUS, AII.GROUP_ID, AII.SOURCE, AII.ORG_ID ORGANIZATION, AII.INVOICE_NUM, AII.VENDOR_SITE_CODE, AII.VENDOR_SITE_ID, AII.INVOICE_DATE, AII.INVOICE_AMOUNT, AII.VENDOR_NUM, AII.ROWID RID FROM AP_INVOICES_INTERFACE AII WHERE AII.SOURCE = 'SCAN_XGS' AND (AII.STATUS != 'PROCESSED' OR AII.STATUS IS NULL) AND AII.ORG_ID = :B1 ORDER BY AII.ATTRIBUTE9, SUBSTR(AII.DOC_CATEGORY_CODE, 1, 4), SUBSTR(AII.PAY_GROUP_LOOKUP_CODE, 8)
f55uyfv6306ptSELECT LANGUAGE_CODE, NLS_LANGUAGE, NLS_TERRITORY, NLS_CODESET, DESCRIPTION, INSTALLED_FLAG FROM FND_LANGUAGES_VL WHERE NLS_LANGUAGE=:1
fhf8upax5cxszBEGIN sys.dbms_auto_report_internal.i_save_report (:rep_ref, :snap_id, :pr_class, :rep_id, :suc); END;
fjqwt3zgytjddSELECT PROPERTY_VALUE FROM DATABASE_PROPERTIES WHERE PROPERTY_NAME = 'DEFAULT_EDITION'
fnvxqb1ncbd56SELECT AII.* FROM AP_INVOICES_INTERFACE AII WHERE AII.SOURCE = 'SCAN_XGS' AND ATTRIBUTE13 IS NOT NULL AND EXISTS ( SELECT 'X' FROM AP_INVOICE_LINES_INTERFACE AILI WHERE AILI.INVOICE_ID = AII.INVOICE_ID AND AILI.LINE_TYPE_LOOKUP_CODE = 'ITEM' AND AILI.PO_HEADER_ID IS NOT NULL ) AND AII.ORG_ID = :B1
gmjbqkrskpkbtSELECT SET_OF_BOOKS_ID FROM HR_OPERATING_UNITS WHERE ORGANIZATION_ID = :B1
grwydz59pu6mcselect text from view$ where rowid=:1
gtvyydjxda4kfUPDATE AP_INVOICE_DISTRIBUTIONS_ALL ID1 SET (ID1.TOTAL_DIST_AMOUNT, ID1.TOTAL_DIST_BASE_AMOUNT) = (SELECT SUM(NVL(ID2.AMOUNT, 0)), SUM(NVL(ID2.BASE_AMOUNT, 0)) FROM AP_INVOICE_DISTRIBUTIONS_ALL ID2 WHERE ID2.INVOICE_DISTRIBUTION_ID = ID1.INVOICE_DISTRIBUTION_ID OR ID2.RELATED_ID = ID1.INVOICE_DISTRIBUTION_ID) WHERE ID1.INVOICE_ID = :B1 AND ID1.LINE_TYPE_LOOKUP_CODE NOT IN ('IPV', 'ERV', 'TIPV', 'TRV', 'TERV')

Back to SQL Statistics
Back to Top

Instance Activity Statistics

Back to Top

Key Instance Activity Stats

StatisticTotalper Secondper Trans
db block changes7,794,8662,172.39238.48
execute count5,832,7001,625.55178.45
gc cr block receive time17,6364.920.54
gc cr blocks received624,474174.0419.11
gc current block receive time2,7000.750.08
gc current blocks received119,63433.343.66
logons cumulative2,8050.780.09
opened cursors cumulative5,812,1991,619.83177.82
parse count (total)570,734159.0617.46
parse time elapsed12,2143.400.37
physical reads3,659,6401,019.93111.96
physical writes255,08971.097.80
redo size854,326,048238,096.8626,137.37
session cursor cache hits2,336,491651.1771.48
session logical reads178,503,60949,748.165,461.16
user calls367,414102.4011.24
user commits28,8358.040.88
user rollbacks3,8511.070.12
workarea executions - onepass120.000.00
workarea executions - optimal476,094132.6914.57


Back to Instance Activity Statistics
Back to Top

Instance Activity Stats

StatisticTotalper Secondper Trans
Batched IO (bound) vector count1,017,595283.6031.13
Batched IO (full) vector count1420.040.00
Batched IO (space) vector count00.000.00
Batched IO block miss count429,991119.8413.16
Batched IO buffer defrag count1,6530.460.05
Batched IO double miss count32,6109.091.00
Batched IO same unit count235,49065.637.20
Batched IO single block count1,007,184280.7030.81
Batched IO slow jump count320.010.00
Batched IO vector block count121,29633.803.71
Batched IO vector read count20,6165.750.63
Block Cleanout Optim referenced5420.150.02
CCursor + sql area evicted2,9160.810.09
CPU used by this session407,848113.6712.48
CPU used when call started325,00790.589.94
CR blocks created2,310,358643.8970.68
Cached Commit SCN referenced1190.030.00
Commit SCN cached23,9936.690.73
DBWR checkpoint buffers written182,85250.965.59
DBWR checkpoints2160.060.01
DBWR fusion writes24,6606.870.75
DBWR object drop buffers written1060.030.00
DBWR parallel query checkpoint buffers written1720.050.01
DBWR revisited being-written buffer90.000.00
DBWR tablespace checkpoint buffers written00.000.00
DBWR thread checkpoint buffers written166,81746.495.10
DBWR transaction table writes1,2390.350.04
DBWR undo block writes41,72811.631.28
DFO trees parallelized2200.060.01
DML statements parallelized00.000.00
Effective IO time21,120,2185,886.11646.15
HSC Heap Segment Block Changes1,605,593447.4749.12
HSC IDL Compressed Blocks00.000.00
Heap Segment Array Inserts14,4474.030.44
Heap Segment Array Updates1,6060.450.05
Heatmap BlkLevel Flushed400.010.00
Heatmap BlkLevel Flushed to BF400.010.00
Heatmap BlkLevel Ranges Flushed400.010.00
Heatmap Blklevel Flush Task Count10.000.00
KTFB alloc req2760.080.01
KTFB alloc space (block)118,685,69633,077.173,631.09
KTFB alloc time (ms)137,70838.384.21
KTFB apply req260.010.00
KTFB apply time (ms)13,8283.850.42
KTFB commit req00.000.00
KTFB commit time (ms)00.000.00
KTFB free req160.000.00
KTFB free space (block)5,6321.570.17
KTFB free time (ms)2,5940.720.08
LOB table id lookup cache misses00.000.00
Number of read IOs issued112,86431.453.45
PX local messages recv'd2,1380.600.07
PX local messages sent2,1380.600.07
PX remote messages recv'd3,6381.010.11
PX remote messages sent3,4720.970.11
Parallel operations downgraded 1 to 25 pct00.000.00
Parallel operations downgraded 25 to 50 pct00.000.00
Parallel operations downgraded 50 to 75 pct00.000.00
Parallel operations downgraded 75 to 99 pct00.000.00
Parallel operations downgraded to serial00.000.00
Parallel operations not downgraded2550.070.01
Requests to/from client313,14287.279.58
RowCR - row contention7,7052.150.24
RowCR attempts1,822,702507.9855.76
RowCR hits1,801,611502.1055.12
SMON posted for undo segment shrink30.000.00
SQL*Net roundtrips to/from client313,35587.339.59
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 cleanout2,206,848615.0467.52
background checkpoints completed20.000.00
background checkpoints started20.000.00
background timeouts39,79711.091.22
branch node splits110.000.00
buffer is not pinned count82,224,84522,915.702,515.60
buffer is pinned count505,164,966140,787.2215,455.09
bytes received via SQL*Net from client51,932,86514,473.461,588.84
bytes sent via SQL*Net to client125,198,03634,892.133,830.33
bytes via SQL*Net vector to client00.000.00
calls to get snapshot scn: kcmgss5,884,3841,639.95180.03
calls to kcmgas967,860269.7429.61
calls to kcmgcs804,095224.1024.60
cell IO uncompressed bytes936,460,288260,987.3028,650.20
cell blocks helped by commit cache00.000.00
cell blocks helped by minscn optimization113,10131.523.46
cell blocks processed by cache layer114,31431.863.50
cell blocks processed by data layer114,31431.863.50
cell blocks processed by index layer00.000.00
cell blocks processed by txn layer114,31431.863.50
cell commit cache queries00.000.00
cell flash cache read hits706,806196.9821.62
cell index scans00.000.00
cell logical write IO requests122,26534.073.74
cell num bytes in block IO during predicate offload00.000.00
cell num bytes in passthru during predicate offload00.000.00
cell num fast response sessions00.000.00
cell num fast response sessions continuing to smart scan00.000.00
cell num smartio automem buffer allocation attempts10.000.00
cell num smartio transient cell failures00.000.00
cell physical IO bytes eligible for predicate offload936,460,288260,987.3028,650.20
cell physical IO bytes eligible for smart IOs936,460,288260,987.3028,650.20
cell physical IO bytes saved by storage index00.000.00
cell physical IO bytes saved during optimized file creation00.000.00
cell physical IO bytes sent directly to DB node to balance CPU00.000.00
cell physical IO interconnect bytes43,974,702,08812,255,553.241,345,368.11
cell physical IO interconnect bytes returned by smart scan23,975,4326,681.85733.51
cell scans10.000.00
cell smart IO session cache hits00.000.00
cell smart IO session cache hwm00.000.00
cell smart IO session cache lookups00.000.00
cell smart IO session cache soft misses00.000.00
cell transactions found in commit cache00.000.00
chained rows processed by cell00.000.00
chained rows rejected by cell00.000.00
chained rows skipped by cell00.000.00
change write time2,9140.810.09
cleanout - number of ktugct calls1,184,021329.9836.22
cleanouts and rollbacks - consistent read gets1,079,313300.8033.02
cleanouts only - consistent read gets24,3856.800.75
cluster key scan block gets1,715,867478.2052.50
cluster key scans1,678,372467.7551.35
commit batch performed20.000.00
commit batch requested20.000.00
commit batch/immediate performed1230.030.00
commit batch/immediate requested1230.030.00
commit cleanout failures: block lost29,0028.080.89
commit cleanout failures: buffer being written2,8440.790.09
commit cleanout failures: callback failure4,8481.350.15
commit cleanout failures: cannot pin2010.060.01
commit cleanouts394,089109.8312.06
commit cleanouts successfully completed357,19499.5510.93
commit immediate performed1210.030.00
commit immediate requested1210.030.00
commit txn count during cleanout70,15619.552.15
consistent changes28,511,0987,945.92872.27
consistent gets170,027,33947,385.865,201.84
consistent gets direct2,909,198810.7889.00
consistent gets examination51,371,78314,317.091,571.68
consistent gets examination (fastpath)48,763,61813,590.201,491.88
consistent gets from cache167,118,12846,575.085,112.84
consistent gets pin115,746,33432,257.993,541.16
consistent gets pin (fastpath)112,494,33631,351.673,441.67
cursor authentications7020.200.02
cursor reload failures320.010.00
data blocks consistent reads - undo records applied25,732,9657,171.66787.28
db block changes7,794,8662,172.39238.48
db block gets8,474,9362,361.93259.28
db block gets direct1,1800.330.04
db block gets from cache8,473,7562,361.60259.25
db block gets from cache (fastpath)3,479,913969.84106.46
deferred (CURRENT) block cleanout applications112,99231.493.46
dirty buffers inspected8,5562.380.26
enqueue conversions6,8731.920.21
enqueue deadlocks150.000.00
enqueue releases768,123214.0723.50
enqueue requests773,579215.5923.67
enqueue timeouts5,4581.520.17
enqueue waits31,4538.770.96
error count cleared by cell00.000.00
exchange deadlocks3120.090.01
execute count5,832,7001,625.55178.45
failed probes on index block reclamation700.020.00
fastpath consistent get quota limit750,347209.1222.96
file io service time5,6001.560.17
frame signature mismatch00.000.00
free buffer inspected1,843,799513.8656.41
free buffer requested4,206,3211,172.28128.69
gc blocks compressed226,72863.196.94
gc blocks lost00.000.00
gc cleanout applied1,6030.450.05
gc cleanout saved3,3260.930.10
gc cr block flush time3,4750.970.11
gc cr block receive time17,6364.920.54
gc cr blocks flushed76,34621.282.34
gc cr blocks received624,474174.0419.11
gc cr blocks served567,280158.1017.36
gc current block flush time1130.030.00
gc current block pin time50.000.00
gc current block receive time2,7000.750.08
gc current blocks flushed1,9120.530.06
gc current blocks pinned1210.030.00
gc current blocks received119,63433.343.66
gc current blocks served127,70235.593.91
gc force cr read cr24,7056.890.76
gc force cr read current1730.050.01
gc kbytes saved790,499220.3124.18
gc kbytes sent4,769,3571,329.20145.91
gc local grants676,538188.5520.70
gc read time waited420.010.00
gc read wait failures00.000.00
gc read wait timeouts00.000.00
gc read waits1,0620.300.03
gc reader bypass grants2,5340.710.08
gc reader bypass waits1380.040.00
gc remote grants268,03674.708.20
gcs affinity lock failures21,2595.920.65
gcs anti-locks created44,56912.421.36
gcs messages sent1,860,856518.6156.93
gcs read-mostly lock failures224,63662.616.87
gcs read-mostly lock grants722,253201.2922.10
ges messages sent165,39946.105.06
global enqueue get time188,33452.495.76
global enqueue gets async23,2906.490.71
global enqueue gets sync3,910,1441,089.74119.63
global enqueue releases3,879,4521,081.19118.69
heap block compress246,86768.807.55
hot buffers moved to head of LRU911,218253.9527.88
immediate (CR) block cleanout applications1,103,704307.6033.77
immediate (CURRENT) block cleanout applications40,11711.181.23
index crx upgrade (positioned)11,6673.250.36
index crx upgrade (prefetch)220.010.00
index fast full scans (direct read)00.000.00
index fast full scans (full)00.000.00
index fast full scans (rowid ranges)00.000.00
index fetch by key9,046,0492,521.09276.76
index scans kdiixs112,276,8413,421.50375.60
java call heap collected bytes00.000.00
java call heap collected count00.000.00
java call heap gc count00.000.00
java call heap live object count00.000.00
java call heap live object count max00.000.00
java call heap live size00.000.00
java call heap live size max00.000.00
java call heap object count00.000.00
java call heap object count max00.000.00
java call heap total size00.000.00
java call heap total size max00.000.00
java call heap used size00.000.00
java call heap used size max00.000.00
java session heap live size00.000.00
java session heap live size max00.000.00
java session heap used size00.000.00
java session heap used size max00.000.00
leaf node 90-10 splits4510.130.01
leaf node splits3,2450.900.10
lob reads23,8046.630.73
lob writes24,3256.780.74
lob writes unaligned24,3226.780.74
logical read bytes from cache1,438,448,173,056400,889,087.0044,008,082.15
logons cumulative2,8050.780.09
max cf enq hold time00.000.00
messages received158,51844.184.85
messages sent158,51844.184.85
min active SCN optimization applied on CR8090.230.02
no buffer to keep pinned count1570.040.00
no work - consistent read gets110,880,85530,902.003,392.30
non-idle wait count7,017,4221,955.72214.69
opened cursors cumulative5,812,1991,619.83177.82
parse count (describe)620.020.00
parse count (failures)600.020.00
parse count (hard)5,3181.480.16
parse count (total)570,734159.0617.46
parse time cpu11,0993.090.34
parse time elapsed12,2143.400.37
physical read IO requests683,613190.5220.91
physical read bytes29,979,770,8808,355,228.36917,205.25
physical read partial requests00.000.00
physical read requests optimized706,861197.0021.63
physical read snap IO requests no data00.000.00
physical read total IO requests709,885197.8421.72
physical read total bytes31,706,420,7368,836,437.97970,030.62
physical read total bytes optimized30,364,622,8488,462,484.89928,979.47
physical read total multi block requests124,15634.603.80
physical reads3,659,6401,019.93111.96
physical reads cache748,606208.6322.90
physical reads cache prefetch239,38266.717.32
physical reads direct2,911,034811.2989.06
physical reads direct (lob)3,0480.850.09
physical reads direct temporary tablespace5540.150.02
physical reads prefetch warmup00.000.00
physical write IO requests177,76749.545.44
physical write bytes2,089,689,088582,387.0263,932.24
physical write requests optimized47,21113.161.44
physical write total IO requests287,92480.248.81
physical write total bytes4,393,588,7361,224,473.58134,418.06
physical write total bytes optimized242,780,67267,661.897,427.67
physical write total multi block requests4,6661.300.14
physical writes255,08971.097.80
physical writes direct2,1240.590.06
physical writes direct (lob)6810.190.02
physical writes direct temporary tablespace1,0420.290.03
physical writes from cache252,96570.507.74
physical writes non checkpoint168,13246.865.14
pinned buffers inspected1,2210.340.04
prefetch clients - default00.000.00
prefetch warmup blocks aged out before use00.000.00
prefetched blocks aged out before use6970.190.02
process last non-idle time3,6011.000.11
queries parallelized2200.060.01
recovery blocks read00.000.00
recursive aborts on index block reclamation160.000.00
recursive calls9,822,0972,737.37300.50
recursive cpu usage253,31670.607.75
redo KB read2,161,853602.5066.14
redo KB read (memory)861,179240.0126.35
redo KB read (memory) for transport861,179240.0126.35
redo KB read for transport861,265240.0326.35
redo blocks checksummed by FG (exclusive)300,22783.679.19
redo blocks written1,797,375500.9254.99
redo blocks written (group 0)1,797,202500.8754.98
redo blocks written (group 1)00.000.00
redo buffer allocation retries10.000.00
redo entries3,126,281871.2895.65
redo log space requests10.000.00
redo ordering marks30.000.00
redo size854,326,048238,096.8626,137.37
redo size for direct writes5,699,4001,588.40174.37
redo subscn max counts71,54119.942.19
redo synch long waits10.000.00
redo synch time720.020.00
redo synch time (usec)2,541,528708.3177.76
redo synch time overhead (usec)2,655,592,714740,101.8481,245.57
redo synch time overhead count ( 2ms)6,9631.940.21
redo synch time overhead count ( 8ms)3680.100.01
redo synch time overhead count ( 32ms)170.000.00
redo synch time overhead count (128ms)50.000.00
redo synch time overhead count (inf)1180.030.00
redo synch writes7,5122.090.23
redo wastage35,824,1209,984.021,096.01
redo write broadcast ack count7740.220.02
redo write broadcast ack time112,74931.423.45
redo write broadcast lgwr post count00.000.00
redo write finish time42,298,41711,788.381,294.08
redo write gather time7,859,8922,190.52240.47
redo write info find7,5002.090.23
redo write info find fail290.010.00
redo write schedule time8,323,8492,319.82254.66
redo write size count ( 4KB)81,14922.622.48
redo write size count ( 8KB)8,5162.370.26
redo write size count ( 16KB)6,2241.730.19
redo write size count ( 32KB)4,8151.340.15
redo write size count ( 128KB)3,8011.060.12
redo write size count ( 256KB)5550.150.02
redo write size count ( 512KB)2750.080.01
redo write size count (1024KB)1000.030.00
redo write size count (inf)750.020.00
redo write time4,2451.180.13
redo write time (usec)42,449,55111,830.501,298.71
redo write total time46,146,95212,860.951,411.83
redo write worker delay (usec)3,648,0971,016.71111.61
redo writes105,51029.413.23
redo writes (group 0)105,50929.403.23
redo writes (group 1)00.000.00
redo writes adaptive all105,51029.413.23
redo writes adaptive worker105,50929.403.23
remote Oradebug requests1000.030.00
rollback changes - undo records applied1,1960.330.04
rollbacks only - consistent read gets1,307,715364.4540.01
root node splits00.000.00
rows fetched via callback5,181,0521,443.94158.51
sage send block by cell00.000.00
securefile allocation bytes180,22450.235.51
securefile allocation chunks70.000.00
securefile bytes non-transformed191,58053.395.86
securefile direct read bytes00.000.00
securefile direct read ops00.000.00
securefile direct write bytes180,22450.235.51
securefile direct write ops70.000.00
securefile number of flushes00.000.00
securefile number of non-transformed flushes200.010.00
segment cfs allocations00.000.00
segment chunks allocation from disepnser70.000.00
segment dispenser allocations70.000.00
segment dispenser load empty00.000.00
segment dispenser load tasks00.000.00
segment prealloc bytes00.000.00
segment prealloc ops60.000.00
segment prealloc tasks00.000.00
segment prealloc time (ms)5950.170.02
segment prealloc ufs2cfs bytes00.000.00
segment total chunk allocation00.000.00
session connect time00.000.00
session cursor cache hits2,336,491651.1771.48
session logical reads178,503,60949,748.165,461.16
shared hash latch upgrades - no wait5,108,7701,423.79156.30
shared hash latch upgrades - wait63,74117.761.95
shared io pool buffer get failure00.000.00
shared io pool buffer get success70.000.00
sorts (disk)60.000.00
sorts (memory)777,607216.7223.79
sorts (rows)2,213,351616.8567.72
sql area evicted3,2440.900.10
sql area purged1650.050.01
summed dirty queue length33,2499.271.02
switch current to new buffer271,35575.638.30
table fetch by rowid285,906,36079,680.838,747.06
table fetch continued row162,86645.394.98
table scan blocks gotten39,191,03310,922.371,199.02
table scan disk non-IMC rows gotten1,298,348,315361,843.8839,721.85
table scan rows gotten1,298,385,768361,854.3239,722.99
table scans (direct read)130.000.00
table scans (long tables)200.010.00
table scans (rowid ranges)00.000.00
table scans (short tables)188,17052.445.76
total cf enq hold time2,6910.750.08
total number of cf enq holders1520.040.00
total number of times SMON posted100.000.00
transaction lock background gets00.000.00
transaction lock foreground requests00.000.00
transaction rollbacks1230.030.00
transaction tables consistent read rollbacks10.000.00
transaction tables consistent reads - undo records applied320.010.00
undo change vector size491,343,324136,935.1915,032.23
user calls367,414102.4011.24
user commits28,8358.040.88
user logons cumulative1,3670.380.04
user logouts cumulative1,3720.380.04
user rollbacks3,8511.070.12
workarea executions - onepass120.000.00
workarea executions - optimal476,094132.6914.57
write clones created in background30.000.00
write clones created in foreground6,6661.860.20


Back to Instance Activity Statistics
Back to Top

Instance Activity Stats - Absolute Values

StatisticBegin ValueEnd Value
logons current342340
opened cursors current3,8222,937
session cursor cache count244,604,536244,770,614
session pga memory5,776,487,4165,687,434,696
session pga memory max6,380,757,1446,245,550,024
session uga memory662,827,394,104663,001,289,720
session uga memory max53,923,295,761,69653,944,687,319,424
workarea memory allocated116,68171,851


Back to Instance Activity Statistics
Back to Top

Instance Activity Stats - Thread Activity

StatisticTotalper Hour
log switches (derived)22.01


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 Tm(ms)
Direct Reads21.3G31.816.089M4M0.06.001M0 
Buffer Cache Reads5.7G156.271.625M0M0.000M506.2K0.42
Others1.6G7.42.46M1.3G1.27.369M19.3K0.66
DBWR0M0.000M1.9G49.25.55M0 
Smart Scan894M1.62.249M0M0.000M0 
LGWR0M0.010M879M29.48.245M105.6K0.32
Direct Writes1M0.000M7M0.08.002M18.00
TOTAL:29.5G197.148.422M4.1G80.151.167M631.1K0.41


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
Data File27.9G190.007.961M1.9G49.35.552M0.070.58
Log File1.2G0.36.354M878M29.47.245M3.2825.80
Archive Log0M0.000M1.2G0.35.354M  
Control File373M6.57.104M49M0.88.014M0.100.80
Temp File9M0.10.003M19M0.18.005M6.051.44
Other4M0.40.001M0M0.000M0.03 
TOTAL:29.5G197.438.423M4.1G80.241.169M0.070.83


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 Tm(ms)
Direct Reads 21.3G31.816.089M4M0.06.001M0 
Direct Reads (Data File) 21.3G31.806.088M4M0.06.001M0 
Direct Reads (Temp File) 4M0.01.001M0M0.000M0 
Buffer Cache Reads 5.7G156.081.623M0M0.000M493.7K0.41
Buffer Cache Reads (Data File) 5.7G155.991.621M0M0.000M493.4K0.41
Buffer Cache Reads (Temp File) 7M0.09.002M0M0.000M3146.68
Others 1.6G7.01.458M1.3G1.27.369M16.3K0.49
Others (Archive Log) 0M0.000M1.2G0.35.354M0 
Others (Log File) 1.2G0.36.354M0M0.000M130.62
Others (Control File) 373M6.56.104M48M0.87.013M15.9K0.49
Others (Temp File) 0M0.000M4M0.04.001M0 
Others (Data File) 2M0.09.001M2M0.01.001M3350.45
DBWR 0M0.000M1.9G49.25.55M0 
DBWR (Data File) 0M0.000M1.9G49.13.547M0 
DBWR (Temp File) 0M0.000M11M0.13.003M0 
Smart Scan 894M1.62.249M0M0.000M0 
Smart Scan (Data File) 894M1.62.249M0M0.000M0 
LGWR 0M0.010M879M29.48.245M282.68
LGWR (Log File) 0M0.000M878M29.47.245M85.75
LGWR (Control File) 0M0.010M1M0.010M201.45
Direct Writes 1M0.000M7M0.08.002M18.00
Direct Writes (Temp File) 0M0.000M5M0.01.001M0 
Direct Writes (Data File) 1M0.000M2M0.07.001M18.00
TOTAL: 29.5G196.538.42M4.1G80.151.167M510K0.41


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)
APPS_TS_TX_DATA 264,925740.361.33720.350.00 94,03426126.61561,8660.29
APPS_TS_TX_IDX 252,184700.381.00700.380.00 71,90420112.597,0420.25
SYSTEM 123,240340.6323.3720.510.00 1,20104.484270.21
APPS_TS_SEED 25,20070.351.8870.340.00 4101.465211.54
SYSAUX 7,57020.321.0220.320.00 78202.8910.00
APPS_UNDOTS2 9401.701.0002.020.00 5,873280.477,2570.02
APPS_DKASPE_DATA 65800.521.0000.500.00 1,889181.4510.00
APPS_DKASPE_IDX 65800.351.0000.350.00 562082.4900.00
APPS_TS_MEDIA 73801.041.6701.290.00 30406.6400.00
APPS_TS_QUEUES 67400.371.0000.390.00 603.3300.00
TEMP2 21708.433.05010.23  384046.0200.00
APPS_TS_INTERFACE 25400.751.0000.750.00 24401.2300.00
TEMP1 13402.464.5202.45  267036.2500.00
APPS_TS_ARCHIVE 9201.961.0001.960.00 203012.02170.00
APPS_UNDOTS1 8701.611.0001.490.00 2002.0010,9050.22
APPS_TS_SUMMARY 10200.591.0000.590.00 402.5000.00
XXSOFTAD 2600.771.0000.770.00 205.0000.00
CTXD 1900.531.0000.530.00 704.2900.00
APPS_TS_NOLOGGING 1001.001.0001.000.00 205.0000.00
USERS 803.751.0003.750.00 205.0000.00
XXSOFTAX 601.671.0001.670.00 205.0000.00
APPS_TS_TOOLS 402.501.0002.500.00 200.0000.00
INTERIM 402.501.0002.500.00 200.0000.00
ODM 400.001.0000.000.00 205.0000.00
OLAP 405.001.0005.000.00 205.0000.00
OWAPUB 405.001.0005.000.00 200.0000.00
PORTAL 402.501.0002.500.00 205.0000.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)
APPS_DKASPE_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_dkaspe_data.437.960383015 62900.511.0000.490.00 1,865110.00
APPS_DKASPE_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_dkaspe_data.730.1015690429 2900.691.0000.690.00 24000.00
APPS_DKASPE_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_dkaspe_idx.436.960383015 65800.351.0000.350.00 562000.00
APPS_TS_ARCHIVE+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_archive.431.960383023 9201.961.0001.960.00 2030170.00
APPS_TS_INTERFACE+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_interface.442.960383007 8300.361.0000.360.00 21000.00
APPS_TS_INTERFACE+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_interface.551.960564613 7301.101.0001.100.00 85000.00
APPS_TS_INTERFACE+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_interface.552.960564571 4100.981.0000.980.00 63000.00
APPS_TS_INTERFACE+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_interface.553.960564551 5700.701.0000.700.00 75000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.474.980023775 1002.001.0002.000.00 2000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.484.960382927 200.001.0000.000.00 5000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.486.980023789 1001.001.0001.000.00 2000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.488.960565037 802.501.0003.750.00 2000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.523.976983825 1002.001.0002.000.00 2000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.524.976983833 1002.001.0002.000.00 2000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.550.960565011 802.501.0002.500.00 2000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.601.987356171 1002.001.0003.000.00 2000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.602.987356175 1003.001.0002.000.00 3000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.652.996258887 1201.671.0001.670.00 2000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.653.996258891 1201.671.0001.670.00 2000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.654.996258893 1201.671.0001.670.00 2000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.655.996258895 1201.671.0001.670.00 2000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.656.996258897 1201.671.0001.670.00 2000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.681.1009965069 1201.671.0000.830.00 2000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.712.1015497591 2400.831.0000.830.00 16000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.713.1015497595 2001.001.0001.000.00 11000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.714.1015497623 1901.051.0001.050.00 9000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.715.1015497623 2001.001.0001.000.00 10000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.716.1015497625 1801.111.0001.670.00 11000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.727.1015516063 2200.912.5000.910.00 4000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.728.1015516065 2400.832.5000.830.00 5000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.729.1015516067 1901.052.5802.220.00 7000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.731.1017753407 3100.651.0000.650.00 18000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.732.1017753465 3000.671.0000.670.00 27000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.733.1017753469 2400.831.0000.830.00 14000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.734.1017753471 1600.631.0001.250.00 7000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.735.1017753567 2500.801.0000.800.00 18000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.736.1017753569 2700.741.0001.110.00 17000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.737.1017753573 2400.831.0000.830.00 16000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.775.1031052115 1200.833.0000.000.00 2000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.776.1031052119 1200.832.7502.000.00 5000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.777.1031052123 1300.773.0802.500.00 4000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.778.1031052179 1401.433.1400.000.00 4000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.779.1031052181 1300.773.0802.500.00 2000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.780.1031052189 2400.422.0000.630.00 4000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.828.1045305179 1700.592.7600.000.00 6000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.829.1045305185 1800.002.5001.110.00 7000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.830.1045305187 1800.563.0001.670.00 7000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.831.1045305189 2100.483.0001.430.00 8000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.832.1045305309 2100.952.7101.110.00 6000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.833.1045305311 2000.502.6501.110.00 9000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.834.1045305313 1400.712.2901.250.00 8000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.835.1045305315 1200.832.5000.000.00 4000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media_04.dbf 802.501.0003.750.00 2000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media_05.dbf 803.751.0003.750.00 2000.00
APPS_TS_NOLOGGING+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_nologging.430.960383023 1001.001.0001.000.00 2000.00
APPS_TS_QUEUES+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_queues.429.960383023 64200.341.0000.340.00 2000.00
APPS_TS_QUEUES+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_queues.438.960383015 2200.451.0000.910.00 2000.00
APPS_TS_QUEUES+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_queues.487.980023631 1002.001.0002.000.00 2000.00
APPS_TS_SEED+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_seed.446.960383001 6,14920.321.8720.310.00 120430.23
APPS_TS_SEED+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_seed.447.960382997 6,33220.351.8820.340.00 1104312.09
APPS_TS_SEED+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_seed.450.960382997 3,28710.372.1510.350.00 201480.27
APPS_TS_SEED+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_seed.451.960382997 3,17110.392.1810.380.00 401480.61
APPS_TS_SEED+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_seed.452.960382983 6,26120.341.6020.340.00 1201391.01
APPS_TS_SUMMARY+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_summary.441.960383013 9200.431.0000.430.00 2000.00
APPS_TS_SUMMARY+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_summary.555.980023865 1002.001.0002.000.00 2000.00
APPS_TS_TOOLS+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tools.427.960383027 402.501.0002.500.00 2000.00
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.291.980023487 5,08810.381.5110.370.00 1,831126,3520.26
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.292.980023423 4,90610.411.5110.400.00 1,895115,1830.33
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.471.960382929 16,40150.281.1940.270.00 1,649018,1260.33
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.472.960382929 21,18360.341.2660.330.00 1,934115,4790.35
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.473.960382929 20,34560.381.2560.360.00 2,011120,6090.37
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.483.960382927 20,25660.431.2560.420.00 1,975123,8590.27
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.511.974275387 4,74810.461.4810.440.00 1,780036,3690.26
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.514.974337939 4,51110.411.4710.400.00 1,791042,4970.26
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.519.974563897 3,49110.391.4510.360.00 1,719012,8280.39
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.520.974563923 3,45510.431.4110.390.00 1,524017,9480.34
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.544.980023499 5,19210.391.5210.390.00 1,978134,0070.26
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.545.980023509 5,25210.381.5310.360.00 1,928128,5460.25
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.546.980023521 5,42320.371.5110.360.00 1,952124,7780.24
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.629.990139523 9,44230.381.4230.380.00 4,072136,7890.25
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.630.990139527 9,52930.341.4030.340.00 3,970121,2150.29
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.631.990139531 9,53230.331.4030.320.00 4,046124,4210.26
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.642.990952319 9,40630.351.4130.340.00 4,088137,4300.26
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.643.990952321 10,04630.361.3830.360.00 3,956131,8120.25
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.644.990952323 10,17330.341.3830.340.00 3,900116,3650.35
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.645.990952325 7,60820.331.4720.320.00 2,707111,6280.40
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.679.1009964921 7,13420.341.3920.340.00 3,428110,2510.30
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.680.1009965045 6,00620.331.2620.330.00 3,655110,4540.22
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.720.1015515911 6,02620.381.2720.380.00 3,52919,2740.34
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.721.1015515913 6,10320.331.2620.320.00 3,55417,4270.33
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.722.1015515915 6,26520.341.2520.330.00 3,76515,9320.42
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.723.1015516019 6,13720.381.2620.380.00 3,63514,2560.56
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.724.1015516021 6,36920.351.2520.340.00 3,48513,4830.44
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.743.1021897451 5,42620.341.2710.330.00 2,70313,0160.77
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.744.1021897503 5,95420.331.2520.330.00 3,28012,6420.32
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.745.1021897507 5,84520.341.2520.330.00 3,25012,4530.46
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.746.1021897801 5,97320.331.2520.330.00 3,45112,4290.40
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.747.1021897803 7,40520.351.2020.350.00 3,36212,4630.65
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.748.1021897805 4,29510.331.2510.320.00 2,23111,5450.43
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.466.960382929 9,53830.401.0030.400.00 1,36309370.38
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.467.960382929 9,81030.381.0030.380.00 1,1850480.00
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.468.960382929 9,93430.391.0030.390.00 1,32404230.24
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.469.960382929 12,37330.391.0030.390.00 2,18711420.85
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.470.960382929 11,32830.391.0030.390.00 1,50801990.55
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.477.960382929 9,36730.381.0030.380.00 1,29801,7670.16
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.521.974563973 10,58030.381.0030.380.00 2,23811040.19
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.522.974563999 10,74930.381.0030.380.00 2,23717780.23
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.676.1004124905 8,08020.361.0020.360.00 93302640.04
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.677.1004124907 8,33020.381.0020.380.00 1,0510670.00
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.678.1004124909 8,20320.351.0020.360.00 1,012040.00
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.682.1009965087 18,14250.381.0050.380.00 5,29311150.35
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.717.1015515851 17,50050.381.0050.380.00 5,37511060.19
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.718.1015515855 16,37450.371.0050.380.00 5,14811230.16
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.719.1015515857 16,27550.391.0050.390.00 5,52521930.36
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.725.1015516037 15,97040.401.0040.400.00 5,17411,0050.19
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.726.1015516041 16,02140.381.0040.380.00 5,21311420.35
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.821.1043409067 6,04820.401.0020.400.00 3,3991820.24
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.822.1043409073 6,06820.391.0020.390.00 3,4071850.00
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.823.1043409075 6,19120.401.0020.400.00 3,2261770.13
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.824.1043409079 6,28120.391.0020.390.00 3,3741720.14
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.825.1043409203 6,19720.401.0020.400.00 3,46711060.66
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.826.1043409205 6,42320.371.0020.370.00 3,4681910.11
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.827.1043409207 6,40220.411.0020.410.00 3,49911120.54
APPS_UNDOTS1+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots1.417.960397065 601.671.0001.670.00 209890.25
APPS_UNDOTS1+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots1.475.960382929 200.001.0000.000.00 209,4090.21
APPS_UNDOTS1+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots1.513.974336045 802.501.0002.500.00 20400.00
APPS_UNDOTS1+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots1.516.974563253 802.501.0002.500.00 20110.91
APPS_UNDOTS1+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots1.518.974563383 802.501.0002.500.00 20120.00
APPS_UNDOTS1+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots1.683.1011263097 1201.671.0000.830.00 204390.36
APPS_UNDOTS1+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots1.684.1011263111 1200.831.0001.670.00 2000.00
APPS_UNDOTS1+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots1.685.1011263119 1200.831.0000.830.00 2050.00
APPS_UNDOTS1+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots1.686.1011263121 1201.671.0000.830.00 2000.00
APPS_UNDOTS1+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots1.692.1011370165 701.431.0001.430.00 2000.00
APPS_UNDOTS2+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots2.416.960397091 901.111.0002.220.00 1,20501,4250.01
APPS_UNDOTS2+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots2.512.974335999 1304.621.0004.620.00 44606880.00
APPS_UNDOTS2+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots2.515.974563197 1101.821.0001.820.00 29204870.10
APPS_UNDOTS2+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots2.517.974563355 902.221.0002.220.00 55007440.03
APPS_UNDOTS2+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots2.547.960397107 901.111.0001.110.00 86809630.03
APPS_UNDOTS2+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots2.687.1011370025 801.251.0001.250.00 27405470.00
APPS_UNDOTS2+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots2.688.1011370035 1002.001.0002.000.00 71503750.00
APPS_UNDOTS2+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots2.689.1011370037 801.251.0001.250.00 52209680.00
APPS_UNDOTS2+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots2.690.1011370039 900.001.0001.110.00 46104020.02
APPS_UNDOTS2+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots2.691.1011370085 800.001.0001.250.00 54006580.05
CTXD+DATA_C1P_PRD/DBOFINP1/DATAFILE/ctxd.428.960383025 1900.531.0000.530.00 7000.00
INTERIM+DATA_C1P_PRD/DBOFINP1/DATAFILE/interim.426.960383027 402.501.0002.500.00 2000.00
ODM+DATA_C1P_PRD/DBOFINP1/DATAFILE/odm.423.960383031 400.001.0000.000.00 2000.00
OLAP+DATA_C1P_PRD/DBOFINP1/DATAFILE/olap.422.960383031 405.001.0005.000.00 2000.00
OWAPUB+DATA_C1P_PRD/DBOFINP1/DATAFILE/owapub.419.960383031 405.001.0005.000.00 2000.00
PORTAL+DATA_C1P_PRD/DBOFINP1/DATAFILE/portal.421.960383031 402.501.0002.500.00 2000.00
SYSAUX+DATA_C1P_PRD/DBOFINP1/DATAFILE/sysaux.476.960382929 6,09620.311.0320.310.00 451010.00
SYSAUX+DATA_C1P_PRD/DBOFINP1/DATAFILE/sysaux.556.980023907 18700.271.0000.270.00 45000.00
SYSAUX+DATA_C1P_PRD/DBOFINP1/DATAFILE/sysaux.754.1022324819 22600.531.0000.530.00 52000.00
SYSAUX+DATA_C1P_PRD/DBOFINP1/DATAFILE/sysaux.764.1029335947 5001.001.0000.800.00 25000.00
SYSAUX+DATA_C1P_PRD/DBOFINP1/DATAFILE/sysaux.765.1029335951 4200.711.0700.730.00 33000.00
SYSAUX+DATA_C1P_PRD/DBOFINP1/DATAFILE/sysaux.787.1037794105 11300.351.0000.440.00 47000.00
SYSAUX+DATA_C1P_PRD/DBOFINP1/DATAFILE/sysaux.788.1037794107 6400.471.0900.480.00 45000.00
SYSAUX+DATA_C1P_PRD/DBOFINP1/DATAFILE/sysaux.789.1037794109 79200.301.0100.300.00 84000.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.432.960383023 15300.985.4100.980.00 16000.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.433.960383021 7,36420.6423.8000.410.00 47030.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.434.960383021 19500.566.0300.540.00 370120.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.435.960383021 17100.8210.2000.810.00 8020.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.439.960383015 18300.496.2600.500.00 10010.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.440.960383013 16700.546.9500.510.00 62010.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.443.960383003 89500.6617.7600.700.00 650210.48
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.444.960383003 79700.6117.9700.370.00 26060.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.445.960383001 1,19100.6520.2900.720.00 29020.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.448.960382997 1,29100.6819.2300.710.00 560110.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.449.960382997 2,43610.5721.0600.400.00 260120.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.453.960382983 8,54120.6223.3300.460.00 700190.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.454.960382981 8,40320.6323.7200.420.00 480161.25
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.455.960382981 8,42920.6423.6800.640.00 930550.36
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.456.960382981 8,13120.6323.5200.410.00 800650.15
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.457.960382981 8,20720.6223.6300.610.00 710310.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.458.960382967 7,91020.6323.8300.560.00 350250.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.459.960382963 8,46720.6223.5900.480.00 1040460.43
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.460.960382963 8,47320.6323.5800.690.00 1240490.20
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.461.960382963 8,33720.6223.9400.330.00 39050.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.462.960382963 8,35820.6323.8500.340.00 340130.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.464.960382929 8,35620.6223.8500.350.00 730130.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.478.960382929 8,39220.6223.7500.320.00 320120.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.482.960382929 8,39320.6323.7500.440.00 16070.00
TEMP1+DATA_C1P_PRD/DBOFINP1/TEMPFILE/temp1.411.960397377 5201.927.8102.00  9100 
TEMP1+DATA_C1P_PRD/DBOFINP1/TEMPFILE/temp1.412.960397377 00  0   1400 
TEMP1+DATA_C1P_PRD/DBOFINP1/TEMPFILE/temp1.413.960397377 3302.422.2402.50  5700 
TEMP1+DATA_C1P_PRD/DBOFINP1/TEMPFILE/temp1.414.960397377 00  0   500 
TEMP1+DATA_C1P_PRD/DBOFINP1/TEMPFILE/temp1.415.960397377 4903.062.5702.89  9600 
TEMP1+DATA_C1P_PRD/DBOFINP1/TEMPFILE/temp1.420.960397375 00  0   400 
TEMP2+DATA_C1P_PRD/DBOFINP1/TEMPFILE/temp2.405.960397429 103011.261.17012.53  13200 
TEMP2+DATA_C1P_PRD/DBOFINP1/TEMPFILE/temp2.409.960397427 11205.984.6507.63  20700 
TEMP2+DATA_C1P_PRD/DBOFINP1/TEMPFILE/temp2.481.960397427 200.009.500   4500 
USERS+DATA_C1P_PRD/DBOFINP1/DATAFILE/users.492.964882315 803.751.0003.750.00 2000.00
XXSOFTAD+DATA_C1P_PRD/DBOFINP1/DATAFILE/xxsoftad.425.960383029 2600.771.0000.770.00 2000.00
XXSOFTAX+DATA_C1P_PRD/DBOFINP1/DATAFILE/xxsoftax.424.960383031 601.671.0001.670.00 2000.00


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
D1,333,624100172,580,920748,556252,96608598,134


Back to Buffer Pool Statistics
Back to Top

Checkpoint Activity

MTTR WritesLog Size WritesLog Ckpt WritesOther Settings WritesAutotune Ckpt WritesThread Ckpt Writes
00166,810015,8640


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
B0012431238410000011890800358780100000 0
E005714928482771189080048277100000 0


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
D1,0880.101285.7224,035,70718748745.00
D2,1760.192563.9416,571,59615985124.00
D3,2640.293853.0012,603,97014516092.00
D4,3520.385132.4510,303,82913664454.00
D5,4400.486412.048,599,48313033412.00
D6,5280.587691.737,276,39712543533.00
D7,6160.678971.486,231,60812156696.00
D8,7040.771,0261.295,421,99911856934.00
D9,7920.861,1541.154,817,12511632977.00
D10,8800.961,2821.044,354,60811461728.00
D11,3281.001,3351.004,205,52811406530.00
D11,9681.061,4100.953,992,56111327678.00
D13,0561.151,5390.883,692,62111216624.00
D14,1441.251,6670.823,441,04411123476.00
D15,2321.341,7950.773,231,31711045824.00
D16,3201.441,9230.733,050,0291978701.00
D17,4081.542,0510.692,888,5381918908.00
D18,4961.632,1800.652,749,9781867606.00
D19,5841.732,3080.632,631,1801823621.00
D20,6721.822,4360.602,521,2171782906.00
D21,7601.922,5640.572,412,3081742582.00


Back to Advisory Statistics
Back to Top

PGA Aggr Summary

PGA Cache Hit %W/A MB ProcessedExtra W/A MB Read/Written
99.9967,02010


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)
B20,48015,8415,860.7144.120.75100.000.001,048,576
E20,48015,8755,730.770.410.01100.000.001,048,576


Back to Advisory Statistics
Back to Top

PGA Aggr Target Histogram

Low Optimal High OptimalTotal ExecsOptimal Execs1-Pass ExecsM-Pass Execs
2K4K449,040449,04000
64K128K4,7954,79500
128K256K34634240
256K512K817740
512K1024K312920
1M2M9,2589,25800
2M4M5,3105,30820
4M8M5,4235,42300
8M16M88688600
32M64M1100


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
2,5600.1380,469,681.9238,399,824.2968.00369,80446,969,633,876
5,1200.2580,469,681.9226,002,437.9576.00204,08642,070,978,903
10,2400.5080,469,681.9217,863,634.6882.00127,32438,855,043,869
15,3600.7580,469,681.921,130,247.4799.001832,243,078,394
20,4801.0080,469,681.92833,408.4899.00032,125,786,593
24,5761.2080,469,681.92739,692.0199.00032,088,755,833
28,6721.4080,469,681.92739,692.0199.00032,088,755,833
32,7681.6080,469,681.92739,692.0199.00032,088,755,833
36,8641.8080,469,681.92739,692.0199.00032,088,755,833
40,9602.0080,469,681.92739,692.0199.00032,088,755,833
61,4403.0080,469,681.92739,692.0199.00032,088,755,833
81,9204.0080,469,681.92739,692.0199.00032,088,755,833
122,8806.0080,469,681.92739,692.0199.00032,088,755,833
163,8408.0080,469,681.92739,692.0199.00032,088,755,833


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)
5,8240.7063515,155577,262,9920.56451,270,035726.602,267,473
6,6560.801,46328,415752,155,6910.73276,377,336445.002,205,634
7,4880.902,29440,313901,357,9910.88127,175,036204.771,073,038
7,6800.922,48642,689930,953,2360.9197,579,791157.121,703,499
7,7440.932,55043,281940,777,4250.9287,755,602141.301,912,840
7,8080.942,61443,873950,611,2000.9277,921,827125.462,122,121
7,8720.952,67844,465960,438,5200.9368,094,507109.642,331,236
7,9360.952,74245,057970,251,1760.9458,281,85193.842,540,042
8,0000.962,80645,626980,026,4900.9548,506,53778.102,748,043
8,0640.972,87046,691989,745,8790.9638,787,14862.452,955,146
8,1280.982,93447,823999,454,2080.9729,078,81946.823,162,150
8,1920.982,99849,6501,009,141,8840.9819,391,14331.223,368,428
8,2560.993,06250,3931,018,653,3630.999,879,66415.913,571,249
8,3201.003,12651,0001,027,911,9571.00621,0701.003,770,158
8,3841.013,19051,8031,027,914,7311.00618,2961.003,770,506
8,4481.023,25352,3141,027,921,7581.00611,2690.983,771,054
8,5121.023,31752,7931,027,923,9121.00609,1150.983,771,392
8,5761.033,38153,2751,027,928,7261.00604,3010.973,771,796
8,6401.043,44553,6331,027,935,5531.00597,4740.963,772,280
8,7041.053,50954,1601,027,945,0141.00588,0130.953,772,821
8,7681.053,57354,8851,027,945,7951.00587,2320.953,772,935
8,8321.063,63755,7991,027,946,4191.00586,6080.943,773,057
8,8961.073,70156,5631,027,947,0051.00586,0220.943,773,157
9,1521.103,95760,1371,027,949,1211.00583,9060.943,773,475
9,9841.204,78968,9131,027,955,2391.00577,7880.933,774,406
10,8161.305,62177,1931,027,959,8091.00573,2180.923,775,043
11,6481.406,45287,4451,027,963,5271.00569,5000.923,775,563
12,4801.507,284103,1271,027,967,5001.00565,5270.913,776,021
13,3121.608,116116,2411,027,971,9571.00561,0700.903,776,606
14,1441.708,948128,8521,027,976,4621.00556,5650.903,777,220
14,9761.809,780144,2811,027,984,4581.00548,5690.883,780,185
15,8081.9010,612151,2371,027,990,7601.00542,2670.873,782,327
16,6402.0011,444159,5221,027,995,6991.00537,3280.873,783,903


Back to Advisory Statistics
Back to Top

SGA Target Advisory

SGA Target Size (M)SGA Size FactorEst DB Time (s)Est Physical Reads
2,5600.1311,446,0584,205,528,005
5,1200.2511,446,0584,205,528,005
7,6800.38475,385,47325,317,699,143
10,2400.5021,484,12525,317,699,143
12,8000.6317,206,91413,276,431,359
15,3600.7515,234,3257,664,574,789
17,9200.8814,529,6295,711,107,031
20,4801.0014,009,8634,205,528,005
23,0401.1313,789,9083,624,744,588
25,6001.2513,597,9733,042,699,512
28,1601.3813,488,6962,771,442,955
30,7201.5013,407,4392,540,980,021
33,2801.6313,392,0282,540,980,021
35,8401.7513,379,4192,540,980,021
38,4001.8813,359,8052,540,980,021
40,9602.0013,359,8052,540,980,021


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)
641.000000
1282.000000
1923.000000
2564.000000
3205.000000
3846.000000
4487.000000
5128.000000
5769.000000
64010.000000
70411.000000
76812.000000
83213.000000
89614.000000
96015.000000
1,02416.000000
1,08817.000000
1,15218.000000
1,21619.000000
1,28020.000000


Back to Advisory Statistics
Back to Top

Java Pool Advisory

Java Pool Size(M)JP 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
640.20436428,1471.00621,0701.00438,377
1280.40436428,1471.00621,0701.00438,377
1920.60436428,1471.00621,0701.00438,377
2560.80436428,1471.00621,0701.00438,377
3201.00436428,1471.00621,0701.00438,377
3841.20436428,1471.00621,0701.00438,377
4481.40436428,1471.00621,0701.00438,377
5121.60436428,1471.00621,0701.00438,377
5761.80436428,1471.00621,0701.00438,377
6402.00436428,1471.00621,0701.00438,377
7042.20436428,1471.00621,0701.00438,377
7682.40436428,1471.00621,0701.00438,377
8322.60436428,1471.00621,0701.00438,377
8962.80436428,1471.00621,0701.00438,377


Back to Advisory Statistics
Back to Top

Wait Statistics

Back to Top

Buffer Wait Statistics

ClassWaitsTotal Wait Time (s)Avg Time (ms)
data block569,0081680
undo header10,11220
undo block8,03710
2nd level bmb3400
segment header502
extent map19400
1st level bmb5900


Back to Wait Statistics
Back to Top

Enqueue Activity

Enqueue Type (Request Reason)RequestsSucc GetsFailed GetsWaitsWt Time (s)Av Wt Time(ms)
TX-Transaction (row lock contention) 2,9962222,7596691,8132,709.58
TS-Temporary Segment 29,23929,239020,45150.26
CO-KTUCLO Master Slave enq (master slave det) 1,19301,1931,19332.59
TX-Transaction (index contention) 340340034024.91
RC-Result Cache: Enqueue (Result Cache: Contention) 187188064224.89
PS-PX Process Reservation 2,7142,71311,47221.04
UL-User-defined 2,5241,0221,5031,23711.18
RO-Multiple Object Reuse (fast object reuse) 1,3301,330039712.06
CF-Controlfile Transaction 7,3257,324111815.90
XR-Quiesce / Force Logging (database force logging) 1,1921,19201,19210.50
TQ-Queue table enqueue (DDL contention) 47247209005.49
RF-Data Guard Broker (Broker State Lock) 1,6791,67901,67900.27
KO-Multiple Object Checkpoint (fast object checkpoint) 2,1622,16201,03800.41
TM-DML 164,422164,396020801.13
DV-Diana Versioning 1,5961,596040200.36
HW-Segment High Water Mark 10,06510,063018100.48
FB-Format Block 286286018800.39
RF-Data Guard Broker (synch: DG Broker metadata) 8,3058,305012400.32
TT-Tablespace 6,6096,60809600.42
TO-Temp Object 10,58810,588011000.35
ZZ-Global Context Action (update hash tables) 25625606000.40
SQ-Sequence Cache 20420401700.47
DW-In memory Dispenser 660601.33
KM-Scheduler 1,6481,64801900.37
DL-Direct Loader Index Creation 808001900.32
PG-Global Parameter 72072001700.35
WF-AWR Flush 313101400.43
WT-AWR CDB-Wide Table Lock 292901000.50
JS-Job Scheduler (job run lock - synchronize) 202001900.21
TA-Instance Undo 12120600.33
TX-Transaction 30,98230,9650201.00
TD-KTF map table enqueue (KTF dump entries) 990900.11
US-Undo Segment 440300.33
TX-Transaction (allocate ITL entry) 330300.33
DR-Distributed Recovery 220200.50
WL-Being Written Redo Log 321101.00
PE-Parameter 220101.00
FH-Flush Stat 110101.00
JS-Job Scheduler (wdw op) 110101.00
KT-Scheduler Plan 110101.00
MW-MWIN Schedule 220200.00
CR-Reuse Block Range (block range reuse ckpt) 96960100.00
TK-Auto Task Serialization (Auto Task Serialization) 330100.00
WR-LNS archiving log 220100.00
RA-Real-Time ADDM Flood Control (RT ADDM flood control) 110100.00
IS-Instance State 320,999320,999000 
MR-Media Recovery 98,53698,536000 
JS-Job Scheduler 26,38926,389000 
JS-Job Scheduler (queue lock) 26,38926,389000 
DD-ASM Local Disk Group 4,8094,809000 
CU-Cursor 4,6464,647000 
SE-Session Migration 4,0574,057000 
JS-Job Scheduler (q mem clnup lck) 1,9461,946000 
AE-Edition Lock (lock) 1,9031,903000 
FP-File Object (global fob contention) 1,0841,084000 
PR-Process Startup 169169000 
PV-KSV slave startup (syncstart) 137137000 
JD-Job Queue Date 120120000 
IT-In-Mem Temp Table Meta Creation 8888000 
RF-Data Guard Broker (DG Broker Current File ID) 6060000 
TH-Threshold Chain (metric threshold evaluation) 6060000 
SJ-KTSJ Slave Task Cancel (Slave Task Cancel) 3030000 
AF-Advisor Framework (task serialization) 77000 
PD-Property Lock 44000 
PW-Buffer Cache PreWarm (flush prewarm buffers) 11000 
SH-Active Session History Flushing 11000 
TK-Auto Task Serialization (Auto Task Slave Lockout) 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
2739.4031,0261,798292880/28800/00/0/0/0/0/0


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
18-Nov 21:58898751,29952,8800/00/0/0/0/0/0
18-Nov 21:481,3922,2321,392162,8800/00/0/0/0/0/0
18-Nov 21:387,59211,2811,584252,8800/00/0/0/0/0/0
18-Nov 21:2829,26712,8351,798292,8800/00/0/0/0/0/0
18-Nov 21:182262,3091,194122,8800/00/0/0/0/0/0
18-Nov 21:088361,4941,59152,8800/00/0/0/0/0/0


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 latch10.00 01270.00
AQ Coord jobx_kwsbgsgn latch1200.00 00 
AQ Sharded master pool latch2380.00 00 
AQ Slave freSlvL_kwsbgsgn latch70.00 00 
AQ deq hash table latch10.00 00 
AQ process state object latch20.00 00 
ASM Keyed state latch3,0750.100.0000 
ASM allocation214,9020.00 00 
ASM db client latch4,8000.00 00 
ASM map headers11,9220.00 00 
ASM map load waiting list2,8920.00 00 
ASM map operation freelist21,1070.380.0000 
ASM map operation hash table7,134,3830.010.0000 
ASM network background latch201,8970.00 00 
ASM network state latch4,1510.00 00 
ASM remote client latch1010.00 00 
AWR Alerted Metric Element list51,7880.00 00 
Change Notification Hash table latch1,3440.00 00 
Consistent RBA105,5340.000.0000 
DML lock allocation5,173,3570.000.0000 
DMON Work Queues Latch1200.00 00 
Event Group Locks9,9520.00 00 
FAL Queue1590.00 00 
FIB s.o chain latch3,6840.00 00 
FOB s.o list latch201,9071.250.0000 
File State Object Pool Parent Latch10.00 00 
Hang Manager wait event statistics2340.00 02,6940.00
I/O Staticstics latch10.00 00 
ILM Stats Stripe Latch10.00 00 
ILM Stats main anchor latch3,4790.00 00 
ILM access tracking extent10.00 00 
ILM activity tracking latch10.00 00 
IM area sb latch10.00 00 
IM area scb latch10.00 00 
IM emb latch10.00 00 
IM seg hdr latch10.00 00 
IPC other latch310.00 00 
IPC stats buffer allocation latch10,5200.00 010,4230.03
In memory undo latch10.00 00 
JS Sh mem access190.00 00 
JS broadcast add buf latch1,0770.00 00 
JS broadcast drop buf latch1,0760.00 00 
JS broadcast kill buf latch10.00 00 
JS broadcast load blnc latch1120.00 00 
JS mem alloc latch480.00 00 
JS queue access latch490.00 00 
JS queue state obj latch52,6680.00 00 
JS slv state obj latch580.00 00 
KCNIBR - invalid block range tree10.00 00 
KFC FX Hash Latch10.00 00 
KFC Hash Latch10.00 00 
KFCL LE Freelist10.00 00 
KFK SGA Libload latch5,6880.00 00 
KFMD SGA28,9440.650.0100 
KGNFS-NFS:SHM structure10.00 00 
KGNFS-NFS:SVR LIST1,1970.00 00 
KJC message pool free list284,0191.240.00027,9780.22
KJC message pool pending avail list10.00 00 
KJCT flow control latch2,430,6260.140.0000 
KMG MMAN ready and startup request latch1,1960.00 00 
KSFS OFS ctx level parent latch10.00 00 
KSFS OFS req layer parent latch10.00 00 
KSFS OFS sess layer parent latch10.00 00 
KSFS id table parent latch10.00 00 
KSFS ksfs_node latch10.00 00 
KSFSD name cache parent latch10.00 00 
KSXR hang analysis phase 1 latch1,3280.00 020.00
KSXR hang analysis phase 2 latch5,5430.00 00 
KSXR large replies5160.00 00 
KTF sga latch280.00 01,2060.00
KTILM latch10.00 00 
KWQMN job cache list latch8400.00 00 
KWQS pqsubs latch2,5350.00 00 
KWQS pqueue ctx latch8450.361.0000 
KXDBIO latch1,4190.560.0000 
LGWR NS Write211,1440.00 00 
Locator state objects pool parent latch10.00 00 
Lsod array latch16,0030.00 00 
MMON per PDB bit map latch80.00 00 
MQL Tracking Latch0  0710.00
Memory Management Latch10.00 01,1960.00
Memory Queue10.00 00 
Memory Queue Message Subscriber #110.00 00 
Memory Queue Message Subscriber #210.00 00 
Memory Queue Message Subscriber #310.00 00 
Memory Queue Message Subscriber #410.00 00 
Memory Queue Subscriber10.00 00 
Message cache latch10.00 00 
MinActiveScn Latch1,2520.00 00 
Mutex10.00 00 
Mutex Stats10.00 00 
NSV message latch2390.00 00 
OS process6,9990.00 00 
OS process allocation10,8970.260.0000 
OS process: request allocation3,0750.200.0000 
PL/SQL warning settings168,5820.020.0000 
PX hash array latch10.00 00 
Parent latch for dependency tracking10.00 00 
Policy Hash Table Latch4760.00 00 
QMT10.00 00 
RSM process latch3600.00 00 
RTT parent context20.00 00 
Real-time descriptor latch391,9570.000.1800 
Report Request stats latch1360.00 00 
Report Request struct latch400.00 00 
Request holder compeltion list latch3390.00 00 
Reserved Space Latch80.00 00 
Result Cache: MB Latch1400.00 00 
Result Cache: RC Latch6,952,6880.200.0110 
Result Cache: SO Latch2,4990.240.0000 
Retry Ht elm latch10.00 00 
Retry bkt latch10.00 00 
SGA Blackbox latch70.00 00 
SGA IO buffer pool latch3880.00 03890.26
SGA Logging Bkt Latch10.00 00 
SGA Logging Log Latch118,3850.00 00 
SGA blob parent10.00 00 
SGA bucket locks10.00 00 
SGA heap locks10.00 00 
SGA pool locks10.00 00 
SQL memory manager latch10.00 01,1920.00
SQL memory manager workarea list latch481,7690.010.0200 
SR Stats Stripe Latch10.00 00 
SR Stats main anchor latch745,6580.040.0000 
Sched IM Job latch1020.00 00 
Sched InMem Job Cache640.00 00 
Shared B-Tree1,8560.00 00 
Streams Generic10.00 00 
Subscriber Ht elm latch10.00 00 
Testing10.00 00 
Token Manager10.00 00 
Txn Ht elm latch10.00 00 
Txn bkt latch10.00 00 
WCR: sync10.00 00 
Write State Object Pool Parent Latch10.00 00 
X$KSFQP68,4860.00 00 
XDB NFS Security Latch10.00 00 
XDB unused session pool10.00 00 
XDB used session pool10.00 00 
active checkpoint queue latch46,3333.490.0000 
active service list63,4880.040.3201,434,1440.00
alert log latch100.00 00 
archive destination22,0340.00 00 
archive process latch2230.00 00 
begin backup scn array1120.00 00 
buffer pool10.00 00 
business card5110.00 00 
cache buffer handles46,1160.020.0000 
cache buffers chains326,403,8111.060.22175,192,6201.21
cache buffers lru chain1,460,2870.090.0308,305,2511.50
cache table scan latch15,1430.00 015,1430.01
call allocation25,1720.310.1400 
cas latch10.00 00 
change notification client cache latch10.00 00 
channel handle pool latch3,4970.110.0000 
channel operations parent latch40,4110.110.02020.00
checkpoint queue latch2,227,8530.000.000302,7950.01
client/application info31,8900.00 00 
compile environment latch2,8240.00 00 
corrupted undo seg latch3,7110.00 00 
cp handoff latch10.00 00 
cp pool latch10.00 00 
cp server hash latch10.00 00 
cp sga latch1010.00 00 
cp srv type state latch3040.00 00 
cp srv type wait latch10.00 00 
cvmap freelist lock10.00 00 
database property service latch80.00 00 
deferred cleanup latch1010.00 00 
dml lock allocation2610.00 00 
done queue latch10.00 00 
dtp latch1,5390.710.0000 
dummy allocation5,6140.040.0000 
eighth spare latch - X parent10.00 00 
eleventh spare latch - children10.00 00 
enqueue freelist latch10.00 01,151,2980.00
enqueue hash chains2,045,8460.160.0002,8790.00
enqueues40.00 00 
error message lists1,2270.00 00 
fast space usage latch70.00 00 
fifteenth spare latch - children10.00 00 
file cache latch1,2740.160.0000 
first Audit Vault latch1,3670.070.0000 
flash file access latch10.00 00 
flashback copy10.00 00 
fourteenth spare latch - children10.00 00 
fourth Audit Vault latch10.00 00 
gc element6,141,0520.310.01063,9020.06
gc imc list860.00 00 
gcr global ctx50.00 00 
gcs affinity object freelist latch40.00 00 
gcs commit scn state10.00 00 
gcs opaque info freelist284,4450.010.0000 
gcs partitioned table hash8,975,2640.030.0001,034,5030.08
gcs pcm hashed value bucket hash10.00 00 
gcs remaster request queue5,9860.120.0000 
gcs remastering latch3,1110.060.5001120.89
gcs resource freelist313,2740.010.1300 
gcs resource hash6,233,9880.050.000330.00
gcs resource scan list750.00 00 
gcs resource validate list10.00 00 
gcs shadows freelist203,5720.000.0000 
ges cached resource lists1,331,2840.060.000231,4950.05
ges deadlock list17,7660.00 01240.00
ges domain table7,712,5870.000.0000 
ges enqueue table freelist7,802,5520.020.0000 
ges group table7,715,4790.000.0000 
ges process hash list1,474,4020.000.0000 
ges process parent latch15,805,7130.000.0002410.00
ges process table freelist3,0750.360.0000 
ges resource hash list11,809,3630.310.04039,1070.08
ges resource scan list7,5680.00 00 
ges resource table freelist264,6910.020.0000 
ges timeout list31,9950.010.0006430.00
ges value block free list4,8670.00 00 
global KZLD latch for auth type mem in SGA1,3610.00 00 
global ctx hash table latch19,8830.00 00 
global tx hash mapping10.00 00 
granule from data transfer cache10.00 00 
granule operation10.00 00 
hash table column usage latch5200.00 03,303,2930.03
hash table modification latch2900.340.0000 
heartbeat check10.00 01,6400.00
heartbeat structure management0  01,7940.00
imc buf hdl lat10.00 00 
imc hash lat10.00 00 
imc sj lat10.00 00 
imc srchsp lat10.00 00 
imc-txn-wrk-lat10.00 00 
in-memory area latch10.00 00 
in-memory columnar segment hash table latch10.00 00 
in-memory columnar ts extent map chunk latch10.00 00 
in-memory global pool latch10.00 00 
internal temp table object number allocation latch690.00 00 
interrupt manipulation7,7770.00 00 
intra txn parallel recovery10.00 00 
io pool granule list140.00 00 
io pool granule metadata list290.00 00 
job workq parent latch190.00 0180.00
job_queue_processes free list latch380.00 00 
job_queue_processes parameter latch100.00 00 
k2q global data latch2,3920.00 00 
k2q lock allocation10.00 00 
kcb DW scan objtemp hash table latch10.00 00 
kcbtsemkid latch20.00 00 
kcfis latch1120.00 00 
kcn buffer chains10.00 00 
kdlx hb parent latch10.00 00 
kgb parent10.00 00 
kgnfs mount latch10.00 00 
kjci objects freelist latch10.00 00 
kjci process context latch10.00 012,5200.00
kjoedcso state object freelist latch1010.00 00 
kjoeq omni enqueue hash bucket latch10.00 00 
kjoer owner hash bucket10.00 00 
kokc descriptor allocation latch1460.00 00 
krbmrosl520.00 00 
krso process latch1220.00 00 
ksbxic instance latch1,4570.00 00 
ksfv messages10.00 00 
ksi resource reuse count10.00 00 
ksim group membership cache1,6040.00 00 
ksim membership request latch0  02,3560.00
kss move lock2750.00 00 
ksuosstats global area2941.361.0001,3540.30
ksv allocation latch6500.00 00 
ksv class latch42,9780.00 00 
ksv msg queue latch4,3360.00 04,3350.00
ksxp shared latch3,0750.230.0000 
ksxp so latch3,0750.070.0000 
ksz_so allocation latch5,9130.630.0000 
ktfbn latch7690.00 00 
ktm global data780.00 00 
ktm prv jrnls10.00 00 
ktmpj HT ls10.00 00 
kwqbsn:qsga1300.00 00 
kwqi:kchunk latch1500.00 00 
kwslbmdl: metadata latch8060.00 00 
kwslbql: queue latch10.00 00 
kwsptQcachLt: queue cache latch10.00 00 
kwsptTrncTsksLt: trunc task latch10.00 00 
kwsptjobAdPtLt: AdPt list latch2590.00 00 
kxfxscanrate_latch10.00 00 
lgwr LWN SCN111,5020.160.0000 
list of block allocation23,5510.020.0000 
loader state object freelist7,7060.140.0000 
lob segment dispenser latch200.00 00 
lob segment hash table latch1900.00 00 
lob segment query latch10.00 00 
lock DBA buffer during media recovery10.00 00 
log write info0  0117,1820.78
log write slave phase10.00 00 
logical standby cache10.00 00 
logminer context allocation10.00 00 
logminer local10.00 00 
logminer work area10.00 00 
longop free list parent240.00 0210.00
managed standby latch1200.00 00 
mapped buffers lru chain10.00 00 
message bitmap latch10.00 00 
message pool operations parent latch13,7310.00 00 
messages947,3380.440.0000 
msg queue latch10.00 00 
multiblock read objects90,0140.300.0000 
name-service memory objects4,6180.00 00 
name-service namespace bucket24,6130.00 00 
name-service pending queue1,6200.00 00 
name-service request220.00 00 
name-service request queue37,2810.00 00 
ncodef allocation latch1010.00 00 
ninth spare latch - X parent10.00 00 
object queue header freelist320,2830.000.0000 
object queue header operation4,645,0820.000.0703,913,7140.00
object queue memory10.00 00 
object stats modification56,2310.020.0000 
parallel query alloc buffer10,0160.00 01,6350.00
parallel query stats1,9820.00 00 
parallel txn reco latch7,3680.00 00 
parameter table management50,1580.030.0000 
peshm10.00 00 
pesom_free_list10.00 00 
pesom_hash_node10.00 00 
pkey global statistics10.00 00 
post/wait queue574,2610.030.000482,6910.04
process allocation20,5730.110.1801,5360.00
process group creation3,0750.260.0000 
process pkey statistics list10.00 00 
process queue4,7550.00 00 
process queue reference127,4330.020.00012,6670.02
qmn state object latch20.00 00 
qmn task queue latch7530.00 00 
query server freelists4,2460.00 00 
query server process3,4720.00 040.00
queued dump request2750.00 00 
queuing load statistics10.00 00 
readredo stats and histogram105,5650.00 00 
recovery domain hash list10.00 00 
redo allocation462,6170.620.0003,122,8620.97
redo copy10.00 03,126,2070.01
redo transport task latch880.00 00 
redo writing486,5270.180.0000 
reid allocation latch2,8380.210.0000 
reservation so alloc latch40.00 00 
resmgr group change latch7,0920.00 00 
resmgr:active threads6,8130.00 030.00
resmgr:actses change group5,0960.00 00 
resmgr:actses change state1,1690.00 00 
resmgr:free threads list5,6210.200.0000 
resmgr:method mem alloc latch60.00 00 
resmgr:plan CPU method10.00 00 
resmgr:pq event array40.00 00 
resmgr:resource group CPU method10.00 00 
resmgr:schema config2370.00 00 
resmgr:session queuing10.00 00 
rm cas latch10.00 00 
row cache objects12,343,1581.560.0101,5923.14
rules engine aggregate statistics402.500.0000 
rules engine rule set statistics2600.770.0000 
rules engine rule statistics800.00 00 
second Audit Vault latch10.00 00 
segmented array pool3,6120.00 00 
sequence cache315,0450.210.0000 
session allocation66,7510.000.00061,3460.00
session idle bit793,2900.000.0000 
session queue latch10.00 00 
session state list latch10,6070.070.5700 
session statistics5,6440.00 00 
session switching1,6411.710.3600 
session timer1,2210.00 00 
seventh spare latch - X parent10.00 00 
sga hash table parent latch10.00 00 
shard latch10.00 00 
shared pool2,067,8560.180.0902,9390.37
shared pool sim alloc10.00 00 
shared pool simulator15,0570.020.0000 
sim partition latch10.00 00 
simulator hash latch10,131,6800.000.0000 
simulator lru latch10.00 010,060,9033.73
sixth spare latch - X parent10.00 00 
sort extent pool36,1430.170.0000 
space background state object latch20.00 00 
space background task latch1,2381.291.0002,3930.00
state object free list20.00 00 
statistics aggregation1400.00 00 
storage server table manipulation latch1,9120.00 00 
subscriber Ht bkt10.00 00 
tablespace key chain20.00 00 
temp lob duration state obj allocation2000.00 00 
temp undo so allocation1,3890.430.0000 
temporary table state object allocation1,4450.480.0000 
tenth spare latch - X parent10.00 00 
test excl. parent l010.00 00 
test excl. parent2 l010.00 00 
test excl. parent2 lmid cln10.00 00 
test shared parent2 lmid10.00 00 
thirteenth spare latch - children10.00 00 
threshold alerts latch2370.00 00 
transaction allocation2,632,7080.00 00 
twelfth spare latch - children10.00 00 
twenty-fifth spare latch - S par10.00 00 
twenty-first spare latch - S par10.00 00 
twenty-fourth spare latch - S par10.00 00 
twenty-second spare latch - S par10.00 00 
twenty-third spare latch - S par10.00 00 
undo global data6,287,6561.880.0000 
virtual circuit buffers10.00 00 
virtual circuit holder10.00 00 
virtual circuit queues10.00 00 


Back to Latch Statistics
Back to Top

Latch Sleep Breakdown

Latch NameGet RequestsMissesSleepsSpin Gets
cache buffers chains326,403,8113,475,864781,2632,760,496
row cache objects12,343,158193,0731,203191,894
undo global data6,287,656118,27611118,265
ges resource hash list11,809,36336,1381,44134,700
gc element6,141,05219,20126418,940
Result Cache: RC Latch6,952,68813,99212113,878
shared pool2,067,8563,7013403,369
KJC message pool free list284,0193,511163,495
gcs resource hash6,233,9883,316163,302
enqueue hash chains2,045,8463,18463,178
redo allocation462,6172,88722,885
FOB s.o list latch201,9072,52522,523
active checkpoint queue latch46,3331,61611,615
cache buffers lru chain1,460,2871,356421,315
ges cached resource lists1,331,2847422740
KFMD SGA28,9441892187
object queue header operation4,645,0821098103
call allocation25,172771166
channel operations parent latch40,41146145
SQL memory manager workarea list latch481,76941140
gcs resource freelist313,27439535
active service list63,48828920
session switching1,641281018
process allocation20,57322418
Real-time descriptor latch391,95717314
space background task latch1,23816160
session state list latch10,607743
ksuosstats global area294440
KWQS pqueue ctx latch845331
gcs remastering latch3,111211


Back to Latch Statistics
Back to Top

Latch Miss Sources

Latch NameWhereNoWait Misses SleepsWaiter Sleeps
FOB s.o list latchksfd_fobd020
KFMD SGAkfmdGetPriReidInfo022
KJC message pool free listkjcspfmbq: free vector of msg buffers0140
KJC message pool free listkjcsmpav: allocate a msg buffer0216
KWQS pqueue ctx latchkwqspqcbkf: updatepqs044
PC and Classifier lists for WLMNo latch010
Real-time descriptor latchkeomgAddNewEntry033
Result Cache: RC LatchResult Cache: Serialization12010469
Result Cache: RC LatchResult Cache: Serialization010943
SQL memory manager workarea list latchqesmmIRegisterWorkArea:2010
active checkpoint queue latchkcbbacq: scan active checkpoints011
active service listkswslogon: session logout01414
cache buffers chainskcbchg: cr pin change0369,412183,831
cache buffers chainskcbzwb0234,161153,557
cache buffers chainskcbchg: cr pin cleanout0128,970112,141
cache buffers chainskcbgtcr: fast path pin0114,06248,528
cache buffers chainskcbgtcr: slow path excl017,41830,271
cache buffers chainskcbgtcr: fast path exam04,555852
cache buffers chainskcbrls: pin release04,004171,607
cache buffers chainskclcls_301,59115,984
cache buffers chainskcbcge0986123,299
cache buffers chainskcbgcur: fast path excl0952467
cache buffers chainskcbzibmlt: multi-block read: nowait06240
cache buffers chainskcbrls: fast pin release05793,433
cache buffers chainskcllkopesc0550204
cache buffers chainskcbchg: change complete027334,569
cache buffers chainskcb_trim_hash_chain0221219
cache buffers chainskcbget: new pin0203112
cache buffers chainskcbzgb: scan from tail. nowait0980
cache buffers chainskcbgkcbcr089539
cache buffers chainskclbla08733
cache buffers chainskcl_fairness0760
cache buffers chainskcbgcur: slow path03392
cache buffers chainskcbzib: finish processing buffer0263,201
cache buffers chainskclwcrs0241,328
cache buffers chainskcbnlc01934
cache buffers chainskclcqchk0150
cache buffers chainskcbgtcr: retry after read01327
cache buffers chainskcbrls_109204
cache buffers chainskclexpandlock089
cache buffers chainskcbzibmlt: finish free bufs07118
cache buffers chainskcbgcur: fast path shr065
cache buffers chainskcbbic2050
cache buffers chainskcbget: fast path059
cache buffers chainskcbchg: aux pin0411
cache buffers chainskclrlstp0421
cache buffers chainskclrwrite_3040
cache buffers chainskcbAdoptBuffers_vhl030
cache buffers chainskclobj_2020
cache buffers chainskclwrt021
cache buffers chainskcbbic1012
cache buffers chainskcbbxsv019
cache buffers chainskcbchg: cur pin change01261
cache buffers chainskcbesc: escalate013
cache buffers chainskcbget: release excl011
cache buffers chainskcbget: upgrade latch011
cache buffers chainskcbnew: new latch again010
cache buffers chainskclcsr_2011
cache buffers chainskclgrantlk012
cache buffers chainskclpdcl010
cache buffers chainskclrqchk011
cache buffers chainskclwcrs_201120
cache buffers lru chainkcbzgws0360
cache buffers lru chainkcbzgb_2032
cache buffers lru chainkclmvreqbg027
cache buffers lru chainkcbgtcr:CR Scan:KCBRSKIP_1010
call allocationksuxds01111
channel operations parent latchksrsconsume()010
channel operations parent latchksrwait()012
enqueue hash chainsksqrcl023
enqueue hash chainsksqcmi: if lk mode not requested010
enqueue hash chainsksqcmi: if lk mode requested011
enqueue hash chainsksqexpandwait010
enqueue hash chainsksqgtl3012
gc elementkclbla01620
gc elementkclnfndnewm010251
gc elementkcl_fairness0480
gc elementkclnfndx04121
gc elementkclebs02633
gc elementkclfwrite102624
gc elementkclnfndnew02619
gc elementkclrwrite01836
gc elementkclrlstp0132
gc elementkclcqchk081
gc elementkclpdcl0722
gc elementkclcalz050
gc elementkclplz0510
gc elementkclantilock_1041
gc elementkclclose_1040
gc elementkclexpand_20431
gc elementkclfwrite2040
gc elementkclchkping020
gc elementkclrwrite_10211
gc elementkclclose_2010
gc elementkclhngcbk1_1010
gc elementkcllwr010
gc elementkclnfnds0197
gc elementkclpdc_21011
gc elementkclplz_1016
gcs remastering latchkjfcdrmrfg end step010
gcs resource freelistkjbrralc: reserve allocation055
gcs resource hashkjbrrcfwst080
gcs resource hashkjbrrcres_99020
gcs resource hashkclfwrite1011
gcs resource hashkclpdc011
gcs resource hashkclrwrite011
gcs resource hashkjbclose010
gcs resource hashkjbcrconvert012
gcs resource hashkjbopen010
ges cached resource listskjruch: cached obj cleanup020
ges resource hash listkjrmas1: lookup master node086440
ges resource hash listkjucvl: lock convert request0493726
ges resource hash listkjlrlr: remove lock from resource queue049510
ges resource hash listkjrref: find matched resource022121
ges resource hash listkjxpedmp: enqueue dump090
ges resource hash listkjcvscn: remove from scan queue020
ges resource hash listkjakcai: search for resp by resname0121
ges resource hash listkjtscn: try lock res with nowait010
ksuosstats global areaksugetosstat044
object queue header operationkclobj_5082
process allocationksufap: active procs030
process allocationksu_reserve010
redo allocationkcrfw_redo_gen: redo allocation 1020
row cache objectskqreqd: reget084718
row cache objectskqrpre: find obj0310955
row cache objectskqreqd034220
row cache objectskqrbip080
session state list latchkpseqd040
session switchingkskexeall01010
shared poolkghalo0313138
shared poolkghfrunp: alloc: wait0120
shared poolkghupr106118
shared poolkghfre0555
shared poolkghfrunp: clatch: nowait040
shared poolkgh_next_free020
shared poolkghalp0227
space background task latchktsj_grab_task01516
undo global dataktudba: KSLBEGIN01111


Back to Latch Statistics
Back to Top

Mutex Sleep Summary

Mutex TypeLocationSleepsWait Time (ms)
Library Cachekglpnal2 919,315578
Library Cachekglpndl1 958,040427
Cursor Pinkkslce [KKSCHLPIN2]7,8058,552
Library Cachekglpin1 47,464420
Cursor Pinkksfbc [KKSCHLFSP2]7,2518,523
Library Cachekglpnal1 905,606385
Library Cachekgllkdl1 852,647350
Library Cachekgllkc1 572,061663
Library Cachekglhdgn2 1061,284108
Library Cachekglget1 1703272
Library Cachekgllkal1 8064730
Library Cachekglhdgn1 624408
Library Cachekglget2 2309156
Cursor PinkksLockDelete [KKSCHLPIN6]144178
Library Cachekglobpn1 71962
Cursor Pinkksfbc [KKSCHLPIN1]89114
Library Cachekglhdgh1 647351
Cursor Pinkksxsccmp [KKSCHLPIN5]6786
Library Cachekgldtin1 423611
Cursor ParentkkscsAddChildNode [KKSPRTLOC34]300
Cursor StatkkocsStoreBindAwareStats [KKSSTALOC8]241
Library CachekglLock 121160
Library Cachekglml_kglMappedRef 13190
Library Cachekglllal3 11140
Library Cachekglobld1 75410
Library Cachekglllal1 10930
Cursor ParentkkscsPruneChild [KKSPRTLOC35]35
Library Cachekglini1 3220
Library CachekglGetHandleReference 12310
Library CachekglReleaseHandleReference 12410
Library Cachekglhbh1 6310


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
GLAPPS_TS_TX_DATA GL_CODE_COMBINATIONS TABLE510575105728,496,16015.96
APAPPS_TS_TX_DATA AP_HOLDS_ALL TABLE28053028053020,382,62411.42
APAPPS_TS_TX_DATA AP_INVOICES_ALL TABLE321363213615,917,3448.92
APAPPS_TS_INTERFACE AP_INVOICES_INTERFACE TABLE32245322455,442,7523.05
APPLSYSAPPS_TS_SEED FND_LOOKUP_VALUES_U1 INDEX4333914333914,092,5442.29


Back to Segment Statistics
Back to Top

Segments by Physical Reads

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Physical Reads%Total
SYSSYSTEM ICOL$ TABLE4642214642082,791,84976.29
APAPPS_TS_TX_DATA AP_HOLDS_ALL TABLE28053028053075,4012.06
APAPPS_TS_TX_DATA AP_INVOICES_ALL TABLE321363213668,3111.87
GLAPPS_TS_TX_DATA GL_CODE_COMBINATIONS TABLE510575105741,3441.13
APAPPS_TS_TX_IDX AP_INVOICE_DISTRIBUTIONS_N33 INDEX383945704490538,5961.05


Back to Segment Statistics
Back to Top

Segments by Physical Read Requests

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Phys Read Requests%Total
SYSSYSTEM ICOL$ TABLE464221464208111,79316.35
APAPPS_TS_TX_DATA AP_INVOICES_ALL TABLE321363213668,1599.97
GLAPPS_TS_TX_DATA GL_CODE_COMBINATIONS TABLE510575105740,8965.98
APAPPS_TS_TX_IDX AP_INVOICE_DISTRIBUTIONS_N33 INDEX383945704490538,5685.64
APAPPS_TS_TX_IDX AP_INVOICE_DISTRIBUTIONS_N32 INDEX383944704490137,6185.50


Back to Segment Statistics
Back to Top

Segments by UnOptimized Reads

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#UnOptimized Reads%Total
APAPPS_TS_TX_DATA AP_INVOICES_ALL TABLE3213632136168-0.72
APAPPS_TS_TX_DATA AP_INVOICE_LINES_ALL TABLE28032928032969-0.30
ZXAPPS_TS_TX_DATA ZX_LINES_DET_FACTORS TABLE29789729789735-0.15
APAPPS_TS_TX_DATA AP_INVOICE_DISTRIBUTIONS_ALL TABLE28046228046221-0.09
** MISSING **TEMP2 ** MISSING: -39858020/12452224** MISSING **UNDEFINED42551092761245222415-0.06


Back to Segment Statistics
Back to Top

Segments by Optimized Reads

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Optimized Reads%Total
SYSSYSTEM ICOL$ TABLE464221464208111,79315.82
APAPPS_TS_TX_DATA AP_INVOICES_ALL TABLE321363213667,9919.62
GLAPPS_TS_TX_DATA GL_CODE_COMBINATIONS TABLE510575105740,8905.78
APAPPS_TS_TX_IDX AP_INVOICE_DISTRIBUTIONS_N33 INDEX383945704490538,5705.46
APAPPS_TS_TX_IDX AP_INVOICE_DISTRIBUTIONS_N32 INDEX383944704490137,6225.32


Back to Segment Statistics
Back to Top

Segments by Direct Physical Reads

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Direct Reads%Total
SYSSYSTEM ICOL$ TABLE4642214642082,791,72895.90
APPLSYSAPPS_TS_MEDIA SYS_LOB0000057442C00004$$ LOB57448574486560.02


Back to Segment Statistics
Back to Top

Segments by Physical Writes

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Physical Writes%Total
APAPPS_TS_TX_DATA AP_INVOICE_DISTRIBUTIONS_ALL TABLE28046228046222,4238.79
ZXAPPS_TS_TX_DATA ZX_LINES_DET_FACTORS TABLE29789729789717,2636.77
ZXAPPS_TS_TX_DATA ZX_REC_NREC_DIST TABLE29796729796717,2466.76
ZXAPPS_TS_TX_DATA ZX_LINES TABLE29789629789614,2365.58
APAPPS_TS_TX_DATA AP_INVOICE_LINES_ALL TABLE28032928032913,2255.18


Back to Segment Statistics
Back to Top

Segments by Physical Write Requests

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Phys Write Requests%Total
APAPPS_TS_TX_DATA AP_INVOICE_DISTRIBUTIONS_ALL TABLE28046228046217,85110.04
ZXAPPS_TS_TX_DATA ZX_LINES_DET_FACTORS TABLE29789729789712,9507.28
ZXAPPS_TS_TX_DATA ZX_REC_NREC_DIST TABLE29796729796712,9127.26
ZXAPPS_TS_TX_DATA ZX_LINES TABLE29789629789610,9496.16
APAPPS_TS_TX_DATA AP_INVOICE_LINES_ALL TABLE28032928032910,1715.72


Back to Segment Statistics
Back to Top

Segments by Direct Physical Writes

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Direct Writes%Total
APPLSYSAPPS_TS_MEDIA SYS_LOB0000057442C00004$$ LOB574485744865630.89
SYSSYSAUX WRH$_ACTIVE_SESSION_HISTORYWRH$_ACTIVE_3823384899_26257TABLE PARTITION75080237508023331.55
** MISSING **TEMP2 ** MISSING: -39857289/30297856** MISSING **UNDEFINED425511000730297856130.61
** MISSING **TEMP2 ** MISSING: -39857290/30228480** MISSING **UNDEFINED42551100063022848060.28
** MISSING **TEMP2 ** MISSING: -39858020/12452224** MISSING **UNDEFINED42551092761245222440.19


Back to Segment Statistics
Back to Top

Segments by Table Scans

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Table Scans%Total
SYSSYSTEM ICOL$ TABLE4642214642081260.00
APAPPS_TS_TX_DATA AP_HOLDS_ALL TABLE280530280530525.00


Back to Segment Statistics
Back to Top

Segments by DB Blocks Changes

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#DB Block Changes% of Capture
APAPPS_TS_TX_DATA AP_INVOICES_ALL TABLE321363213611,442,94441.72
APAPPS_TS_TX_IDX AP_INVOICES_N17 INDEX20796670448567,450,83227.17
APAPPS_TS_TX_IDX AP_INVOICE_DISTRIBUTIONS_N32 INDEX38394470449012,540,8809.26
APAPPS_TS_TX_DATA AP_INVOICE_DISTRIBUTIONS_ALL TABLE2804622804621,007,0403.67
ZXAPPS_TS_TX_DATA ZX_LINES TABLE297896297896738,8322.69


Back to Segment Statistics
Back to Top

Segments by Row Lock Waits

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Row Lock Waits% of Capture
APPLSYSAPPS_TS_TX_DATA FND_CONCURRENT_REQUESTS TABLE41258412582,76484.24
ZXAPPS_TS_TX_IDX ZX_LINES_DET_FACTORS_N1 INDEX3871293871291986.03
APAPPS_TS_TX_DATA AP_HOLDS_ALL TABLE2805302805301675.09
APPLSYSAPPS_TS_TX_DATA FND_CONC_PROG_ONSITE_INFO TABLE4170241702461.40
APAPPS_TS_TX_IDX AP_INVOICES_N21 INDEX3839507044911391.19


Back to Segment Statistics
Back to Top

Segments by ITL Waits

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#ITL Waits% of Capture
APAPPS_TS_TX_IDX AP_INVOICE_DISTRIBUTIONS_N14 INDEX3222887044702150.00
SYSSYSTEM ICOL$ TABLE464221464208150.00


Back to Segment Statistics
Back to Top

Segments by Buffer Busy Waits

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Buffer Busy Waits% of Capture
APAPPS_TS_TX_DATA AP_INVOICES_ALL TABLE32136321365,90769.86
APPLSYSAPPS_TS_TX_DATA FND_CONCURRENT_REQUESTS TABLE412584125885310.09
ZXAPPS_TS_TX_IDX ZX_LINES_DET_FACTORS_N1 INDEX3871293871294845.72
APAPPS_TS_TX_IDX AP_INVOICES_N17 INDEX20796670448563534.17
APAPPS_TS_TX_IDX AP_INVOICES_N21 INDEX3839507044911981.16


Back to Segment Statistics
Back to Top

Segments by Global Cache Buffer Busy

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#GC Buffer Busy% of Capture
APAPPS_TS_TX_DATA AP_INVOICES_ALL TABLE3213632136443,31795.56
APPLSYSAPPS_TS_TX_DATA FND_CONCURRENT_REQUESTS TABLE41258412589,3872.02
APAPPS_TS_TX_IDX AP_INVOICES_N17 INDEX20796670448562,8050.60
APPLSYSAPPS_TS_TX_DATA FND_CONCURRENT_QUEUES TABLE41097410972,3840.51
XLAAPPS_TS_TX_DATA XLA_EVENTSAPTABLE PARTITION2972412972412,2300.48


Back to Segment Statistics
Back to Top

Segments by CR Blocks Received

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#CR Blocks Received%Total
APAPPS_TS_TX_DATA AP_INVOICES_ALL TABLE3213632136427,43768.45
XLAAPPS_TS_TX_DATA XLA_EVENTSAPTABLE PARTITION29724129724148,9097.83
APPLSYSAPPS_TS_TX_DATA FND_CONCURRENT_REQUESTS TABLE412584125811,5061.84
ZXAPPS_TS_TX_DATA ZX_REC_NREC_DIST TABLE2979672979674,6470.74
APAPPS_TS_TX_IDX AP_INVOICES_N17 INDEX20796670448564,3330.69


Back to Segment Statistics
Back to Top

Segments by Current Blocks Received

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Current Blocks Received%Total
APAPPS_TS_TX_DATA AP_INVOICES_ALL TABLE321363213614,01911.72
APPLSYSAPPS_TS_TX_IDX WF_NOTIFICATIONS_N3 INDEX1390581390587,7286.46
XLAAPPS_TS_TX_DATA XLA_DISTRIBUTION_LINKSAPTABLE PARTITION2972552972555,1604.31
APPLSYSAPPS_TS_TX_DATA FND_CONCURRENT_REQUESTS TABLE41258412584,9814.16
ZXAPPS_TS_TX_DATA ZX_REC_NREC_DIST TABLE2979672979674,9264.12


Back to Segment Statistics
Back to Top

Dictionary Cache Statistics

Back to Top

Dictionary Cache Stats

CacheGet RequestsPct MissScan ReqsPct MissMod ReqsFinal Usage
dc_awr_control1,1050.090 118
dc_constraints64053.280 640689
dc_files7360.000 0184
dc_free_extents6,2910.000 0699
dc_global_oids10,5492.280 236661
dc_histogram_data62,5630.220 09,383
dc_histogram_defs419,1372.040 5,55537,356
dc_object_grants2,6670.000 0163
dc_objects585,6600.290 1,18012,402
dc_profiles5,2000.000 02
dc_props7,3400.000 060
dc_rollback_segments532,2270.000 0616
dc_segments332,8820.080 20512,553
dc_sequences44531.460 445279
dc_tablespace_quotas1,2167.650 017
dc_tablespaces503,6250.000 029
dc_users1,677,9830.010 01,036
outstanding_alerts1580.000 04
sch_lj_objs333.330 01
sch_lj_oids397.690 010


Back to Dictionary Cache Statistics
Back to Top

Dictionary Cache Stats (RAC)

CacheGES RequestsGES ConflictsGES Releases
dc_awr_control310
dc_constraints1,2762064
dc_global_oids5940121
dc_histogram_defs13,89505,905
dc_objects2,682771,965
dc_segments5324503
dc_sequences8906527
dc_tablespace_quotas621910
dc_users2010129
outstanding_alerts30111
sch_lj_objs100
sch_lj_oids300


Back to Dictionary Cache Statistics
Back to Top

Library Cache Statistics

Back to Top

Library Cache Activity

NamespaceGet RequestsPct MissPin RequestsPct MissReloadsInvali- dations
ACCOUNT_STATUS5,4440.000 00
APP CONTEXT2,6580.0068,498-0.0000
BODY68,0110.03772,334-0.0230
CLUSTER80.0080.0000
CONTEXT POLICY500.00500.0000
DBLINK5,4700.000 00
DIRECTORY4,0600.004,0600.0000
EDITION2,4670.001,8990.0000
INDEX1,4392.781,4395.5600
KGLNEDSYNC40100.000 00
OBJECT ID263100.000 00
QUEUE87717.1020,3422.541180
RULESET0 400.0000
SCHEMA2,8450.000 00
SQL AREA96,1718.466,912,982-0.17385285
SQL AREA BUILD4,32294.240 00
SQL AREA STATS4,33995.184,33895.1800
SUBSCRIPTION10390.2910390.2900
TABLE/PROCEDURE482,4320.181,499,8690.073080
TRIGGER13,8640.01861,379-0.0460
USER PRIVILEGE1,2170.001,2970.0000


Back to Library Cache Statistics
Back to Top

Library Cache Activity (RAC)

NamespaceGES Lock RequestsGES Pin RequestsGES Pin ReleasesGES Inval RequestsGES Invali- dations
ACCOUNT_STATUS5,4440000
BODY51769,192769,19200
CLUSTER88800
CONTEXT POLICY50505000
DBLINK5,4700000
DIRECTORY04,0604,06000
EDITION1,8991,8991,89900
INDEX1,4391,4391,43900
KGLNEDSYNC400000
QUEUE48320,11520,11500
RULESET0404000
SCHEMA1,6310000
SUBSCRIPTION010310300
TABLE/PROCEDURE461,8271,443,6971,443,69700
TRIGGER0861,325861,32500
USER PRIVILEGE01,2971,29700


Back to Library Cache Statistics
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 cache11,328.0011,328.0010,816.0012,480.000GRO/DEF
Data Transfer Cache0.000.000.000.000STA/
In-Memory Area0.000.000.000.000STA/
KEEP buffer cache0.000.000.000.000STA/
PGA Target20,480.0020,480.0020,480.0020,480.000STA/
RECYCLE buffer cache0.000.000.000.000STA/
SGA Target20,480.0020,480.0020,480.0020,480.000STA/
Shared IO Pool320.00320.00320.00320.000STA/
java pool320.00320.00320.00320.000SHR/DEF
large pool64.0064.0064.00256.000SHR/DEF
shared pool8,320.008,320.007,168.008,768.000GRO/DEF
streams pool64.0064.0064.0064.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
BOther5,309.02 15.4313.22113113344344
Freeable260.000.0013.0016.1052 2020
PL/SQL181.19133.980.530.981417344343
SQL60.8544.900.212.654570285270
JAVA49.8649.804.160.31561212
EOther5,283.41 15.4913.26113113341341
Freeable232.000.0013.6517.2152 1717
PL/SQL161.19116.830.470.951417341341
JAVA41.8341.784.180.33561010
SQL12.550.500.040.07170280266


Back to Memory Statistics
Back to Top

SGA Memory Summary

SGA regionsBegin Size (Bytes)End Size (Bytes) (if different)
Database Buffers12,213,813,248 
Fixed Size6,071,072 
Redo Buffers61,030,400 
Variable Size9,193,921,760 

Back to Memory Statistics
Back to Top

SGA breakdown difference

PoolNameBegin MBEnd MB% Diff
javaJOXLE34.6034.600.00
javafree memory284.52284.520.00
largePX msg pool7.817.810.00
largefree memory55.8155.810.00
sharedASH buffers120.00120.000.00
sharedKGH: NO ACCESS244.33244.330.00
sharedKGLH0594.77624.024.92
sharedKGLHD101.73110.238.36
sharedResult Cache101.85101.850.00
sharedSQLA2,724.762,753.331.05
shareddb_block_hash_buckets88.0088.000.00
sharedfree memory1,707.801,671.90-2.10
sharedgcs resources367.09367.090.00
sharedgcs shadows203.94203.940.00
sharedges enqueues147.39147.390.00
sharedges resource dynamic219.18219.180.00
sharedinit_heap_kfsg137.93137.930.00
sharedkglsim object batch110.00110.000.00
sharedobject queue hash buckets120.00120.000.00
sharedobject queue header free100.34100.340.00
streamsfree memory64.0064.000.00
 buffer_cache11,328.0011,328.000.00
 fixed_sga5.795.790.00
 log_buffer58.2058.200.00
 shared_io_pool320.00320.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

Streams Statistics

Back to Top

Streams CPU/IO Usage

Session TypeFirst LogonCPU time(s)User IO Wait time(s)SYS IO Wait time(s)
EMON Reliable Slave24-Sep-20 23:30:400.670.000.00
EMON Regular Slave24-Sep-20 23:30:400.340.000.00
AQ LB Coordinator24-Sep-20 23:30:390.160.000.00
QMON Coordinator24-Sep-20 23:30:390.050.000.00
EMON Coordinator24-Sep-20 23:30:390.040.000.00
QMON Slave24-Sep-20 23:30:390.010.000.00


Back to Streams Statistics
Back to Top

Streams Capture

No data exists for this section of the report.

Back to Streams Statistics
Back to Top

Streams Capture Rate

No data exists for this section of the report.

Back to Streams Statistics
Back to Top

Streams Apply

No data exists for this section of the report.

Back to Streams Statistics
Back to Top

Streams Apply Rate

No data exists for this section of the report.

Back to Streams Statistics
Back to Top

Buffered Queues

No data exists for this section of the report.

Back to Streams Statistics
Back to Top

Buffered Queue Subscribers

No data exists for this section of the report.

Back to Streams Statistics
Back to Top

Rule Set

RuleEvalsNo-SQL Eval%SQL ExecsCPU(s)Ela(s)Eval /SecSQL per EvalEla(s) per EvalCPU(s) per EvalReloads
APPLSYS.FND_CP_GSM_OPP_AQ_R 390.0000.000.000.010.000.000.000


Back to Streams Statistics
Back to Top

Persistent Queues

Queue NameEnq MsgsDeq Msgs%Exp Msgs%Delay MsgsEnq Time(s)Deq Time(s)%Transf Time%Eval Time
APPLSYS.FND_CP_GSM_IPC_AQ(408460) 00  0.000.00  
APPLSYS.FND_CP_GSM_OPP_AQ(405304) 870100.000.000.18223.040.003.92
APPLSYS.FND_CP_TM_AQ(405310) 00  0.000.00  
APPLSYS.FND_CP_TM_RET_AQ(405302) 00  0.000.00  
APPLSYS.WF_DEFERRED(141330) 00  0.000.00  
APPLSYS.WF_DEFERRED_QUEUE_M(141325) 00  0.000.00  
APPLSYS.WF_ERROR(141320) 00  0.000.00  
APPLSYS.WF_JAVA_DEFERRED(217764) 00  0.000.00  
SYS.ALERT_QUE(252825) 00  0.000.00  
XLA.XLA_23503053_COMP_Q(7432792) 00  0.000.00  
XLA.XLA_23503053_DOC_Q(7432791) 00  0.000.00  


Back to Streams Statistics
Back to Top

Persistent Queues Rate

Queue NameEnqueue Msgs/secDequeue Msgs/secAvg Enqueue sec / msgAvg Dequeue sec / msg
APPLSYS.FND_CP_GSM_IPC_AQ(408460) 0.000.00  
APPLSYS.FND_CP_GSM_OPP_AQ(405304) 0.020.000.00 
APPLSYS.FND_CP_TM_AQ(405310) 0.000.00  
APPLSYS.FND_CP_TM_RET_AQ(405302) 0.000.00  
APPLSYS.WF_DEFERRED(141330) 0.000.00  
APPLSYS.WF_DEFERRED_QUEUE_M(141325) 0.000.00  
APPLSYS.WF_ERROR(141320) 0.000.00  
APPLSYS.WF_JAVA_DEFERRED(217764) 0.000.00  
SYS.ALERT_QUE(252825) 0.000.00  
XLA.XLA_23503053_COMP_Q(7432792) 0.000.00  
XLA.XLA_23503053_DOC_Q(7432791) 0.000.00  


Back to Streams Statistics
Back to Top

Persistent Queue Subscribers

Subscriber/QueueEnqueue MsgsDequeue MsgsExpire MsgsEnqueue Msgs/secDequeue Msgs/secExpire Msgs/sec
OPP184689(3725)/APPLSYS.FND_CP_GSM_OPP_AQ 40000.010.000.00
OPP184690(3707)/APPLSYS.FND_CP_GSM_OPP_AQ 4013200.010.040.00
WF_DEFERRED(1)/APPLSYS.WF_DEFERRED 0000.000.000.00
APPS(1)/APPLSYS.WF_DEFERRED_QUEUE_M 0000.000.000.00
WF_ERROR(1)/APPLSYS.WF_ERROR 0000.000.000.00
WF_JAVA_DEFERRED(1)/APPLSYS.WF_JAVA_DEFERRED 0000.000.000.00
NGPRDC1PDB01_3872_IDBOFINP11(61)/SYS.ALERT_QUE 0000.000.000.00
NGPRDC1PDB01_3872_IRDBOFINP11(101)/SYS.ALERT_QUE 0000.000.000.00
NGPRDC1PDB02_3872_IDBOFINP12(81)/SYS.ALERT_QUE 0000.000.000.00
NGPRDC1PDB02_3872_IIDBOFINP12(121)/SYS.ALERT_QUE 0000.000.000.00
NGPRDC1PDB02_3872_IIIDBOFINP12(182)/SYS.ALERT_QUE 0000.000.000.00
NGPRDC1PDB02_3872_IIRDBOFINP12(381)/SYS.ALERT_QUE 0000.000.000.00
NGPRDC1PDB02_3872_IRDBOFINP12(82)/SYS.ALERT_QUE 0000.000.000.00
NGPRDC1PDB02_3872_IRRDBOFINP12(84)/SYS.ALERT_QUE 0000.000.000.00
NGPRDC1PDB02_3872_RDBOFINP12(83)/SYS.ALERT_QUE 0000.000.000.00
NGPRDC1PDB02_3872_RRDBOFINP12(181)/SYS.ALERT_QUE 0000.000.000.00
NGPRDC1PDB02_3872_RRRDBOFINP12(241)/SYS.ALERT_QUE 0000.000.000.00
NGPRDC1PDB02_3873IDBOFINP12(382)/SYS.ALERT_QUE 0000.000.000.00
NGPRDC1PDB02_3873_I(281)/SYS.ALERT_QUE 0000.000.000.00
NGPRDC1PDB02_3873_IDBOFINP12(141)/SYS.ALERT_QUE 0000.000.000.00
NGPRDC1PDB02_3873_R(301)/SYS.ALERT_QUE 0000.000.000.00
NGPRDC1PDB02_3873_RDBOFINP12(142)/SYS.ALERT_QUE 0000.000.000.00
NGPRDC1PDB02_387RDBOFINP12(321)/SYS.ALERT_QUE 0000.000.000.00
NGPRDC1PDB0RDBOFINP11(366)/SYS.ALERT_QUE 0000.000.000.00
NGPRDC1PIDBOFINP11(364)/SYS.ALERT_QUE 0000.000.000.00


Back to Streams Statistics
Back to Top

Resource Limit Stats

Resource NameCurrent UtilizationMaximum Utilization Initial Allocation Limit
ges_cache_ress78,681238,4640UNLIMITED
ges_locks49,440252,841100439UNLIMITED
ges_ress111,6681,274,30748813UNLIMITED
smartio_buffer_memory0238,818,9270UNLIMITED
smartio_metadata_memory4,6002,871,3760UNLIMITED
smartio_overhead_memory0748,430,1360UNLIMITED
smartio_sessions0910UNLIMITED



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

init.ora Parameters

Back to Top

init.ora Parameters

Parameter NameBegin valueEnd value (if different)
O7_DICTIONARY_ACCESSIBILITYFALSE  
_b_tree_bitmap_plansFALSE  
_fast_full_scan_enabledFALSE  
_like_with_bind_as_equalityTRUE  
_optimizer_autostats_jobFALSE  
_sort_elimination_cost_ratio5  
_system_trig_enabledTRUE  
_trace_files_publicFALSE  
aq_tm_processes4  
archive_lag_target0  
audit_sys_operationsTRUE  
cluster_databaseTRUE  
cluster_database_instances2  
compatible12.1.0  
control_files+DATA_C1P_PRD/DBOFINP1/CONTROLFILE/current.485.960381779, +RECO_C1P_PRD/DBOFINP1/CONTROLFILE/current.24914.960381779  
cursor_sharingEXACT  
db_block_checkingFALSE  
db_block_checksumTRUE  
db_block_size8192  
db_file_name_convert+DATA_C1P_PRA, +DATA_C1P_PRD  
db_files512  
db_nameDBOFINP1  
db_recovery_file_dest+RECO_C1P_PRD  
db_recovery_file_dest_size5368709120000  
db_unique_nameDBOFINP1  
dg_broker_config_file1+DATA_C1P_PRD/DBOFINP1/dr1dbofinp1.dat  
dg_broker_config_file2+DATA_C1P_PRD/DBOFINP1/dr2dbofinp1.dat  
dg_broker_startTRUE  
diagnostic_dest/data/flf/files/diag_DBOFINP1/diag/rdbms/dbofinp1/DBOFINP12  
dml_locks10000  
enable_ddl_loggingFALSE  
event10995 trace name context forever, level 16  
fal_serverDG_STBY  
instance_number2  
java_jit_enabledFALSE  
job_queue_processes20  
local_listenerprdc1pdb02-vip:1521  
log_archive_configdg_config=(DBOFINP1, DBOFINS1)  
log_archive_dest_1LOCATION=USE_DB_RECOVERY_FILE_DEST valid_for=(all_logfiles, all_roles) DB_UNIQUE_NAME=DBOFINP1  
log_archive_dest_2service="dbofins1", ASYNC NOAFFIRM delay=0 optional compression=disable max_failure=0 max_connections=1 reopen=300 db_unique_name="DBOFINS1" net_timeout=30, valid_for=(online_logfile, all_roles)  
log_archive_dest_state_1ENABLE  
log_archive_dest_state_2ENABLE  
log_archive_format%t_%s_%r.dbf  
log_archive_max_processes4  
log_archive_min_succeed_dest1  
log_archive_trace0  
log_buffer10481664  
log_checkpoint_interval100000  
log_checkpoint_timeout1200  
log_checkpoints_to_alertTRUE  
log_file_name_convert+DATA_C1P_PRA, +DATA_C1P_PRD  
max_dump_file_sizeUNLIMITED  
nls_compBINARY  
nls_date_formatDD-MON-RR  
nls_length_semanticsBYTE  
nls_numeric_characters.,  
nls_sortbinary  
nls_territoryAMERICA  
olap_page_pool_size4194304  
open_cursors2500  
optimizer_adaptive_featuresFALSE  
optimizer_secure_view_mergingFALSE  
os_authent_prefix    
parallel_force_localTRUE  
parallel_max_servers64  
parallel_min_servers0  
pga_aggregate_limit48318382080  
pga_aggregate_target21474836480  
plsql_code_typeINTERPRETED  
processes2500  
recyclebinoff  
remote_listenerprdc1pdb01-scan:1521  
resource_manager_plan  SCHEDULER[0x56D91]:DEFAULT_MAINTENANCE_PLAN
result_cache_max_size536870912  
sec_case_sensitive_logonFALSE  
service_namesDBOFINP1, ebs_patch, DBOFINP1_ebs_patch  
session_cached_cursors500  
sessions5040  
sga_target21474836480  
shared_pool_reserved_size429496729  
shared_pool_size3154116608  
sql92_securityTRUE  
standby_file_managementAUTO  
temp_undo_enabledTRUE  
thread2  
undo_managementAUTO  
undo_retention172800  
undo_tablespaceAPPS_UNDOTS2  
utl_file_dir/usr/tmp/DBOFINP1, /usr/tmp, /data/flf/files/DBOFINP1/data/out  
workarea_size_policyAUTO  


Back to init.ora Parameters
Back to Top

init.ora Multi-Valued Parameters

Parameter NameBegin valueEnd value (if different)
control_files+DATA_C1P_PRD/DBOFINP1/CONTROLFILE/current.485.960381779  
+RECO_C1P_PRD/DBOFINP1/CONTROLFILE/current.24914.960381779  
db_file_name_convert+DATA_C1P_PRA  
+DATA_C1P_PRD  
log_archive_dest_2ASYNC NOAFFIRM delay=0 optional compression=disable max_failure=0 max_connections=1 reopen=300 db_unique_name="DBOFINS1" net_timeout=30  
service="dbofins1"  
valid_for=(online_logfile, all_roles)  
log_file_name_convert+DATA_C1P_PRA  
+DATA_C1P_PRD  
utl_file_dir/data/flf/files/DBOFINP1/data/out  
/usr/tmp  
/usr/tmp/DBOFINP1  


Back to init.ora 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
ctp9ravf5dxfr33072173346334.49 enq: TX - row lock contention27.87UPDATE27.87 UPDATE AP_HOLDS_ALL AHA SET AH...
CPU + Wait for CPU4.09TABLE ACCESS - STORAGE FULL2.52
read by other session2.52TABLE ACCESS - STORAGE FULL2.52
67fx45mvnmbsz1154163434436.77 CPU + Wait for CPU6.46TABLE ACCESS - BY INDEX ROWID BATCHED2.99 SELECT CASE WHEN COUNT(1) > 0 ...
90n1att0nq1u72853282227236.46 CPU + Wait for CPU2.99TABLE ACCESS - BY INDEX ROWID BATCHED2.52 UPDATE AP_INVOICES_ALL AI SET ...
gc buffer busy acquire1.26TABLE ACCESS - BY INDEX ROWID BATCHED1.26
gc cr block 2-way1.10TABLE ACCESS - BY INDEX ROWID BATCHED1.10
adj796q5rqv7m 182.99 CPU + Wait for CPU2.99** Row Source Not Available **2.99 BEGIN AP_APPROVAL_PKG.WORKER_A...
bb4y6zxs3j061367682758881.73 CPU + Wait for CPU1.10TABLE ACCESS - STORAGE FULL0.79 UPDATE AP_HOLDS_ALL AHA SET AH...


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
ctp9ravf5dxfr33072173346334.49 UPDATE27.87enq: TX - row lock contention27.87 UPDATE AP_HOLDS_ALL AHA SET AH...
TABLE ACCESS - STORAGE FULL5.04CPU + Wait for CPU2.52
FILTER1.57CPU + Wait for CPU1.57
67fx45mvnmbsz1154163434436.77 TABLE ACCESS - BY INDEX ROWID BATCHED3.31CPU + Wait for CPU2.99 SELECT CASE WHEN COUNT(1) > 0 ...
INDEX - RANGE SCAN1.26CPU + Wait for CPU1.26
HASH JOIN1.10CPU + Wait for CPU1.10
90n1att0nq1u72853282227236.46 TABLE ACCESS - BY INDEX ROWID BATCHED5.67CPU + Wait for CPU2.52 UPDATE AP_INVOICES_ALL AI SET ...
adj796q5rqv7m 182.99 ** Row Source Not Available **2.99CPU + Wait for CPU2.99 BEGIN AP_APPROVAL_PKG.WORKER_A...
bb4y6zxs3j061367682758881.73 TABLE ACCESS - STORAGE FULL0.79CPU + Wait for CPU0.79 UPDATE AP_HOLDS_ALL AHA SET AH...


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

Top Sessions

Sid, Serial#% ActivityEvent% EventUserProgram# Samples ActiveXIDs
3281, 36603.15CPU + Wait for CPU2.99 APPSSTANDARD@udkfinp04 (TNS V1-V3)19/359 [ 5%]3
1693,303332.36enq: TX - row lock contention2.20 APPSora_rw20_run@u...4 (TNS V1-V3)14/359 [ 4%]1
1940,136912.36CPU + Wait for CPU2.36 APPSDKA_WORKER@udk...3 (TNS V1-V3)15/359 [ 4%]2
2712,312682.36enq: TX - row lock contention2.20 APPSora_rw20_run@u...4 (TNS V1-V3)14/359 [ 4%]1
4386,262272.36enq: TX - row lock contention2.36 APPSora_rw20_run@u...4 (TNS V1-V3)15/359 [ 4%]1


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

Top Blocking Sessions

Blocking Sid (Inst)% ActivityEvent Caused% EventUserProgram# Samples ActiveXIDs
4385,15773( 1)3.62enq: TX - row lock contention3.62 ** NOT FOUND **BLOCKING SESSION NOT FOUND0/359 [ 0%] 
192, 2253( 1)2.83enq: TX - row lock contention2.83 ** NOT FOUND **BLOCKING SESSION NOT FOUND0/359 [ 0%] 
3635,12749( 2)2.20read by other session2.20 APPSora_rw20_run@u...4 (TNS V1-V3)1/359 [ 0%]0
4054,55892( 2)2.05enq: TX - row lock contention2.05 APPSora_rw20_run@u...4 (TNS V1-V3)3/359 [ 1%]1
3293, 3457( 2)1.73enq: TX - row lock contention1.73 APPSora_rw20_run@u...4 (TNS V1-V3)7/359 [ 2%]1


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

Top PL/SQL Procedures

PL/SQL Entry Subprogram% ActivityPL/SQL Current Subprogram% Current
APPS.AP_APPROVAL_PKG.BATCH_APPROVAL38.11 SQL38.11
APPS.AP_APPROVAL_PKG.WORKER_APPROVAL23.94 SQL20.16
APPS.XLA_ACCOUNTING_PKG.UNIT_PROCESSOR_BATCH8.66 SQL8.19
APPS.DKA_IAPFACXGS_PKG.IMPORT3.15 SQL3.15
APPS.XLA_CREATE_ACCT_RPT_PVT.BEFOREREPORT1.73 SQL1.73


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

Top Events

EventEvent ClassSession Type% ActivityAvg Active Sessions
CPU + Wait for CPUCPUFOREGROUND 43.150.76
enq: TX - row lock contentionApplicationFOREGROUND 28.500.50
CPU + Wait for CPUCPUBACKGROUND 6.770.12
read by other sessionUser I/OFOREGROUND 2.680.05
cell single block physical readUser I/OFOREGROUND 2.360.04


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
enq: TX - row lock contention28.50"1415053318","1966094","2022609"4.72 name|modeusn<<16 | slotsequence
"1415053318","2621444","1814727"2.36
"1415053318","16711697","3256847"2.05
read by other session2.68"97","2000816","1"1.89 file#block#class#
cell single block physical read2.36"842156689","1854390985","8192"0.47 cellhash#diskhash#bytes
gc buffer busy acquire1.57"23","896857","1"0.16 file#block#class#
db file parallel write1.26"5","0","2147483647"0.47 requestsinterrupttimeout


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

Top DB Objects

Object ID% ActivityEvent% EventObject Name (Type)Tablespace
28053031.18enq: TX - row lock contention28.50 AP.AP_HOLDS_ALL (TABLE)APPS_TS_TX_DATA
read by other session2.52
321363.31gc buffer busy acquire1.26 AP.AP_INVOICES_ALL (TABLE)APPS_TS_TX_DATA
gc cr block 2-way1.10


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

Activity Over Time

Slot Time (Duration)Slot CountEventEvent Count% Event
21:00:18 (4.7 min)18CPU + Wait for CPU162.52
null event10.16
oracle thread bootstrap10.16
21:05:00 (5.0 min)7CPU + Wait for CPU71.10
21:10:00 (5.0 min)13CPU + Wait for CPU111.73
cell single block physical read10.16
gcs log flush sync10.16
21:15:00 (5.0 min)24CPU + Wait for CPU132.05
null event50.79
cell single block read request30.47
21:20:00 (5.0 min)36CPU + Wait for CPU172.68
read by other session162.52
gc buffer busy acquire20.31
21:25:00 (5.0 min)330CPU + Wait for CPU13220.79
enq: TX - row lock contention13020.47
cell single block physical read81.26
21:30:00 (5.0 min)109enq: TX - row lock contention518.03
CPU + Wait for CPU365.67
process diagnostic dump40.63
21:35:00 (5.0 min)68CPU + Wait for CPU609.45
null event40.63
gc cr block busy20.31
21:40:00 (5.0 min)15CPU + Wait for CPU142.20
gc cr block busy10.16
21:45:00 (5.0 min)1CPU + Wait for CPU10.16
21:50:00 (5.0 min)5CPU + Wait for CPU50.79
21:55:00 (5.0 min)9CPU + Wait for CPU50.79
ASM file metadata operation20.31
Disk file operations I/O10.16


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

ADDM Task ADDM:3823384899_2_26304

          ADDM Report for Task 'ADDM:3823384899_2_26304'
          ----------------------------------------------

Analysis Period
---------------
AWR snapshot range from 26303 to 26304.
Time period starts at 18-NOV-20 09.00.19 PM
Time period ends at 18-NOV-20 10.00.07 PM

Analysis Target
---------------
Database 'DBOFINP1' with DB ID 3823384899.
Database version 12.1.0.2.0.
ADDM performed an analysis of instance DBOFINP12, numbered 2 and hosted at
prdc1pdb02.

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

Summary of Findings
-------------------
   Description                               Active Sessions      Recommendations
                                             Percent of Activity
   ----------------------------------------  -------------------  ---------------
1  Top SQL Statements                        .88 | 58.23          4
2  Row Lock Waits                            .5 | 33.23           1
3  Top Segments by "User I/O" and "Cluster"  .09 | 6.16           2
4  Global Cache Messaging                    .09 | 5.71           1
5  Undersized SGA                            .07 | 4.65           1
6  PL/SQL Execution                          .07 | 4.52           1
7  Buffer Busy - Hot Objects                 .06 | 3.63           0


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


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

Finding 1: Top SQL Statements
Impact is .88 active sessions, 58.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 .6 active sessions, 39.6% of total activity.
   -----------------------------------------------------------------
   Action
      Investigate the UPDATE statement with SQL_ID "ctp9ravf5dxfr" 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 ctp9ravf5dxfr.
         UPDATE AP_HOLDS_ALL AHA SET AHA.VALIDATION_REQUEST_ID = NULL WHERE
         AHA.VALIDATION_REQUEST_ID IN ( SELECT FCR.REQUEST_ID FROM
         FND_CONCURRENT_REQUESTS FCR WHERE FCR.CONCURRENT_PROGRAM_ID IN (
         SELECT FCP.CONCURRENT_PROGRAM_ID FROM FND_CONCURRENT_PROGRAMS FCP
         WHERE FCP.APPLICATION_ID = 200 AND FCP.CONCURRENT_PROGRAM_NAME IN
         ('APPRVL','WORKERAPPRVL') ) AND FCR.PHASE_CODE = 'C')
   Rationale
      The SQL spent only 19% 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: 0% for SQL execution,
      0% for parsing, 100% for PL/SQL execution and 0% for Java execution.
   Rationale
      SQL statement with SQL_ID "ctp9ravf5dxfr" was executed 73 times and had
      an average elapsed time of 26 seconds.
   Rationale
      Waiting for event "enq: TX - row lock contention" in wait class
      "Application" accounted for 80% of the database time spent in processing
      the SQL statement with SQL_ID "ctp9ravf5dxfr".
   Rationale
      I/O and Cluster wait for TABLE "AP.AP_HOLDS_ALL" with object ID 280530
      consumed 10% of the database time spent on this SQL statement.

   Recommendation 2: SQL Tuning
   Estimated benefit is .12 active sessions, 7.78% of total activity.
   ------------------------------------------------------------------
   Action
      Run SQL Tuning Advisor on the SELECT statement with SQL_ID
      "67fx45mvnmbsz".
      Related Object
         SQL statement with SQL_ID 67fx45mvnmbsz.
         SELECT CASE WHEN COUNT(1) > 0 THEN 'Y' ELSE 'N' END FROM
         FA_CATEGORY_BOOKS FCB JOIN GL_CODE_COMBINATIONS_KFV GCC ON
         FCB.ASSET_CLEARING_ACCOUNT_CCID = GCC.CODE_COMBINATION_ID WHERE
         GCC.SEGMENT3 = :B1
   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 "67fx45mvnmbsz" was executed 3669 times and
      had an average elapsed time of 0.1 seconds.
   Rationale
      Top level calls to execute the PL/SQL statement with SQL_ID
      "5t39uchjqpyfm" are responsible for 100% of the database time spent on
      the SELECT statement with SQL_ID "67fx45mvnmbsz".
      Related Object
         SQL statement with SQL_ID 5t39uchjqpyfm.
         BEGIN xla_accounting_pkg.unit_processor_batch(:errbuf,:rc,:A0,:A1,:A2
         ,:A3,:A4,:A5,:A6,:A7,:A8,:A9,:A10,:A11,:A12,:A13,:A14); END;

   Recommendation 3: SQL Tuning
   Estimated benefit is .11 active sessions, 7.05% of total activity.
   ------------------------------------------------------------------
   Action
      Run SQL Tuning Advisor on the UPDATE statement with SQL_ID
      "90n1att0nq1u7".
      Related Object
         SQL statement with SQL_ID 90n1att0nq1u7.
         UPDATE AP_INVOICES_ALL AI SET AI.VALIDATION_REQUEST_ID = :B4 WHERE
         AI.VALIDATION_REQUEST_ID = :B3 AND AI.VALIDATION_WORKER_ID = :B2 AND
         AI.INVOICE_ID = :B1
   Rationale
      The SQL spent 95% 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 "90n1att0nq1u7" was executed 124 times and had
      an average elapsed time of 3.4 seconds.
   Rationale
      I/O and Cluster wait for TABLE "AP.AP_INVOICES_ALL" with object ID 32136
      consumed 60% of the database time spent on this SQL statement.
   Rationale
      Top level calls to execute the PL/SQL statement with SQL_ID
      "adj796q5rqv7m" are responsible for 100% of the database time spent on
      the UPDATE statement with SQL_ID "90n1att0nq1u7".
      Related Object
         SQL statement with SQL_ID adj796q5rqv7m.
         BEGIN AP_APPROVAL_PKG.WORKER_APPROVAL(:errbuf,:rc,:A0,:A1,:A2,:A3,:A4
         ,:A5,:A6,:A7,:A8,:A9,:A10,:A11,:A12,:A13,:A14); END;

   Recommendation 4: SQL Tuning
   Estimated benefit is .05 active sessions, 3.44% of total activity.
   ------------------------------------------------------------------
   Action
      Investigate the PL/SQL statement with SQL_ID "adj796q5rqv7m" 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 adj796q5rqv7m.
         BEGIN AP_APPROVAL_PKG.WORKER_APPROVAL(:errbuf,:rc,:A0,:A1,:A2,:A3,:A4
         ,:A5,:A6,:A7,:A8,:A9,:A10,:A11,:A12,:A13,:A14); END;
   Rationale
      The SQL Tuning Advisor cannot operate on PL/SQL statements.
   Rationale
      Database time for this SQL was divided as follows: 6% for SQL execution,
      0% for parsing, 94% for PL/SQL execution and 0% for Java execution.
   Rationale
      SQL statement with SQL_ID "adj796q5rqv7m" was executed 124 times and had
      an average elapsed time of 12 seconds.


Finding 2: Row Lock Waits
Impact is .5 active sessions, 33.23% of total activity.
-------------------------------------------------------
SQL statements were found waiting for row lock waits.

   Recommendation 1: Application Analysis
   Estimated benefit is .5 active sessions, 33.23% of total activity.
   ------------------------------------------------------------------
   Action
      Significant row contention was detected in the TABLE "AP.AP_HOLDS_ALL"
      with object ID 280530. Trace the cause of row contention in the
      application logic using the given blocked SQL.
      Related Object
         Database object with ID 280530.
   Rationale
      The SQL statement with SQL_ID "ctp9ravf5dxfr" was blocked on row locks.
      Related Object
         SQL statement with SQL_ID ctp9ravf5dxfr.
         UPDATE AP_HOLDS_ALL AHA SET AHA.VALIDATION_REQUEST_ID = NULL WHERE
         AHA.VALIDATION_REQUEST_ID IN ( SELECT FCR.REQUEST_ID FROM
         FND_CONCURRENT_REQUESTS FCR WHERE FCR.CONCURRENT_PROGRAM_ID IN (
         SELECT FCP.CONCURRENT_PROGRAM_ID FROM FND_CONCURRENT_PROGRAMS FCP
         WHERE FCP.APPLICATION_ID = 200 AND FCP.CONCURRENT_PROGRAM_NAME IN
         ('APPRVL','WORKERAPPRVL') ) AND FCR.PHASE_CODE = 'C')
   Rationale
      The session with ID 4385 and serial number 15773 in instance number 1
      was the blocking session responsible for 12% of this recommendation's
      benefit.
   Rationale
      The session with ID 192 and serial number 2253 in instance number 1 was
      the blocking session responsible for 9% of this recommendation's
      benefit.

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


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

   Recommendation 1: Segment Tuning
   Estimated benefit is .05 active sessions, 3.4% of total activity.
   -----------------------------------------------------------------
   Action
      Investigate application logic involving I/O on TABLE
      "AP.AP_INVOICES_ALL" with object ID 32136.
      Related Object
         Database object with ID 32136.
   Action
      Look at the "Top SQL Statements" finding for SQL statements consuming
      significant I/O on this segment. For example, the UPDATE statement with
      SQL_ID "90n1att0nq1u7" is responsible for 100% of "User I/O" and
      "Cluster" waits for this segment.
   Rationale
      The I/O usage statistics for the object are: 0 full object scans, 68311
      physical reads, 12666 physical writes and 0 direct reads.

   Recommendation 2: Segment Tuning
   Estimated benefit is .04 active sessions, 2.75% of total activity.
   ------------------------------------------------------------------
   Action
      Investigate application logic involving I/O on TABLE "AP.AP_HOLDS_ALL"
      with object ID 280530.
      Related Object
         Database object with ID 280530.
   Action
      Look at the "Top SQL Statements" finding for SQL statements consuming
      significant I/O on this segment. For example, the UPDATE statement with
      SQL_ID "ctp9ravf5dxfr" is responsible for 100% of "User I/O" and
      "Cluster" waits for this segment.
   Rationale
      The I/O usage statistics for the object are: 5 full object scans, 75401
      physical reads, 586 physical writes and 0 direct reads.

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


Finding 4: Global Cache Messaging
Impact is .09 active sessions, 5.71% of total activity.
-------------------------------------------------------
Inter-instance messaging was consuming significant database time on this
instance.

   Recommendation 1: Application Analysis
   Estimated benefit is .09 active sessions, 5.71% of total activity.
   ------------------------------------------------------------------
   Action
      Look at the "Top SQL Statements" finding for SQL statements consuming
      significant time on Cluster waits. For example, the UPDATE statement
      with SQL_ID "90n1att0nq1u7" is responsible for 60% of Cluster wait
      during the analysis period.

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


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

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

   Symptoms That Led to the Finding:
   ---------------------------------
      Wait class "User I/O" was consuming significant database time.
      Impact is .09 active sessions, 5.84% of total activity.
      Hard parsing of SQL statements was consuming significant database time.
      Impact is .04 active sessions, 2.4% of total activity.


Finding 6: PL/SQL Execution
Impact is .07 active sessions, 4.52% of total activity.
-------------------------------------------------------
PL/SQL execution consumed significant database time.

   Recommendation 1: SQL Tuning
   Estimated benefit is .07 active sessions, 4.52% of total activity.
   ------------------------------------------------------------------
   Action
      Tune the entry point PL/SQL "APPS.AP_APPROVAL_PKG.WORKER_APPROVAL" of
      type "PACKAGE" and ID 6668967. Refer to the PL/SQL documentation for
      addition information.


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

   No recommendations are available.

   Symptoms That Led to the Finding:
   ---------------------------------
      Read and write contention on database blocks was consuming significant
      database time.
      Impact is .06 active sessions, 3.63% of total activity.
         Inter-instance messaging was consuming significant database time on
         this instance.
         Impact is .09 active sessions, 5.71% of total activity.
            Wait class "Cluster" was consuming significant database time.
            Impact is .09 active sessions, 5.83% of total activity.



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

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

Miscellaneous Information
-------------------------
Wait class "Commit" was not consuming significant database time.
Wait class "Concurrency" was not consuming significant database time.
Wait class "Configuration" was not consuming significant database time.
CPU was not a bottleneck for the instance.
Wait class "Network" was not consuming significant database time.
The network latency of the cluster interconnect was within acceptable limits
of 1 milliseconds.
Session connect and disconnect calls were not consuming significant database
time.

The database's maintenance windows were active during 100% of the analysis
period.


Back to Top

RAC Statistics

BeginEnd
Number of Instances: 2 2

Global Cache Load Profile

Per SecondPer Transaction
Global Cache blocks received: 207.38 22.77
Global Cache blocks served: 193.69 21.26
GCS/GES messages received: 639.44 70.20
GCS/GES messages sent: 564.71 61.99
DBWR Fusion writes: 6.87 0.75
Estd Interconnect traffic (KB) 3,443.73 

Global Cache Efficiency Percentages (Target local+remote 100%)

Buffer access - local cache %: 99.15
Buffer access - remote cache %: 0.42
Buffer access - disk %: 0.43

Global Cache and Enqueue Services - Workload Characteristics

Avg global enqueue get time (ms): 0.5
Avg global cache cr block receive time (ms): 0.3
Avg global cache current block receive time (ms): 0.2
Avg global cache cr block build time (ms): 0.0
Avg global cache cr block send time (ms): 0.0
Global cache log flushes for cr blocks served %: 13.5
Avg global cache cr block flush time (ms): 0.5
Avg global cache current block pin time (ms): 0.0
Avg global cache current block send time (ms): 0.0
Global cache log flushes for current blocks served %: 1.5
Avg global cache current block flush time (ms): 0.6

Global Cache and Enqueue Services - Messaging Statistics

Avg message sent queue time (ms): 0.9
Avg message sent queue time on ksxp (ms): 0.1
Avg message received queue time (ms): 0.0
Avg GCS message process time (ms): 0.0
Avg GES message process time (ms): 0.1
% of direct sent messages: 59.74
% of indirect sent messages: 40.11
% of flow controlled messages: 0.14


Cluster Interconnect

 Begin End
InterfaceIP AddressPubSourcePubSrc
bondib0192.168.2.9N   

RAC Statistics


Back to Top


Back to Top

Global Messaging Statistics

StatisticTotalper Secondper Trans
KA local message waits00.000.00
KA local messages received00.000.00
KA messages received actual00.000.00
KA messages received logical00.000.00
KA requests failed00.000.00
KA requests succeeded00.000.00
acks for commit broadcast(actual)116,70832.533.57
acks for commit broadcast(logical)161,76845.084.95
broadcast msgs on commit(actual)101,73428.353.11
broadcast msgs on commit(logical)101,73428.353.11
broadcast msgs on commit(wasted)46,65213.001.43
dynamically allocated gcs resources00.000.00
dynamically allocated gcs shadows00.000.00
flow control messages received70.000.00
flow control messages sent50.000.00
gcs apply delta00.000.00
gcs assume cvt30.000.00
gcs assume no cvt57,02615.891.74
gcs ast xid130.000.00
gcs blocked converts128,32635.763.93
gcs blocked cr converts554,492154.5316.96
gcs compatible basts1,4340.400.04
gcs compatible cr basts (global)17,7874.960.54
gcs compatible cr basts (local)34,4309.601.05
gcs cr basts to PIs00.000.00
gcs cr serve without current lock00.000.00
gcs dbwr flush pi msgs110,43530.783.38
gcs dbwr write request msgs13,0993.650.40
gcs delta msgs sent00.000.00
gcs delta push aborted by cancel00.000.00
gcs delta push aborted by remastering00.000.00
gcs delta push cancelled00.000.00
gcs delta push cancelled at master00.000.00
gcs delta push cancelled by close00.000.00
gcs delta push cancelled by consign00.000.00
gcs delta push cancelled by cvt ping00.000.00
gcs delta push cancelled by dwncvt00.000.00
gcs delta push create pi00.000.00
gcs delta update master msgs sent00.000.00
gcs delta wait aborted by remastering00.000.00
gcs delta wait cancelled00.000.00
gcs error msgs00.000.00
gcs force cr block only2,4280.680.07
gcs force cr grant1960.050.01
gcs force cr no current00.000.00
gcs forward cr to pinged instance00.000.00
gcs immediate (compatible) converts30,4898.500.93
gcs immediate (null) converts29,6248.260.91
gcs immediate cr (compatible) converts3,3400.930.10
gcs immediate cr (null) converts230,02164.117.04
gcs indirect ast92,09925.672.82
gcs indirect bidless ast00.000.00
gcs indirect fg ast91,23725.432.79
gcs lms flush pi msgs10.000.00
gcs lms write request msgs6,2491.740.19
gcs msgs process time(ms)55,02115.331.68
gcs msgs received2,141,740596.8965.52
gcs new served by master3,8181.060.12
gcs out-of-order msgs40.000.00
gcs pings refused29,6608.270.91
gcs pkey conflicts retry00.000.00
gcs push delta00.000.00
gcs queued converts1410.040.00
gcs reader bypass N->Xw ping local00.000.00
gcs reader bypass N->Xw ping remote00.000.00
gcs reader bypass grant X on assume00.000.00
gcs reader bypass grant ast00.000.00
gcs reader bypass grant fg ast00.000.00
gcs reader bypass grant immediate2,5340.710.08
gcs recovery claim msgs00.000.00
gcs refuse xid110.000.00
gcs regular cr00.000.00
gcs retry convert request220.010.00
gcs share recovery bast00.000.00
gcs side channel msgs actual10,4792.920.32
gcs side channel msgs logical890,898248.2927.26
gcs stale cr374,731104.4411.46
gcs undo cr7,1632.000.22
gcs write notification msgs1,2760.360.04
gcs writes refused1420.040.00
ges msgs process time(ms)15,5804.340.48
ges msgs received152,65542.544.67
global posts dropped00.000.00
global posts queue time1,360,785379.2441.63
global posts queued5850.160.02
global posts requested7020.200.02
global posts sent5870.160.02
implicit batch messages received61,42617.121.88
implicit batch messages sent63,21617.621.93
lmd msg send time(ms)00.000.00
lms(s) msg send time(ms)00.000.00
messages flow controlled2,3720.660.07
messages queue sent actual335,78793.5810.27
messages queue sent logical292,70081.578.95
messages received actual1,741,994485.4953.29
messages received logical2,294,396639.4470.20
messages sent directly995,481277.4430.46
messages sent indirectly668,394186.2820.45
messages sent not implicit batched1,1660.320.04
messages sent pbatched765,485213.3423.42
msgs causing lmd to send msgs00.000.00
msgs causing lms(s) to send msgs00.000.00
msgs received queue time (ms)85,71823.892.62
msgs received queued2,294,413639.4470.20
msgs sent queue time (ms)482,601134.5014.76
msgs sent queue time on ksxp (ms)193,09753.825.91
msgs sent queued536,273149.4616.41
msgs sent queued on ksxp1,477,343411.7345.20
number of broadcasted resources00.000.00
number of directly freed master res96,68626.952.96
number of ges deadlock detected150.000.00
number of lock borrowed by LMD00.000.00
number of received ODPS messages00.000.00
number of resource borrowed by LMD00.000.00
number of sent ODPS messages00.000.00
process batch messages received280,49878.178.58
process batch messages sent417,617116.3912.78



Back to Top

Global CR Served Stats

StatisticTotal
CR Block Requests465,960
CURRENT Block Requests463,486
Data Block Requests465,952
Undo Block Requests6,443
TX Block Requests88,686
Current Results161,789
Private results393,609
Zero Results11,503
Disk Read Results362,798
Fail Results0
Fairness Down Converts33,316
Fairness Clears4,725
Free GC Elements0
Flushes76,342
Flushes Queued0
Flush Queue Full0
Flush Max Time (us)0
Light Works27,345
Errors0



Back to Top

Global CURRENT Served Stats

StatisticTotal% <1ms% <10ms% <100ms% <1s% <10s
Pins5196.081.961.96  
Flushes1,86497.482.520.000.000.00
Writes24,55919.6329.8837.9312.040.51



Back to Top

Global Cache Transfer Stats

Back to Top

Global Cache Transfer Stats

  CR Current
Inst NoBlock Class Blocks Received% Immed% Busy% CongstBlocks Received% Immed% Busy% Congst
1data block543,53777.0522.930.03103,66597.022.890.09
1undo header71,16496.403.590.0128199.290.710.00
1Others1,99599.400.600.0015,64299.280.710.01
1undo block7,37796.043.780.180   


Back to Global Cache Transfer Stats
Back to Top

Global Cache Transfer Times (ms)

  CR Avg Time (ms) Current Avg Time (ms)
Inst NoBlock Class AllImmedBusyCongstAllImmedBusyCongst
1data block0.300.200.653.140.270.260.763.73
1undo header0.180.160.782.610.210.211.16 
1others0.190.180.77 0.170.170.601.55
1undo block0.190.170.652.07    


Back to Global Cache Transfer Stats
Back to Top

Global Cache Transfer (Immediate)

   CR Current
Src Inst#Block Class Blocks LostImmed Blks Received% 2hop% 3hopImmed Blks Received% 2hop% 3hop
1data block0418,770100.000.00100,572100.000.00
1undo header068,600100.000.00279100.000.00
1others01,983100.000.0015,530100.000.00
1undo block07,085100.000.000  


Back to Global Cache Transfer Stats
Back to Top

Global Cache Times (Immediate)

   CR Avg Time (ms) Current Avg Time (ms)
Src Inst#Block Class Lost TimeImmed2hop3hopImmed2hop3hop
1data block 0.200.20 0.260.26 
1undo header 0.160.16 0.210.21 
1others 0.180.18 0.170.17 
1undo block 0.170.17    


Back to Global Cache Transfer Stats
Back to Top

Interconnect Stats

Back to Top

Interconnect Ping Latency Stats

Target Instance500B Ping CountAvg Latency 500B msgStddev 500B msg8K Ping CountAvg Latency 8K msgStddev 8K msg
12840.210.052844.0116.72
22840.200.032840.190.03


Back to Interconnect Stats
Back to Top

Interconnect Throughput by Client

Used BySend Mbytes/secReceive Mbytes/sec
Global Cache1.301.42
Parallel Query0.010.01
DB Locks0.170.20
DB Streams0.000.00
Other0.010.00


Back to Interconnect Stats
Back to Top

Interconnect Device Statistics

Device NameIP AddressPublicSourceSend Mbytes/secSend ErrorsSend DroppedSend Buffer OverrunSend Carrier LostReceive Mbytes/secReceive ErrorsReceive DroppedReceive Buffer OverrunReceive Frame Errors
bondib0192.168.2.9NO  0.030000 0.020000


Back to Interconnect Stats
Back to Top

Dynamic Remastering Stats

NameTotalper Remaster OpBegin SnapEnd Snap
remaster ops21.00  
remastered objects42.00  
replayed locks received5,3242,662.00  
replayed locks sent3,3051,652.50  
resources cleaned00.00  
remaster time (s)1.40.69  
quiesce time (s)0.00.00  
freeze time (s)0.10.06  
cleanup time (s)0.20.08  
replay time (s)0.50.27  
fixwrite time (s)0.20.10  
sync time (s)0.30.16  
affinity objects  172172
read-mostly objects  166163



Back to Top

Exadata Configuration and Statistics


Back to Top


Back to Top

Exadata Server Configuration

Back to Top

Exadata Storage Server Model

ModelCPU CountMemory(GB)# CellsCells
Oracle Corporation ORACLE SERVER X5-2L High Capacity32/32953 scn01cel01; scn01cel02; scn01cel03


Back to Exadata Server Configuration
Back to Top

Exadata Storage Server Version

Package TypePackage VersionCells
Kernel2.6.39-400.281.1.el6uek.x86_64 All
Cellcell-12.1.2.3.2_LINUX.X64_160721-1.x86_64 All
Offloadcellofl-12.1.2.3.2_LINUX.X64_160721 All
Offloadcellofl-11.2.3.3.1_LINUX.X64_150818 All


Back to Exadata Server Configuration
Back to Top

Exadata Storage Information

  # Celldisks   
Flash cache size(GB)Flash Log Size(GB)Hard DiskFlash# GriddisksCells
5,960.940.50124240 All
17,882.821.503612720 Total


Back to Exadata Server Configuration
Back to Top

Exadata Griddisks

Griddisk Name Prefix# GriddisksGriddisk Size(GB)TypeCells
DATAC312257.00H/7.2T All
DBFSC3125.00H/7.2T All
RECOC312427.00H/7.2T All
DATA_C0P_PRD1290.00H/7.2T All
DATA_C12_PRD12250.00H/7.2T All
DATA_C13_PRD12279.09H/7.2T All
DATA_C1P_PRD12854.00H/7.2T All
DATA_CRT_PRD12682.00H/7.2T All
DATA_DTR_PRD12510.00H/7.2T All
DBFS_C1P_PRD125.00H/7.2T All
DBFS_CRT_PRD125.00H/7.2T All
DBFS_DTR_PRD125.00H/7.2T All
RECO_C0P_PRD1290.00H/7.2T All
RECO_C12_PRD12110.00H/7.2T All
RECO_C13_PRD12110.00H/7.2T All
RECO_C1P_PRD121,024.00H/7.2T All
RECO_CRT_PRD12850.00H/7.2T All
RECO_DTR_PRD12427.00H/7.2T All
DATA2_DTR_PRD12250.00H/7.2T All
RECO2_DTR_PRD12256.00H/7.2T All


Back to Exadata Server Configuration
Back to Top

Exadata Celldisks

Disk TypeCellDisk Size(GB)# DisksCells
F/1.5T1,490.414 All
H/7.2T7,323.9110 All
H/7.2T7,290.112 All


Back to Exadata Server Configuration
Back to Top

ASM Diskgroups

DiskgroupSize(GB)Used(GB)# DisksRedundancy
DATA_C1P_PRD30,744.0022,837.9236HIGH
RECO_C1P_PRD36,864.0022,010.4936HIGH


Back to Exadata Server Configuration
Back to Top

Exadata Server Health Report

Back to Top

Exadata Alerts Summary

Cell NameTotalCriticalWarningInfo
Total4400
scn01cel011100
scn01cel023300


Back to Exadata Server Health Report
Back to Top

Exadata Alerts Detail

Cell NameAlert TimeSeverityStatefulMessage
scn01cel0111/05 09:44:22criticalY"A SQL PLAN quarantine has been added. As a result, Smart Scan is disabled for SQL statements with the quarantined SQL plan. <exadata:br/> Quarantine id : 141 <exadata:br/> Quarantine type : SQL PLAN <exadata:br/> Quarantine reason : Crash <exadata:br/> Quarantine Plan : SYSTEM <exadata:br/> Quarantine Mode : FULL_Quarantine <exadata:br/> DB Unique Name : CBODTRP1.PBODTRP1 <exadata:br/> Incident id : 41 <exadata:br/> SQLID : 4rbda6qzrczj9 <exadata:br/> SQL Plan details : {SQL_PLAN_HASH_VALUE=1437139106, PLAN_LINE_ID=8} <exadata:br/> In addition, the following disk regions have been quarantined, and Smart Scan will be disabled for these regions: <exadata:br/> Disk Region : {Grid Disk Name=DATA_DTR_PRD_CD_10_scn01cel01, offset=64316506112, size=1M} <exadata:br/> Disk Region : {Grid Disk Name=DATA_DTR_PRD_CD_10_scn01cel01, offset=64317554688, size=1M} <exadata:br/> Disk Region : {Grid Disk Name=DATA_DTR_PRD_CD_06_scn01cel01, offset=64358449152, size=1M} <exadata:br/> Disk Region : {
scn01cel0210/09 07:42:28criticalY"A SQL PLAN quarantine has been added. As a result, Smart Scan is disabled for SQL statements with the quarantined SQL plan. <exadata:br/> Quarantine id : 65 <exadata:br/> Quarantine type : SQL PLAN <exadata:br/> Quarantine reason : Crash <exadata:br/> Quarantine Plan : SYSTEM <exadata:br/> Quarantine Mode : FULL_Quarantine <exadata:br/> DB Unique Name : CBODTRP1.PBODTRP1 <exadata:br/> Incident id : 1 <exadata:br/> SQLID : 80r79c5psskcr <exadata:br/> SQL Plan details : {SQL_PLAN_HASH_VALUE=1614914335, PLAN_LINE_ID=8} <exadata:br/> In addition, the following disk region has been quarantined, and Smart Scan will be disabled for this region: <exadata:br/> Disk Region : {Grid Disk Name=DATA_DTR_PRD_CD_11_scn01cel02, offset=159815565312, size=1M} <exadata:br/>"
10/09 07:42:28criticalY"A SQL PLAN quarantine has been added. As a result, Smart Scan is disabled for SQL statements with the quarantined SQL plan. <exadata:br/> Quarantine id : 29 <exadata:br/> Quarantine type : SQL PLAN <exadata:br/> Quarantine reason : Crash <exadata:br/> Quarantine Plan : SYSTEM <exadata:br/> Quarantine Mode : FULL_Quarantine <exadata:br/> DB Unique Name : CBODTRP1.PBODTRP1 <exadata:br/> Incident id : UNKNOWN <exadata:br/> SQLID : fmp19ru105wju <exadata:br/> SQL Plan details : {SQL_PLAN_HASH_VALUE=4253908737, PLAN_LINE_ID=7} <exadata:br/> In addition, the following disk region has been quarantined, and Smart Scan will be disabled for this region: <exadata:br/> Disk Region : {Grid Disk Name=DATA_DTR_PRD_CD_11_scn01cel02, offset=30172774400, size=1M} <exadata:br/>"
10/09 07:42:28criticalY"A SQL PLAN quarantine has been added. As a result, Smart Scan is disabled for SQL statements with the quarantined SQL plan. <exadata:br/> Quarantine id : 61 <exadata:br/> Quarantine type : SQL PLAN <exadata:br/> Quarantine reason : Crash <exadata:br/> Quarantine Plan : SYSTEM <exadata:br/> Quarantine Mode : FULL_Quarantine <exadata:br/> DB Unique Name : CBODTRP1.PBODTRP1 <exadata:br/> Incident id : UNKNOWN <exadata:br/> SQLID : 4rbda6qzrczj9 <exadata:br/> SQL Plan details : {SQL_PLAN_HASH_VALUE=1437139106, PLAN_LINE_ID=8} <exadata:br/> In addition, the following disk regions have been quarantined, and Smart Scan will be disabled for these regions: <exadata:br/> Disk Region : {Grid Disk Name=DATA_DTR_PRD_CD_11_scn01cel02, offset=27537702912, size=1M} <exadata:br/> Disk Region : {Grid Disk Name=DATA_DTR_PRD_CD_11_scn01cel02, offset=56449040384, size=1M} <exadata:br/> Disk Region : {Grid Disk Name=DATA_DTR_PRD_CD_09_scn01cel02, offset=57568919552, size=1M} <exadata:br/> Disk Region


Back to Exadata Server Health Report
Back to Top

Exadata Non-Online Disks

No data exists for this section of the report.

Back to Exadata Server Health Report
Back to Top

Exadata Cell Statistics

Exadata Statistics


Back to Top

Exadata Resource Statistics

Back to Top

Exadata Outlier Summary

Outlier Summary - Cell Level

Back to Exadata Outlier Summary
Back to Exadata Resource Statistics

Outlier Summary - Disk Level

Back to Exadata Outlier Summary
Back to Exadata Resource Statistics

Exadata OS Statistics Outliers

Exadata OS IO Statistics - Outlier Cells

IOPs IO MB/s % Disk Utilization
Total % Total Per Cell Per Disk Total % Total Per Cell Per Disk
Disk Type Cell Name # Cells # Disks Average Mean Std Dev Normal Range Average Mean Std Dev Normal Range Mean Std Dev Normal Range
F/1.5T All 1 4 2,946.95 2,946.95 736.74 130.07 606.66 - 866.81 32.47 32.47 8.12 3.65 4.47 - 11.76 4.97 1.05 3.92 - 6.02
H/7.2T All 1 12 1,091.47 1,091.47 90.96 42.45 48.51 - 133.40 108.37 108.37 9.03 0.65 8.38 - 9.68 5.88 1.03 4.86 - 6.91

Exadata OS IO Statistics - Outlier Disks

IOPs IO MB/s % Disk Utilization
Disk Type Cell Name Disk Name # Disks % Total Mean Std Dev Normal Range % Total Mean Std Dev Normal Range Mean Std Dev Normal Range
F/1.5T All All 4 736.74 130.07 346.51 - 1,126.96 8.12 3.65 0.00 - 19.05 4.97 1.05 1.82 - 8.13
H/7.2T All All 12 90.96 42.45 0.00 - 218.29 9.03 0.65 7.08 - 10.99 5.88 1.03 2.80 - 8.96

Back to Exadata OS Statistics Outliers
Back to Exadata Resource Statistics

Exadata OS IO Latency - Outlier Cells

Avg Service Time Avg Wait Time
Disk Type Cell Name # Cells # Disks Mean Std Dev Normal Range Mean Std Dev Normal Range
F/1.5T All 1 4 74.28us 7.40us 66.88us - 81.68us 103.11us 65.76us 37.34us - 168.87us
H/7.2T All 1 12 805.09us 290.48us 514.62us - 1,095.57us 3.46ms 1.81ms 1.65ms - 5.27ms

Exadata OS IO Latency - Outlier Disks

Avg Service Time Avg Wait Time
Disk Type Cell Name Disk Name Mean Std Dev Normal Range Mean Std Dev Normal Range
F/1.5T All All 74.28us 7.40us 52.07us - 96.48us 103.11us 65.76us 0.00us - 300.40us
H/7.2T All All 805.09us 290.48us 0.00us - 1,676.52us 3.46ms 1.81ms 0.00ms - 8.90ms

Back to Exadata OS Statistics Outliers
Back to Exadata Resource Statistics

Exadata OS CPU Statistics - Outlier Cells

% CPU Usage % User CPU % System CPU
Cell Name # Cells Mean Std Dev Normal Range Mean Std Dev Normal Range Mean Std Dev Normal Range
All 1 0.84 0.49 0.35 - 1.33 0.79 0.41 0.38 - 1.20 0.05 0.22 0.00 - 0.28

Back to Exadata OS Statistics Outliers
Back to Exadata Resource Statistics

Exadata Cell Server Statistics Outliers


Back to Top

Exadata Cell Server IOPS Statistics - Outlier Cells

IOPs Small Reads/s Small Writes/s Large Reads/s Large Writes/s
Total % Total Per Cell Per Disk Per Cell Per Disk Per Cell Per Disk Per Cell Per Disk Per Cell Per Disk
Disk Type Cell Name # Cells # Disks Average Mean Std Dev Normal Range Average Mean Std Dev Normal Range Average Mean Std Dev Normal Range Average Mean Std Dev Normal Range Average Mean Std Dev Normal Range
F/1.5T All 1 4 2,890.32 2,890.32 722.58 124.32 598.25 - 846.90 2,028.42 507.11 70.66 436.45 - 577.76 634.74 158.68 63.26 95.43 - 221.94 203.58 50.89 52.36 0.00 - 103.25 23.58 5.89 1.98 3.91 - 7.88
H/7.2T All 1 12 1,030.32 1,030.32 85.86 41.50 44.36 - 127.36 45.16 3.76 9.03 0.00 - 12.79 877.11 73.09 40.33 32.76 - 113.43 59.84 4.99 0.40 4.58 - 5.39 48.21 4.02 0.62 3.40 - 4.64

Exadata Cell Server IOPS Statistics - Outlier Disks

IOPs Small Reads/s Small Writes/s Large Reads/s Large Writes/s
Disk Type Cell Name Disk Name % Total Mean Std Dev Normal Range Mean Std Dev Normal Range Mean Std Dev Normal Range Mean Std Dev Normal Range Mean Std Dev Normal Range
F/1.5T All All 722.58 124.32 349.61 - 1,095.55 507.11 70.66 295.13 - 719.08 158.68 63.26 0.00 - 348.46 50.89 52.36 0.00 - 207.96 5.89 1.98 0.00 - 11.85
H/7.2T All All 85.86 41.50 0.00 - 210.36 3.76 9.03 0.00 - 30.85 73.09 40.33 0.00 - 194.09 4.99 0.40 3.78 - 6.19 4.02 0.62 2.15 - 5.88

Back to Exadata Cell Server Statistics Outliers
Back to Exadata Resource Statistics

Exadata Cell Server IO MB/s Statistics - Outlier Cells

IO MB/s Small Reads/s Small Writes/s Large Reads/s Large Writes/s
Total % Total Per Cell Per Disk Per Cell Per Disk Per Cell Per Disk Per Cell Per Disk Per Cell Per Disk
Disk Type Cell Name # Cells # Disks Average Mean Std Dev Normal Range Average Mean Std Dev Normal Range Average Mean Std Dev Normal Range Average Mean Std Dev Normal Range Average Mean Std Dev Normal Range
F/1.5T All 1 4 37.05 37.05 9.26 3.65 5.61 - 12.91 17.15 4.29 0.69 3.60 - 4.98 3.76 0.94 0.36 0.58 - 1.30 12.53 3.13 3.16 0.00 - 6.30 3.61 0.90 0.15 0.75 - 1.05
H/7.2T All 1 12 120.33 120.33 10.03 0.57 9.45 - 10.60 0.22 0.02 0.03 0.00 - 0.05 6.80 0.57 0.24 0.32 - 0.81 65.87 5.49 0.35 5.14 - 5.84 47.43 3.95 0.44 3.51 - 4.39

Exadata Cell Server IO MB/s Statistics - Outlier Disks

IO MB/s Small Reads/s Small Writes/s Large Reads/s Large Writes/s
Disk Type Cell Name Disk Name % Total Mean Std Dev Normal Range Mean Std Dev Normal Range Mean Std Dev Normal Range Mean Std Dev Normal Range Mean Std Dev Normal Range
F/1.5T All All 9.26 3.65 0.00 - 20.21 4.29 0.69 2.21 - 6.36 0.94 0.36 0.00 - 2.03 3.13 3.16 0.00 - 12.63 0.90 0.15 0.45 - 1.36
H/7.2T All All 10.03 0.57 8.30 - 11.75 0.02 0.03 0.00 - 0.12 0.57 0.24 0.00 - 1.30 5.49 0.35 4.45 - 6.53 3.95 0.44 2.63 - 5.27

Back to Exadata Cell Server Statistics Outliers
Back to Exadata Resource Statistics

Exadata Cell Server IO Latency - Outlier Cells

Cell Latency Small Read Small Write Large Read Large Write
Disk Type Cell Name # Cells # Disks Mean Std Dev Normal Range Mean Std Dev Normal Range Mean Std Dev Normal Range Mean Std Dev Normal Range Mean Std Dev Normal Range
F/1.5T All 1 4 125.15us 70.67us 54.48us - 195.82us 115.18us 4.50us 110.68us - 119.69us 28.82us 1.02us 27.79us - 29.84us 439.67us 418.24us 21.43us - 857.91us 84.71us 9.71us 74.99us - 94.42us
H/7.2T All 1 12 3.51ms 1.99ms 1.51ms - 5.51ms 12.04ms 7.14ms 4.91ms - 19.18ms 1.86ms 2.14ms 0.00ms - 3.99ms 26.65ms 3.34ms 23.31ms - 29.99ms 0.32ms 0.17ms 0.16ms - 0.49ms

Exadata Cell Server IO Latency - Outlier Disks

Cell Latency Small Read Small Write Large Read Large Write
Disk Type Cell Name Disk Name Mean Std Dev Normal Range Mean Std Dev Normal Range Mean Std Dev Normal Range Mean Std Dev Normal Range Mean Std Dev Normal Range
F/1.5T All All 125.15us 70.67us 0.00us - 337.17us 115.18us 4.50us 101.68us - 128.69us 28.82us 1.02us 25.75us - 31.88us 439.67us 418.24us 0.00us - 1,694.40us 84.71us 9.71us 55.57us - 113.85us
H/7.2T All All 3.51ms 1.99ms 0.00ms - 9.50ms 12.04ms 7.14ms 0.00ms - 33.45ms 1.86ms 2.14ms 0.00ms - 8.26ms 26.65ms 3.34ms 16.62ms - 36.68ms 0.32ms 0.17ms 0.00ms - 0.82ms

Back to Exadata Cell Server Statistics Outliers
Back to Exadata Resource Statistics

Exadata Outlier Details

Exadata OS IO Statistics Details for Outlier Cells

No data exists for this section of the report.

Exadata OS IO Statistics Details for Outlier Disks

No data exists for this section of the report.

Back to Exadata Outlier Details
Back to Exadata Resource Statistics

Exadata Cell Server Details for Outlier Cells

No data exists for this section of the report.

Exadata Cell Server Details for Outlier Disks

No data exists for this section of the report.

Back to Exadata Outlier Details
Back to Exadata Resource Statistics

Exadata OS Statistics Top

Exadata OS IO Statistics - Top Cells

IOPs IO MB/s %Disk Utilization
Disk Type Cell Name %Total Avg %Total Avg Avg
F/1.5T scn01cel03 100.00 2,946.95 100.00 32.47 4.97
H/7.2T scn01cel03 100.00 1,091.47 100.00 108.37 5.88

Exadata OS IO Statistics - Top Disks

IOPs IO MB/s %Disk Utilization
Disk Type Cell Name Disk Name %Total Avg %Total Avg Avg
F/1.5T scn01cel03 FD_03_scn01cel03 25.74 758.42 26.26 8.53 5.37
scn01cel03 FD_02_scn01cel03 24.96 735.47 24.64 8.00 4.89
scn01cel03 FD_00_scn01cel03 24.93 734.79 24.96 8.11 4.89
scn01cel03 FD_01_scn01cel03 24.37 718.26 24.15 7.84 4.74
H/7.2T scn01cel03 CD_02_scn01cel03 10.29 112.26 8.31 9.00 5.95
scn01cel03 CD_01_scn01cel03 9.15 99.89 8.55 9.26 7.26
scn01cel03 CD_08_scn01cel03 9.01 98.37 8.26 8.95 5.68
scn01cel03 CD_05_scn01cel03 8.89 97.05 8.45 9.16 5.74
scn01cel03 CD_00_scn01cel03 8.46 92.37 8.11 8.79 6.26
scn01cel03 CD_07_scn01cel03 8.17 89.21 8.35 9.05 5.58
scn01cel03 CD_11_scn01cel03 8.12 88.63 8.21 8.89 5.42
scn01cel03 CD_09_scn01cel03 7.94 86.63 8.40 9.11 5.89
scn01cel03 CD_04_scn01cel03 7.77 84.79 8.45 9.16 5.68
scn01cel03 CD_03_scn01cel03 7.45 81.26 8.31 9.00 5.79
scn01cel03 CD_10_scn01cel03 7.38 80.58 8.35 9.05 5.58
scn01cel03 CD_06_scn01cel03 7.37 80.42 8.26 8.95 5.74

Back to Exadata OS Statistics Top
Back to Exadata Resource Statistics

Exadata OS IO Latency - Top Cells

Average Times
Disk Type Cell Name Service Time Wait Time
F/1.5T scn01cel03 74.28us 103.11us
H/7.2T scn01cel03 805.09us 3.46ms

Exadata OS IO Latency - Top Disks

Average Times
Disk Type Cell Name Disk Name Service Time Wait Time
F/1.5T scn01cel03 FD_03_scn01cel03 75.11us 118.16us
scn01cel03 FD_00_scn01cel03 74.16us 99.95us
scn01cel03 FD_01_scn01cel03 73.89us 99.47us
scn01cel03 FD_02_scn01cel03 73.95us 94.84us
H/7.2T scn01cel03 CD_00_scn01cel03 836.53us 5.33ms
scn01cel03 CD_09_scn01cel03 901.74us 3.91ms
scn01cel03 CD_01_scn01cel03 871.63us 3.82ms
scn01cel03 CD_06_scn01cel03 883.89us 3.74ms
scn01cel03 CD_03_scn01cel03 867.16us 3.71ms
scn01cel03 CD_04_scn01cel03 789.05us 3.57ms
scn01cel03 CD_05_scn01cel03 778.53us 3.25ms
scn01cel03 CD_10_scn01cel03 848.79us 3.02ms
scn01cel03 CD_08_scn01cel03 749.63us 2.99ms
scn01cel03 CD_07_scn01cel03 763.00us 2.84ms
scn01cel03 CD_02_scn01cel03 618.63us 2.75ms
scn01cel03 CD_11_scn01cel03 752.53us 2.61ms

Back to Exadata OS Statistics Top
Back to Exadata Resource Statistics

Exadata OS CPU Statistics - Top Cells

Cell Name % CPU % User % Sys
scn01cel03 0.84 0.79 0.05

Back to Exadata OS Statistics Top
Back to Exadata Resource Statistics

Exadata Cell Server Statistics Top

Exadata Cell Server IOPS Statistics - Top Cells

IOPs Average Per Second
Disk Type Cell Name % Total Average Small Reads Small Writes Large Reads Large Writes
F/1.5T scn01cel03 100.00 2,890.32 2,028.42 634.74 203.58 23.58
H/7.2T scn01cel03 100.00 1,030.32 45.16 877.11 59.84 48.21

Exadata Cell Server IOPS - Top Disks

IOPs Average Per Second
Disk Type Cell Name Disk Name %Total Average Small Reads Small Writes Large Reads Large Writes
F/1.5T scn01cel03 FD_03_scn01cel03 25.75 744.21 524.84 161.05 52.37 5.95
scn01cel03 FD_02_scn01cel03 24.96 721.32 508.11 158.53 48.79 5.89
scn01cel03 FD_00_scn01cel03 24.93 720.68 506.16 156.89 51.68 5.95
scn01cel03 FD_01_scn01cel03 24.36 704.11 489.32 158.26 50.74 5.79
H/7.2T scn01cel03 CD_02_scn01cel03 10.35 106.68 15.74 81.74 5.16 4.05
scn01cel03 CD_01_scn01cel03 9.22 95.00 16.79 69.05 5.05 4.11
scn01cel03 CD_08_scn01cel03 9.08 93.53 0.37 84.32 4.95 3.89
scn01cel03 CD_05_scn01cel03 8.93 92.05 0.74 82.11 5.00 4.21
scn01cel03 CD_00_scn01cel03 8.45 87.05 8.21 70.00 4.89 3.95
scn01cel03 CD_07_scn01cel03 8.18 84.32 0.37 75.21 4.84 3.89
scn01cel03 CD_11_scn01cel03 8.10 83.42 0.42 74.21 4.84 3.95
scn01cel03 CD_09_scn01cel03 7.96 82.05 0.47 72.42 5.11 4.05
scn01cel03 CD_04_scn01cel03 7.73 79.68 0.32 70.26 5.11 4.00
scn01cel03 CD_10_scn01cel03 7.38 76.00 0.68 66.21 5.00 4.11
scn01cel03 CD_03_scn01cel03 7.34 75.58 0.74 65.79 4.95 4.11
scn01cel03 CD_06_scn01cel03 7.27 74.95 0.32 65.79 4.95 3.89

Back to Exadata Cell Server Statistics Top
Back to Exadata Resource Statistics

Exadata Cell Server IO MB/s Statistics - Top Cells

IO MB/s Average MB/s
Disk Type Cell Name % Total Average Small Reads Small Writes Large Reads Large Writes
F/1.5T scn01cel03 100.00 37.05 17.15 3.76 12.53 3.61
H/7.2T scn01cel03 100.00 120.33 0.22 6.80 65.87 47.43

Exadata Cell Server IO MB/s - Top Disks

IO MB/s Average MB/s
Disk Type Cell Name Disk Name %Total Average Small Reads Small Writes Large Reads Large Writes
F/1.5T scn01cel03 FD_03_scn01cel03 26.07 9.66 4.56 0.98 3.21 0.90
scn01cel03 FD_00_scn01cel03 25.09 9.29 4.28 0.92 3.18 0.92
scn01cel03 FD_02_scn01cel03 24.63 9.12 4.28 0.94 3.01 0.89
scn01cel03 FD_01_scn01cel03 24.22 8.97 4.02 0.93 3.13 0.90
H/7.2T scn01cel03 CD_05_scn01cel03 8.45 10.16 0.01 0.60 5.53 4.02
scn01cel03 CD_01_scn01cel03 8.44 10.16 0.07 0.54 5.53 4.02
scn01cel03 CD_02_scn01cel03 8.38 10.08 0.03 0.57 5.51 3.97
scn01cel03 CD_09_scn01cel03 8.37 10.07 0.01 0.55 5.56 3.95
scn01cel03 CD_10_scn01cel03 8.33 10.02 0.01 0.56 5.49 3.96
scn01cel03 CD_04_scn01cel03 8.32 10.02 0.01 0.54 5.50 3.97
scn01cel03 CD_06_scn01cel03 8.31 10.00 0.01 0.57 5.49 3.94
scn01cel03 CD_03_scn01cel03 8.30 9.99 0.01 0.50 5.45 4.02
scn01cel03 CD_08_scn01cel03 8.30 9.98 0.01 0.62 5.47 3.88
scn01cel03 CD_07_scn01cel03 8.29 9.97 0.01 0.62 5.46 3.89
scn01cel03 CD_00_scn01cel03 8.28 9.97 0.04 0.54 5.47 3.92
scn01cel03 CD_11_scn01cel03 8.22 9.89 0.01 0.58 5.41 3.89

Back to Exadata Cell Server Statistics Top
Back to Exadata Resource Statistics

Exadata Cell Server IO Latency - Top Cells

Average Times
Disk Type Cell Name Cell Latency Small Read Small Write Large Read Large Write
F/1.5T scn01cel03 125.15us 115.18us 28.82us 439.67us 84.71us
H/7.2T scn01cel03 3.51ms 12.04ms 1.86ms 26.65ms 0.32ms

Exadata Cell Server IO Latency - Top Disks

Average Times
Disk Type Cell Name Disk Name Cell Latency Small Read Small Write Large Read Large Write
F/1.5T scn01cel03 FD_03_scn01cel03 138.75us 115.68us 29.05us 503.00us 86.11us
scn01cel03 FD_01_scn01cel03 121.83us 114.74us 28.68us 428.95us 87.32us
scn01cel03 FD_02_scn01cel03 121.12us 116.05us 29.37us 449.16us 86.32us
scn01cel03 FD_00_scn01cel03 118.90us 114.26us 28.16us 377.58us 79.10us
H/7.2T scn01cel03 CD_00_scn01cel03 5.55ms 7.14ms 4.24ms 27.94ms 0.52ms
scn01cel03 CD_09_scn01cel03 3.98ms 17.69ms 2.04ms 26.41ms 0.32ms
scn01cel03 CD_01_scn01cel03 3.94ms 3.13ms 2.67ms 27.57ms 0.28ms
scn01cel03 CD_03_scn01cel03 3.79ms 9.60ms 1.86ms 26.16ms 0.33ms
scn01cel03 CD_06_scn01cel03 3.76ms 17.07ms 1.85ms 26.51ms 0.33ms
scn01cel03 CD_04_scn01cel03 3.66ms 17.08ms 1.95ms 27.43ms 0.32ms
scn01cel03 CD_05_scn01cel03 3.26ms 9.04ms 1.53ms 27.61ms 0.29ms
scn01cel03 CD_10_scn01cel03 3.06ms 14.49ms 1.08ms 25.62ms 0.28ms
scn01cel03 CD_08_scn01cel03 2.94ms 17.08ms 1.32ms 26.49ms 0.29ms
scn01cel03 CD_02_scn01cel03 2.82ms 0.92ms 1.69ms 26.47ms 0.34ms
scn01cel03 CD_07_scn01cel03 2.79ms 17.31ms 1.19ms 25.60ms 0.30ms
scn01cel03 CD_11_scn01cel03 2.54ms 13.95ms 0.85ms 26.00ms 0.27ms

Back to Exadata Cell Server Statistics Top
Back to Exadata Resource Statistics

Exadata Smart Statistics


Back to Top

Smart IO

MB Requested Storage Index Flash Cache Offload Passthru Reverse Offload
Cell Name % Total Total per Sec MB % Optimized MB % Optimized MB % Efficiency MB % Passthru MB % ReverseOffload
Total (3) 574,757.68 160.14 43,252.37 7.53 531,241.70 92.43 566,034.46 98.48 0.09 0.00
scn01cel01 33.80 194,273.15 54.13 14,640.84 7.54 179,515.71 92.40 191,456.30 98.55 0.03 0.00
scn01cel03 33.47 192,364.48 53.60 14,967.43 7.78 177,271.05 92.15 189,188.14 98.35
scn01cel02 32.73 188,120.05 52.42 13,644.09 7.25 174,454.93 92.74 185,390.02 98.55 0.06 0.00

Back to Exadata Smart Statistics
Back to Exadata Statistics

Passthru Reasons

Passthru Reasons Number of Sessions % Total
cell num smart IO sessions using passthru mode due to cellsrv 0
cell num smart IO sessions using passthru mode due to timezone 0
cell num smart IO sessions using passthru mode due to user 0

Back to Exadata Smart Statistics
Back to Exadata Statistics

Flash Log Statistics

Flash Log

Write Requests Write MB First Writes Outliers Errors
Cell Name % Total Total per Sec Total per Sec %Flash Log Flash Log DB Log % Efficiency Prevented Actual Disk I/O Flash I/O Keep (MB) Skip Count
Total (3) 8,399,043 2,340.22 85,059.75 23.70 87.40 7,341,070 1,057,973 100.00 3,524
scn01cel01 33.34 2,800,085 780.19 28,366.38 7.90 86.76 2,429,243 370,842 100.00 763
scn01cel02 33.34 2,799,924 780.14 28,361.38 7.90 87.27 2,443,632 356,292 100.00 954
scn01cel03 33.33 2,799,034 779.89 28,331.99 7.89 88.18 2,468,195 330,839 100.00 1,807

Back to Exadata Smart Statistics
Back to Exadata Statistics

Redo Write Histogram

% of Total
Cell Name Total Waits Avg Wait <1us <2us <4us <8us <16us <32us <64us <128us <256us <512us <1ms <2ms <4ms <8ms <16ms <32ms <64ms <128ms <256ms <512ms <1s >=1s
log file parallel write 270,344 289.40us 99.84 0.14 0.02 0.00

Back to Exadata Smart Statistics
Back to Exadata Statistics

Flash Cache

Flash Cache Configuration

Mode Compression Status Cells
WriteThrough All

Back to Exadata Flash Cache
Back to Exadata Smart Statistics

Flash Cache Space Usage

Default Keep
OLTP Large Writes %Scan %Columnar OLTP %Scan %Columnar
Cell Name Space (GB) %Clean %Unflushed %Temp Spill %Data/Temp %Write Only %Clean %Unflushed
Total (3) 17,802.81 85.42 12.17 2.41 0.00
scn01cel03 5,937.53 86.73 10.84 2.43 0.00
scn01cel01 5,932.70 84.68 12.91 2.41 0.00
scn01cel02 5,932.57 84.84 12.75 2.41 0.00

Back to Exadata Flash Cache
Back to Exadata Smart Statistics

Flash Cache Performance Summary

I/O Summary

Requests Throughput
Disk Type Reads/s Writes/s Read MB/s Write MB/s
F/1.5T 558.00 164.57 7.42 1.84
H/7.2T 8.75 77.11 5.51 4.52

Flash Cache Savings

Database Flash Cache Hit % 100
Cell OLTP Hit % 99.93
Cell Scan Hit % 99.06
Disk Write savings/s

Disk Activity

I/O per second
Read Misses 6.75
Disk writer
% Utilization
H/7.2T 5.88

Single Block Reads

% of Total Waits
Total Waits FG Waits Avg Wait <1us <2us <4us <8us <16us <32us <64us <128us <256us <512us <1ms <2ms <4ms <8ms <16ms <32ms <64ms <128ms <256ms <512ms <1s >=1s
cell single block physical read 1,961,285 1,953,721 332.07us 98.97 0.75 0.20 0.01 0.00 0.02 0.04 0.00 0.00 0.00 0.00
Small Reads Distribution %Small Reads Small Reads/s
Flash 97.82 2,028.42
Disk 2.18 45.16
Small Reads - Flash # Cells Total Small Reads/s Cell Small Reads/s Disk Small Reads/s Latency
F/1.5T 1 2,028.42 2,028.42 507.11 115.18us
Small Reads - Disk # Cells Total Small Reads/s Cell Small Reads/s Disk Small Reads/s Latency
H/7.2T 1 45.16 45.16 3.76 12.04ms

Flash Cache Scan Summary

%MB MB/s
Flash 99.06 78.19
Disk 0.94 0.74

Temp IO and Large Writes Summary

% of Total Waits
Total Waits FG Waits Avg Wait <1us <2us <4us <8us <16us <32us <64us <128us <256us <512us <1ms <2ms <4ms <8ms <16ms <32ms <64ms <128ms <256ms <512ms <1s >=1s
direct path read temp 384 384 1.62ms 43.40 5.35 6.92 2.04 1.73 0.79 0.16
direct path write temp 254 1 293.00us 36.95 0.94 0.47 0.16 0.16 0.63 0.31

Flash Cache User Reads

Read Requests Read Megabytes
Cell Name Total per Sec OLTP Scan Columnar Keep Misses
Partial Hits
Active
Secondary
Hits
Active
Secondary
Misses
Total per Sec OLTP Scan Columnar Keep Active
Secondary
Hits
Active
Secondary
Misses
Total (3) 32,767,952 9,130.11 32,334,953 432,999 24,216 867,512.82 241.71 586,889.14 280,623.68
scn01cel02 11,110,394 3,095.68 10,966,245 144,149 7,616 287,378.52 80.07 194,328.26 93,050.26
scn01cel03 11,025,509 3,072.03 10,882,628 142,881 8,335 288,484.36 80.38 196,948.00 91,536.36
scn01cel01 10,632,049 2,962.40 10,486,080 145,969 8,265 291,649.95 81.26 195,612.88 96,037.06

Flash Cache User Reads Per Second

Read Requests per Second Read MB per Second
Cell Name Total OLTP Scan Columnar Keep Misses Total OLTP Scan Columnar Keep
Total (3) 9,130.11 9,009.46 120.65 6.75 241.71 163.52 78.19
scn01cel02 3,095.68 3,055.52 40.16 2.12 80.07 54.15 25.93
scn01cel03 3,072.03 3,032.22 39.81 2.32 80.38 54.88 25.50
scn01cel01 2,962.40 2,921.73 40.67 2.30 81.26 54.50 26.76

Back to Exadata Flash Cache
Back to Exadata Smart Statistics

Flash Cache User Reads Efficiency

Total OLTP Scan Columnar Keep
Cell Name Requests MB Read Requests Misses %Hit Read MB Attempted MB %Hit Read MB Eligible MB Saved MB % Efficiency Read Requests Misses %Hit
Total (3) 32,767,952 867,512.82 32,334,953 24,216 99.93 280,623.68 283,285.12 99.06
scn01cel02 11,110,394 287,378.52 10,966,245 7,616 99.93 93,050.26 94,077.76 98.91
scn01cel03 11,025,509 288,484.36 10,882,628 8,335 99.92 91,536.36 92,354.70 99.11
scn01cel01 10,632,049 291,649.95 10,486,080 8,265 99.92 96,037.06 96,852.66 99.16

Back to Exadata Flash Cache
Back to Exadata Smart Statistics

Columnar Cache Efficiency

No data exists for this section of the report.

Back to Exadata Flash Cache
Back to Exadata Smart Statistics

Flash Cache User Writes

Write Requests Write Megabytes
Total per Sec Total per Sec
Cell Name Total First Writes Overwrites Keep Large Writes Total First Writes Overwrites Keep Large Writes Total First Writes Overwrites Keep Large Writes Total First Writes Overwrites Keep Large Writes
Total (3) 22,870.19 6.37
scn01cel03 7,824.69 2.18
scn01cel02 7,713.88 2.15
scn01cel01 7,331.62 2.04

Back to Exadata Flash Cache
Back to Exadata Smart Statistics

Flash Cache Internal Reads

No data exists for this section of the report.

Back to Exadata Flash Cache
Back to Exadata Smart Statistics

Flash Cache Internal Writes

Population Write Requests Population Write Megabytes
Cell Name Total per Sec Columnar Keep Total per Sec Columnar Keep
Total (3) 1,755,096 489.02 179 26,898.38 7.49 2.80
scn01cel02 598,311 166.71 111 9,179.34 2.56 1.73
scn01cel03 592,119 164.98 56 9,089.29 2.53 0.88
scn01cel01 564,666 157.33 12 8,629.75 2.40 0.19

Back to Exadata Smart Statistics
Back to Exadata Statistics

Columnar Cache Population

No data exists for this section of the report.

Back to Exadata Flash Cache
Back to Exadata Smart Statistics

Columnar Cache Population - Current

No data exists for this section of the report.

Back to Exadata Flash Cache
Back to Exadata Smart Statistics

Flash Cache Scan Population

Replacements
Cell Name OLTP DW Self Zero Hit Free Headers Used
Total (3) 4,499
scn01cel03 1,666
scn01cel01 1,512
scn01cel02 1,321

Back to Exadata Smart Statistics
Back to Exadata Statistics

Exadata IO Reasons


Back to Top

Top IO Reasons by Requests

Requests MB
Cell Name IO Reason %Cell Total Requests per Sec Total MB per Sec
scn01cel01 buffer cache reads 43.38 9,497,051 2,646.16 83,287.30 23.21
redo log write 25.58 5,600,516 1,560.47 49,557.94 13.81
smart scan 13.72 3,002,665 836.63 179,536.66 50.02
REQ list writes 5.50 1,203,472 335.32 10,359.21 2.89
database control file read 2.16 473,109 131.82 21,102.17 5.88
scn01cel02 buffer cache reads 43.41 9,724,850 2,709.63 85,046.13 23.70
redo log write 25.00 5,600,261 1,560.40 49,548.51 13.81
smart scan 13.08 2,930,059 816.40 174,453.03 48.61
REQ list writes 5.45 1,220,224 339.99 10,502.52 2.93
database control file read 3.07 688,343 191.79 19,926.11 5.55
scn01cel03 buffer cache reads 43.44 9,671,412 2,694.74 84,058.41 23.42
redo log write 25.14 5,598,482 1,559.90 49,490.80 13.79
smart scan 13.34 2,970,713 827.73 177,279.97 49.40
REQ list writes 5.38 1,197,004 333.52 10,292.26 2.87
database control file read 2.85 635,647 177.11 19,625.23 5.47

Top IO Reasons by MB

MB Requests
Cell Name IO Reason %Cell Total MB per Sec Total Requests per Sec
scn01cel01 backup I/O 50.71 409,864.88 114.20 467,120 130.15
smart scan 22.21 179,536.66 50.02 3,002,665 836.63
buffer cache reads 10.31 83,287.30 23.21 9,497,051 2,646.16
redo log write 6.13 49,557.94 13.81 5,600,516 1,560.47
database control file read 2.61 21,102.17 5.88 473,109 131.82
scn01cel02 backup I/O 50.93 410,127.83 114.27 467,878 130.36
smart scan 21.67 174,453.03 48.61 2,930,059 816.40
buffer cache reads 10.56 85,046.13 23.70 9,724,850 2,709.63
redo log write 6.15 49,548.51 13.81 5,600,261 1,560.40
database control file read 2.47 19,926.11 5.55 688,343 191.79
scn01cel03 backup I/O 50.86 409,457.56 114.09 466,641 130.02
smart scan 22.02 177,279.97 49.40 2,970,713 827.73
buffer cache reads 10.44 84,058.41 23.42 9,671,412 2,694.74
redo log write 6.15 49,490.80 13.79 5,598,482 1,559.90
database control file read 2.44 19,625.23 5.47 635,647 177.11

Back to Exadata IO Reasons
Back to Exadata Statistics

Exadata Top Database Consumers


Back to Top Warning: The I/Os were estimated for the following databases that were not in the begin snapshot:
CBODTRP1, CTGINST1, DBOCRTP1, DBOETRP1, DBOFINP1, DBOMDMP1, DBONRJP2, DBOPFEP1, DBOREFP1, HOLD, OTHER

Top Databases by IO Requests

IO Requests IO Throughput (MB)
DB Name DBID %Captured Total Requests per Sec Flash Disk Total MB per Sec Flash Disk
DBOCRTP1 737020425 52.26 32,961,086 9,183.92 24,848,385 8,112,701 359,967.59 100.30 294,135.54 65,832.05
DBOFINP1 3741817935 16.86 10,633,226 2,962.73 8,863,935 1,769,291 386,653.46 107.73 355,979.29 30,674.17
CTGINST1 2165807965 8.66 5,459,554 1,521.19 5,209,801 249,753 56,137.34 15.64 48,682.58 7,454.76
DBOPFEP1 2756308854 6.35 4,004,754 1,115.84 2,839,083 1,165,671 123,704.15 34.47 108,025.69 15,678.46
DBONRJP2 3128115975 5.55 3,498,375 974.75 3,076,153 422,222 29,521.22 8.23 25,554.40 3,966.83
OTHER 0 2.96 1,864,921 519.62 1,842,759 22,162 27,092.76 7.55 26,189.43 903.33
HOLD 1874037948 2.65 1,670,249 465.38 1,113,773 556,476 346,516.43 96.55 50,370.25 296,146.18
CBODTRP1 3349146181 2.35 1,479,766 412.31 399,022 1,080,744 869,283.38 242.21 10,047.50 859,235.88
DBOETRP1 65793171 0.96 605,881 168.82 271,341 334,540 89,811.00 25.02 27,929.57 61,881.43
DBOREFP1 3924735713 0.79 498,455 138.88 313,010 185,445 18,179.95 5.07 12,029.62 6,150.33

Back to Exadata Top Database Consumers
Back to Exadata Statistics

Top Databases by IO Throughput

IO Throughput (MB) IO Requests
DB Name DBID %Captured Total MB per Sec Flash Disk Total Requests per Sec Flash Disk
CBODTRP1 3349146181 36.85 869,283.38 242.21 10,047.50 859,235.88 1,479,766 412.31 399,022 1,080,744
DBOFINP1 3741817935 16.39 386,653.46 107.73 355,979.29 30,674.17 10,633,226 2,962.73 8,863,935 1,769,291
DBOCRTP1 737020425 15.26 359,967.59 100.30 294,135.54 65,832.05 32,961,086 9,183.92 24,848,385 8,112,701
HOLD 1874037948 14.69 346,516.43 96.55 50,370.25 296,146.18 1,670,249 465.38 1,113,773 556,476
DBOPFEP1 2756308854 5.24 123,704.15 34.47 108,025.69 15,678.46 4,004,754 1,115.84 2,839,083 1,165,671
DBOETRP1 65793171 3.81 89,811.00 25.02 27,929.57 61,881.43 605,881 168.82 271,341 334,540
CTGINST1 2165807965 2.38 56,137.34 15.64 48,682.58 7,454.76 5,459,554 1,521.19 5,209,801 249,753
DBOMDMP1 2153661161 2.21 52,181.67 14.54 3,994.14 48,187.53 389,729 108.59 267,894 121,834
DBONRJP2 3128115975 1.25 29,521.22 8.23 25,554.40 3,966.83 3,498,375 974.75 3,076,153 422,222
OTHER 0 1.15 27,092.76 7.55 26,189.43 903.33 1,864,921 519.62 1,842,759 22,162

Back to Exadata Top Database Consumers
Back to Exadata Statistics

Top Databases by IO Requests per Cell

IO Requests IO Throughput (MB)
Cell Name DB Name DBID %Cell Total Requests per Sec Flash Disk Total MB per Sec Flash Disk
scn01cel01 DBOCRTP1 737020425 51.76 10,772,427 3,001.51 8,067,982 2,704,445 117,668.47 32.79 95,698.08 21,970.39
DBOFINP1 3741817935 16.92 3,521,253 981.12 2,931,946 589,307 128,378.78 35.77 118,223.48 10,155.30
CTGINST1 2165807965 8.97 1,866,494 520.06 1,782,745 83,749 19,253.78 5.36 16,821.53 2,432.25
DBOPFEP1 2756308854 6.62 1,377,336 383.77 989,858 387,478 44,261.67 12.33 39,047.07 5,214.60
DBONRJP2 3128115975 5.55 1,154,868 321.78 1,014,152 140,716 9,691.88 2.70 8,363.11 1,328.77
scn01cel02 DBOCRTP1 737020425 52.20 11,068,709 3,084.06 8,364,675 2,704,034 120,904.73 33.69 98,992.88 21,911.84
DBOFINP1 3741817935 16.56 3,511,876 978.51 2,924,593 587,283 127,101.61 35.41 116,886.57 10,215.03
CTGINST1 2165807965 8.83 1,871,939 521.58 1,788,762 83,177 18,853.52 5.25 16,344.37 2,509.15
DBOPFEP1 2756308854 6.21 1,315,765 366.61 926,935 388,830 40,514.13 11.29 35,278.52 5,235.61
DBONRJP2 3128115975 5.47 1,160,825 323.44 1,020,015 140,810 9,822.93 2.74 8,503.07 1,319.86
scn01cel03 DBOCRTP1 737020425 52.82 11,119,950 3,098.34 8,415,728 2,704,222 121,394.39 33.82 99,444.57 21,949.82
DBOFINP1 3741817935 17.10 3,600,097 1,003.09 3,007,396 592,701 131,173.07 36.55 120,869.24 10,303.83
CTGINST1 2165807965 8.18 1,721,121 479.55 1,638,294 82,827 18,030.04 5.02 15,516.68 2,513.36
DBOPFEP1 2756308854 6.23 1,311,653 365.46 922,290 389,363 38,928.35 10.85 33,700.09 5,228.25
DBONRJP2 3128115975 5.62 1,182,682 329.53 1,041,986 140,696 10,006.41 2.79 8,688.22 1,318.19

Back to Exadata Top Database Consumers
Back to Exadata Statistics

Top Databases by IO Throughput per Cell

IO Throughput (MB) IO Requests
Cell Name DB Name DBID %Cell Total MB per Sec Flash Disk Total Requests per Sec Flash Disk
scn01cel01 CBODTRP1 3349146181 36.66 289,269.59 80.60 2,873.67 286,395.92 434,423 121.04 75,250 359,173
DBOFINP1 3741817935 16.27 128,378.78 35.77 118,223.48 10,155.30 3,521,253 981.12 2,931,946 589,307
HOLD 1874037948 15.06 118,866.60 33.12 20,190.99 98,675.61 599,503 167.04 415,023 184,480
DBOCRTP1 737020425 14.91 117,668.47 32.79 95,698.08 21,970.39 10,772,427 3,001.51 8,067,982 2,704,445
DBOPFEP1 2756308854 5.61 44,261.67 12.33 39,047.07 5,214.60 1,377,336 383.77 989,858 387,478
scn01cel02 CBODTRP1 3349146181 36.99 290,583.13 80.96 4,098.36 286,484.77 566,254 157.77 205,653 360,601
DBOFINP1 3741817935 16.18 127,101.61 35.41 116,886.57 10,215.03 3,511,876 978.51 2,924,593 587,283
DBOCRTP1 737020425 15.39 120,904.73 33.69 98,992.88 21,911.84 11,068,709 3,084.06 8,364,675 2,704,034
HOLD 1874037948 14.54 114,194.06 31.82 15,073.59 99,120.47 538,459 150.03 353,103 185,356
DBOPFEP1 2756308854 5.16 40,514.13 11.29 35,278.52 5,235.61 1,315,765 366.61 926,935 388,830
scn01cel03 CBODTRP1 3349146181 36.90 289,430.66 80.64 3,075.47 286,355.19 479,089 133.49 118,119 360,970
DBOFINP1 3741817935 16.72 131,173.07 36.55 120,869.24 10,303.83 3,600,097 1,003.09 3,007,396 592,701
DBOCRTP1 737020425 15.48 121,394.39 33.82 99,444.57 21,949.82 11,119,950 3,098.34 8,415,728 2,704,222
HOLD 1874037948 14.46 113,455.76 31.61 15,105.66 98,350.10 532,287 148.31 345,647 186,640
DBOPFEP1 2756308854 4.96 38,928.35 10.85 33,700.09 5,228.25 1,311,653 365.46 922,290 389,363

Back to Exadata Top Database Consumers
Back to Exadata Statistics

Back to Top

End of Report