WORKLOAD REPOSITORY report for

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

Host NamePlatformCPUsCoresSocketsMemory (GB)
prdc1pdb01Solaris[tm] OE (64-bit) 120 15 1 478.50

Snap IdSnap TimeSessionsCursors/SessionInstances
Begin Snap:2630318-Nov-20 21:00:18332 11.02
End Snap:2630418-Nov-20 22:00:07342 9.52
Elapsed:  59.81 (mins)   
DB Time:  127.82 (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 Statements2.1463.24ADDM:3823384899_1_2630418-Nov-20 21:0018-Nov-20 22:00
Row Lock Waits2.1414.51ADDM:3823384899_1_2630418-Nov-20 21:0018-Nov-20 22:00
Hard Parse Due to Literal Usage2.147.11ADDM:3823384899_1_2630418-Nov-20 21:0018-Nov-20 22:00
Global Cache Messaging2.143.75ADDM:3823384899_1_2630418-Nov-20 21:0018-Nov-20 22:00
Undersized SGA2.143.65ADDM:3823384899_1_2630418-Nov-20 21:0018-Nov-20 22:00

Load Profile

Per SecondPer TransactionPer ExecPer Call
DB Time(s): 2.1 0.2 0.00 0.02
DB CPU(s): 1.6 0.2 0.00 0.01
Background CPU(s): 0.3 0.0 0.00 0.00
Redo size (bytes): 237,038.7 23,130.0  
Logical read (blocks): 137,058.8 13,374.0  
Block changes: 2,267.6 221.3  
Physical read (blocks): 10,700.6 1,044.2  
Physical write (blocks): 57.8 5.6  
Read IO requests: 1,088.4 106.2  
Write IO requests: 33.6 3.3  
Read IO (MB): 83.6 8.2  
Write IO (MB): 0.5 0.0  
IM scan rows: 0.0 0.0  
Session Logical Read IM:    
Global Cache blocks received: 193.7 18.9  
Global Cache blocks served: 207.4 20.2  
User calls: 121.3 11.8  
Parses (SQL): 161.4 15.8  
Hard parses (SQL): 6.6 0.7  
SQL Work Area (MB): 57.4 5.6  
Logons: 0.9 0.1  
Executes (SQL): 1,014.4 99.0  
Rollbacks: 0.7 0.1  
Transactions: 10.3   

Instance Efficiency Percentages (Target 100%)

Buffer Nowait %: 99.83Redo NoWait %: 100.00
Buffer Hit %: 99.57In-memory Sort %: 100.00
Library Hit %: 99.07Soft Parse %: 95.90
Execute to Parse %: 84.09Latch Hit %: 99.69
Parse CPU to Parse Elapsd %: 93.82% Non-Parse CPU: 90.06
Flash Cache Hit %: -4.71

Top 10 Foreground Events by Total Wait Time

EventWaitsTotal Wait Time (sec)Wait Avg(ms)% DB timeWait Class
DB CPU 5713 74.5 
enq: TX - row lock contention5141113.12165.5414.5Application
cell single block physical read1,477,702460.80.316.0User I/O
read by other session155,218104.40.671.4User I/O
gc buffer busy acquire286,969102.70.361.3Cluster
gc cr block 2-way480,44281.80.171.1Cluster
gc cr disk read362,23454.10.15.7Cluster
gc cr block busy73,469500.68.7Cluster
cursor: pin S wait on X17335.8207.10.5Concurrency
gc current block 2-way110,36622.10.20.3Cluster

Wait Classes by Total Wait Time

Wait ClassWaitsTotal Wait Time (sec)Avg Wait (ms)% DB timeAvg Active Sessions
DB CPU 5,713 74.51.6
Application12,4571,11889.7514.60.3
User I/O5,208,8246400.128.30.2
Cluster1,469,5393500.244.60.1
Other707,9792930.413.80.1
System I/O250,0101340.531.70.0
Concurrency632,649720.11.90.0
Commit18,82080.43.10.0
Network424,87510.00.00.0
Configuration15000.72.00.0

Host CPU

CPUsCoresSocketsLoad Average BeginLoad Average End%User%System%WIO%Idle
120 15 1 9.31 7.38 5.5 2.0 0.0 92.5

Instance CPU

%Total CPU%Busy CPU%DB time waiting for CPU (Resource Manager)
1.5 20.5 0.0

IO Profile

Read+Write Per SecondRead per SecondWrite Per Second
Total Requests: 1,185.4 1,104.4 81.0
Database Requests: 1,122.0 1,088.4 33.6
Optimized Requests: 1,120.0 1,100.6 19.5
Redo Requests: 46.1 0.1 46.0
Total (MB): 86.7 85.5 1.2
Database (MB): 84.1 83.6 0.5
Optimized Total (MB): 84.3 84.3 0.0
Redo (MB): 0.4 0.1 0.3
Database (blocks): 10,758.4 10,700.6 57.8
Via Buffer Cache (blocks): 591.9 541.8 50.1
Direct (blocks): 10,166.5 10,158.8 7.7

Memory Statistics

BeginEnd
Host Mem (MB): 489,984.0 489,984.0
SGA use (MB): 20,480.0 20,480.0
PGA use (MB): 5,526.1 5,835.9
% Host Mem used for SGA+PGA: 5.31 5.37

Cache Sizes

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

Shared Pool Statistics

BeginEnd
Memory Usage %: 83.36 85.94
% SQL with executions>1: 90.17 87.04
% Memory for SQL w/exec>1: 93.06 87.54

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 time7,367.5996.06 
DB CPU5,713.0174.4986.08
inbound PL/SQL rpc elapsed time1,956.7925.51 
parse time elapsed656.338.56 
hard parse elapsed time594.487.75 
PL/SQL execution elapsed time311.754.06 
RMAN cpu time (backup/restore)181.672.372.74
connection management call elapsed time104.941.37 
hard parse (sharing criteria) elapsed time29.340.38 
PL/SQL compilation elapsed time3.900.05 
sequence load elapsed time0.790.01 
repeated bind elapsed time0.670.01 
Java execution elapsed time0.080.00 
hard parse (bind mismatch) elapsed time0.010.00 
failed parse elapsed time0.000.00 
DB time7,669.50  
background elapsed time1,085.73  
background cpu time923.50 13.92
total CPU time6,636.51  


Back to Wait Events Statistics
Back to Top

Operating System Statistics

StatisticValueEnd Value
AVG_BUSY_TIME26,248 
AVG_IDLE_TIME331,041 
AVG_SYS_TIME6,462 
AVG_USER_TIME19,068 
BUSY_TIME3,242,648 
IDLE_TIME39,819,710 
SYS_TIME863,235 
USER_TIME2,379,413 
LOAD97
OS_CPU_WAIT_TIME142,900 
VM_IN_BYTES0 
PHYSICAL_MEMORY_BYTES513,785,462,784 
NUM_CPUS120 
NUM_CPU_CORES15 
NUM_CPU_SOCKETS1 
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:189.31     
18-Nov 22:00:077.387.535.532.0092.470.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  5,713 74.49
Application12,036481,11892.8714.57
User I/O5,182,35416270.128.17
Cluster1,458,68503470.244.53
Concurrency540,3650700.130.92
Other62,47429661.060.86
System I/O35,6900140.390.18
Commit18,813080.430.10
Network420,980010.000.02
Configuration150000.720.00


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 contention514611,1132165.540.0114.51
cell single block physical read1,477,702 4610.3140.186.01
read by other session155,218 1040.674.221.36
gc buffer busy acquire286,969 1030.367.801.34
gc cr block 2-way480,442 820.1713.061.07
gc cr disk read362,234 540.159.850.71
gc cr block busy73,469 500.682.000.65
cursor: pin S wait on X173 36207.100.000.47
gc current block 2-way110,366 220.203.000.29
utl_file I/O3,306,924 180.0189.930.24
gc current grant busy52,281 160.311.420.21
cell smart table scan86,93634140.162.360.18
cell list of blocks physical read20,114 140.680.550.18
control file sequential read35,432 130.380.960.18
CRS call completion129 1296.160.000.16
latch: cache buffers chains450,123 120.0312.240.16
log switch/archive11001010000.110.000.13
name-service call wait147 961.510.000.12
log file sync18,813 80.430.510.10
recovery area: computing obsolete files2 73591.970.000.09
oracle thread bootstrap67 7104.170.000.09
cell multiblock physical read12,921 70.540.350.09
cursor: pin S5,580 71.230.150.09
library cache: mutex X53,506 70.131.450.09
enq: IV - contention11,731860.540.320.08
gc buffer busy release21,413 60.270.580.07
gc cr grant 2-way32,830 60.170.890.07
direct path read18,097 50.280.490.07
gc current grant 2-way30,767 50.160.840.06
enq: UL - contention5,7879330.530.160.04
gc current block busy4,175 30.660.110.04
row cache lock14,681 30.180.400.03
library cache lock3,422330.760.090.03
Disk file Mirror Read5,946 20.410.160.03
recovery area: computing backed up files1,800 21.250.050.03
latch free183 210.080.000.02
reliable message1,064 21.720.030.02
PX Deq: Slave Session Stats2,281 10.640.060.02
enq: TQ - DDL contention146 110.000.000.02
library cache load lock88 116.470.000.02
gc cr multi block request3,361 10.410.090.02
gcs drm freeze in enter server mode5 1236.430.000.02
library cache pin4,417010.260.120.02
enq: TS - contention5,1839910.220.140.01
SQL*Net more data to client54,957 10.021.490.01
Disk file operations I/O98,096 10.012.670.01
enq: DV - contention384 11.980.010.01
enq: RC - Result Cache: Contention76917.730.000.01
enq: KO - fast object checkpoint1,511 10.380.040.01
direct path read temp349 11.620.010.01
enq: TX - index contention155 13.380.000.01
SQL*Net message to client360,848 00.009.810.01
ASM file metadata operation142 02.420.000.00
SQL*Net break/reset to client3,881 00.080.110.00
buffer busy waits6,769 00.040.180.00
recovery area: computing dropped files2 0117.330.000.00
control file single write157 01.420.000.00
enq: PS - contention5981300.370.020.00
latch: parallel query alloc buffer39 04.650.000.00
KSV master wait667 00.250.020.00
CSS initialization44 03.190.000.00
latch: shared pool567 00.230.020.00
enq: TM - contention2671900.480.010.00
PX Deq: reap credit11,90010000.010.320.00
enq: SV - contention299 00.330.010.00
SQL*Net more data from client5,175 00.020.140.00
gc current multi block request252 00.370.010.00
ADR block file read47 01.750.000.00
gc current block congested23 03.030.000.00
enq: HW - contention127 00.490.000.00
ADR file lock6 010.180.000.00
control file parallel write99 00.540.000.00
enq: FB - contention132 00.330.000.00
CSS operation: action45 00.950.000.00
latch: call allocation122 00.330.000.00
latch: gc element187 00.210.010.00
enq: TT - contention137 00.270.000.00
write complete waits2 016.690.000.00
SGA: allocation forcing component growth1 030.480.000.00
PX Deq: Signal ACK EXT773 00.040.020.00
enq: TO - contention80 00.340.000.00
latch: row cache objects748 00.030.020.00
gc cr block congested11 02.250.000.00
CSS operation: query132 00.160.000.00
IPC send completion sync1,445 00.010.040.00
enq: ZZ - update hash tables50 00.300.000.00
direct path write50 00.300.000.00
gc current retry77 00.180.000.00
ges inquiry response22 00.440.000.00
gcs enter server mode6,353 00.000.170.00
enq: SQ - contention7 01.260.000.00
latch: ges resource hash list207 00.040.010.00
ges enter server mode15,479 00.000.420.00
gc cr grant congested4 01.810.000.00
cursor: mutex S5 01.430.000.00
enq: DL - contention2210000.310.000.00
enq: TX - allocate ITL entry14 00.320.000.00
buffer deadlock15510100.020.000.00
enq: TX - contention2 01.660.000.00
cursor: mutex X131 00.020.000.00
gc current split11 00.260.000.00
enq: CF - contention71400.400.000.00
ADR block file write5 00.560.000.00
latch: gcs resource hash4 00.680.000.00
enq: JS - job run lock - synchronize710000.340.000.00
kfk: async disk IO2 01.180.000.00
enq: AE - lock7 00.310.000.00
enq: RF - synch: DG Broker metadata6 00.320.000.00
wait list latch free1 01.810.000.00
latch: active service list52 00.030.000.00
SQL*Net message from client363,879 785,0632157.489.90 
Streams AQ: waiting for messages in the queue4,0406827,5986831.070.11 
PL/SQL lock timer53110016,11630349.900.01 
jobq slave wait1,918100957499.080.05 
PX Deq: Execution Msg6,582 588.870.18 
PX Deq: Execute Reply4,375 81.840.12 
PX Deq: Table Q Normal3,336 20.510.09 
PX Deq: Parse Reply773 10.940.02 
PX Deq Credit: send blkd1,145 10.590.03 
PX Deq: Join ACK1,546 10.380.04 
wait for unread message on broadcast channel98 01.250.00 
PX Deq: Table Q Sample64 01.670.00 
PX Deq: Msg Fragment566 00.100.02 
PX Deq Credit: need buffer115 00.400.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 dump11401241084.910.0011.39
db file parallel write16,6150603.610.455.52
log file parallel write164,8300450.284.484.18
gcs log flush sync232,9092450.196.334.16
ges LMD suspend for testing event44669205.080.000.83
oracle thread bootstrap1480857.090.000.78
ASM file metadata operation37,273070.181.010.63
cell multiblock physical read9,495060.670.260.59
control file sequential read18,502050.290.500.50
KSV master wait11,5641950.440.310.47
control file parallel write1,909042.230.050.39
log file sequential read3850410.970.010.39
ges inquiry response576046.910.020.37
target log write size12,712040.300.350.36
name-service call wait680453.530.000.34
Disk file Mirror Read6,231030.450.170.26
LGWR all worker groups4,677030.560.130.24
cell single block physical read3,757030.680.100.24
enq: IV - contention4,862030.520.130.23
os thread creation215029.150.010.18
ksdxexeotherwait1110215.520.000.16
gc cr multi block request5,970020.290.160.16
libcache interrupt action by LCK89,525010.012.430.12
reliable message961011.350.030.12
ges lms sync during dynamic remastering and reconfig27100134.120.000.08
latch free419012.070.010.08
enq: PS - contention8741410.980.020.08
row cache process147,802010.014.020.07
enq: CF - contention1107516.120.000.06
Disk file operations I/O5,177010.130.140.06
RMAN backup & recovery I/O610110.310.000.06
CSS initialization240125.930.000.06
CGS wait for IPC msg34,96910010.020.950.05
Parameter File I/O1,474000.260.040.04
row cache cleanup106,960000.002.910.03
ges generic event714045.770.000.03
gc current block 2-way1,552000.190.040.03
PX Deq: reap credit32,11810000.010.870.03
gc cr block 2-way1,580000.170.040.02
enq: RO - fast object reuse376000.510.010.02
cell list of blocks physical read110001.400.000.01
CSS operation: data query210000.630.010.01
DFS lock handle74110000.180.020.01
PX Deq: Slave Join Frag1,507000.080.040.01
latch: gc element98001.160.000.01
direct path write temp122000.890.000.01
control file single write79001.330.000.01
LGWR wait for redo copy480000.210.010.01
enq: RF - synch: DG Broker metadata378000.260.010.01
PX Deq: Slave Session Stats1,500000.070.040.01
ksxr poll remote instances6,22210000.020.170.01
library cache pin364000.250.010.01
gc cr grant 2-way543000.160.010.01
latch: ges resource hash list238000.320.010.01
gc cr disk read564000.130.020.01
gc current grant 2-way449000.160.010.01
row cache lock206000.250.010.00
ADR file lock14003.660.000.00
library cache lock1571500.320.000.00
CSS operation: data update60000.840.000.00
library cache: mutex X1,052000.050.030.00
CSS operation: action92000.530.000.00
cell statistics gather96000.480.000.00
ASYNC Remote Write10045.470.000.00
gc current grant busy162000.240.000.00
PX Deq: Signal ACK EXT1,500000.030.040.00
ges LMON to get to FTDONE250018.200.000.00
gc current block busy34000.870.000.00
Data Guard Broker Wait60000.490.000.00
rdbms ipc reply20012.870.000.00
db file async I/O submit11,924000.000.320.00
enq: RF - DG Broker Current File ID120000.160.000.00
enq: TM - contention19000.910.000.00
enq: TQ - TM contention13001.010.000.00
CSS operation: query72000.170.000.00
enq: TT - contention244600.450.000.00
buffer busy waits212000.050.010.00
enq: TO - contention24000.390.000.00
latch: cache buffers chains726000.010.020.00
enq: WF - contention22000.360.000.00
kfk: async disk IO12000.620.000.00
IPC send completion sync1,505000.000.040.00
enq: JS - queue lock1007.030.000.00
gc cr block busy4001.370.000.00
ADR block file write9000.610.000.00
enq: KO - fast object checkpoint25000.220.000.00
AQ Background Master: slave start2002.550.000.00
ADR block file read20000.220.000.00
enq: WT - contention11000.370.000.00
latch: shared pool35000.110.000.00
enq: TA - contention13000.290.000.00
SQL*Net message to client3,895000.000.110.00
enq: SM - contention8000.380.000.00
direct path write8000.320.000.00
enq: FB - contention5000.470.000.00
enq: DW - contention510000.450.000.00
latch: gcs resource hash9000.190.000.00
GCR CSS group query210000.010.010.00
enq: US - contention4000.370.000.00
log file single write2000.660.000.00
latch: cache buffers lru chain5000.200.000.00
rdbms ipc message506,61515132,530261.6013.78 
class slave wait1,071,4059936,41033.9829.13 
PX Idle Wait1,576025,61716254.220.04 
EMON slave idle wait4,3038317,9374168.550.12 
Streams AQ: waiting for time management or cleanup tasks1,8166215,8348719.180.05 
gcs remote message1,600,4932110,6146.6343.52 
Space Manager: slave idle wait1,457987,1834929.830.04 
wait for unread message on broadcast channel1,961977,1773659.640.05 
ges remote message190,348337,15837.605.18 
Streams AQ: qmn slave idle wait2,45107,1522918.000.07 
GCR sleep24,90977,057283.300.68 
DIAG idle wait63,409606,983110.131.72 
LGWR worker group idle164,83006,67240.484.48 
REPL Capture/Apply: RAC AQ qmn coordinator168294,82328708.720.00 
smon timer22453,873176033.920.00 
ASM background timer24,95603,591143.900.68 
Streams AQ: emn coordinator idle wait3591003,59010000.160.01 
lreg timer1,1951003,5893002.950.03 
pmon timer1,206993,5882975.410.03 
heartbeat redo informer43,16103,58883.131.17 
Streams AQ: qmn coordinator idle wait1,415363,5862534.460.04 
PING1,298223,5852761.590.04 
Streams AQ: load balancer idle71603,5815000.870.02 
LNS ASYNC end of log166,60213,57121.434.53 
AQPC idle1191003,57030000.510.00 
SQL*Net message from client5,223016731.990.14 
PX Deq: Execute Reply1,499074.890.04 
PX Deq: Join ACK2,996020.820.08 
PX Deq: Parse Reply1,498010.470.04 
PX Deq Credit: send blkd264000.240.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 read6797.0   1.5 1.5 
ADR block file write14100.0       
ADR file lock2050.0 15.015.010.05.05.0 
AQ Background Master: slave start2  100.0     
ASM background starting5100.0       
ASM file metadata operation37.4K95.04.8.1.0.0.0.1 
ASYNC Remote Write1      100.0 
CGS wait for IPC msg35K100.0       
CRS call completion129      100.0 
CSS initialization6650.0 4.528.81.51.513.6 
CSS operation: action13589.610.4      
CSS operation: data query21086.213.8      
CSS operation: data update6093.36.7      
CSS operation: query19896.53.5      
DFS lock handle74399.9  .1    
Data Guard Broker Wait60100.0       
Disk file Mirror Read12.2K98.4.7.7.0 .2.0 
Disk file operations I/O103.3K100.0.0.0.0    
GCR CSS group query210100.0       
GCR CSS group update60100.0       
IPC send completion sync2951100.0       
KJC: Wait for msg sends to complete18100.0       
KSV master wait12.2K84.714.8.3.0.0.0.1 
LGWR all worker groups467997.91.9.1     
LGWR wait for redo copy48091.56.31.9.4    
Log archive I/O1100.0       
PX Deq: Signal ACK EXT227399.8.1.0.0    
PX Deq: Slave Join Frag1508100.0       
PX Deq: Slave Session Stats377994.21.02.42.4  .1 
PX Deq: Table Q qref64100.0       
PX Deq: reap credit44K100.0       
PX qref latch38100.0       
Parameter File I/O147499.5.1.1.1.1   
RMAN backup & recovery I/O6116.413.124.69.818.013.14.9 
Redo Transport Open1100.0       
SGA: allocation forcing component growth1     100.0  
SQL*Net break/reset to client3878100.0.0      
SQL*Net message to client366.1K100.0       
SQL*Net more data from client5176100.0       
SQL*Net more data to client55K100.0       
buffer busy waits698199.7.2.1  .0  
buffer deadlock155100.0       
cell list of blocks physical read20.2K92.34.21.71.2.2.3.2 
cell multiblock physical read22.4K92.94.92.1.0.0.1.0 
cell single block physical read1.5M99.3.5.2.0.0.0.0 
cell smart table scan87K97.42.3.4.0 .0  
cell statistics gather9684.411.51.03.1    
control file parallel write200792.63.81.5.4.5.4.7 
control file sequential read53.9K97.41.3.9.1.2.1.1 
control file single write23620.371.27.6.4.4   
cursor: mutex S5 80.020.0     
cursor: mutex X131100.0       
cursor: pin S55884.794.8.5     
cursor: pin S wait on X173 1.74.09.221.412.145.75.8
db file async I/O submit11.9K100.0       
db file parallel write16.6K61.413.910.98.03.61.21.0.0
direct path read18.1K95.82.12.1     
direct path read temp34974.87.78.93.73.21.4.3 
direct path write5896.61.7 1.7    
direct path write temp12195.01.7.8  1.7.8 
enq: AE - lock7100.0       
enq: AF - task serialization1100.0       
enq: CF - contention11797.41.7    .9 
enq: CR - block range reuse ckpt3100.0       
enq: DL - contention22100.0       
enq: DV - contention38499.7     .3 
enq: DW - contention5100.0       
enq: FB - contention139100.0       
enq: FH - contention1100.0       
enq: HW - contention12999.2    .8  
enq: IV - contention16.6K99.3.6.1.0.0 .0 
enq: JS - job run lock - synchronize7100.0       
enq: JS - queue lock1   100.0    
enq: KO - fast object checkpoint153698.2.9.3.3.1 .1 
enq: PG - contention1100.0       
enq: PS - contention147299.5.3.1   .1 
enq: PW - flush prewarm buffers1100.0       
enq: RC - Result Cache: Contention7720.85.2 39.029.9 5.2 
enq: RF - DG Broker Current File ID120100.0       
enq: RF - synch: DG Broker metadata384100.0       
enq: RO - fast object reuse36995.91.1.81.1.5.5  
enq: RS - prevent file delete2100.0       
enq: SM - contention8100.0       
enq: SQ - contention757.114.328.6     
enq: SV - contention29999.3.7      
enq: TA - contention13100.0       
enq: TD - KTF dump entries4100.0       
enq: TM - contention28696.2.71.01.4.7   
enq: TO - contention102100.0       
enq: TQ - DDL contention14630.82.76.815.125.312.36.8 
enq: TQ - TM contention1392.3   7.7   
enq: TS - contention518399.8.1.1.0    
enq: TT - contention161100.0       
enq: TX - allocate ITL entry1492.9 7.1     
enq: TX - contention450.050.0      
enq: TX - index contention15451.920.19.18.44.55.2.6 
enq: TX - row lock contention51470.81.41.9.2.6.41.922.8
enq: UL - contention578799.7.0.0.1.0.1.1 
enq: US - contention4100.0       
enq: WF - contention22100.0       
enq: WT - contention11100.0       
enq: ZZ - update hash tables50100.0       
gc buffer busy acquire288.9K95.04.8.2.0.0.0.0 
gc buffer busy release21.4K98.71.2.0.0 .0  
gc cr block 2-way482.3K99.9.0.0.0.0.0  
gc cr block busy73.5K95.64.3.1.0.0   
gc cr block congested11 54.545.5     
gc cr disk read362.8K100.0.0      
gc cr grant 2-way33.4K99.9.0.0     
gc cr grant congested4 50.050.0     
gc cr multi block request933197.21.71.1.1    
gc current block 2-way112.1K99.9.0.0.0.0.0  
gc current block busy420790.39.2.1.1.2.0.1 
gc current block congested23 17.465.217.4    
gc current grant 2-way31.2K100.0.0.0.0    
gc current grant busy52.5K99.8.1.0.0.0.0.0 
gc current multi block request25599.6  .4    
gc current retry7798.71.3      
gc current split11100.0       
gcs drm freeze in enter server mode5     40.060.0 
gcs enter server mode6587100.0       
gcs log flush sync232.9K100.0.0.0.0    
ges LMD suspend for testing event446.8    2.390.9 
ges LMON to get to FTDONE2    50.050.0  
ges enter server mode15.9K100.0       
ges generic event728.6    14.357.1 
ges inquiry response59898.7.2.2   1.0 
ges lms sync during dynamic remastering and reconfig27    85.2 14.8 
ges2 LMON to wake up LMD - mrcvr1100.0       
get branch/thread/sequence enqueue1100.0       
global enqueue expand wait24100.0       
kfk: async disk IO1478.621.4      
ksdxexeotherwait111   20.778.4 .9 
ksxr poll remote instances6219100.0       
latch free60280.41.3.2.711.03.53.0 
latch: active service list52100.0       
latch: cache buffers chains451.3K100.0.0.0     
latch: cache buffers lru chain22100.0       
latch: call allocation12392.77.3      
latch: enqueue hash chains5100.0       
latch: gc element28598.2.4.4   1.1 
latch: gcs resource hash1392.37.7      
latch: ges resource hash list44598.4.9.4   .2 
latch: object queue header operation2100.0       
latch: parallel query alloc buffer3984.6    15.4  
latch: row cache objects753100.0       
latch: shared pool60296.53.5      
latch: undo global data4100.0       
libcache interrupt action by LCK89.6K100.0       
library cache load lock8869.34.55.71.14.52.312.5 
library cache lock357795.2.61.91.9.3.0.1 
library cache pin477799.7.1.3.0    
library cache: mutex X54.6K99.1.1  .7.1.0 
lock escalate retry3100.0       
log file parallel write164.8K99.9.1.0     
log file sequential read3855.2.552.517.78.88.66.8 
log file single write250.050.0      
log file sync18.8K99.6.4.0     
log switch/archive1       100.0
name-service call wait21511.6.5.54.72.81.478.6 
oracle thread bootstrap215      100.0 
os thread creation215   7.992.1   
process diagnostic dump114      7.992.1
rdbms ipc reply475.0    25.0  
read by other session158K89.59.01.2.0.0.2.0 
recovery area: computing backed up files180099.9     .1 
recovery area: computing dropped files2      100.0 
recovery area: computing obsolete files2       100.0
reliable message202267.531.0.2.3.0.2.7 
row cache cleanup107K100.0.0.0.0.0   
row cache lock14.9K99.9.0.1.0.0   
row cache process147.9K100.0       
target log write size12.7K99.8.1.1     
utl_file I/O3.3M100.0.0.0     
wait list latch free1 100.0      
write complete waits2    50.050.0  
AQPC idle119       100.0
ASM background timer25K67.59.73.51.04.68.32.03.4
DIAG idle wait63.5K38.9.12.52.8.51.953.4 
EMON slave idle wait4304    16.6.0 83.4
GCR sleep24.9K      92.87.2
LGWR worker group idle164.8K69.712.04.73.22.92.25.2.0
LNS ASYNC end of log166.6K64.615.85.73.52.92.45.2 
PING129876.7     1.421.9
PL/SQL lock timer532       100.0
PX Deq Credit: need buffer11599.1.9      
PX Deq Credit: send blkd141089.23.13.34.0.3   
PX Deq: Execute Reply587592.14.41.3.5.3.41.0.0
PX Deq: Execution Msg658669.814.44.13.71.71.35.0 
PX Deq: Join ACK454680.219.1.6.1  .0 
PX Deq: Msg Fragment56699.8.2      
PX Deq: Parse Reply227394.13.31.3.5.7 .0 
PX Deq: Table Q Normal337593.92.9.51.9 .7  
PX Deq: Table Q Sample64 89.110.9     
PX Idle Wait15082.72.44.63.82.73.016.564.3
REPL Capture/Apply: RAC AQ qmn coordinator168    29.26.57.756.5
SQL*Net message from client369.1K76.82.61.5.4.6.3.517.3
Space Manager: slave idle wait1457.4    .1.998.6
Streams AQ: emn coordinator idle wait359       100.0
Streams AQ: load balancer idle717       100.0
Streams AQ: qmn coordinator idle wait141863.3.1  .2.1 36.3
Streams AQ: qmn slave idle wait2458.0.1.0.0.2.217.182.3
Streams AQ: waiting for messages in the queue4039.5.3.1.1.3.39.388.9
Streams AQ: waiting for time management or cleanup tasks180614.3.1 13.12.2.644.425.3
class slave wait1.1M.1.0.0.299.4.0.2.1
gcs remote message1.6M62.18.85.12.72.019.2.0 
ges remote message190.4K37.97.57.74.73.02.536.7 
heartbeat redo informer43.2K.5.3.3.63.51.493.4 
jobq slave wait1925     .199.9 
lreg timer1195       100.0
pmon timer1206.1   .1.1.599.3
rdbms ipc message506.5K68.84.62.51.71.51.313.95.7
smon timer24      20.879.2
wait for unread message on broadcast channel20602.52.1.4.0 1.2.893.0


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 block file read198.51.5      
ADR file lock195.05.0      
ASM file metadata operation3699.9.1.0.0    
ASYNC Remote Write1 100.0      
CRS call completion129 52.734.19.33.9   
CSS initialization986.413.6      
Disk file Mirror Read4100.0.0      
KSV master wait799.9.0.0.0    
PX Deq: Slave Session Stats399.9.1.0     
RMAN backup & recovery I/O395.13.3 1.6    
cell list of blocks physical read3199.8.2      
cell multiblock physical read1100.0.0      
cell single block physical read382100.0.0.0.0.0.0  
control file parallel write1599.3.5.1 .0.1  
control file sequential read3199.9.0.0     
cursor: pin S wait on X8148.620.210.411.04.0 1.24.6
db file parallel write17199.0.5.2.2.2.0.0 
direct path read temp199.7.3      
direct path write temp199.2.8      
enq: CF - contention199.1    .9  
enq: DV - contention199.7    .3  
enq: IV - contention7100.0 .0 .0.0  
enq: KO - fast object checkpoint299.9.1.1     
enq: PS - contention299.9   .1   
enq: RC - Result Cache: Contention494.85.2      
enq: TQ - DDL contention1093.26.8      
enq: TX - index contention199.4.6      
enq: TX - row lock contention4075.3.4 .2.21.25.816.9
enq: UL - contention599.9.0.0.0 .0  
gc buffer busy acquire11100.0.0      
gc current block busy399.9.1      
gc current grant busy4100.0.0.0     
gcs drm freeze in enter server mode340.0 20.0 20.020.0  
ges LMD suspend for testing event409.1 13.675.02.3   
ges generic event442.914.342.9     
ges inquiry response699.0   .3.7  
ges lms sync during dynamic remastering and reconfig485.27.43.7 3.7   
ksdxexeotherwait199.1    .9  
latch free1897.0.72.3     
latch: gc element398.9.7.4     
latch: ges resource hash list199.8.2      
library cache load lock1187.52.38.0 2.3   
library cache lock499.9.1.0  .0  
library cache: mutex X7100.0.0      
log file sequential read2693.23.91.8.8.3   
name-service call wait16921.438.640.0     
oracle thread bootstrap215 63.735.3.9    
process diagnostic dump114   3.5.93.592.1 
read by other session41100.0.0      
recovery area: computing backed up files299.9    .1  
recovery area: computing dropped files2  100.0     
reliable message1599.3.2.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 X895.44.6      
enq: TX - row lock contention8783.11.26.65.62.7.8  
log switch/archive1   100.0    
recovery area: computing obsolete files2 100.0      


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)
DBOFINP17,1285,36936,635482,775
SYS$USERS5043071,5285,501
SYS$BACKGROUND38372353,613
DBOFINP1_DGB0000
APPLSYS.WF_CONTROL0000
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 450309843554007270004223571
SYS$USERS 68321019767600026460
SYS$BACKGROUND 26108139266020000
DBOFINP1_DGB 000000670


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
3,111.735358.7140.5798.390.625t39uchjqpyfm e:OFA:cp:xla/XLAACCUP BEGIN xla_accounting_pkg.unit_...
3,018.766149.4939.3698.710.3605td93dhf1b7y e:SQLAP:bes:oracle.apps.xla.accounting.extract BEGIN :1 := XLA_00200_AAD_C_01...
2,326.9728,7620.0830.3499.770.3567fx45mvnmbsz e:SQLAP:bes:oracle.apps.xla.accounting.extract SELECT CASE WHEN COUNT(1) > 0 ...
822.215116.1210.7272.114.85adj796q5rqv7m e:SQLAP:cp:sqlap/WORKERAPPRVL BEGIN AP_APPROVAL_PKG.WORKER_A...
378.70494.674.9456.5248.38a3kxyqjurdtp8 Oracle Enterprise Manager.Metric Engine insert into mgmt_db_size_gtt S...
350.961350.964.5874.8337.567ku0dt5m5j6y1 e:DKA:cp:dka/DKA_SAPAPPRVL BEGIN DKA_SAPAPPRVL_PKG.MAIN(:...
314.48516.174.1048.410.2490n1att0nq1u7 e:SQLAP:cp:sqlap/WORKERAPPRVL UPDATE AP_INVOICES_ALL AI SET ...
194.91802.442.5449.300.00bb4y6zxs3j061 e:SQLAP:cp:sqlap/APPRVL UPDATE AP_HOLDS_ALL AHA SET AH...
124.70731.711.63100.880.02dndn8zwusbhy7 e:SQLAP:cp:sqlap/APPRVL INSERT INTO AP_TEMP_APPROVAL_G...
116.98751.561.5384.0722.8566xqc033rzyp5 e:SQLAP:cp:sqlap/APPRVL SELECT /*+ dynamic_sampling(2)...
98.92198.921.2999.450.62gwgtx1h94uj57 e:DKA:cp:dka/DKA_IAPCTRFLUX_XEROX BEGIN DKA_IAPCTRFLUX_XEROX_PKG...
89.120 1.1690.4010.37fzvan15xb6ak4 e:DKA:cp:dka/DKA_SXLAACCPB BEGIN DKA_SXLAACCPB_PKG.MAIN(:...
86.62186.621.1390.4710.328snn9tyxtp4n9 e:DKA:cp:dka/DKA_SXLAACCPB SELECT GL.LEDGER_ID SET_OF_BOO...


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
3,061.655357.7753.593,111.7398.390.625t39uchjqpyfm e:OFA:cp:xla/XLAACCUP BEGIN xla_accounting_pkg.unit_...
2,979.926148.8552.163,018.7698.710.3605td93dhf1b7y e:SQLAP:bes:oracle.apps.xla.accounting.extract BEGIN :1 := XLA_00200_AAD_C_01...
2,321.6828,7620.0840.642,326.9799.770.3567fx45mvnmbsz e:SQLAP:bes:oracle.apps.xla.accounting.extract SELECT CASE WHEN COUNT(1) > 0 ...
592.935111.6310.38822.2172.114.85adj796q5rqv7m e:SQLAP:cp:sqlap/WORKERAPPRVL BEGIN AP_APPROVAL_PKG.WORKER_A...
262.621262.624.60350.9674.8337.567ku0dt5m5j6y1 e:DKA:cp:dka/DKA_SAPAPPRVL BEGIN DKA_SAPAPPRVL_PKG.MAIN(:...
214.03453.513.75378.7056.5248.38a3kxyqjurdtp8 Oracle Enterprise Manager.Metric Engine insert into mgmt_db_size_gtt S...
152.23512.982.66314.4848.410.2490n1att0nq1u7 e:SQLAP:cp:sqlap/WORKERAPPRVL UPDATE AP_INVOICES_ALL AI SET ...
125.79731.722.20124.70100.880.02dndn8zwusbhy7 e:SQLAP:cp:sqlap/APPRVL INSERT INTO AP_TEMP_APPROVAL_G...
98.37198.371.7298.9299.450.62gwgtx1h94uj57 e:DKA:cp:dka/DKA_IAPCTRFLUX_XEROX BEGIN DKA_IAPCTRFLUX_XEROX_PKG...
98.34751.311.72116.9884.0722.8566xqc033rzyp5 e:SQLAP:cp:sqlap/APPRVL SELECT /*+ dynamic_sampling(2)...
96.09801.201.68194.9149.300.00bb4y6zxs3j061 e:SQLAP:cp:sqlap/APPRVL UPDATE AP_HOLDS_ALL AHA SET AH...
80.570 1.4189.1290.4010.37fzvan15xb6ak4 e:DKA:cp:dka/DKA_SXLAACCPB BEGIN DKA_SXLAACCPB_PKG.MAIN(:...
78.36178.361.3786.6290.4710.328snn9tyxtp4n9 e:DKA:cp:dka/DKA_SXLAACCPB SELECT GL.LEDGER_ID SET_OF_BOO...
69.30169.301.2169.3399.960.047xj8m0turm2gj e:DKA:cp:dka/DKA_IAPCTRFLUX_XEROX SELECT DISTINCT XOV.DIVISION, ...


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
183.20445.8028.62378.7056.5248.38a3kxyqjurdtp8 Oracle Enterprise Manager.Metric Engine insert into mgmt_db_size_gtt S...
131.831131.8320.60350.9674.8337.567ku0dt5m5j6y1 e:DKA:cp:dka/DKA_SAPAPPRVL BEGIN DKA_SAPAPPRVL_PKG.MAIN(:...
39.86510.786.23822.2172.114.85adj796q5rqv7m e:SQLAP:cp:sqlap/WORKERAPPRVL BEGIN AP_APPROVAL_PKG.WORKER_A...
34.581040.335.4048.5761.7071.205a72wzs0hj755 e:SQLAP:cp:dka/DKA_SAPCREATE_BLOCAGES BEGIN DKA_SAPCREATE_BLOCAGES_P...
34.541040.335.4043.6358.9979.16badzp9g6jzuz9 e:SQLAP:cp:dka/DKA_SAPCREATE_BLOCAGES SELECT AI.INVOICE_ID, AI.INVOI...
26.73750.364.18116.9884.0722.8566xqc033rzyp5 e:SQLAP:cp:sqlap/APPRVL SELECT /*+ dynamic_sampling(2)...
19.23530.363.003,111.7398.390.625t39uchjqpyfm e:OFA:cp:xla/XLAACCUP BEGIN xla_accounting_pkg.unit_...
10.99610.181.723,018.7698.710.3605td93dhf1b7y e:SQLAP:bes:oracle.apps.xla.accounting.extract BEGIN :1 := XLA_00200_AAD_C_01...
9.240 1.4489.1290.4010.37fzvan15xb6ak4 e:DKA:cp:dka/DKA_SXLAACCPB BEGIN DKA_SXLAACCPB_PKG.MAIN(:...
8.9418.941.4086.6290.4710.328snn9tyxtp4n9 e:DKA:cp:dka/DKA_SXLAACCPB SELECT GL.LEDGER_ID SET_OF_BOO...
8.7324.361.3627.7769.3431.42ddudsfwj54f0g emagent_SQL_oracle_database select a.tablespace_name , rou...
8.1528,7620.001.272,326.9799.770.3567fx45mvnmbsz e:SQLAP:bes:oracle.apps.xla.accounting.extract SELECT CASE WHEN COUNT(1) > 0 ...
7.5117.511.1735.3964.5821.227yqcrnkxhx4p8 e:SYSADMIN:cp:fnd/FNDWFWITSTATCC BEGIN WF_OAM_METRICS.workItems...


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
240,815,635534,543,691.2348.963,111.7398.4.65t39uchjqpyfm e:OFA:cp:xla/XLAACCUP BEGIN xla_accounting_pkg.unit_...
236,011,320613,869,038.0347.993,018.7698.7.405td93dhf1b7y e:SQLAP:bes:oracle.apps.xla.accounting.extract BEGIN :1 := XLA_00200_AAD_C_01...
230,603,31628,7628,017.6446.892,326.9799.8.467fx45mvnmbsz e:SQLAP:bes:oracle.apps.xla.accounting.extract SELECT CASE WHEN COUNT(1) > 0 ...
48,119,424148,119,424.009.78350.9674.837.67ku0dt5m5j6y1 e:DKA:cp:dka/DKA_SAPAPPRVL BEGIN DKA_SAPAPPRVL_PKG.MAIN(:...
45,607,0800 9.2789.1290.410.4fzvan15xb6ak4 e:DKA:cp:dka/DKA_SXLAACCPB BEGIN DKA_SXLAACCPB_PKG.MAIN(:...
45,559,760145,559,760.009.2686.6290.510.38snn9tyxtp4n9 e:DKA:cp:dka/DKA_SXLAACCPB SELECT GL.LEDGER_ID SET_OF_BOO...
35,696,49051699,931.187.26822.2172.14.8adj796q5rqv7m e:SQLAP:cp:sqlap/WORKERAPPRVL BEGIN AP_APPROVAL_PKG.WORKER_A...
21,742,137121,742,137.004.4298.9299.4.6gwgtx1h94uj57 e:DKA:cp:dka/DKA_IAPCTRFLUX_XEROX BEGIN DKA_IAPCTRFLUX_XEROX_PKG...
20,948,94975279,319.324.26116.9884.122.966xqc033rzyp5 e:SQLAP:cp:sqlap/APPRVL SELECT /*+ dynamic_sampling(2)...
17,618,388117,618,388.003.5869.3310007xj8m0turm2gj e:DKA:cp:dka/DKA_IAPCTRFLUX_XEROX SELECT DISTINCT XOV.DIVISION, ...
13,569,314101134,349.642.7626.4497.82.58zqv190aqjyfr e:ICX:fwk:icx.por.rcv.server.DKAReceiveItemsAM INSERT INTO FND_LOBS ( FILE_ID...
12,447,38251244,066.312.53314.4848.4.290n1att0nq1u7 e:SQLAP:cp:sqlap/WORKERAPPRVL UPDATE AP_INVOICES_ALL AI SET ...
6,503,0718081,288.391.32194.9149.30bb4y6zxs3j061 e:SQLAP:cp:sqlap/APPRVL UPDATE AP_HOLDS_ALL AHA SET AH...
5,380,9127373,711.121.09124.70100.90dndn8zwusbhy7 e:SQLAP:cp:sqlap/APPRVL INSERT INTO AP_TEMP_APPROVAL_G...


Back to SQL Statistics
Back to Top

SQL ordered by Reads

Physical ReadsExecutionsReads per Exec %TotalElapsed Time (s)%CPU%IO SQL IdSQL ModuleSQL Text
34,175,4580 89.0089.1290.4010.37fzvan15xb6ak4 e:DKA:cp:dka/DKA_SXLAACCPB BEGIN DKA_SXLAACCPB_PKG.MAIN(:...
34,174,564134,174,564.0089.0086.6290.4710.328snn9tyxtp4n9 e:DKA:cp:dka/DKA_SXLAACCPB SELECT GL.LEDGER_ID SET_OF_BOO...
881,1202440,560.002.2927.7769.3431.42ddudsfwj54f0g emagent_SQL_oracle_database select a.tablespace_name , rou...
636,7584159,189.501.66378.7056.5248.38a3kxyqjurdtp8 Oracle Enterprise Manager.Metric Engine insert into mgmt_db_size_gtt S...
521,5201521,520.001.3698.9299.450.62gwgtx1h94uj57 e:DKA:cp:dka/DKA_IAPCTRFLUX_XEROX BEGIN DKA_IAPCTRFLUX_XEROX_PKG...
476,8211476,821.001.24350.9674.8337.567ku0dt5m5j6y1 e:DKA:cp:dka/DKA_SAPAPPRVL BEGIN DKA_SAPAPPRVL_PKG.MAIN(:...
382,0451382,045.000.9935.3964.5821.227yqcrnkxhx4p8 e:SYSADMIN:cp:fnd/FNDWFWITSTATCC BEGIN WF_OAM_METRICS.workItems...
142,6691041,371.820.3748.5761.7071.205a72wzs0hj755 e:SQLAP:cp:dka/DKA_SAPCREATE_BLOCAGES BEGIN DKA_SAPCREATE_BLOCAGES_P...
142,6591041,371.720.3743.6358.9979.16badzp9g6jzuz9 e:SQLAP:cp:dka/DKA_SAPCREATE_BLOCAGES SELECT AI.INVOICE_ID, AI.INVOI...
108,887512,135.040.28822.2172.114.85adj796q5rqv7m e:SQLAP:cp:sqlap/WORKERAPPRVL BEGIN AP_APPROVAL_PKG.WORKER_A...


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
1,60733,17311,607.0095.16-3.68gwgtx1h94uj57 e:DKA:cp:dka/DKA_IAPCTRFLUX_XEROX BEGIN DKA_IAPCTRFLUX_XEROX_PKG...
3763761,8000.210.00-0.866zq7whdtnf2ru   declare agedFileRec dbms_rcvm...
365108,849517.1699.66-0.84adj796q5rqv7m e:SQLAP:cp:sqlap/WORKERAPPRVL BEGIN AP_APPROVAL_PKG.WORKER_A...
97498224.4180.52-0.220w26sk6t6gq98 MMON_SLAVE SELECT XMLTYPE(DBMS_REPORT.GET...
97684224.4185.82-0.22fhf8upax5cxsz MMON_SLAVE BEGIN sys.dbms_auto_report_int...
367,204530.06100.00-0.015t39uchjqpyfm e:OFA:cp:xla/XLAACCUP BEGIN xla_accounting_pkg.unit_...
347,17913.0099.99-0.017yqcrnkxhx4p8 e:SYSADMIN:cp:fnd/FNDWFWITSTATCC BEGIN WF_OAM_METRICS.workItems...
246510.0495.65-0.0090n1att0nq1u7 e:SQLAP:cp:sqlap/WORKERAPPRVL UPDATE AP_INVOICES_ALL AI SET ...
1476,13511.00100.00-0.007ku0dt5m5j6y1 e:DKA:cp:dka/DKA_SAPAPPRVL BEGIN DKA_SAPAPPRVL_PKG.MAIN(:...
001540.00 0.000643vntsbbshw JDBC Thin Client select V.PROFILE_OPTION_VALUE ...


Back to SQL Statistics
Back to Top

SQL ordered by Executions

Executions Rows ProcessedRows per ExecElapsed Time (s) %CPU %IO SQL IdSQL ModuleSQL Text
187,47300.007.9395.20bbugagurwv1vy e:SQLAP:bes:oracle.apps.wf.notification.respond (SELECT STATUS_FLAG FROM IGI_G...
139,701139,7131.007.61981.1grwydz59pu6mc   select text from view$ where r...
28,76228,4790.992,326.9799.8.467fx45mvnmbsz e:SQLAP:bes:oracle.apps.xla.accounting.extract SELECT CASE WHEN COUNT(1) > 0 ...
20,48120,4791.001.4299.206t6z5yyv0b8ds e:SQLAP:wf:PAAPINVW SELECT ZX_REC_NREC_DIST_S.NEXT...
13,82700.000.3999.20bn7jfdsf4zh36 e:SQLAP:frm:APXINWKB DELETE FROM ZX_JURISDICTIONS_G...
13,54013,5411.003.0099.9019p399n80dnsq e:SQLAP:cp:sqlap/APXIIMPT begin :con := "ZX_SECURITY"."A...
9,8779,8801.000.8174.8.17466ar05kub5f e:SQLAP:cp:sqlap/WORKERAPPRVL SELECT COUNT(*) FROM AP_HOLDS_...
9,8709,8701.004.185605us2xwzatpnwy e::cp:30 begin fnd_dcp.check_process_st...
8,45925,3873.000.79100.107umy6juhzw766   select /*+ connect_by_filterin...
7,9267,9261.001.741000357ymr0xrucg6 e:ICX:fwk:icx.por.common.server.LaunchIPAM begin :con := "MO_GLOBAL"."ORG...


Back to SQL Statistics
Back to Top

SQL ordered by Parse Calls

Parse CallsExecutions % Total Parses SQL IdSQL ModuleSQL Text
139,736139,70124.12grwydz59pu6mc   select text from view$ where r...
18,39820,4813.186t6z5yyv0b8ds e:SQLAP:wf:PAAPINVW SELECT ZX_REC_NREC_DIST_S.NEXT...
13,51813,5402.3319p399n80dnsq e:SQLAP:cp:sqlap/APXIIMPT begin :con := "ZX_SECURITY"."A...
9,8709,8701.705us2xwzatpnwy e::cp:30 begin fnd_dcp.check_process_st...
8,4638,4591.467umy6juhzw766   select /*+ connect_by_filterin...
7,9167,9261.37357ymr0xrucg6 e:ICX:fwk:icx.por.common.server.LaunchIPAM begin :con := "MO_GLOBAL"."ORG...
7,83913,8271.35bn7jfdsf4zh36 e:SQLAP:frm:APXINWKB DELETE FROM ZX_JURISDICTIONS_G...
7,7517,7521.34au7f6hpnhxpkx   select ts# from ts$ where dflm...
6,3186,3391.092wjp9xd6kdyf3   select obj# from edition$ wher...
6,2149,8771.077466ar05kub5f e:SQLAP:cp:sqlap/WORKERAPPRVL SELECT COUNT(*) FROM AP_HOLDS_...
6,1926,1991.07479rc79k52ru1 e:SQLAP:cp:sqlap/WORKERAPPRVL SELECT DISTINCT PO_HEADER_ID F...
5,9135,9141.021x86a57bmfjhp   select view_obj.owner# from us...


Back to SQL Statistics
Back to Top

SQL ordered by Sharable Memory

Sharable Mem (b)Executions % Total SQL IdSQL ModuleSQL Text
20,155,980220.24dfffkcnqfystw MMON_SLAVE WITH MONITOR_DATA AS (SELECT I...
9,464,749220.118mdz49zkajhw3 MMON_SLAVE SELECT /*+ OPT_PARAM('_fix_con...
8,633,738430.1026a2tvptkg3hw e:ICX:wf:POAPPRV INSERT ALL WHEN (ZX_LOCATION_M...
6,223,8901080.07616m6uhpa2usu   select i.obj#, i.ts#, i.file#,...
6,054,26300.074kvhga64b6wah MMON_SLAVE WITH binds as (select :dbid as...
5,414,51000.060vcs754gpmxrc MMON_SLAVE WITH binds as (select :dbid as...
5,009,1617840.063gbufv8ymg5gg e:SQLAP:frm:APXINWKB INSERT INTO ZX_LINES_DET_FACTO...
4,277,700330.051c0s28y6dgtp6 e:SQLAP:bes:oracle.apps.xla.accounting.extract SELECT /*+ leading(xet) cardin...
3,956,4607840.057azcgh1zf1p03 e:SQLAP:frm:APXINWKB SELECT /*+ INDEX(HEADER ZX_TRX...
3,720,563970.04622ufbrgvxdc7   select decode(u.type#, 2, u.ex...
3,334,4931500.04aw7fu9a9bdyus EXCEL.EXE SELECT * FROM PER_SECURITY_PRO...
2,837,0941,5410.031p5grz1gs7fjq   select obj#, type#, ctime, mti...
2,294,6781000.0322nharvcdzu2p e:DKA:cp:dka/DKA_SPOWFDA_ERRORS SELECT MEANING FROM HR_LOOKUPS...
1,751,9264,7930.02dawf7hvg1ym94 JDBC Thin Client select V.PROFILE_OPTION_VALUE ...
1,588,0754,9570.02bkaaqaa5aj3gf JDBC Thin Client SELECT MESSAGE_TEXT, MESSAGE_N...
1,570,47710.027qwsx7rw0s3a5 e:ICX:fwk:icx.por.req.server.RequisitionAM SELECT PROFILE_OPTION_VALUE FR...
1,534,8012400.02f55uyfv6306pt JDBC Thin Client SELECT LANGUAGE_CODE, NLS_LANG...
1,413,500500.02gmjbqkrskpkbt e:PO:bes:oracle.apps.wf.notification.denormalize SELECT SET_OF_BOOKS_ID FROM HR...
1,358,1835,9060.0298j69vs3ymzjv JDBC Thin Client SELECT DECODE(:B2 , 'UTF8', FL...
1,332,2861,1980.02a4gss3ajbyfzr JDBC Thin Client SELECT R.RESPONSIBILITY_NAME F...
1,290,0621540.020643vntsbbshw JDBC Thin Client select V.PROFILE_OPTION_VALUE ...
1,225,7463,3570.013350m9wncvqvn JDBC Thin Client select HIERARCHY_TYPE, SITE_EN...
1,204,778350.019k7gd9pn661pj e:ICX:fwk:icx.por.req.server.RequisitionAM SELECT PROFILE_OPTION_VALUE FR...
1,158,9171,0780.01amjk7qdaq37s0 oacore_server31 SELECT R.RESPONSIBILITY_KEY FR...
1,147,8527770.012t6vtm64wfkd5 e:SQLAP:wf:PAAPINVW INSERT INTO AP_INVOICE_DISTRIB...
1,108,73950.01526yrajrrjwnv   select o.obj# from obj$ o, ev$...
1,070,4524050.01dm5qmv0xq5qbn   select obj# from obj$ o where ...


Back to SQL Statistics
Back to Top

SQL ordered by Version Count

Version Count Executions SQL IdSQL ModuleSQL Text
611,5411p5grz1gs7fjq   select obj#, type#, ctime, mti...
60108616m6uhpa2usu   select i.obj#, i.ts#, i.file#,...
4297622ufbrgvxdc7   select decode(u.type#, 2, u.ex...
42150aw7fu9a9bdyus EXCEL.EXE SELECT * FROM PER_SECURITY_PRO...
42405dm5qmv0xq5qbn   select obj# from obj$ o where ...
41333cb21bacyh3c7d   select metadata from kopm$ whe...
374,957bkaaqaa5aj3gf JDBC Thin Client SELECT MESSAGE_TEXT, MESSAGE_N...
365,90698j69vs3ymzjv JDBC Thin Client SELECT DECODE(:B2 , 'UTF8', FL...
3117qwsx7rw0s3a5 e:ICX:fwk:icx.por.req.server.RequisitionAM SELECT PROFILE_OPTION_VALUE FR...
3050gmjbqkrskpkbt e:PO:bes:oracle.apps.wf.notification.denormalize SELECT SET_OF_BOOKS_ID FROM HR...
294,793dawf7hvg1ym94 JDBC Thin Client select V.PROFILE_OPTION_VALUE ...
281,078amjk7qdaq37s0 oacore_server31 SELECT R.RESPONSIBILITY_KEY FR...
28240f55uyfv6306pt JDBC Thin Client SELECT LANGUAGE_CODE, NLS_LANG...
273,3573350m9wncvqvn JDBC Thin Client select HIERARCHY_TYPE, SITE_EN...
2610022nharvcdzu2p e:DKA:cp:dka/DKA_SPOWFDA_ERRORS SELECT MEANING FROM HR_LOOKUPS...
265526yrajrrjwnv   select o.obj# from obj$ o, ev$...
261,198a4gss3ajbyfzr JDBC Thin Client SELECT R.RESPONSIBILITY_NAME F...
251540643vntsbbshw JDBC Thin Client select V.PROFILE_OPTION_VALUE ...
251,23717d40vwcct4g6 oacore_server21 select instance_name from v$in...
25359k7gd9pn661pj e:ICX:fwk:icx.por.req.server.RequisitionAM SELECT PROFILE_OPTION_VALUE FR...
25389v2t9naa94y3v e:DKA:wf:DKA_POAP SELECT TEXT FROM WF_RESOURCES ...
25187,473bbugagurwv1vy e:SQLAP:bes:oracle.apps.wf.notification.respond (SELECT STATUS_FLAG FROM IGI_G...
241,0835as61q63aqmts e:FND:cp:FNDIM_UDKFINP03 SELECT A.APPLICATION_SHORT_NAM...
2370253vm5a285kch0 e:DKA:cp:fnd/FNDWFBG SELECT SECURITY_PROFILE_NAME ,...
234,786b1cp8pancvaaf e::fwk:icx.por.req.server.RequisitionAM SELECT NVL(MPI.STATUS, 'N') FR...
2350f2tzfzy3qw2bp e:DKA:cp:dka/DKA_SPOWFDA_ERRORS SELECT DECODE(READ_ONLY_FLAG, ...
222,88219w2h52d7ggr7 JDBC Thin Client SELECT * FROM V$NLS_PARAMETERS...
222682aufmzdhuf380 e:SQLAP:cp:sqlap/APXIIMPT SELECT APPLICATION_SHORT_NAME ...
21501ubm0swfj9nv5 e:SQLAP:cp:sqlap/APXIIMPT SELECT PRECISION, EXTENDED_PRE...


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
239.105168.33822.2129.0872.114.85adj796q5rqv7m e:SQLAP:cp:sqlap/WORKERAPPRVL BEGIN AP_APPROVAL_PKG.WORKER_A...
177.395150.69314.4856.4148.410.2490n1att0nq1u7 e:SQLAP:cp:sqlap/WORKERAPPRVL UPDATE AP_INVOICES_ALL AI SET ...
54.00415.43378.7014.2656.5248.38a3kxyqjurdtp8 Oracle Enterprise Manager.Metric Engine insert into mgmt_db_size_gtt S...
6.90731.9749.7613.8773.638.74656sk77p7a7qs e:OFA:cp:ofa/FAACCPB Declare l_flag Boolean; BEGIN ...
6.74531.933,111.730.2298.390.625t39uchjqpyfm e:OFA:cp:xla/XLAACCUP BEGIN xla_accounting_pkg.unit_...
5.113661.4633.0515.4678.938.46bwzqpznjgy3vu e:AR:bes:oracle.apps.xla.accounting.preaccountin SELECT /*+ leading(evt) use_nl...
1.9910.57350.960.5774.8337.567ku0dt5m5j6y1 e:DKA:cp:dka/DKA_SAPAPPRVL BEGIN DKA_SAPAPPRVL_PKG.MAIN(:...
1.94750.55116.981.6684.0722.8566xqc033rzyp5 e:SQLAP:cp:sqlap/APPRVL SELECT /*+ dynamic_sampling(2)...
1.25610.363,018.760.0498.710.3605td93dhf1b7y e:SQLAP:bes:oracle.apps.xla.accounting.extract BEGIN :1 := XLA_00200_AAD_C_01...
1.1820.3427.774.2369.3431.42ddudsfwj54f0g emagent_SQL_oracle_database select a.tablespace_name , rou...
0.887770.2524.643.5991.948.502t6vtm64wfkd5 e:SQLAP:wf:PAAPINVW INSERT INTO AP_INVOICE_DISTRIB...
0.8110.2335.392.2864.5821.227yqcrnkxhx4p8 e:SYSADMIN:cp:fnd/FNDWFWITSTATCC BEGIN WF_OAM_METRICS.workItems...
0.602120.1734.691.7491.480.849k7t8q4kfcb7y e:OFA:bes:oracle.apps.xla.accounting.postprocess begin GL.apps_ddl.apps_ddl(:dd...
0.49330.1422.372.2187.994.441c0s28y6dgtp6 e:SQLAP:bes:oracle.apps.xla.accounting.extract SELECT /*+ leading(xet) cardin...
0.31460.0936.130.8794.9610.13aqx0d1ra6a986 e:OFA:cp:xla/XLABAPUB BEGIN xla_balances_calc_pkg.ma...
0.259,8770.070.8130.4374.840.127466ar05kub5f e:SQLAP:cp:sqlap/WORKERAPPRVL SELECT COUNT(*) FROM AP_HOLDS_...
0.226,1990.061.3017.0385.500.00479rc79k52ru1 e:SQLAP:cp:sqlap/WORKERAPPRVL SELECT DISTINCT PO_HEADER_ID F...
0.201010.0626.440.7797.792.528zqv190aqjyfr e:ICX:fwk:icx.por.rcv.server.DKAReceiveItemsAM INSERT INTO FND_LOBS ( FILE_ID...
0.2000.0689.120.2290.4010.37fzvan15xb6ak4 e:DKA:cp:dka/DKA_SXLAACCPB BEGIN DKA_SXLAACCPB_PKG.MAIN(:...
0.195,9140.0516.521.1598.900.071x86a57bmfjhp   select view_obj.owner# from us...
0.18500.0521.120.8699.340.016b5u4zfss5ndb e:SQLAP:cp:sqlap/APXIIMPT SELECT ii.org_id audit_org_id,...
0.157840.041.2411.9689.042.433gbufv8ymg5gg e:SQLAP:frm:APXINWKB INSERT INTO ZX_LINES_DET_FACTO...
0.15730.04124.700.12100.880.02dndn8zwusbhy7 e:SQLAP:cp:sqlap/APPRVL INSERT INTO AP_TEMP_APPROVAL_G...
0.151040.0448.570.3061.7071.205a72wzs0hj755 e:SQLAP:cp:dka/DKA_SAPCREATE_BLOCAGES BEGIN DKA_SAPCREATE_BLOCAGES_P...
0.14460.0423.940.5993.807.87bwm53fxa4ckra e:OFA:cp:xla/XLABAPUB INSERT INTO xla_ctrl_bal_inter...
0.14800.04194.910.0749.300.00bb4y6zxs3j061 e:SQLAP:cp:sqlap/APPRVL UPDATE AP_HOLDS_ALL AHA SET AH...
0.1110.0386.620.1390.4710.328snn9tyxtp4n9 e:DKA:cp:dka/DKA_SXLAACCPB SELECT GL.LEDGER_ID SET_OF_BOO...
0.091,5410.030.6913.4482.2236.901p5grz1gs7fjq   select obj#, type#, ctime, mti...
0.082,7380.020.5913.0360.9150.29cvn54b7yz0s8u   select /*+ index(idl_ub1$ i_id...
0.0828,7620.022,326.970.0099.770.3567fx45mvnmbsz e:SQLAP:bes:oracle.apps.xla.accounting.extract SELECT CASE WHEN COUNT(1) > 0 ...
0.061040.0243.630.1458.9979.16badzp9g6jzuz9 e:SQLAP:cp:dka/DKA_SAPCREATE_BLOCAGES SELECT AI.INVOICE_ID, AI.INVOI...
0.0510.0198.920.0599.450.62gwgtx1h94uj57 e:DKA:cp:dka/DKA_IAPCTRFLUX_XEROX BEGIN DKA_IAPCTRFLUX_XEROX_PKG...
0.043,3630.012.471.8085.2221.43aj3d1mw1zaymg e:SQLAP:frm:APXINWKB SELECT event_status_code FROM ...
0.04220.0141.170.0996.002.19fhf8upax5cxsz MMON_SLAVE BEGIN sys.dbms_auto_report_int...
0.034050.010.1221.2861.2942.75dm5qmv0xq5qbn   select obj# from obj$ o where ...
0.031080.010.2012.4775.7334.20616m6uhpa2usu   select i.obj#, i.ts#, i.file#,...
0.02139,7010.017.610.2798.031.14grwydz59pu6mc   select text from view$ where r...
0.022,7370.010.247.5383.7523.0839m4sx9k63ba2   select /*+ index(idl_ub2$ i_id...
0.01220.0040.500.0496.122.120w26sk6t6gq98 MMON_SLAVE SELECT XMLTYPE(DBMS_REPORT.GET...
0.012,7360.000.354.0690.0224.18ga9j9xk5cy9s0   select /*+ index(idl_sb4$ i_id...
0.012,4990.000.482.7895.344.831dkqbxgby1zrq e:SQLAP:wf:PAAPINVW select to_char(CODE_COMBINATIO...
0.0110.0069.330.0299.960.047xj8m0turm2gj e:DKA:cp:dka/DKA_IAPCTRFLUX_XEROX SELECT DISTINCT XOV.DIVISION, ...
0.01220.0052.250.0296.971.64dfffkcnqfystw MMON_SLAVE WITH MONITOR_DATA AS (SELECT I...
0.012,7360.000.185.6888.2715.60c6awqs517jpj0   select /*+ index(idl_char$ i_i...
0.01970.000.089.6971.5215.82622ufbrgvxdc7   select decode(u.type#, 2, u.ex...
0.0100.003.640.1999.400.160vcs754gpmxrc MMON_SLAVE WITH binds as (select :dbid as...
0.01350.000.115.7289.9776.759k7gd9pn661pj e:ICX:fwk:icx.por.req.server.RequisitionAM SELECT PROFILE_OPTION_VALUE FR...


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;
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
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
22nharvcdzu2pSELECT MEANING FROM HR_LOOKUPS WHERE LOOKUP_TYPE = :B2 AND LOOKUP_CODE = :B1
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
2aufmzdhuf380SELECT APPLICATION_SHORT_NAME FROM FND_APPLICATION WHERE APPLICATION_ID = :B1
2t6vtm64wfkd5 INSERT INTO AP_INVOICE_DISTRIBUTIONS ( BATCH_ID, INVOICE_ID, INVOICE_LINE_NUMBER, INVOICE_DISTRIBUTION_ID, DISTRIBUTION_LINE_NUMBER, LINE_TYPE_LOOKUP_CODE, DESCRIPTION, DIST_MATCH_TYPE, DISTRIBUTION_CLASS, ORG_ID, DIST_CODE_COMBINATION_ID, ACCOUNTING_DATE, PERIOD_NAME, AMOUNT_TO_POST, BASE_AMOUNT_TO_POST, POSTED_AMOUNT, POSTED_BASE_AMOUNT, JE_BATCH_ID, CASH_JE_BATCH_ID, POSTED_FLAG, ACCOUNTING_EVENT_ID, UPGRADE_POSTED_AMT, UPGRADE_BASE_POSTED_AMT, SET_OF_BOOKS_ID, AMOUNT, BASE_AMOUNT, ROUNDING_AMT, MATCH_STATUS_FLAG, ENCUMBERED_FLAG, PACKET_ID, REVERSAL_FLAG, PARENT_REVERSAL_ID, CANCELLATION_FLAG, INCOME_TAX_REGION, TYPE_1099, STAT_AMOUNT, CHARGE_APPLICABLE_TO_DIST_ID, PREPAY_AMOUNT_REMAINING, PREPAY_DISTRIBUTION_ID, PARENT_INVOICE_ID, CORRECTED_INVOICE_DIST_ID, CORRECTED_QUANTITY, OTHER_INVOICE_ID, PO_DISTRIBUTION_ID, RCV_TRANSACTION_ID, UNIT_PRICE, MATCHED_UOM_LOOKUP_CODE, QUANTITY_INVOICED, FINAL_MATCH_FLAG, RELATED_ID, ASSETS_ADDITI ON_FLAG, ASSETS_TRACKING_FLAG, ASSET_BOOK_TYPE_CODE, ASSET_CATEGORY_ID, PROJECT_ID, TASK_ID, EXPENDITURE_TYPE, EXPENDITURE_ITEM_DATE, EXPENDITURE_ORGANIZATION_ID, PA_QUANTITY, PA_ADDITION_FLAG, PA_CC_AR_INVOICE_ID, PA_CC_AR_INVOICE_LINE_NUM, PA_CC_PROCESSED_CODE, AWARD_ID, GMS_BURDENABLE_RAW_COST, AWT_FLAG, AWT_GROUP_ID, AWT_TAX_RATE_ID, AWT_GROSS_AMOUNT, AWT_INVOICE_ID, AWT_ORIGIN_GROUP_ID, AWT_INVOICE_PAYMENT_ID, AWT_WITHHELD_AMT, INVENTORY_TRANSFER_STATUS, REFERENCE_1, REFERENCE_2, RECEIPT_VERIFIED_FLAG, RECEIPT_REQUIRED_FLAG, RECEIPT_MISSING_FLAG, JUSTIFICATION, EXPENSE_GROUP, START_EXPENSE_DATE, END_EXPENSE_DATE, RECEIPT_CURRENCY_CODE, RECEIPT_CONVERSION_RATE, RECEIPT_CURRENCY_AMOUNT, DAILY_AMOUNT, WEB_PARAMETER_ID, ADJUSTMENT_REASON, MERCHANT_DOCUMENT_NUMBER, MERCHANT_NAME, MERCHANT_REFERENCE, MERCHANT_TAX_REG_NUMBER, MERCHANT_TAXPAYER_ID, COUNTRY_OF_SUPPLY, CREDIT_CARD_TRX_ID, COMPANY_PREPAID_INVOICE_ID, CC_REVERSAL_FLAG, ATTRIBUT E_CATEGORY, ATTRIBUTE1, ATTRIBUTE2, ATTRIBUTE3, ATTRIBUTE4, ATTRIBUTE5, ATTRIBUTE6, ATTRIBUTE7, ATTRIBUTE8, ATTRIBUTE9, ATTRIBUTE10, ATTRIBUTE11, ATTRIBUTE12, ATTRIBUTE13, ATTRIBUTE14, ATTRIBUTE15, GLOBAL_ATTRIBUTE3, CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN, PROGRAM_APPLICATION_ID, PROGRAM_ID, PROGRAM_UPDATE_DATE, REQUEST_ID, INTENDED_USE, ACCRUAL_POSTED_FLAG, CASH_POSTED_FLAG, RCV_CHARGE_ADDITION_FLAG, PAY_AWT_GROUP_ID) SELECT :B28 , :B18 , :B17 , :B16 , :B27 , DECODE(:B26 , 'PREPAYMENT', 'ITEM', DECODE (PD.ACCRUE_ON_RECEIPT_FLAG, 'Y', 'ACCRUAL', 'ITEM')), NVL(AIL.DESCRIPTION, AIL.ITEM_DESCRIPTION), 'ITEM_TO_PO', 'PERMANENT', AIL.ORG_ID, :B15 , AIL.ACCOUNTING_DATE, AIL.PERIOD_NAME, NULL, NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, :B25 , :B14 , :B13 , :B12 , NULL, 'N', NULL, 'N', NULL, 'N', DECODE(AIL.TYPE_1099, '', '', AIL.INCOME_TAX_REGION), AIL.TYPE_1099, NULL, NUL L, NULL, NULL, NULL, NULL, NULL, NULL, :B11 , NULL, :B10 , AIL.UNIT_MEAS_LOOKUP_CODE, :B9 , :B24 , NULL, 'U', DECODE(GCC.ACCOUNT_TYPE, 'E', AIL.ASSETS_TRACKING_FLAG, 'A', 'Y', 'N'), DECODE(DECODE(GCC.ACCOUNT_TYPE, 'E', AIL.ASSETS_TRACKING_FLAG, 'A', 'Y', 'N'), 'Y', AIL.ASSET_BOOK_TYPE_CODE, NULL), DECODE(DECODE(GCC.ACCOUNT_TYPE, 'E', AIL.ASSETS_TRACKING_FLAG, 'A', 'Y', 'N'), 'Y', AIL.ASSET_CATEGORY_ID, NULL), :B8 , :B7 , :B6 , :B5 , :B4 , :B3 , DECODE(PD.PROJECT_ID, NULL, 'E', DECODE(PD.DESTINATION_TYPE_CODE, 'INVENTORY', 'M', 'SHOP FLOOR', 'M', 'N')), NULL, NULL, NULL, NULL, NULL, NULL, :B2 , NULL, NULL, NULL, NULL, NULL, NULL, 'N', :B23 , :B22 , NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NVL(DECODE(:B21 , 'Y', PD.ATTRIBUTE_CATEGORY, DECODE(LINE_SOURCE, 'IMPORTED', DECODE(:B20 , 'Y', AIL.ATTRIBUTE_CATEGORY))), ''), NVL(DECODE(: B21 , 'Y', PD.ATTRIBUTE1, DECODE(LINE_SOURCE, 'IMPORTED', DECODE(:B20 , 'Y', AIL.ATTRIBUTE1))), ''), NVL(DECODE(:B21 , 'Y', PD.ATTRIBUTE2, DECODE(LINE_SOURCE, 'IMPORTED', DECODE(:B20 , 'Y', AIL.ATTRIBUTE2))), ''), NVL(DECODE(:B21 , 'Y', PD.ATTRIBUTE3, DECODE(LINE_SOURCE, 'IMPORTED', DECODE(:B20 , 'Y', AIL.ATTRIBUTE3))), ''), NVL(DECODE(:B21 , 'Y', PD.ATTRIBUTE4, DECODE(LINE_SOURCE, 'IMPORTED', DECODE(:B20 , 'Y', AIL.ATTRIBUTE4))), ''), NVL(DECODE(:B21 , 'Y', PD.ATTRIBUTE5, DECODE(LINE_SOURCE, 'IMPORTED', DECODE(:B20 , 'Y', AIL.ATTRIBUTE5))), ''), NVL(DECODE(:B21 , 'Y', PD.ATTRIBUTE6, DECODE(LINE_SOURCE, 'IMPORTED', DECODE(:B20 , 'Y', AIL.ATTRIBUTE6))), ''), NVL(DECODE(:B21 , 'Y', PD.ATTRIBUTE7, DECODE(LINE_SOURCE, 'IMPORTED', DECODE(:B20 , 'Y', AIL.ATTRIBUTE7))), ''), NVL(DECODE(:B21 , 'Y', PD.ATTRIBUTE8, DECODE(LINE_SOURCE, 'IMPORTED', DECODE(:B20 , 'Y', AIL.ATTRIBUTE8))), ''), NVL(DECODE(:B21 , 'Y', PD.ATTRIBUTE9, DECODE(LINE_SOURCE, 'IMPORTED', DECODE(:B20 , 'Y', AIL.ATTRIBUTE9))), ''), NVL(DECODE(:B21 , 'Y', PD.ATTRIBUTE10, DECODE(LINE_SOURCE, 'IMPORTED', DECODE(:B20 , 'Y', AIL.ATTRIBUTE10))), ''), NVL(DECODE(:B21 , 'Y', PD.ATTRIBUTE11, DECODE(LINE_SOURCE, 'IMPORTED', DECODE(:B20 , 'Y', AIL.ATTRIBUTE11))), ''), NVL(DECODE(:B21 , 'Y', PD.ATTRIBUTE12, DECODE(LINE_SOURCE, 'IMPORTED', DECODE(:B20 , 'Y', AIL.ATTRIBUTE12))), ''), NVL(DECODE(:B21 , 'Y', PD.ATTRIBUTE13, DECODE(LINE_SOURCE, 'IMPORTED', DECODE(:B20 , 'Y', AIL.ATTRIBUTE13))), ''), NVL(DECODE(:B21 , 'Y', PD.ATTRIBUTE14, DECODE(LINE_SOURCE, 'IMPORTED', DECODE(:B20 , 'Y', AIL.ATTRIBUTE14))), ''), NVL(DECODE(:B21 , 'Y', PD.ATTRIBUTE15, DECODE(LINE_SOURCE, 'IMPORTED', DECODE(:B20 , 'Y', AIL.ATTRIBUTE15))), ''), DECODE(AP_EXTENDED_WITHHOLDING_PKG.AP_EXTENDED_WITHHOLDING_OPTION, 'Y', AIL.SHIP_TO_LOCATION_ID, ''), AIL.CREATED_BY, SYSDATE, AIL.LAST_UPDATED_BY, SYSDATE, AIL.LAST_UPDATE_LOGIN, NULL, NULL, NULL, NULL, :B19 , 'N', 'N', 'N', :B1 FROM PO_DISTRI BUTIONS PD, AP_INVOICE_LINES AIL, GL_CODE_COMBINATIONS GCC WHERE AIL.INVOICE_ID = :B18 AND AIL.LINE_NUMBER = :B17 AND AIL.PO_LINE_LOCATION_ID = PD.LINE_LOCATION_ID AND PD.PO_DISTRIBUTION_ID = :B11 AND GCC.CODE_COMBINATION_ID = DECODE(PD.ACCRUE_ON_RECEIPT_FLAG, 'Y', PD.CODE_COMBINATION_ID, :B15 )
2wjp9xd6kdyf3select obj# from edition$ where p_obj# = :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;
39m4sx9k63ba2select /*+ index(idl_ub2$ i_idl_ub21) +*/ piece#, length, piece from idl_ub2$ where obj#=:1 and part=:2 and version=:3 order by piece#
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
526yrajrrjwnvselect o.obj# from obj$ o, ev$ e where e.ev_obj# = :1 and e.base_tbl_owner# = o.owner# and e.base_tbl_name = o.name and o.type# = :2
53vm5a285kch0SELECT SECURITY_PROFILE_NAME , BUSINESS_GROUP_ID , VIEW_ALL_ORGANIZATIONS_FLAG FROM PER_SECURITY_PROFILES WHERE SECURITY_PROFILE_ID = TO_NUMBER(:B1 )
5a72wzs0hj755BEGIN DKA_SAPCREATE_BLOCAGES_PKG.MAIN(:errbuf, :rc); END;
5as61q63aqmtsSELECT A.APPLICATION_SHORT_NAME FROM FND_APPLICATION A WHERE A.APPLICATION_ID = :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;
5us2xwzatpnwybegin fnd_dcp.check_process_status_by_handle (:h, :r, :a); end;
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
6b5u4zfss5ndb SELECT ii.org_id audit_org_id, v.segment1, v.vendor_name, i.invoice_num, i.invoice_date, i.description, i.invoice_currency_code, -- bug 989221 decode(i.invoice_currency_code, p.base_currency_code, l.amount, l.base_amount) func_invoice_amt, -- bug 9011811 --bug 9705216 i.invoice_amount, l.line_number, l.amount, l.accounting_date, p.base_currency_code, c.precision, c.minimum_accountable_unit, c.description from ap_invoice_lines_all l, --Bug 5232953 has replaced ap_invoicelines here, Bug 7173042 ap_invoices_all i, -- Bug 7173042 po_vendors v, ap_invoices_interface ii, ap_system_parameters_all p, -- Bug 7173042 fnd_currencies_vl c where ii.status = 'PROCESSED' and ii.source = : p_source and ( ( : p_group_id is null ) or ( ii.group_id = : p_group_id ) ) and nvl ( ii.request_id , - 1 ) = : p_conc_request_id and nvl ( rtrim ( ii.invoice_num ) , DECODE ( ii.invoice_date , null , to_char ( sysdate , 'DD/MM/RR' ) , to_char ( ii.invoice_date , 'DD/MM/RR' ) ) ) = i.invoice_num and i.vendor_id = v.vendor_id and ii.vendor_id = i.vendor_id and i.invoice_id = l.invoice_id and exists ( select 1 from ap_invoice_lines_all l2 where l2.invoice_id = i.invoice_id and l2.request_id = : p_conc_request_id ) and ii.ORG_ID = i.org_id and i.org_id = p.org_id and p.base_currency_code = c.currency_code ORDER BY 1 ASC, 13 ASC, 14 ASC, 16 ASC, 15 ASC, 2 ASC, 3 ASC, 4 ASC, 5 ASC, 6 ASC, 9 ASC, 7 ASC , ii.org_id , v.segment1 , i.invoice_num , l.line_number
6t6z5yyv0b8dsSELECT ZX_REC_NREC_DIST_S.NEXTVAL FROM DUAL
6zq7whdtnf2ru declare agedFileRec dbms_rcvman.agedFileRec_t; first boolean := FALSE; alldest number := dbms_rcvman.FALSE#; policy varchar2(512); begin if (:first > 0) then first := TRUE; if (:alldest > 0) then alldest := dbms_rcvman.TRUE#; end if; dbms_rcvman.setRecoveryDestFile(TRUE); dbms_rcvman.getRedoLogDeletionPolicy(policy => policy); dbms_rcvman.setRedoLogDeletionPolicy(policy => policy, alldest => alldest); end if; dbms_rcvman.getBackedUpFiles(first => first, agedFileRec => agedFileRec); :type := agedFileRec.type; :key := agedFileRec.key; end;
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
7ku0dt5m5j6y1BEGIN DKA_SAPAPPRVL_PKG.MAIN(:errbuf, :rc); END;
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
7xj8m0turm2gjSELECT DISTINCT XOV.DIVISION, TAB1.NOM_FICHIER NOM FROM DKA_ORGANISATION_V XOV, DKA_STRANSCO_LINES DSL, DKA_STRANSCO_HEADERS DSH, ( SELECT XIX.NOM_FICHIER, XII.CODE_DIVISION FROM DKA_IAPFACXGS_INTERFACE XII, DKA_IAPCTRFLUX_XEROX XIX WHERE RTRIM(XII.NOM_FICHIER) = XIX.NOM_FICHIER AND XIX.STATUS = :B1 ) TAB1 WHERE XOV.DIVISION = TAB1.CODE_DIVISION (+) AND DSH.SET_ID = DSL.SET_ID AND DSH.SET_NAME = :B2 AND DSL.PARAM1_VALUE = XOV.DIVISION
7yqcrnkxhx4p8BEGIN WF_OAM_METRICS.workItemsStatConcurrent(:errbuf, :rc); END;
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) )
8snn9tyxtp4n9SELECT GL.LEDGER_ID SET_OF_BOOKS_ID, GL.NAME, CONCAT(CONCAT(CONCAT(GL.NAME, ' ('), GL.SHORT_NAME), ')') LEDGER_DESCRIPTION FROM GL_LEDGERS GL WHERE EXISTS (SELECT 1 FROM XLA_EVENTS XE JOIN XLA.XLA_TRANSACTION_ENTITIES XTE ON XE.ENTITY_ID = XTE.ENTITY_ID AND XE.APPLICATION_ID = XTE.APPLICATION_ID WHERE XE.APPLICATION_ID = 200 AND XTE.LEDGER_ID = GL.LEDGER_ID AND NVL(XE.PROCESS_STATUS_CODE, 'U') <> 'P')
8zqv190aqjyfrINSERT INTO FND_LOBS ( FILE_ID, FILE_NAME, FILE_CONTENT_TYPE, UPLOAD_DATE, EXPIRATION_DATE, PROGRAM_NAME, PROGRAM_TAG, FILE_DATA, LANGUAGE, ORACLE_CHARSET, FILE_FORMAT) VALUES ( :B11 , :B10 , :B9 , :B8 , :B7 , :B6 , :B5 , :B4 , :B3 , :B2 , :B1 )
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;
9v2t9naa94y3vSELECT TEXT FROM WF_RESOURCES WHERE TYPE = :B2 AND NAME = :B1 AND LANGUAGE = USERENV('LANG')
a3kxyqjurdtp8insert into mgmt_db_size_gtt SELECT free.tablespace_name, SUM(free.sz) as sz FROM (SELECT tablespace_name, NVL(sum(bytes)/1048576, 0) sz FROM sys.dba_free_space GROUP BY tablespace_name UNION ALL SELECT tablespace_name, NVL(SUM(bytes)/1048576, 0) sz FROM dba_undo_extents WHERE status='EXPIRED' GROUP BY tablespace_name) free GROUP BY free.tablespace_name
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
b1cp8pancvaafSELECT NVL(MPI.STATUS, 'N') FROM FND_MO_PRODUCT_INIT MPI WHERE MPI.APPLICATION_SHORT_NAME = :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 ))
bbugagurwv1vy(SELECT STATUS_FLAG FROM IGI_GCC_INSTALLED_OPTIONS WHERE OPTION_NAME = UPPER(: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
c6awqs517jpj0select /*+ index(idl_char$ i_idl_char1) +*/ piece#, length, piece from idl_char$ where obj#=:1 and part=:2 and version=:3 order by piece#
cb21bacyh3c7dselect metadata from kopm$ where name='DB_FDO'
cvn54b7yz0s8uselect /*+ index(idl_ub1$ i_idl_ub11) +*/ piece#, length, piece from idl_ub1$ where obj#=:1 and part=:2 and version=:3 order by piece#
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
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
f2tzfzy3qw2bpSELECT DECODE(READ_ONLY_FLAG, 'U', 'Y' , 'M', 'Y' , 'K', 'Y' , 'N') SCHEMA_MODE, DECODE(SUBSTRB(USERENV('CLIENT_INFO'), 1, 1), ' ', NULL, SUBSTRB(USERENV('CLIENT_INFO'), 1, 10)) FROM FND_ORACLE_USERID WHERE ORACLE_USERNAME = USER
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;
fzvan15xb6ak4BEGIN DKA_SXLAACCPB_PKG.MAIN(:errbuf, :rc); END;
ga9j9xk5cy9s0select /*+ index(idl_sb4$ i_idl_sb41) +*/ piece#, length, piece from idl_sb4$ where obj#=:1 and part=:2 and version=:3 order by piece#
gmjbqkrskpkbtSELECT SET_OF_BOOKS_ID FROM HR_OPERATING_UNITS WHERE ORGANIZATION_ID = :B1
grwydz59pu6mcselect text from view$ where rowid=:1
gwgtx1h94uj57BEGIN DKA_IAPCTRFLUX_XEROX_PKG.main(:errbuf, :rc); END;

Back to SQL Statistics
Back to Top

Instance Activity Statistics

Back to Top

Key Instance Activity Stats

StatisticTotalper Secondper Trans
db block changes8,136,9302,267.59221.27
execute count3,639,8921,014.3698.98
gc cr block receive time14,6024.070.40
gc cr blocks received567,283158.0915.43
gc current block receive time3,3060.920.09
gc current blocks received127,71935.593.47
logons cumulative3,0720.860.08
opened cursors cumulative3,512,253978.7995.51
parse count (total)579,255161.4315.75
parse time elapsed60,53916.871.65
physical reads38,397,69810,700.621,044.15
physical writes207,42457.805.64
redo size850,580,712237,038.6523,129.95
session cursor cache hits1,549,486431.8142.14
session logical reads491,816,621137,058.7713,374.03
user calls435,424121.3411.84
user commits34,2579.550.93
user rollbacks2,5170.700.07
workarea executions - onepass180.010.00
workarea executions - optimal1,714,958477.9246.64


Back to Instance Activity Statistics
Back to Top

Instance Activity Stats

StatisticTotalper Secondper Trans
Batched IO (bound) vector count1,234,823344.1233.58
Batched IO (full) vector count4590.130.01
Batched IO (space) vector count00.000.00
Batched IO block miss count1,220,456340.1133.19
Batched IO buffer defrag count4,6991.310.13
Batched IO double miss count137,02338.193.73
Batched IO same unit count707,051197.0419.23
Batched IO single block count1,202,005334.9732.69
Batched IO slow jump count40.000.00
Batched IO vector block count308,72986.048.40
Batched IO vector read count38,43010.711.05
Block Cleanout Optim referenced6620.180.02
CCursor + sql area evicted18,1375.050.49
CPU used by this session680,019189.5118.49
CPU used when call started304,47684.858.28
CR blocks created1,163,598324.2731.64
Cached Commit SCN referenced1,3080.360.04
Commit SCN cached20,4915.710.56
DBWR checkpoint buffers written125,58635.003.42
DBWR checkpoints2230.060.01
DBWR fusion writes20,0445.590.55
DBWR object drop buffers written1130.030.00
DBWR parallel query checkpoint buffers written2640.070.01
DBWR revisited being-written buffer00.000.00
DBWR tablespace checkpoint buffers written00.000.00
DBWR thread checkpoint buffers written108,09430.122.94
DBWR transaction table writes1,1620.320.03
DBWR undo block writes41,15511.471.12
DFO trees parallelized1,0240.290.03
DML statements parallelized00.000.00
Effective IO time5,150,0951,435.22140.05
HSC Heap Segment Block Changes2,151,133599.4758.50
HSC IDL Compressed Blocks00.000.00
Heap Segment Array Inserts16,1254.490.44
Heap Segment Array Updates1,6670.460.05
Heatmap BlkLevel Flushed530.010.00
Heatmap BlkLevel Flushed to BF530.010.00
Heatmap BlkLevel Ranges Flushed530.010.00
Heatmap Blklevel Flush Task Count10.000.00
IPC CPU used by this session00.000.00
KTFB alloc req3860.110.01
KTFB alloc space (block)92,798,97625,861.092,523.49
KTFB alloc time (ms)168,05346.834.57
KTFB apply req240.010.00
KTFB apply time (ms)1,1740.330.03
KTFB commit req00.000.00
KTFB commit time (ms)00.000.00
KTFB free req190.010.00
KTFB free space (block)14,9764.170.41
KTFB free time (ms)2,3890.670.06
LOB table id lookup cache misses00.000.00
Number of read IOs issued31,0738.660.84
OLAP Engine Calls00.000.00
OLAP Paging Manager Cache Changed Page00.000.00
OLAP Paging Manager Cache Hit00.000.00
OLAP Paging Manager Cache Miss00.000.00
OLAP Paging Manager New Page00.000.00
OLAP Perm LOB Read00.000.00
OS All other sleep time00.000.00
OS Chars read and written00.000.00
OS Data page fault sleep time00.000.00
OS Involuntary context switches00.000.00
OS Messages received00.000.00
OS Messages sent00.000.00
OS Other system trap CPU time00.000.00
OS Process heap size00.000.00
OS Process stack size00.000.00
OS Signals received00.000.00
OS System call CPU time00.000.00
OS System calls00.000.00
OS User level CPU time00.000.00
OS Voluntary context switches00.000.00
OS Wait-cpu (latency) time00.000.00
PX local messages recv'd13,8633.860.38
PX local messages sent13,8633.860.38
PX remote messages recv'd3,4740.970.09
PX remote messages sent3,6411.010.10
Parallel operations downgraded 1 to 25 pct00.000.00
Parallel operations downgraded 25 to 50 pct00.000.00
Parallel operations downgraded 50 to 75 pct40.000.00
Parallel operations downgraded 75 to 99 pct00.000.00
Parallel operations downgraded to serial00.000.00
Parallel operations not downgraded1,0200.280.03
Requests to/from client364,712101.649.92
RowCR - row contention4,5951.280.12
RowCR attempts1,582,196440.9243.02
RowCR hits1,571,294437.8942.73
SMON posted for instance recovery00.000.00
SMON posted for undo segment shrink50.000.00
SQL*Net roundtrips to/from client365,087101.749.93
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 cleanout1,490,204415.2940.52
background checkpoints completed10.000.00
background checkpoints started10.000.00
background timeouts39,79811.091.08
branch node splits60.000.00
buffer is not pinned count291,470,82081,226.687,926.00
buffer is pinned count2,689,677,710749,555.6473,140.74
bytes received via SQL*Net from client69,507,53219,370.261,890.13
bytes sent via SQL*Net to client198,455,63155,305.345,396.63
bytes via SQL*Net vector to client00.000.00
calls to get snapshot scn: kcmgss5,028,1481,401.24136.73
calls to kcmgas845,357235.5822.99
calls to kcmgcs1,394,322388.5737.92
cell IO uncompressed bytes291,481,403,39281,229,631.287,926,290.41
cell blocks helped by commit cache00.000.00
cell blocks helped by minscn optimization33,831,5369,428.13919.99
cell blocks processed by cache layer35,582,0879,915.97967.59
cell blocks processed by data layer35,554,0719,908.16966.83
cell blocks processed by index layer00.000.00
cell blocks processed by txn layer35,554,9329,908.40966.85
cell commit cache queries26,1127.280.71
cell flash cache read hits3,944,4851,099.24107.26
cell index scans00.000.00
cell logical write IO requests181,44050.564.93
cell num bytes in block IO during predicate offload2,777,088773.9275.52
cell num bytes in passthru during predicate offload00.000.00
cell num fast response sessions20.000.00
cell num fast response sessions continuing to smart scan20.000.00
cell num smartio automem buffer allocation attempts1,8650.520.05
cell num smartio transient cell failures00.000.00
cell physical IO bytes eligible for predicate offload292,618,207,23281,546,434.197,957,203.66
cell physical IO bytes eligible for smart IOs292,618,207,23281,546,434.197,957,203.66
cell physical IO bytes saved by storage index609,558,528169,870.9216,575.80
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,529,936,62412,130,862.071,183,715.03
cell physical IO interconnect bytes returned by smart scan1,382,080,752385,156.3437,583.10
cell scans1,9220.540.05
cell smart IO session cache hits1,8190.510.05
cell smart IO session cache hwm00.000.00
cell smart IO session cache lookups1,8190.510.05
cell smart IO session cache soft misses10.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,4940.700.07
cleanout - number of ktugct calls838,988233.8122.81
cleanouts and rollbacks - consistent read gets728,342202.9719.81
cleanouts only - consistent read gets41,70011.621.13
cluster key scan block gets895,089249.4424.34
cluster key scans870,442242.5723.67
commit batch performed10.000.00
commit batch requested10.000.00
commit batch/immediate performed1190.030.00
commit batch/immediate requested1190.030.00
commit cleanout failures: block lost26,6327.420.72
commit cleanout failures: buffer being written160.000.00
commit cleanout failures: callback failure3,1930.890.09
commit cleanout failures: cannot pin1290.040.00
commit cleanouts309,15286.158.41
commit cleanouts successfully completed279,18277.807.59
commit immediate performed1180.030.00
commit immediate requested1180.030.00
commit txn count during cleanout80,84022.532.20
consistent changes15,961,7294,448.19434.05
consistent gets478,427,915133,327.6213,009.95
consistent gets direct36,429,11210,152.01990.62
consistent gets examination54,684,72215,239.461,487.05
consistent gets examination (fastpath)51,686,46014,403.911,405.52
consistent gets from cache441,998,810123,175.6112,019.33
consistent gets pin387,314,092107,936.1510,532.28
consistent gets pin (fastpath)383,916,170106,989.2210,439.88
cursor authentications1,3400.370.04
cursor reload failures140.000.00
data blocks consistent reads - undo records applied13,176,2703,671.94358.30
db block changes8,136,9302,267.59221.27
db block gets13,389,3523,731.33364.10
db block gets direct3,3560.940.09
db block gets from cache13,385,9963,730.39364.01
db block gets from cache (fastpath)8,170,6702,276.99222.19
deferred (CURRENT) block cleanout applications116,13232.363.16
dirty buffers inspected13,3423.720.36
enqueue conversions12,2653.420.33
enqueue deadlocks140.000.00
enqueue releases934,354260.3825.41
enqueue requests946,661263.8125.74
enqueue timeouts12,2803.420.33
enqueue waits17,2534.810.47
error count cleared by cell00.000.00
exchange deadlocks2050.060.01
execute count3,639,8921,014.3698.98
failed probes on index block reclamation3810.110.01
fastpath consistent get quota limit228,02863.556.20
file io service time11,8463.300.32
frame signature mismatch00.000.00
free buffer inspected2,550,162710.6869.35
free buffer requested4,093,1991,140.69111.31
gc blocks compressed218,50460.895.94
gc blocks lost00.000.00
gc cleanout applied1,4040.390.04
gc cleanout saved4,1681.160.11
gc cr block flush time5,1201.430.14
gc cr block receive time14,6024.070.40
gc cr blocks flushed127,29935.483.46
gc cr blocks received567,283158.0915.43
gc cr blocks served624,475174.0316.98
gc current block flush time1210.030.00
gc current block pin time20.000.00
gc current block receive time3,3060.920.09
gc current blocks flushed2,1130.590.06
gc current blocks pinned1520.040.00
gc current blocks received127,71935.593.47
gc current blocks served119,64533.343.25
gc force cr read cr630,059175.5817.13
gc force cr read current2230.060.01
gc kbytes saved717,100199.8419.50
gc kbytes sent5,235,8591,459.12142.38
gc local grants1,473,240410.5640.06
gc read time waited330.010.00
gc read wait failures00.000.00
gc read wait timeouts00.000.00
gc read waits3750.100.01
gc reader bypass grants8,8992.480.24
gc reader bypass waits4040.110.01
gc remote grants622,442173.4616.93
gcs affinity lock failures30,7508.570.84
gcs anti-locks created45,67812.731.24
gcs messages sent2,136,507595.4058.10
gcs read-mostly lock failures227,21263.326.18
gcs read-mostly lock grants1,143,048318.5431.08
ges messages sent157,95544.024.30
global enqueue CPU used by this session00.000.00
global enqueue get time119,63933.343.25
global enqueue gets async25,1677.010.68
global enqueue gets sync8,437,2432,351.28229.44
global enqueue releases8,399,3292,340.71228.40
heap block compress173,58448.374.72
hot buffers moved to head of LRU1,429,129398.2738.86
immediate (CR) block cleanout applications770,051214.6020.94
immediate (CURRENT) block cleanout applications36,73710.241.00
index crx upgrade (positioned)56,55115.761.54
index crx upgrade (prefetch)400.010.00
index fast full scans (direct read)00.000.00
index fast full scans (full)120.000.00
index fast full scans (rowid ranges)00.000.00
index fetch by key18,027,3085,023.83490.22
index scans kdiixs152,077,29114,512.831,416.14
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 splits6640.190.02
leaf node splits3,7531.050.10
lob reads26,4697.380.72
lob writes27,1097.550.74
lob writes unaligned27,1097.550.74
logical read bytes from cache3,730,512,560,1281,039,614,041.31101,444,296.52
logons cumulative3,0720.860.08
max cf enq hold time940.030.00
messages received226,71263.186.17
messages sent226,71263.186.17
min active SCN optimization applied on CR7,8602.190.21
no buffer to keep pinned count7180.200.02
no work - consistent read gets373,348,701104,044.3010,152.52
non-idle wait count12,976,4033,616.25352.87
opened cursors cumulative3,512,253978.7995.51
parse count (describe)460.010.00
parse count (failures)20.000.00
parse count (hard)23,7716.620.65
parse count (total)579,255161.4315.75
parse time cpu56,79715.831.54
parse time elapsed60,53916.871.65
physical read IO requests3,905,5051,088.38106.20
physical read bytes314,553,942,01687,659,454.198,553,704.85
physical read partial requests00.000.00
physical read requests optimized3,949,1951,100.56107.39
physical read snap IO requests no data00.000.00
physical read total IO requests3,962,9451,104.39107.76
physical read total bytes321,738,913,79289,661,752.118,749,086.69
physical read total bytes optimized317,173,415,93688,389,445.538,624,936.53
physical read total multi block requests2,064,532575.3456.14
physical reads38,397,69810,700.621,044.15
physical reads cache1,944,104541.7852.87
physical reads cache prefetch420,565117.2011.44
physical reads direct36,453,59410,158.84991.29
physical reads direct (lob)7,2402.020.20
physical reads direct temporary tablespace24,1536.730.66
physical reads prefetch warmup00.000.00
physical write IO requests120,64633.623.28
physical write bytes1,699,217,408473,535.5446,207.03
physical write requests optimized69,83819.461.90
physical write total IO requests290,61780.997.90
physical write total bytes4,341,457,4081,209,871.30118,057.80
physical write total bytes optimized149,649,40841,704.094,069.44
physical write total multi block requests5,3241.480.14
physical writes207,42457.805.64
physical writes direct27,6047.690.75
physical writes direct (lob)3,1670.880.09
physical writes direct temporary tablespace24,3146.780.66
physical writes from cache179,82050.114.89
physical writes non checkpoint159,37944.424.33
pinned buffers inspected1,6710.470.05
pinned cursors current120.000.00
prefetch clients - default00.000.00
prefetch warmup blocks aged out before use00.000.00
prefetched blocks aged out before use1,0660.300.03
process last non-idle time3,5690.990.10
queries parallelized1,0240.290.03
recovery blocks read00.000.00
recursive aborts on index block reclamation10.000.00
recursive calls7,382,9132,057.46200.76
recursive cpu usage369,209102.8910.04
redo KB read1,303,897363.3735.46
redo KB read (memory)857,064238.8523.31
redo KB read (memory) for transport857,064238.8523.31
redo KB read for transport857,064238.8523.31
redo blocks checksummed by FG (exclusive)236,29965.856.43
redo blocks written1,834,020511.1049.87
redo blocks written (group 0)1,834,020511.1049.87
redo blocks written (group 1)00.000.00
redo buffer allocation retries00.000.00
redo entries3,110,726866.8984.59
redo log space requests00.000.00
redo ordering marks10.000.00
redo size850,580,712237,038.6523,129.95
redo size for direct writes26,314,4167,333.26715.57
redo subscn max counts60,14916.761.64
redo synch long waits00.000.00
redo synch time6730.190.02
redo synch time (usec)8,136,0622,267.35221.24
redo synch time overhead (usec)3,464,816,370965,570.2094,219.19
redo synch time overhead count ( 2ms)20,7285.780.56
redo synch time overhead count ( 8ms)3000.080.01
redo synch time overhead count ( 32ms)500.010.00
redo synch time overhead count (128ms)70.000.00
redo synch time overhead count (inf)1290.040.00
redo synch writes21,2585.920.58
redo wastage57,658,37616,068.161,567.91
redo write broadcast ack count1,1560.320.03
redo write broadcast ack time100,57928.032.74
redo write broadcast lgwr post count00.000.00
redo write finish time57,272,15215,960.521,557.41
redo write gather time9,749,5102,716.98265.12
redo write info find21,2515.920.58
redo write info find fail370.010.00
redo write schedule time10,286,8622,866.73279.73
redo write size count ( 4KB)141,40639.413.85
redo write size count ( 8KB)8,8162.460.24
redo write size count ( 16KB)6,3461.770.17
redo write size count ( 32KB)4,0461.130.11
redo write size count ( 128KB)2,5960.720.07
redo write size count ( 256KB)1,3160.370.04
redo write size count ( 512KB)1740.050.00
redo write size count (1024KB)690.020.00
redo write size count (inf)510.010.00
redo write time5,7701.610.16
redo write time (usec)57,699,26016,079.551,569.02
redo write total time63,265,79117,630.821,720.39
redo write worker delay (usec)4,029,3881,122.90109.57
redo writes164,82045.934.48
redo writes (group 0)164,82045.934.48
redo writes (group 1)00.000.00
redo writes adaptive all164,82045.934.48
redo writes adaptive worker164,82045.934.48
remote Oradebug requests1120.030.00
rollback changes - undo records applied1,1240.310.03
rollbacks only - consistent read gets496,360138.3213.50
root node splits00.000.00
rows fetched via callback14,060,1353,918.26382.34
sage send block by cell00.000.00
securefile allocation bytes122,88034.243.34
securefile allocation chunks100.000.00
securefile bytes non-transformed119,37433.273.25
securefile direct read bytes00.000.00
securefile direct read ops00.000.00
securefile direct write bytes122,88034.243.34
securefile direct write ops100.000.00
securefile number of flushes00.000.00
securefile number of non-transformed flushes230.010.00
segment cfs allocations00.000.00
segment chunks allocation from disepnser100.000.00
segment dispenser allocations100.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)5030.140.01
segment prealloc ufs2cfs bytes00.000.00
segment total chunk allocation00.000.00
session connect time00.000.00
session cursor cache hits1,549,486431.8142.14
session logical reads491,816,621137,058.7713,374.03
shared hash latch upgrades - no wait4,749,6211,323.62129.16
shared hash latch upgrades - wait127,47635.523.47
shared io pool buffer get failure00.000.00
shared io pool buffer get success100.000.00
sorts (disk)110.000.00
sorts (memory)2,277,555634.7161.93
sorts (rows)6,444,6221,795.98175.25
sql area evicted20,4915.710.56
sql area purged1330.040.00
summed dirty queue length43,35612.081.18
switch current to new buffer160,53044.744.37
table fetch by rowid1,475,697,786411,245.4040,128.84
table fetch continued row228,10263.576.20
table scan blocks gotten62,015,23617,282.321,686.39
table scan disk non-IMC rows gotten2,186,632,741609,367.7659,461.38
table scan rows gotten2,187,063,682609,487.8659,473.10
table scans (direct read)1,9300.540.05
table scans (long tables)1,8630.520.05
table scans (rowid ranges)1,8330.510.05
table scans (short tables)198,41255.295.40
temp space allocated (bytes)104,857,60029,221.572,851.41
total cf enq hold time1,2820.360.03
total number of cf enq holders3250.090.01
total number of times SMON posted120.000.00
transaction lock background get time00.000.00
transaction lock background gets00.000.00
transaction lock foreground requests00.000.00
transaction rollbacks870.020.00
transaction tables consistent read rollbacks70.000.00
transaction tables consistent reads - undo records applied1220.030.00
undo change vector size446,294,672124,372.7812,136.15
user calls435,424121.3411.84
user commits34,2579.550.93
user logons cumulative1,3290.370.04
user logouts cumulative1,3210.370.04
user rollbacks2,5170.700.07
workarea executions - onepass180.010.00
workarea executions - optimal1,714,958477.9246.64
write clones created in background00.000.00
write clones created in foreground9300.260.03


Back to Instance Activity Statistics
Back to Top

Instance Activity Stats - Absolute Values

StatisticBegin ValueEnd Value
logons current332342
opened cursors current3,6673,237
session cursor cache count229,675,111229,828,770
session pga memory5,456,916,4885,624,869,856
session pga memory max6,170,289,2886,497,626,208
session uga memory702,434,212,784702,840,358,464
session uga memory max50,168,369,265,99250,192,113,939,744
workarea memory allocated61,43264,734


Back to Instance Activity Statistics
Back to Top

Instance Activity Stats - Thread Activity

StatisticTotalper Hour
log switches (derived)11.00


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)
Smart Scan272.5G625.5177.767M0M0.000M0 
Buffer Cache Reads14.8G453.394.232M0M0.000M1.5M0.33
Direct Reads5.6G9.171.596M17M0.10.005M0 
Others3.6G15.701.032M626M1.27.174M45.8K0.51
RMAN3.1G0.43.878M1003M0.15.28M8981.44
DBWR0M0.000M1.4G33.28.393M0 
LGWR0M0.000M895M45.99.249M164.8K0.28
Direct Writes0M0.000M194M0.32.054M3-0.13
Streams AQ0M0.000M0M0.000M936.78
TOTAL:299.6G1104.2285.505M4G81.121.155M1.7M0.33


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 File292.8G1087.9283.545M1.4G33.25.39M0.020.01
Control File3.4G15.04.978M252M1.18.07M0.035.96
Archive Log2.8G0.21.807M436M0.12.122M19.14953.44
Log File436M0.12.122M894M45.98.249M7.6325.34
Archive Log Backup0M0.000M926M0.06.258M  
Temp File190M0.56.053M231M0.54.064M1.881.83
Data File Backup0M0.000M11M0.00.003M  
Other4M0.41.001M0M0.010M0.02 
TOTAL:299.6G1104.2585.506M4.1G81.151.156M0.020.36


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)
Smart Scan 272.5G625.5177.767M0M0.000M0 
Smart Scan (Data File) 272.5G625.5177.767M0M0.000M0 
Buffer Cache Reads 14.8G453.394.232M0M0.000M1.5M0.32
Buffer Cache Reads (Data File) 14.8G453.314.231M0M0.000M1.5M0.32
Buffer Cache Reads (Temp File) 3M0.09.001M0M0.000M3102.18
Direct Reads 5.6G9.171.596M17M0.10.005M0 
Direct Reads (Data File) 5.4G8.711.543M17M0.10.005M0 
Direct Reads (Temp File) 189M0.47.053M0M0.000M0 
Others 3.6G15.231.031M625M1.27.174M42.2K0.44
Others (Control File) 3.2G14.82.907M184M1.09.051M41.2K0.44
Others (Archive Log) 0M0.000M436M0.12.122M0 
Others (Log File) 436M0.12.122M0M0.000M60.83
Others (Data File) 8M0.29.002M4M0.02.001M10390.43
Others (Temp File) 0M0.000M1M0.040M0 
RMAN 3.1G0.43.878M1003M0.15.28M7771.55
RMAN (Archive Log) 2.8G0.21.807M0M0.000M1419.57
RMAN (Archive Log Backup) 0M0.000M926M0.06.258M0 
RMAN (Control File) 255M0.22.071M66M0.09.018M7631.22
RMAN (Data File Backup) 0M0.000M11M0.00.003M0 
DBWR 0M0.000M1.4G33.28.393M0 
DBWR (Data File) 0M0.000M1.3G33.05.381M0 
DBWR (Temp File) 0M0.000M44M0.23.012M0 
LGWR 0M0.000M895M45.99.249M145.79
LGWR (Log File) 0M0.000M894M45.98.249M414.75
LGWR (Control File) 0M0.000M1M0.010M102.20
Direct Writes 0M0.000M194M0.32.054M3-0.13
Direct Writes (Temp File) 0M0.000M189M0.28.053M0 
Direct Writes (Data File) 0M0.000M5M0.05.001M3-0.13
Streams AQ 0M0.000M0M0.000M936.78
Streams AQ (Data File) 0M0.000M0M0.000M936.78
TOTAL: 299.6G1103.7485.504M4G81.111.155M1.5M0.33


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 817,9642280.284.512240.280.00 60,2521741.39749,6600.27
APPS_TS_TX_IDX 610,4541700.321.001700.320.00 49,7841426.4816,4220.41
APPS_TS_MEDIA 75,613210.301.03210.300.00 1,07801.3300.00
SYSTEM 44,567120.6020.9820.450.00 1,50605.271,3390.13
SYSAUX 34,710100.291.07100.290.00 86102.5410.00
APPS_TS_SEED 32,29990.301.1390.300.00 2602.695140.84
APPS_TS_ARCHIVE 13,45040.291.0040.290.00 12803.67210.00
APPS_TS_INTERFACE 11,31430.321.0030.320.00 58202.1100.00
APPS_TS_SUMMARY 6,94320.281.0020.280.00 100.0000.00
APPS_TS_QUEUES 5,07810.281.0010.280.00 100.0000.00
APPS_UNDOTS1 3901.541.0002.050.00 4,464112.652,6280.02
TEMP1 1,70901.9913.6202.65  1,31809.6500.00
APPS_DKASPE_DATA 2,18510.301.0110.300.00 264010.6800.00
APPS_TS_NOLOGGING 1,20400.281.0000.270.00 000.0000.00
APPS_DKASPE_IDX 70700.341.0000.340.00 356016.4900.00
OLAP 99500.281.0000.280.00 000.0000.00
TEMP2 28301.944.4002.00  621019.5800.00
CTXD 61100.291.0000.280.00 2503.2000.00
ODM 40400.271.0000.270.00 000.0000.00
XXSOFTAD 15900.311.0000.310.00 000.0000.00
APPS_UNDOTS2 3600.831.0001.110.00 500.0016,2290.22
PORTAL 4000.251.0000.250.00 000.0000.00
USERS 400.001.0000.000.00 000.0000.00
APPS_TS_TOOLS 100.001.0000.000.00 000.0000.00
XXSOFTAX 100.001.0000.000.00 000.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 1,82410.301.0110.300.00 190000.00
APPS_DKASPE_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_dkaspe_data.730.1015690429 36100.301.0200.310.00 74000.00
APPS_DKASPE_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_dkaspe_idx.436.960383015 70700.341.0000.340.00 356000.00
APPS_TS_ARCHIVE+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_archive.431.960383023 13,45040.291.0040.290.00 1280210.00
APPS_TS_INTERFACE+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_interface.442.960383007 10,58530.281.0030.280.00 36000.00
APPS_TS_INTERFACE+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_interface.551.960564613 31000.971.0000.970.00 231000.00
APPS_TS_INTERFACE+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_interface.552.960564571 18500.921.0000.920.00 153000.00
APPS_TS_INTERFACE+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_interface.553.960564551 23400.681.0000.680.00 162000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.474.980023775 3,28110.291.0010.290.00 1000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.484.960382927 3,15610.291.0010.290.00 11000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.486.980023789 70600.301.0000.280.00 2000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.488.960565037 2,18610.291.0010.300.00 0000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.523.976983825 64400.301.0000.300.00 1000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.524.976983833 3,61110.301.0010.300.00 1000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.550.960565011 1,54800.291.0000.300.00 0000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.601.987356171 1,98510.291.0010.290.00 1000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.602.987356175 1,34200.301.0000.300.00 4000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.652.996258887 1,68300.301.0000.300.00 1000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.653.996258891 2,44810.301.0010.300.00 1000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.654.996258893 1,68600.301.0000.300.00 1000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.655.996258895 2,44810.311.0010.310.00 1000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.656.996258897 1,67900.301.0000.300.00 1000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.681.1009965069 2,45810.301.0010.300.00 1000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.712.1015497591 3,02810.301.0010.310.00 74000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.713.1015497595 1,80010.301.0010.300.00 74000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.714.1015497623 1,66800.311.0000.300.00 79000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.715.1015497623 2,17310.301.0010.300.00 76000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.716.1015497625 3,10310.301.0010.300.00 82000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.727.1015516063 1,43700.311.1000.300.00 16000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.728.1015516065 1,31700.301.1100.300.00 14000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.729.1015516067 1,34600.301.0900.300.00 20000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.731.1017753407 2,42210.311.0010.310.00 65000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.732.1017753465 1,77800.301.0000.300.00 51000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.733.1017753469 2,06110.311.0010.300.00 53000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.734.1017753471 2,22410.311.0010.310.00 64000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.735.1017753567 1,93010.311.0010.300.00 52000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.736.1017753569 2,27510.301.0010.300.00 50000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.737.1017753573 1,93310.301.0010.310.00 53000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.775.1031052115 65500.311.2000.290.00 14000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.776.1031052119 1,09000.291.0900.290.00 16000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.777.1031052123 66800.301.1700.300.00 20000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.778.1031052179 85800.311.1600.310.00 20000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.779.1031052181 64600.291.1900.300.00 16000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.780.1031052189 1,10100.301.1300.300.00 17000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.828.1045305179 40700.321.3500.310.00 19000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.829.1045305185 66000.301.2500.300.00 23000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.830.1045305187 37900.321.3300.300.00 13000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.831.1045305189 82200.301.2200.300.00 12000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.832.1045305309 42200.311.4000.300.00 15000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.833.1045305311 65500.311.2400.280.00 15000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.834.1045305313 39000.311.3200.320.00 19000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media.835.1045305315 79900.311.1600.320.00 9000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media_04.dbf 2,22110.301.0010.300.00 0000.00
APPS_TS_MEDIA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_media_05.dbf 2,48410.291.0010.290.00 0000.00
APPS_TS_NOLOGGING+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_nologging.430.960383023 1,20400.281.0000.270.00 0000.00
APPS_TS_QUEUES+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_queues.429.960383023 2,39510.281.0110.280.00 0000.00
APPS_TS_QUEUES+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_queues.438.960383015 1,45400.291.0000.280.00 0000.00
APPS_TS_QUEUES+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_queues.487.980023631 1,22900.291.0000.290.00 1000.00
APPS_TS_SEED+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_seed.446.960383001 11,51830.291.0130.290.00 50390.26
APPS_TS_SEED+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_seed.447.960382997 13,47940.291.0140.290.00 130340.59
APPS_TS_SEED+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_seed.450.960382997 1,04300.422.3000.400.00 201491.34
APPS_TS_SEED+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_seed.451.960382997 2,50910.331.5310.320.00 001320.91
APPS_TS_SEED+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_seed.452.960382983 3,75010.351.3710.340.00 601600.50
APPS_TS_SUMMARY+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_summary.441.960383013 4,90510.281.0010.280.00 0000.00
APPS_TS_SUMMARY+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_summary.555.980023865 2,03810.291.0010.290.00 1000.00
APPS_TS_TOOLS+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tools.427.960383027 100.001.0000.000.00 0000.00
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.291.980023487 18,94250.281.1350.270.00 1,321031,4890.26
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.292.980023423 18,16350.291.1450.270.00 1,322037,1910.28
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.471.960382929 39,341110.2717.35110.260.00 1,204022,3100.22
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.472.960382929 60,222170.2911.34160.290.00 1,525021,3360.23
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.473.960382929 60,052170.2913.69160.290.00 1,553032,8110.22
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.483.960382927 55,924160.3114.91150.300.00 1,924134,5130.27
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.511.974275387 18,73150.291.1250.280.00 1,277018,2090.26
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.514.974337939 19,27250.281.1150.280.00 1,288019,3930.25
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.519.974563897 12,78140.281.1240.280.00 1,159033,4490.21
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.520.974563923 14,78540.291.0940.290.00 1,031037,8900.17
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.544.980023499 19,04650.291.1450.280.00 1,232031,9950.25
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.545.980023509 18,80050.281.1550.280.00 1,203030,9250.28
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.546.980023521 24,73570.281.1170.280.00 1,276037,9490.25
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.629.990139523 27,67980.281.1380.270.00 2,489180,2110.22
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.630.990139527 27,79880.281.1380.270.00 2,542143,1690.25
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.631.990139531 28,05780.281.1280.270.00 2,622140,5580.30
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.642.990952319 28,19180.271.1380.270.00 2,383136,4570.29
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.643.990952321 27,22480.271.1370.270.00 2,563134,9670.29
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.644.990952323 30,77790.281.1280.270.00 2,587120,8380.29
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.645.990952325 31,72190.281.1190.270.00 1,860112,4770.41
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.679.1009964921 26,07070.271.1070.270.00 2,117111,5080.38
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.680.1009965045 14,65540.281.0940.280.00 2,13319,4720.31
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.720.1015515911 15,35640.281.0940.270.00 1,99619,3250.35
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.721.1015515913 15,09840.281.0940.280.00 2,04017,4210.37
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.722.1015515915 14,89140.291.0940.280.00 2,14417,2040.40
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.723.1015516019 14,54840.291.0940.290.00 1,96816,5590.47
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.724.1015516021 16,43050.291.0850.290.00 2,06617,0030.38
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.743.1021897451 12,97440.271.1040.270.00 1,56105,3300.51
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.744.1021897503 14,64940.281.0940.280.00 2,02516,1400.49
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.745.1021897507 15,08840.281.0840.270.00 2,10117,2690.36
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.746.1021897801 14,80640.281.0840.280.00 2,15315,8000.24
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.747.1021897803 39,037110.281.03110.280.00 2,22815,2190.58
APPS_TS_TX_DATA+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_data.748.1021897805 22,12160.281.0460.280.00 1,35903,2730.45
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.466.960382929 36,226100.321.01100.320.00 1,22508010.71
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.467.960382929 48,309130.311.01130.310.00 1,07204060.25
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.468.960382929 45,529130.311.01130.310.00 1,19004940.57
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.469.960382929 52,296150.311.01150.310.00 1,73608710.36
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.470.960382929 46,273130.311.01130.310.00 1,54606310.81
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.477.960382929 26,86670.331.0270.330.00 1,11002,6190.17
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.521.974563973 23,93970.311.0070.310.00 1,73302801.75
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.522.974563999 23,95870.311.0070.310.00 1,61401,2260.17
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.676.1004124905 19,38350.311.0050.310.00 7570800.38
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.677.1004124907 19,51850.311.0050.310.00 7810770.00
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.678.1004124909 19,26950.311.0050.310.00 7670790.00
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.682.1009965087 33,34890.321.0090.320.00 3,72817630.60
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.717.1015515851 32,83990.331.0090.330.00 3,66718840.19
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.718.1015515855 31,38590.321.0090.320.00 3,64917400.51
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.719.1015515857 30,83490.321.0090.320.00 3,57817560.25
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.725.1015516037 30,47880.321.0080.320.00 3,43211,4800.64
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.726.1015516041 30,84590.321.0090.320.00 3,44515450.44
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.821.1043409067 8,39320.341.0020.340.00 2,10114770.36
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.822.1043409073 8,43320.421.0020.420.00 2,26615920.00
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.823.1043409075 8,56120.351.0020.350.00 2,04514780.52
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.824.1043409079 8,46220.351.0020.350.00 2,05916870.32
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.825.1043409203 8,40820.361.0020.360.00 2,03313540.42
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.826.1043409205 8,42920.341.0020.340.00 2,09415940.79
APPS_TS_TX_IDX+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_ts_tx_idx.827.1043409207 8,47320.351.0020.350.00 2,15615080.16
APPS_UNDOTS1+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots1.417.960397065 4010.001.00010.000.00 81001,1730.03
APPS_UNDOTS1+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots1.475.960382929 400.001.0000.000.00 1,58504680.00
APPS_UNDOTS1+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots1.513.974336045 700.001.0000.000.00 79202070.05
APPS_UNDOTS1+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots1.516.974563253 700.001.0000.000.00 46001190.08
APPS_UNDOTS1+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots1.518.974563383 504.001.0004.000.00 49402180.05
APPS_UNDOTS1+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots1.683.1011263097 500.001.0002.000.00 29002450.00
APPS_UNDOTS1+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots1.684.1011263111 200.001.0005.000.00 3000.00
APPS_UNDOTS1+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots1.685.1011263119 200.001.0000.000.00 2601980.00
APPS_UNDOTS1+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots1.686.1011263121 200.001.0000.000.00 3000.00
APPS_UNDOTS1+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots1.692.1011370165 100.001.0000.000.00 1000.00
APPS_UNDOTS2+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots2.416.960397091 400.001.0000.000.00 004,5270.18
APPS_UNDOTS2+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots2.512.974335999 300.001.0000.000.00 00151.33
APPS_UNDOTS2+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots2.547.960397107 2100.481.0000.480.00 0010,5050.24
APPS_UNDOTS2+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots2.687.1011370025 1010.001.00010.000.00 106890.26
APPS_UNDOTS2+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots2.688.1011370035 200.001.0005.000.00 10160.63
APPS_UNDOTS2+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots2.689.1011370037 205.001.0005.000.00 102340.00
APPS_UNDOTS2+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots2.690.1011370039 100.001.0000.000.00 10220.00
APPS_UNDOTS2+DATA_C1P_PRD/DBOFINP1/DATAFILE/apps_undots2.691.1011370085 200.001.0000.000.00 102210.05
CTXD+DATA_C1P_PRD/DBOFINP1/DATAFILE/ctxd.428.960383025 61100.291.0000.280.00 25000.00
ODM+DATA_C1P_PRD/DBOFINP1/DATAFILE/odm.423.960383031 40400.271.0000.270.00 0000.00
OLAP+DATA_C1P_PRD/DBOFINP1/DATAFILE/olap.422.960383031 99500.281.0000.280.00 0000.00
PORTAL+DATA_C1P_PRD/DBOFINP1/DATAFILE/portal.421.960383031 4000.251.0000.250.00 0000.00
SYSAUX+DATA_C1P_PRD/DBOFINP1/DATAFILE/sysaux.476.960382929 22,44460.301.1060.290.00 467010.00
SYSAUX+DATA_C1P_PRD/DBOFINP1/DATAFILE/sysaux.556.980023907 5,16110.281.0210.280.00 58000.00
SYSAUX+DATA_C1P_PRD/DBOFINP1/DATAFILE/sysaux.754.1022324819 1,99010.291.0010.290.00 34000.00
SYSAUX+DATA_C1P_PRD/DBOFINP1/DATAFILE/sysaux.764.1029335947 97000.291.0000.280.00 17000.00
SYSAUX+DATA_C1P_PRD/DBOFINP1/DATAFILE/sysaux.765.1029335951 1,66300.291.0000.290.00 47000.00
SYSAUX+DATA_C1P_PRD/DBOFINP1/DATAFILE/sysaux.787.1037794105 75900.301.0000.300.00 63000.00
SYSAUX+DATA_C1P_PRD/DBOFINP1/DATAFILE/sysaux.788.1037794107 39400.281.0000.280.00 58000.00
SYSAUX+DATA_C1P_PRD/DBOFINP1/DATAFILE/sysaux.789.1037794109 1,32900.321.0000.320.00 117000.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.432.960383023 9900.512.8700.570.00 29010.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.433.960383021 2,48910.6123.0500.450.00 840930.11
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.434.960383021 19700.412.4300.440.00 350120.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.435.960383021 17900.503.6000.520.00 39030.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.439.960383015 14400.972.9600.920.00 18020.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.440.960383013 17700.792.6600.740.00 46000.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.443.960383003 56500.559.4300.500.00 800160.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.444.960383003 41900.6711.3600.730.00 29020.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.445.960383001 59700.4913.0600.350.00 380600.33
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.448.960382997 67500.5211.4500.460.00 65040.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.449.960382997 1,00500.5116.2500.340.00 2501730.12
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.453.960382983 3,08610.5721.0400.340.00 1060380.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.454.960382981 2,98710.5921.6700.330.00 590960.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.455.960382981 2,99710.5921.6200.400.00 850690.14
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.456.960382981 2,76310.6822.4401.090.00 1050800.50
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.457.960382981 2,92910.6021.4900.450.00 980570.18
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.458.960382967 2,78310.5721.9500.330.00 720910.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.459.960382963 3,06710.6021.1600.400.00 14301510.13
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.460.960382963 3,11610.6020.8500.430.00 16101270.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.461.960382963 2,84310.5922.7500.360.00 380590.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.462.960382963 2,84810.5922.6700.390.00 480410.49
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.464.960382929 2,75010.6323.4800.560.00 380360.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.478.960382929 2,92310.5822.1100.360.00 390600.00
SYSTEM+DATA_C1P_PRD/DBOFINP1/DATAFILE/system.482.960382929 2,92910.6022.0900.350.00 260680.29
TEMP1+DATA_C1P_PRD/DBOFINP1/TEMPFILE/temp1.411.960397377 4802.2913.460   3800 
TEMP1+DATA_C1P_PRD/DBOFINP1/TEMPFILE/temp1.412.960397377 14601.3710.7801.84  12300 
TEMP1+DATA_C1P_PRD/DBOFINP1/TEMPFILE/temp1.413.960397377 80602.0814.230   45500 
TEMP1+DATA_C1P_PRD/DBOFINP1/TEMPFILE/temp1.414.960397377 12601.0314.220   6900 
TEMP1+DATA_C1P_PRD/DBOFINP1/TEMPFILE/temp1.420.960397375 56602.1413.7303.57  42800 
TEMP1+DATA_C1P_PRD/DBOFINP1/TEMPFILE/temp1.463.960397377 1704.121.0603.75  20500 
TEMP2+DATA_C1P_PRD/DBOFINP1/TEMPFILE/temp2.406.960397429 12701.261.1501.13  19200 
TEMP2+DATA_C1P_PRD/DBOFINP1/TEMPFILE/temp2.407.960397429 2603.461.0803.33  18700 
TEMP2+DATA_C1P_PRD/DBOFINP1/TEMPFILE/temp2.410.960397427 9302.692.4102.93  18200 
TEMP2+DATA_C1P_PRD/DBOFINP1/TEMPFILE/temp2.465.960397429 3701.3522.8900.00  6000 
USERS+DATA_C1P_PRD/DBOFINP1/DATAFILE/users.492.964882315 400.001.0000.000.00 0000.00
XXSOFTAD+DATA_C1P_PRD/DBOFINP1/DATAFILE/xxsoftad.425.960383029 15900.311.0000.310.00 0000.00
XXSOFTAX+DATA_C1P_PRD/DBOFINP1/DATAFILE/xxsoftax.424.960383031 100.001.0000.000.00 0000.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,363,973100452,790,8221,944,131179,82202796,086


Back to Buffer Pool Statistics
Back to Top

Checkpoint Activity

MTTR WritesLog Size WritesLog Ckpt WritesOther Settings WritesAutotune Ckpt WritesThread Ckpt Writes
00108,084017,2280


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
B0233247517110000011890800306601100000 1
E041096310373310000011890800277136100000 2


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,1520.101368.0032,770,717111319222.00
D2,3040.202724.4218,107,65016121907.00
D3,4560.304072.9612,137,72114005869.00
D4,6080.405432.299,365,68213023322.00
D5,7600.506791.897,725,65612442015.00
D6,9120.608151.616,588,50212038952.00
D8,0640.709501.405,723,52811732363.00
D9,2160.801,0861.235,050,47411493799.00
D10,3680.901,2221.104,522,12211306525.00
D11,5200.991,3581.004,112,98511161507.00
D11,5841.001,3651.004,094,84711155078.00
D12,6721.091,4930.923,786,49311045782.00
D13,8241.191,6290.863,527,7341954065.00
D14,9761.291,7650.813,316,9931879368.00
D16,1281.391,9010.773,139,8551816581.00
D17,2801.492,0360.732,987,7921762683.00
D18,4321.592,1720.702,857,1741716385.00
D19,5841.692,3080.672,740,1651674911.00
D20,7361.792,4440.652,642,6421640344.00
D21,8881.892,5790.622,549,0601607174.00
D23,0401.992,7150.602,458,6751575137.00


Back to Advisory Statistics
Back to Top

PGA Aggr Summary

PGA Cache Hit %W/A MB ProcessedExtra W/A MB Read/Written
99.99205,96723


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,48016,0265,526.124.330.08100.000.001,048,576
E20,48015,9325,835.947.560.13100.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
2K4K1,668,8261,668,82600
64K128K3,0473,04700
128K256K38237660
256K512K433760
512K1024K434120
1M2M8,0148,01220
2M4M4,7554,75500
4M8M24,68324,68120
8M16M4,6504,65000
64M128M4400
256M512M1100


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,852,337.9237,971,642.0568.00346,24533,500,276,094
5,1200.2580,852,337.9223,849,276.9577.00172,18029,518,730,197
10,2400.5080,852,337.9216,206,951.2783.00105,74327,364,114,433
15,3600.7580,852,337.921,345,023.1198.0092023,174,062,081
20,4801.0080,852,337.92913,227.8299.00023,052,325,195
24,5761.2080,852,337.92795,057.8199.00023,019,009,292
28,6721.4080,852,337.92785,385.4599.00023,016,282,347
32,7681.6080,852,337.92779,631.8399.00023,014,660,216
36,8641.8080,852,337.92760,505.4899.00023,009,267,889
40,9602.0080,852,337.92716,981.0399.00022,996,996,954
61,4403.0080,852,337.92638,822.3799.00022,974,961,532
81,9204.0080,852,337.92611,846.2099.00022,967,356,086
122,8806.0080,852,337.92611,846.2099.00022,967,356,086
163,8408.0080,852,337.92611,846.2099.00022,967,356,086


Back to Advisory Statistics
Back to Top

Shared Pool Advisory

Shared Pool Size(M)SP Size FactrEst LC Size (M)Est LC Mem ObjEst LC Time Saved (s)Est LC Time Saved FactrEst LC Load Time (s)Est LC Load Time FactrEst LC Mem Obj Hits (K)
4,8000.591513,038141,550,4740.18634,139,273937.522,074,994
5,6320.6984626,969447,474,5300.58328,215,217485.243,320,451
6,4640.801,67740,927573,555,6710.74202,134,076298.842,300,810
7,2960.902,50657,141682,356,4260.8893,333,321137.99598,678
7,4880.922,69860,953704,321,1080.9171,368,639105.511,126,669
7,5520.932,76262,255711,558,9700.9264,130,77794.811,300,304
7,6160.942,82663,236718,795,4200.9356,894,32784.111,473,931
7,6800.942,89064,279726,029,4770.9449,660,27073.421,647,629
7,7440.952,95465,322733,229,7410.9542,460,00662.771,820,342
7,8080.963,01866,590740,421,6790.9635,268,06852.141,992,819
7,8720.973,08168,229747,613,9110.9628,075,83641.512,165,569
7,9360.983,14469,868754,770,3120.9720,919,43530.932,337,270
8,0000.983,20771,507761,888,5340.9813,801,21320.402,508,449
8,0640.993,27172,978769,008,4570.996,681,2909.882,679,661
8,1281.003,33573,745775,013,3461.00676,4011.002,825,906
8,1921.013,39974,714775,028,4381.00661,3090.982,826,924
8,2561.023,46375,941775,029,0371.00660,7100.982,827,004
8,3201.023,52777,496775,029,7141.00660,0330.982,827,111
8,3841.033,59078,846775,030,4131.00659,3340.972,827,195
8,4481.043,65479,710775,031,0721.00658,6750.972,827,293
8,5121.053,71880,523775,031,8791.00657,8680.972,827,419
8,5761.063,78281,275775,032,5441.00657,2030.972,827,510
8,6401.063,84682,058775,033,1431.00656,6040.972,827,605
8,7041.073,91082,617775,033,8281.00655,9190.972,827,705
8,9601.104,16684,989775,036,3661.00653,3810.972,828,202
9,7921.204,99894,347775,042,1071.00647,6400.962,829,046
10,6241.315,830103,260775,047,0941.00642,6530.952,829,988
11,4561.416,662112,574775,051,2071.00638,5400.942,830,749
12,2881.517,494120,862775,055,7981.00633,9490.942,831,554
13,1201.618,326132,215775,060,5541.00629,1930.932,832,341
13,9521.729,158146,362775,064,0061.00625,7410.932,832,754
14,7841.829,990160,111775,068,4791.00621,2680.922,833,799
15,6161.9210,821173,249775,072,6611.00617,0860.912,834,637
16,4482.0211,652186,387775,075,3941.00614,3530.912,835,047


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.1312,276,6474,094,845,967
5,1200.2512,276,6474,094,845,967
7,6800.38354,683,01035,439,253,906
10,2400.5025,008,69235,439,253,906
12,8000.6317,645,93613,126,028,747
15,3600.7515,671,5657,125,031,983
17,9200.8815,120,6815,461,705,551
20,4801.0014,690,2564,094,845,967
23,0401.1314,503,6903,587,085,067
25,6001.2514,384,6993,231,242,953
28,1601.3814,265,7082,857,793,000
30,7201.5014,196,6632,658,783,486
33,2801.6314,181,9732,658,783,486
35,8401.7514,168,7522,658,783,486
38,4001.8814,157,0002,658,783,486
40,9602.0014,154,0622,658,783,486


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)
640.500000
1281.000000
1921.500000
2562.000000
3202.500000
3843.000000
4483.500000
5124.000000
5764.500000
6405.000000
7045.500000
7686.000000
8326.500000
8967.000000
9607.500000
1,0248.000000
1,0888.500000
1,1529.000000
1,2169.500000
1,28010.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.20446043,8661.00676,4011.00409,667
1280.40446043,8661.00676,4011.00409,667
1920.60446043,8661.00676,4011.00409,667
2560.80446043,8661.00676,4011.00409,667
3201.00446043,8661.00676,4011.00409,667
3841.20446043,8661.00676,4011.00409,667
4481.40446043,8661.00676,4011.00409,667
5121.60446043,8661.00676,4011.00409,667
5761.80446043,8661.00676,4011.00409,667
6402.00446043,8661.00676,4011.00409,667
7042.20446043,8661.00676,4011.00409,667
7682.40446043,8661.00676,4011.00409,667
8322.60446043,8661.00676,4011.00409,667
8962.80446043,8661.00676,4011.00409,667


Back to Advisory Statistics
Back to Top

Wait Statistics

Back to Top

Buffer Wait Statistics

ClassWaitsTotal Wait Time (s)Avg Time (ms)
data block766,7182090
undo header15,05530
undo block4,74900
extent map14003
2nd level bmb4400
1st level bmb4000
segment header500


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) 1,5081901,3045141,1142,167.52
UL-User-defined 11,50582510,6805,78730.60
TQ-Queue table enqueue (DDL contention) 5885880146110.05
TS-Temporary Segment 15,60415,60405,18310.27
PS-PX Process Reservation 8,6518,3872651,47110.80
DV-Diana Versioning 3,6843,684038412.02
CF-Controlfile Transaction 7,9667,966011715.85
KO-Multiple Object Checkpoint (fast object checkpoint) 5,1325,13201,53610.44
RC-Result Cache: Enqueue (Result Cache: Contention) 25425407717.88
TX-Transaction (index contention) 155155015513.33
RO-Multiple Object Reuse (fast object reuse) 1,1621,162036900.58
TM-DML 118,948118,8943028600.56
RF-Data Guard Broker (synch: DG Broker metadata) 14,76014,760038400.28
HW-Segment High Water Mark 11,02111,023012900.54
FB-Format Block 347347014200.46
TT-Tablespace 6,7796,779016100.35
TO-Temp Object 7,2147,214010100.49
RF-Data Guard Broker (DG Broker Current File ID) 120120012000.19
ZZ-Global Context Action (update hash tables) 28928905000.40
WF-AWR Flush 363601900.68
TQ-Queue table enqueue (TM contention) 17117101301.00
SQ-Sequence Cache 1701700701.14
JS-Job Scheduler (queue lock) 29,22229,2220107.00
DL-Direct Loader Index Creation 10610602200.27
TA-Instance Undo 131301300.46
TX-Transaction 40,41240,4150401.25
TX-Transaction (allocate ITL entry) 141401400.29
AE-Edition Lock (lock) 2,2302,2300700.57
JS-Job Scheduler (job run lock - synchronize) 19181700.43
DW-In memory Dispenser 660500.60
WT-AWR CDB-Wide Table Lock 35350900.22
RS-Reclaimable Space (prevent file delete) 14140201.00
US-Undo Segment 550400.25
CR-Reuse Block Range (block range reuse ckpt) 1141140300.33
TD-KTF map table enqueue (KTF dump entries) 770400.00
PG-Global Parameter 7257250100.00
AF-Advisor Framework (task serialization) 13130100.00
FH-Flush Stat 110100.00
PW-Buffer Cache PreWarm (flush prewarm buffers) 110100.00
IS-Instance State 498,695498,695000 
MR-Media Recovery 96,68996,689000 
JS-Job Scheduler 29,22229,222000 
CU-Cursor 23,00122,998000 
DD-ASM Local Disk Group 6,7076,707000 
SE-Session Migration 4,1954,197000 
RF-Data Guard Broker (Broker State Lock) 2,2912,291000 
TQ-Queue table enqueue (INI contention) 2,0062,006000 
JS-Job Scheduler (q mem clnup lck) 1,9401,940000 
KM-Scheduler 1,4411,441000 
XR-Quiesce / Force Logging (database force logging) 1,1911,191000 
FP-File Object (global fob contention) 1,0821,082000 
SR-Synchronized Replication 449449000 
PR-Process Startup 215215000 
JD-Job Queue Date 121121000 
PV-KSV slave startup (syncstart) 115115000 
RF-Data Guard Broker (RF - Database Automatic Disable) 6767000 
TH-Threshold Chain (metric threshold evaluation) 5959000 
IT-In-Mem Temp Table Meta Creation 4848000 
SJ-KTSJ Slave Task Cancel (Slave Task Cancel) 3131000 
PE-Parameter 99000 
RS-Reclaimable Space (read alert level) 44000 
DR-Distributed Recovery 22000 
MW-MWIN Schedule 22000 
RS-Reclaimable Space (prevent aging list update) 22000 
JQ-Job Queue 11000 
KT-Scheduler Plan 11000 
SH-Active Session History Flushing 11000 
WL-Being Written Redo Log 11000 
WR-LNS archiving log 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
135.9840,0161,744232880/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:583,8354,4601,22192,8800/00/0/0/0/0/0
18-Nov 21:482,0763,258617142,8800/00/0/0/0/0/0
18-Nov 21:3815,86716,2701,744212,8800/00/0/0/0/0/0
18-Nov 21:287,8826,5131,407232,8800/00/0/0/0/0/0
18-Nov 21:183,1115,5981,13582,8800/00/0/0/0/0/0
18-Nov 21:083,2053,9171,42752,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 01,7060.00
AQ Coord jobx_kwsbgsgn latch1190.00 00 
AQ Sharded master pool latch2670.00 00 
AQ Slave freSlvL_kwsbgsgn latch120.00 00 
AQ deq hash table latch10.00 00 
AQ deq log cmt cbk chunk latch4480.00 00 
AQ deq log statistics latch310.00 00 
AQ dequeue txn counter latch11,6100.240.0000 
AQ ht cmt cbk chunk latch620.00 00 
AQ process state object latch40.00 00 
AQ: IPC master latch80.00 00 
ASM Keyed state latch3,0790.390.0000 
ASM allocation221,2500.010.0000 
ASM db client latch4,7860.00 00 
ASM map headers12,2450.00 00 
ASM map load waiting list2,9640.00 00 
ASM map operation freelist112,3420.060.0000 
ASM map operation hash table14,100,6840.010.0000 
ASM network background latch52,6130.00 00 
ASM network state latch4,6040.00 00 
ASM remote client latch690.00 00 
AWR Alerted Metric Element list52,0410.00 00 
Change Notification Hash table latch1,3310.00 00 
Consistent RBA164,8430.00 00 
DML lock allocation5,082,9530.000.0000 
DMON Work Queues Latch7140.00 00 
Event Group Locks10,7610.010.0000 
FAL Queue1610.00 00 
FIB s.o chain latch4,2260.00 00 
FOB s.o list latch197,0391.170.0000 
File State Object Pool Parent Latch10.00 00 
Hang Manager wait event statistics2330.00 02,7090.00
I/O Staticstics latch10.00 00 
ILM Stats Stripe Latch10.00 00 
ILM Stats main anchor latch3,8410.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,5800.00 010,6240.00
In memory undo latch10.00 00 
JOX SGA heap latch2770.00 00 
JS Sh mem access270.00 00 
JS broadcast add buf latch1,0780.00 00 
JS broadcast drop buf latch1,0760.00 00 
JS broadcast load blnc latch1120.00 00 
JS mem alloc latch560.00 00 
JS queue access latch570.00 00 
JS queue state obj latch58,5640.00 00 
JS slv state obj latch800.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 latch26,8560.00 00 
KFMD SGA31,3752.240.0000 
KGNFS-NFS:SHM structure10.00 00 
KGNFS-NFS:SVR LIST1,1920.00 00 
KJC message pool free list262,0681.270.00027,0920.15
KJC message pool pending avail list10.00 00 
KJCT flow control latch2,716,8670.120.0000 
KMG MMAN ready and startup request latch1,2080.00 00 
KMG resize request state object freelist40.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 latch5,5430.00 00 
KSXR hang analysis phase 2 latch1,3280.00 020.00
KSXR large replies1,0580.00 00 
KTF sga latch250.00 01,2050.00
KTILM latch10.00 00 
KWQMN job cache list latch4,52613.830.4800 
KWQP Prop Status4480.00 00 
KWQS pqsubs latch2,9810.00 00 
KWQS pqueue ctx latch1,0880.281.0000 
KXDBIO latch1,4930.470.0000 
LGWR NS Write329,7380.00 00 
Locator state objects pool parent latch10.00 00 
Lsod array latch17,2050.00 00 
MMON per PDB bit map latch40.00 00 
MQL Tracking Latch0  0720.00
Memory Management Latch550.00 01,2070.00
Memory Queue20.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 Latch2,4630.00 00 
Mutex10.00 00 
Mutex Stats10.00 00 
NSV command ID generation latch670.00 00 
NSV creation/termination latch670.00 00 
NSV message latch3060.00 00 
OS process7,2250.00 00 
OS process allocation11,0850.300.0000 
OS process: request allocation3,0790.450.0000 
PL/SQL warning settings98,0290.030.0000 
PX hash array latch10.00 00 
Parent latch for dependency tracking10.00 00 
Policy Hash Table Latch5250.00 00 
QMT10.00 00 
RSM process latch3600.00 00 
RTT parent context10.00 00 
Real-time descriptor latch354,3930.060.5600 
Report Request stats latch570.00 00 
Report Request struct latch580.00 00 
Request holder compeltion list latch4310.00 00 
Request id generation latch1580.00 00 
Reserved Space Latch240.00 00 
Result Cache: MB Latch2220.00 00 
Result Cache: RC Latch3,789,2140.050.0510 
Result Cache: SO Latch2,2840.260.0000 
Retry Ht elm latch10.00 00 
Retry bkt latch10.00 00 
SGA Blackbox latch1371.460.0000 
SGA IO buffer pool latch2690.00 02730.73
SGA Logging Bkt Latch10.00 00 
SGA Logging Log Latch117,7970.00 00 
SGA blob parent10.00 00 
SGA bucket locks10.00 00 
SGA heap locks10.00 00 
SGA kcrrlac latch1200.00 00 
SGA pool locks10.00 00 
SQL memory manager latch10.00 01,1930.00
SQL memory manager workarea list latch366,6840.010.0000 
SR Stats Stripe Latch10.00 00 
SR Stats main anchor latch1,173,2490.020.0000 
Sched IM Job latch700.00 00 
Sched InMem Job Cache700.00 00 
Shared B-Tree174,3630.000.0000 
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$KSFQP94,9350.00 00 
XDB NFS Security Latch10.00 00 
XDB unused session pool10.00 00 
XDB used session pool10.00 00 
active checkpoint queue latch50,0312.750.0000 
active service list76,3630.190.4201,703,3600.00
alert log latch50.00 00 
archive destination24,5620.00 00 
archive process latch2250.00 00 
begin backup scn array5050.00 00 
bq:time manger info latch1290.00 00 
buffer pool50.00 00 
bufq statistics10.00 00 
business card2,0400.00 00 
cache buffer handles34,2880.050.0000 
cache buffers chains882,015,4470.370.15125,789,3660.37
cache buffers lru chain1,377,9350.050.0307,105,4820.31
cache table scan latch22,3690.190.00022,3690.24
call allocation62,7790.600.3800 
cas latch10.00 00 
change notification client cache latch10.00 00 
channel handle pool latch3,6520.190.0000 
channel operations parent latch42,9190.180.01010.00
checkpoint queue latch2,172,9220.000.000255,7490.00
client/application info39,8700.00 00 
compile environment latch3,0950.00 00 
corrupted undo seg latch3,4590.030.0000 
cp handoff latch10.00 00 
cp pool latch10.00 00 
cp server hash latch10.00 00 
cp sga latch690.00 00 
cp srv type state latch2080.00 00 
cp srv type wait latch10.00 00 
cvmap freelist lock10.00 00 
deferred cleanup latch690.00 00 
dml lock allocation2810.00 00 
done queue latch10.00 00 
dtp latch1,5350.590.0000 
dummy allocation6,1360.960.0000 
eighth spare latch - X parent10.00 00 
eleventh spare latch - children10.00 00 
enqueue freelist latch10.00 01,568,7980.00
enqueue hash chains2,306,6960.100.0001,8950.00
enqueues50.00 00 
error message lists5,5700.570.0000 
fast space usage latch100.00 00 
fifteenth spare latch - children10.00 00 
file cache latch2,0690.580.0000 
first Audit Vault latch1,3290.380.0000 
flash file access latch10.00 00 
flashback copy10.00 00 
fourteenth spare latch - children10.00 00 
fourth Audit Vault latch10.00 00 
gc element8,440,6850.270.010114,9220.07
gc imc list853.530.0000 
gc persistent rm80.00 00 
gcs affinity object freelist latch40.00 00 
gcs commit scn state10.00 00 
gcs opaque info freelist358,1110.010.0000 
gcs partitioned table hash10,247,0890.020.0001,509,5250.07
gcs pcm hashed value bucket hash10.00 00 
gcs remaster request queue5,7910.170.0000 
gcs remastering latch1,9030.320.830591.69
gcs resource freelist354,2250.020.0600 
gcs resource hash7,253,5380.050.000392.56
gcs resource scan list860.00 00 
gcs resource validate list10.00 00 
gcs shadows freelist133,7650.010.5700 
ges cached resource lists3,531,6810.020.000216,1510.03
ges deadlock list18,3680.010.0001170.00
ges domain table16,761,2410.000.0000 
ges enqueue table freelist16,877,5980.000.0000 
ges group table16,759,1700.000.0000 
ges process hash list458,9090.00 00 
ges process parent latch33,888,3180.000.0003160.00
ges process table freelist3,0790.260.0000 
ges resource hash list25,516,3810.140.01027,9270.10
ges resource scan list3,0320.00 00 
ges resource table freelist2,662,8120.000.0000 
ges timeout list34,3250.010.0009120.00
ges value block free list5,4070.00 00 
global KZLD latch for auth type mem in SGA1,2860.00 00 
global ctx hash table latch17,7090.00 00 
global tx hash mapping10.00 00 
granule from data transfer cache10.00 00 
granule operation10.00 00 
hash table column usage latch6371.100.0005,142,4750.05
hash table modification latch2680.00 00 
heartbeat check10.00 01,6430.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 latch280.00 00 
interrupt manipulation10,2221.230.0000 
intra txn parallel recovery10.00 00 
io pool granule list200.00 00 
io pool granule metadata list410.00 00 
job workq parent latch210.00 0200.00
job_queue_processes free list latch770.00 00 
job_queue_processes parameter latch100.00 00 
k2q global data latch2,3940.00 00 
k2q lock allocation10.00 00 
kcb DW scan objtemp hash table latch10.00 00 
kcbtsemkid latch10.00 00 
kcfis latch12,4751.390.0000 
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 013,2230.00
kjoedcso state object freelist latch690.00 00 
kjoeq omni enqueue hash bucket latch10.00 00 
kjoer owner hash bucket10.00 00 
kokc descriptor allocation latch840.00 00 
krbmrosl1670.00 00 
krso process latch1200.00 00 
ksbxic instance latch1,6650.00 00 
ksfv messages10.00 00 
ksi resource reuse count10.00 00 
ksim group membership cache1,7800.060.0000 
ksim membership request latch0  02,3850.00
kss move lock2310.00 00 
ksuosstats global area2931.371.0001,3530.37
ksv allocation latch5320.00 00 
ksv class latch49,5800.010.17010.00
ksv instance latch480.00 00 
ksv msg queue latch4,4370.00 04,4360.00
ksxp shared latch3,0790.320.0000 
ksxp so latch3,0790.320.0000 
ksz_so allocation latch6,2170.900.0000 
ktfbn latch7690.00 00 
ktm global data870.00 00 
ktm prv jrnls10.00 00 
ktmpj HT ls10.00 00 
kwqbsn:qsga2,2000.140.0000 
kwqi:kchunk latch1920.00 00 
kwslbmdl: metadata latch2,8640.00 00 
kwslbql: queue latch10.00 00 
kwsptQcachLt: queue cache latch10.00 00 
kwsptTrncTsksLt: trunc task latch10.00 00 
kwsptjobAdPtLt: AdPt list latch1,5070.00 00 
kxfxscanrate_latch10.00 00 
lgwr LWN SCN171,7640.080.0000 
list of block allocation18,3000.010.0000 
loader state object freelist8,6500.210.0000 
lob segment dispenser latch280.00 00 
lob segment hash table latch2230.00 00 
lob segment query latch10.00 00 
lock DBA buffer during media recovery10.00 00 
log write info0  0179,8670.59
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 parent470.00 0390.00
managed standby latch1190.00 00 
mapped buffers lru chain10.00 00 
message bitmap latch10.00 00 
message pool operations parent latch14,4870.00 00 
messages1,273,9090.330.0000 
msg queue latch10.00 00 
multiblock read objects139,0340.930.0000 
name-service memory objects4,9470.490.0000 
name-service namespace bucket27,8710.00 00 
name-service pending queue3,2700.00 00 
name-service request4127.040.0000 
name-service request queue38,6530.010.0000 
ncodef allocation latch690.00 00 
ninth spare latch - X parent10.00 00 
object queue header freelist1,315,6440.000.0006,3930.00
object queue header operation6,535,5180.000.0303,119,2190.00
object queue memory10.00 00 
object stats modification1,140,2660.000.0000 
parallel query alloc buffer44,8022.990.0301,6350.00
parallel query stats4,5802.250.0100 
parallel txn reco latch7,9820.00 00 
parameter table management47,9740.480.0000 
peshm10.00 00 
pesom_free_list10.00 00 
pesom_hash_node10.00 00 
pkey global statistics10.00 00 
post/wait queue794,9560.030.000640,4890.02
process allocation20,6700.090.0001,5440.00
process group creation3,0790.320.0000 
process pkey statistics list10.00 00 
process queue25,3641.940.0000 
process queue reference1,099,5120.010.00035,9910.11
qmn task queue latch5,3161.820.0000 
query server freelists27,1510.180.0000 
query server process5,5550.411.041690.00
queued dump request4060.00 00 
queuing load statistics10.00 00 
readredo stats and histogram164,8660.00 00 
recovery domain hash list10.00 00 
redo allocation701,5250.370.0003,107,3620.43
redo copy10.00 03,110,7470.02
redo transport task latch850.00 00 
redo writing726,0130.100.0000 
reid allocation latch3,1380.220.0000 
reservation so alloc latch100.00 00 
resmgr group change latch6,7930.00 00 
resmgr:active threads7,2190.010.00020.00
resmgr:actses change group5,0870.00 00 
resmgr:actses change state1,0580.00 00 
resmgr:free threads list6,1391.400.0000 
resmgr:method mem alloc latch60.00 00 
resmgr:plan CPU method10.00 00 
resmgr:pq event array250.00 00 
resmgr:resource group CPU method10.00 00 
resmgr:schema config1880.00 00 
resmgr:session queuing10.00 00 
rm cas latch10.00 00 
row cache objects30,406,3850.750.0003,8920.57
rules engine aggregate statistics920.00 00 
rules engine rule set statistics4680.00 00 
rules engine rule statistics1840.00 00 
second Audit Vault latch10.00 00 
segmented array pool3,7100.00 00 
sequence cache194,8760.150.0000 
session allocation72,9360.000.00066,7410.00
session idle bit934,5460.000.0000 
session queue latch10.00 00 
session state list latch10,7710.310.1500 
session statistics6,1810.020.0000 
session switching1,6051.810.6200 
session timer1,2060.00 00 
seventh spare latch - X parent10.00 00 
sga hash table parent latch10.00 00 
shard latch10.00 00 
shared pool9,020,3840.190.0407,4130.04
shared pool sim alloc10.00 00 
shared pool simulator75,4820.000.3300 
sim partition latch10.00 00 
simulator hash latch26,818,5230.000.0000 
simulator lru latch1,5640.00 026,660,6992.02
sixth spare latch - X parent10.00 00 
sort extent pool32,9920.150.0000 
space background task latch1,2391.290.8802,3930.00
state object free list20.00 00 
statistics aggregation2,2120.00 00 
storage server table manipulation latch2,0710.00 00 
subscriber Ht bkt10.00 00 
tablespace key chain1,9170.050.0000 
temp lob duration state obj allocation1770.560.0000 
temp undo so allocation1,3240.680.0000 
temporary table state object allocation1,3800.580.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 latch2340.00 00 
transaction allocation2,648,8770.000.0000 
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 data3,902,4870.650.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 chains882,015,4473,239,992478,0072,778,277
row cache objects30,406,385227,638757226,886
ges resource hash list25,516,38136,05044835,605
undo global data3,902,48725,553425,549
gc element8,440,68523,15829322,873
shared pool9,020,38417,48062016,907
KJC message pool free list262,0683,320123,308
gcs resource hash7,253,5383,305153,292
FOB s.o list latch197,0392,29612,295
enqueue hash chains2,306,6962,28552,280
Result Cache: RC Latch3,789,2141,982991,868
active checkpoint queue latch50,0311,37811,377
parallel query alloc buffer44,8021,340391,301
ges cached resource lists3,531,6817912789
KFMD SGA31,3757023699
cache buffers lru chain1,377,93570222680
KWQMN job cache list latch4,526626302342
call allocation62,779375142289
Real-time descriptor latch354,39321612097
active service list76,36314661100
parallel query stats4,5801031102
channel operations parent latch42,91979178
object queue header operation6,535,51879277
gcs resource freelist354,22565462
session state list latch10,77133528
session switching1,605291811
query server process5,55523240
space background task latch1,23916142
gcs shadows freelist133,765743
gcs remastering latch1,903651
ksv class latch49,580615
ksuosstats global area293440
KWQS pqueue ctx latch1,088330
shared pool simulator75,482312


Back to Latch Statistics
Back to Top

Latch Miss Sources

Latch NameWhereNoWait Misses SleepsWaiter Sleeps
FOB s.o list latchksfd_allfob011
KFMD SGAkfmdGetPriReidInfo033
KJC message pool free listkjcsmpav: allocate a msg buffer0712
KJC message pool free listkjcspfmbq: free vector of msg buffers050
KWQMN job cache list latchkwqmndej: dequeue0414421
KWQMN job cache list latchkwqmnuji: update job item060
KWQS pqueue ctx latchkwqspqcbkf: updatepqs033
Real-time descriptor latchkeomgFixGrabEntry06947
Real-time descriptor latchkeomgReclaim04768
Real-time descriptor latchkeomgAddNewEntry045
Result Cache: RC LatchResult Cache: Serialization1208759
Result Cache: RC LatchResult Cache: Serialization0101136
Result Cache: RC LatchResult Cache: Serialization29010
active checkpoint queue latchkcbbacq: scan active checkpoints011
active service listkswslogon: session logout07474
cache buffers chainskcbzwb0278,496166,748
cache buffers chainskcbchg: cr pin change083,95134,935
cache buffers chainskcbgtcr: fast path pin069,79519,916
cache buffers chainskcbchg: cr pin cleanout046,63840,033
cache buffers chainskcbgtcr: slow path excl034,68551,953
cache buffers chainskcbgtcr: fast path exam06,2051,273
cache buffers chainskcbrls: pin release04,390132,243
cache buffers chainskclcls_303,00324,229
cache buffers chainskcbzibmlt: multi-block read: nowait09730
cache buffers chainskcbgcur: fast path excl0630188
cache buffers chainskcbcge043534,861
cache buffers chainskcbrls: fast pin release0259927
cache buffers chainskcbrls_10177415
cache buffers chainskcllkopesc0160135
cache buffers chainskcbchg: change complete015618,818
cache buffers chainskcbget: new pin014082
cache buffers chainskcbzib: finish processing buffer0794,232
cache buffers chainskclbla05630
cache buffers chainskcbgcur: slow path03422
cache buffers chainskcbzgb: scan from tail. nowait0320
cache buffers chainskcl_fairness0300
cache buffers chainskcbnlc02640
cache buffers chainskcbzibmlt: finish free bufs02512
cache buffers chainskcb_trim_hash_chain02264
cache buffers chainskclrqchk0212
cache buffers chainskcbgkcbcr017131
cache buffers chainskclexpandlock015157
cache buffers chainskclcqchk0100
cache buffers chainskclcsr_2060
cache buffers chainskclrlstp0615
cache buffers chainskclexpand_10568
cache buffers chainskclwcrs051,720
cache buffers chainskclwcrs_20583
cache buffers chainskcbbxsv0412
cache buffers chainskclgrantlk047
cache buffers chainskclwrt043
cache buffers chainskcbgcur: fast path shr032
cache buffers chainskcbget: fast path037
cache buffers chainskclrls03309
cache buffers chainskcbesc: escalate021
cache buffers chainskclantilock021
cache buffers chainskcbAdoptBuffers_vhl010
cache buffers chainskcbbic1010
cache buffers chainskcbbic2012
cache buffers chainskcbchg: cur pin change01157
cache buffers chainskcbget: upgrade latch012
cache buffers chainskcbgtcr: retry after read0115
cache buffers chainskcbo_ckpt_process010
cache buffers chainskcbso1: set no access012
cache buffers chainskcllwr_1011
cache buffers chainskclobj_2011
cache buffers chainskclrwrite_3010
cache buffers lru chainkcbzgws0180
cache buffers lru chainkcbzgb0215
cache buffers lru chainkcbzgb_2021
call allocationksuxds0141140
call allocationksudlc : rec call011
channel operations parent latchksrsconsume()010
enqueue hash chainsksqcmi: if lk mode requested030
enqueue hash chainsksqgtl3025
gc elementkclbla01940
gc elementkclnfndnewm07172
gc elementkcl_fairness0630
gc elementkclnfndx05036
gc elementkclfwrite102623
gc elementkclnfndnew02524
gc elementkclrwrite02036
gc elementkclpdcl01721
gc elementkclcqchk090
gc elementkclrlstp062
gc elementkclebs0512
gc elementkclexpand_20525
gc elementkclplz049
gc elementkclchkping030
gc elementkclclose_1030
gc elementkclantilock_1021
gc elementkclrwrite_1027
gc elementKCLUNLNK0169
gc elementkclcalz010
gc elementkclevict010
gc elementkclfwrite2010
gc elementkclhngcbk1010
gc elementkcllwr010
gc elementkclnfnds0189
gc elementkclulb0151
gc elementkclwrt011
gcs remastering latchkjfcdrmrfg end step050
gcs resource freelistkjbrralc: reserve allocation043
gcs resource hashkjbrrcfwst060
gcs resource hashkclrwrite022
gcs resource hashkjbrrcfwst_101020
gcs resource hashkclfwrite1012
gcs resource hashkclpdc010
gcs resource hashkjbassume010
gcs resource hashkjbmpopen014
gcs resource hashkjbrrcres_99010
gcs shadows freelistkjblralc: allocate reserve040
ges cached resource listskjchc: clean resource cache010
ges cached resource listskjruch: cached obj cleanup010
ges resource hash listkjrmas1: lookup master node024173
ges resource hash listkjucvl: lock convert request011218
ges resource hash listkjlrlr: remove lock from resource queue077116
ges resource hash listkjrref: find matched resource08162
ges resource hash listkjxpedmp: enqueue dump080
ges resource hash listkjakcai: search for resp by resname0168
ges resource hash listkjtscn: try lock res with nowait010
ksuosstats global areaksugetosstat044
ksv class latchksvclsl: rdp - recycle010
object queue header operationkclobj_5021
parallel query alloc bufferkxfpbalo03939
parallel query statskxfprst: KSLBEGIN:1011
query server processkxfpg1srv01714
query server processkxfpGetSlaveStats0710
row cache objectskqreqd: reget039622
row cache objectskqrpre: find obj0306585
row cache objectskqreqd040140
row cache objectskqrbip042
row cache objectskqrigt020
row cache objectskqrbfr011
session state list latchkpseqd050
session switchingkskexeall01818
shared poolkghalo0384129
shared poolkghfre0216247
shared poolkghalp01044
shared poolkghfrunp: clatch: nowait080
shared poolkghfrunp: alloc: wait070
shared poolkgh_next_free020
shared poolkghupr101194
shared pool simulatorkglsim_upd_newhp011
space background task latchktsj_grab_task01414
undo global dataktudba: KSLBEGIN044


Back to Latch Statistics
Back to Top

Mutex Sleep Summary

Mutex TypeLocationSleepsWait Time (ms)
Cursor Pinkkslce [KKSCHLPIN2]33,17135,224
Library Cachekglpnal2 919,707362
Library Cachekglpndl1 958,593342
Library Cachekglpin1 48,094489
Library Cachekgllkdl1 858,082826
Library Cachekglhdgn2 1065,801441
Library Cachekglpnal1 905,328214
Cursor Pinkksfbc [KKSCHLFSP2]4,8285,868
Library Cachekgllkal1 804,783779
Library Cachekgllkc1 573,0331,374
Library Cachekglhdgn1 621,31737
Library Cachekglget2 28071,017
Cursor PinkksLockDelete [KKSCHLPIN6]556615
Library Cachekglget1 151929
Library Cachekglhdgh1 641965
Library Cachekglobpn1 711944
Cursor Pinkksfbc [KKSCHLPIN1]164207
Cursor StatkkocsStoreBindAwareStats [KKSSTALOC8]762
Library Cachekgldtin1 42731
Library CachekglLock 121721
Cursor ParentkkscsAddChildNode [KKSPRTLOC34]551
Library Cachekglml_kglMappedRef 131371
Cursor Pinkksxsccmp [KKSCHLPIN5]2129
Library Cachekglllal3 111190
Library Cachekgllldl2 112120
Library Cachekglllal1 109100
Library CachekglUpgradeLock 11950
Library Cachekglini1 32510
Library Cachekgllkal3 8250
Cursor ParentkkscsPruneChild [KKSPRTLOC35]34
hash tablekkshGetNextChild [KKSHBKLOC1]23
Library Cachekglalt1 2110
Library Cachekglati1 4510
Library Cachekglobld1 7510


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 TABLE5105751057202,969,95241.27
XLAAPPS_TS_TX_DATA XLA_EVENTSAPTABLE PARTITION29724129724135,294,6087.18
APAPPS_TS_TX_IDX AP_INVOICE_DISTRIBUTIONS_N33 INDEX383945704490528,042,8005.70
APAPPS_TS_TX_DATA AP_HOLDS_ALL TABLE28053028053025,856,5285.26
FAAPPS_TS_TX_DATA FA_CATEGORY_BOOKS TABLE783957839525,805,4725.25


Back to Segment Statistics
Back to Top

Segments by Physical Reads

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Physical Reads%Total
XLAAPPS_TS_TX_DATA XLA_EVENTSAPTABLE PARTITION29724129724134,173,62889.00
SYSSYSTEM COL$ TABLE464213464208930,0402.42
APPLSYSAPPS_TS_TX_DATA WF_ITEM_ACTIVITY_STATUSES TABLE110356110356881,8842.30
APAPPS_TS_TX_DATA AP_INVOICES_ALL TABLE3213632136776,0422.02
SYSSYSTEM OBJ$ TABLE464202464202170,5830.44


Back to Segment Statistics
Back to Top

Segments by Physical Read Requests

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Phys Read Requests%Total
XLAAPPS_TS_TX_DATA XLA_EVENTSAPTABLE PARTITION2972412972412,152,47555.11
APAPPS_TS_TX_DATA AP_INVOICES_ALL TABLE3213632136306,9087.86
APAPPS_TS_TX_IDX AP_INVOICE_DISTRIBUTIONS_N32 INDEX3839447044901143,3333.67
APAPPS_TS_TX_IDX AP_INVOICE_DISTRIBUTIONS_N33 INDEX3839457044905131,7183.37
APPLSYSAPPS_TS_MEDIA SYS_LOB0000057442C00004$$ LOB574485744873,4951.88


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 TABLE32136321365,528-12.65
XLAAPPS_TS_TX_IDX XLA_DISTRIBUTION_LINKS_N3APINDEX PARTITION299006299006245-0.56
SYSSYSTEM COL$ TABLE464213464208181-0.41
APAPPS_TS_TX_DATA AP_INVOICE_LINES_ALL TABLE28032928032953-0.12
APAPPS_TS_TX_DATA AP_INVOICE_DISTRIBUTIONS_ALL TABLE28046228046247-0.11


Back to Segment Statistics
Back to Top

Segments by Optimized Reads

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Optimized Reads%Total
XLAAPPS_TS_TX_DATA XLA_EVENTSAPTABLE PARTITION2972412972412,152,47554.50
APAPPS_TS_TX_DATA AP_INVOICES_ALL TABLE3213632136301,3807.63
APAPPS_TS_TX_IDX AP_INVOICE_DISTRIBUTIONS_N32 INDEX3839447044901143,3343.63
APAPPS_TS_TX_IDX AP_INVOICE_DISTRIBUTIONS_N33 INDEX3839457044905131,7183.34
APPLSYSAPPS_TS_MEDIA SYS_LOB0000057442C00004$$ LOB574485744874,1071.88


Back to Segment Statistics
Back to Top

Segments by Direct Physical Reads

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Direct Reads%Total
XLAAPPS_TS_TX_DATA XLA_EVENTSAPTABLE PARTITION29724129724134,171,68693.74
APPLSYSAPPS_TS_TX_DATA WF_ITEM_ACTIVITY_STATUSES TABLE110356110356881,6452.42
SYSSYSTEM COL$ TABLE464213464208697,9321.91
APAPPS_TS_TX_DATA AP_INVOICES_ALL TABLE3213632136498,5081.37
SYSSYSTEM OBJ$ TABLE464202464202170,5220.47


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 TABLE28046228046213,3826.45
ZXAPPS_TS_TX_DATA ZX_LINES_DET_FACTORS TABLE29789729789710,6515.13
ZXAPPS_TS_TX_DATA ZX_REC_NREC_DIST TABLE29796729796710,1864.91
APAPPS_TS_TX_DATA AP_INVOICE_LINES_ALL TABLE2803292803297,5973.66
ZXAPPS_TS_TX_DATA ZX_LINES TABLE2978962978967,4453.59


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 TABLE28046228046210,2538.50
ZXAPPS_TS_TX_DATA ZX_LINES_DET_FACTORS TABLE2978972978978,8027.30
ZXAPPS_TS_TX_DATA ZX_REC_NREC_DIST TABLE2979672979678,2606.85
ZXAPPS_TS_TX_DATA ZX_LINES TABLE2978962978966,3035.22
APAPPS_TS_TX_DATA AP_INVOICE_LINES_ALL TABLE2803292803296,1935.13


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$$ LOB57448574483,15211.42
** MISSING **TEMP2 ** MISSING: -40010210/13246080** MISSING **UNDEFINED42549570861324608090.03
** MISSING **TEMP2 ** MISSING: -40008128/13000704** MISSING **UNDEFINED42549591681300070440.01
** MISSING **TEMP2 ** MISSING: -40008130/21188224** MISSING **UNDEFINED42549591662118822440.01


Back to Segment Statistics
Back to Top

Segments by Table Scans

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Table Scans%Total
APPLSYSAPPS_TS_TX_DATA WF_ITEM_ACTIVITY_STATUSES TABLE1103561103561,42976.21
SYSSYSTEM COL$ TABLE464213464208120.64
APAPPS_TS_TX_DATA AP_HOLDS_ALL TABLE28053028053070.37
APAPPS_TS_TX_DATA AP_INVOICES_ALL TABLE321363213620.11
SYSSYSTEM OBJ$ TABLE46420246420210.05


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 TABLE32136321365,041,82432.96
APAPPS_TS_TX_IDX AP_INVOICES_N17 INDEX20796670448563,925,00825.66
APAPPS_TS_TX_IDX AP_INVOICE_DISTRIBUTIONS_N32 INDEX38394470449011,292,0168.45
APPLSYSAPPS_TS_TX_DATA FND_CONFLICTS_DOMAIN TABLE4253842538976,6886.38
APAPPS_TS_TX_DATA AP_INVOICE_DISTRIBUTIONS_ALL TABLE280462280462594,0163.88


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 TABLE41258412581,31481.06
APAPPS_TS_TX_DATA AP_HOLDS_ALL TABLE2805302805301277.83
ZXAPPS_TS_TX_IDX ZX_LINES_DET_FACTORS_N1 INDEX387129387129523.21
APPLSYSAPPS_TS_TX_DATA FND_CONC_PROG_ONSITE_INFO TABLE4170241702412.53
POAPPS_TS_TX_IDX PO_LINE_LOCATIONS_N11 INDEX1213167045034130.80


Back to Segment Statistics
Back to Top

Segments by ITL Waits

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#ITL Waits% of Capture
SYSSYSTEM COL$ TABLE4642134642081191.67
SYSSYSTEM I_COL1 INDEX46423846423818.33


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 TABLE32136321362,71660.82
APPLSYSAPPS_TS_TX_DATA FND_CONCURRENT_REQUESTS TABLE41258412582655.93
APAPPS_TS_TX_IDX AP_INVOICES_N17 INDEX20796670448562305.15
ZXAPPS_TS_TX_IDX ZX_LINES_DET_FACTORS_N1 INDEX3871293871291794.01
SYSSYSTEM I_COL3 INDEX4642404642401162.60


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 TABLE3213632136548,08691.96
APPLSYSAPPS_TS_TX_DATA FND_CONCURRENT_REQUESTS TABLE412584125825,7574.32
XLAAPPS_TS_TX_DATA XLA_EVENTSAPTABLE PARTITION2972412972416,3941.07
XLAAPPS_TS_TX_IDX XLA_EVENTS_N3APINDEX PARTITION2990502990506,0851.02
APAPPS_TS_TX_IDX AP_INVOICES_N17 INDEX20796670448563,2290.54


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 TABLE3213632136406,34471.63
ZXAPPS_TS_TX_DATA ZX_REC_NREC_DIST TABLE2979672979675,6621.00
APPLSYSAPPS_TS_TX_DATA FND_CONCURRENT_REQUESTS TABLE41258412584,2090.74
APAPPS_TS_TX_IDX AP_INVOICES_N17 INDEX20796670448564,1670.73
APAPPS_TS_TX_DATA AP_INVOICE_LINES_ALL TABLE2803292803293,6390.64


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 TABLE321363213611,8969.31
APAPPS_TS_TX_IDX AP_INVOICES_N21 INDEX38395070449118,9757.03
APPLSYSAPPS_TS_TX_DATA FND_CONCURRENT_REQUESTS TABLE41258412586,4565.05
XLAAPPS_TS_TX_DATA XLA_DISTRIBUTION_LINKSAPTABLE PARTITION2972552972555,7524.50
ZXAPPS_TS_TX_DATA ZX_REC_NREC_DIST TABLE2979672979675,0363.94


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,0880.090 118
dc_constraints84852.360 8470
dc_files1,1040.000 0184
dc_free_extents6990.000 0699
dc_global_oids6,6024.470 29453
dc_histogram_data76,3630.140 09,608
dc_histogram_defs803,5281.120 7,28940,359
dc_object_grants1160.000 082
dc_objects3,329,8380.060 1,5088,898
dc_profiles4,9900.000 02
dc_props9,2240.000 04
dc_rollback_segments751,6490.000 0616
dc_segments2,045,6280.010 27011,427
dc_sequences99214.210 992150
dc_tablespace_quotas1,7165.300 022
dc_tablespaces626,6740.000 029
dc_users2,509,2540.010 0687
outstanding_alerts1384.620 02
sch_lj_objs3100.000 03
sch_lj_oids407.500 010


Back to Dictionary Cache Statistics
Back to Top

Dictionary Cache Stats (RAC)

CacheGES RequestsGES ConflictsGES Releases
dc_awr_control310
dc_constraints1,682211,088
dc_global_oids7350553
dc_histogram_defs16,115010,529
dc_objects3,230744,129
dc_segments57611,723
dc_sequences1,98470207
dc_tablespace_quotas841930
dc_users2580629
outstanding_alerts26123
sch_lj_objs300
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,1440.000 00
APP CONTEXT2,3120.0047,2030.0000
BODY60,7090.04451,4050.0140
CLUSTER280.00280.0000
CONTEXT POLICY2020.002020.0000
DBLINK5,3180.000 00
DIRECTORY4,1390.024,1440.1420
EDITION2,8950.002,2320.0000
INDEX1,7513.031,7516.0500
JAVA RESOURCE10.0010.0000
KGLNEDSYNC53100.000 00
OBJECT ID333100.000 00
QUEUE3,8065.0717,2993.611490
RULESET0 920.0000
SCHEMA3,0110.000 00
SQL AREA132,04434.214,747,2621.41427292
SQL AREA BUILD22,85799.140 00
SQL AREA STATS22,90099.1822,90199.1800
SUBSCRIPTION10894.4410894.4400
TABLE/PROCEDURE3,299,9390.034,244,6040.034840
TRANSFORMATION3590.003590.0000
TRIGGER12,0140.02374,164-0.0040
USER PRIVILEGE1,1950.001,3010.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,1440000
BODY72447,726447,72600
CLUSTER28282800
CONTEXT POLICY20220220200
DBLINK5,3180000
DIRECTORY24,1414,14100
EDITION2,2322,2322,23200
INDEX1,7511,7511,75100
JAVA RESOURCE01100
KGLNEDSYNC530000
QUEUE2,45517,01317,01300
RULESET0929200
SCHEMA1,6810000
SUBSCRIPTION010810800
TABLE/PROCEDURE3,292,3023,981,5453,981,54500
TRANSFORMATION35935935900
TRIGGER0374,140374,14000
USER PRIVILEGE01,3011,30100


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,584.0011,584.0011,392.0012,736.002GRO/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 Pool192.00192.00192.00192.000STA/
java pool320.00320.00320.00320.000SHR/DEF
large pool64.0064.0064.00192.002SHR/DEF
shared pool8,128.008,128.006,976.008,192.000GRO/DEF
streams pool128.00128.00128.00128.000SHR/DEF


Back to Memory Statistics
Back to Top

Memory Resize Operations Summary

ComponentMin Size (Mb)Max Size (Mb)Avg Size (Mb)Re- SizesGrowsShrinks
DEFAULT buffer cache11,520.0011,584.0011,552.00211
large pool64.00128.0096.00211


Back to Memory Statistics
Back to Top

Memory Resize Ops

StartEla (s)ComponentOper Typ/ModInit Size (M)DeltaTarget DeltaFinal (M)Sta
11/18 21:39:260bufcacheGRO/DEF11,52064 11,584COM
11/18 21:39:260largeSHR/DEF128-64 64COM
11/18 21:06:100bufcacheSHR/IMM11,584-64 11,520COM
11/18 21:06:100largeGRO/IMM6464 128COM


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,098.97 15.2712.10113113334334
Freeable240.000.0012.6316.6152 1919
PL/SQL164.55121.680.490.971315334333
SQL30.7012.130.110.61952276259
JAVA20.1020.074.020.004555
EOther5,178.36 15.1411.79113113342342
Freeable388.000.0016.1719.4064 2424
PL/SQL210.83141.990.622.273536342342
JAVA24.1224.084.020.004566
SQL22.193.200.080.28328283268


Back to Memory Statistics
Back to Top

SGA Memory Summary

SGA regionsBegin Size (Bytes)End Size (Bytes) (if different)
Database Buffers12,348,030,976 
Fixed Size6,071,072 
Redo Buffers61,030,400 
Variable Size9,059,704,032 

Back to Memory Statistics
Back to Top

SGA breakdown difference

PoolNameBegin MBEnd MB% Diff
javaJOXLE34.5334.20-0.98
javafree memory284.59284.930.12
largePX msg pool7.817.810.00
largefree memory55.8155.810.00
sharedASH buffers120.00120.000.00
sharedKGH: NO ACCESS245.88245.880.00
sharedKGLH0708.37872.0123.10
sharedKGLHD124.70158.8727.39
sharedResult Cache122.48122.480.00
sharedSQLA2,730.142,831.643.72
shareddb_block_hash_buckets88.0088.000.00
sharedfree memory1,352.141,142.86-15.48
sharedgcs resources377.34377.340.00
sharedgcs shadows209.63209.630.00
sharedges enqueues211.38211.380.00
sharedges resource dynamic155.98155.980.00
sharedinit_heap_kfsg126.68126.680.00
sharedkglsim object batch100.62100.620.00
sharedobject queue hash buckets120.00120.000.00
sharedobject queue header free100.88100.880.00
streamsfree memory127.93127.930.00
 buffer_cache11,584.0011,584.000.00
 fixed_sga5.795.790.00
 log_buffer58.2058.200.00
 shared_io_pool192.00192.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)
AQ LB Coordinator24-Sep-20 23:29:332.020.000.00
QMON Slave24-Sep-20 23:29:321.820.330.00
EMON Reliable Slave24-Sep-20 23:29:330.650.000.00
EMON Regular Slave24-Sep-20 23:29:330.330.000.00
QMON Coordinator24-Sep-20 23:29:320.090.000.00
EMON Coordinator24-Sep-20 23:29:320.050.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

Queue NameEnq MsgsEnq Msgs/secDeq MsgsDeq Msgs/secSpill MsgsSpill Msgs/sec%Spill Msgs
APPLSYS.WF_CONTROL(141334) 00.0000.0000.00 


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 920.0000.000.000.030.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.AQ$_FND_CP_GSM_OPP_AQTBL_E(405301) 00  0.000.00  
APPLSYS.AQ$_FND_CP_TM_RET_AQTBL_E(405297) 00  0.000.00  
APPLSYS.FND_CP_GSM_IPC_AQ(408460) 00  0.000.00  
APPLSYS.FND_CP_GSM_OPP_AQ(405304) 177264100.000.000.29227.640.005.93
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  
SYS.AQ$_ALERT_QT_E(252824) 00  0.000.00  
XLA.XLA_23503053_COMP_Q(7432792) 00  0.000.00  
XLA.XLA_23503053_DOC_Q(7432791) 00  0.000.00  
*XLA.XLA_24540218_COMP_Q(7513128) 110.000.000.0016.790.000.00
*XLA.XLA_24540218_DOC_Q(7513127) 220.000.000.010.000.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.AQ$_FND_CP_GSM_OPP_AQTBL_E(405301) 0.000.00  
APPLSYS.AQ$_FND_CP_TM_RET_AQTBL_E(405297) 0.000.00  
APPLSYS.FND_CP_GSM_IPC_AQ(408460) 0.000.00  
APPLSYS.FND_CP_GSM_OPP_AQ(405304) 0.050.070.000.86
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  
SYS.AQ$_ALERT_QT_E(252824) 0.000.00  
XLA.XLA_23503053_COMP_Q(7432792) 0.000.00  
XLA.XLA_23503053_DOC_Q(7432791) 0.000.00  
*XLA.XLA_24540218_COMP_Q(7513128) 0.000.000.0016.79
*XLA.XLA_24540218_DOC_Q(7513127) 0.000.000.010.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 9213200.030.040.00
OPP184690(3707)/APPLSYS.FND_CP_GSM_OPP_AQ 92000.030.000.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_ress37,14599,6050UNLIMITED
ges_locks54,172388,006100439UNLIMITED
ges_ress110,7131,039,78848813UNLIMITED
smartio_buffer_memory0229,317,2880UNLIMITED
smartio_metadata_memory02,563,5600UNLIMITED
smartio_overhead_memory0654,813,0000UNLIMITED
smartio_sessions0870UNLIMITED



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/DBOFINP11  
dml_locks10000  
enable_ddl_loggingFALSE  
event10995 trace name context forever, level 16  
fal_serverDG_STBY  
instance_number1  
java_jit_enabledFALSE  
job_queue_processes20  
local_listenerprdc1pdb01-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_size416074956  
shared_pool_size3154116608  
sql92_securityTRUE  
standby_file_managementAUTO  
temp_undo_enabledTRUE  
thread1  
undo_managementAUTO  
undo_retention172800  
undo_tablespaceAPPS_UNDOTS1  
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
67fx45mvnmbsz115416343423128.70 CPU + Wait for CPU28.70TABLE ACCESS - BY INDEX ROWID BATCHED13.79 SELECT CASE WHEN COUNT(1) > 0 ...
ctp9ravf5dxfr33072173342714.04 enq: TX - row lock contention12.67UPDATE12.67 UPDATE AP_HOLDS_ALL AHA SET AH...
a3kxyqjurdtp862058684744.60 cell single block physical read2.61FIXED TABLE - FULL2.61 insert into mgmt_db_size_gtt S...
CPU + Wait for CPU1.12FIXED TABLE - FULL0.99
7rt3w23hzq72m108257684814.35 CPU + Wait for CPU2.61INDEX - RANGE SCAN0.50 SELECT DISTINCT HOU.ORGANIZATI...
cell single block physical read1.74INDEX - RANGE SCAN0.62
90n1att0nq1u72853282227124.10 CPU + Wait for CPU2.11TABLE ACCESS - BY INDEX ROWID BATCHED1.74 UPDATE AP_INVOICES_ALL AI SET ...


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
67fx45mvnmbsz115416343423128.70 TABLE ACCESS - BY INDEX ROWID BATCHED13.79CPU + Wait for CPU13.79 SELECT CASE WHEN COUNT(1) > 0 ...
INDEX - RANGE SCAN5.59CPU + Wait for CPU5.59
HASH JOIN3.85CPU + Wait for CPU3.85
ctp9ravf5dxfr33072173342714.04 UPDATE12.67enq: TX - row lock contention12.67 UPDATE AP_HOLDS_ALL AHA SET AH...
TABLE ACCESS - STORAGE FULL1.37read by other session0.99
a3kxyqjurdtp862058684744.60 FIXED TABLE - FULL4.47cell single block physical read2.61 insert into mgmt_db_size_gtt S...
7rt3w23hzq72m108257684814.35 INDEX - RANGE SCAN0.99cell single block physical read0.62 SELECT DISTINCT HOU.ORGANIZATI...
90n1att0nq1u72853282227124.10 TABLE ACCESS - BY INDEX ROWID BATCHED3.73CPU + Wait for CPU1.74 UPDATE AP_INVOICES_ALL AI SET ...


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

Top Sessions

Sid, Serial#% ActivityEvent% EventUserProgram# Samples ActiveXIDs
2464,5770916.40CPU + Wait for CPU16.40 APPSDKA_WORKER@udk...3 (TNS V1-V3)132/359 [ 37%]1
3461,5895214.29CPU + Wait for CPU14.04 APPSDKA_WORKER@udk...3 (TNS V1-V3)113/359 [ 31%]1
2708, 1594.35CPU + Wait for CPU2.61 APPSSTANDARD@udkfinp04 (TNS V1-V3)21/359 [ 6%]0
cell single block physical read1.74 14/359 [ 4%]0
91, 74091.61CPU + Wait for CPU1.61 SYSrman@udkcatp01 (TNS V1-V3)13/359 [ 4%]0
1765,235961.61CPU + Wait for CPU1.61 SYSoracle@prdc1pdb01 (LMHB)13/359 [ 4%]0


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

Top Blocking Sessions

Blocking Sid (Inst)% ActivityEvent Caused% EventUserProgram# Samples ActiveXIDs
2790,55630( 1)1.49enq: TX - row lock contention1.49 APPSora_rw20_run@u...4 (TNS V1-V3)4/359 [ 1%]1
192, 2253( 1)1.37enq: TX - row lock contention1.37 APPSora_rw20_run@u...4 (TNS V1-V3)7/359 [ 2%]1
4551,58362( 1)1.24enq: TX - row lock contention1.24 APPSora_rw20_run@u...4 (TNS V1-V3)2/359 [ 1%]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.XLA_ACCOUNTING_PKG.UNIT_PROCESSOR_BATCH40.00 SQL38.76
APPS.AP_APPROVAL_PKG.BATCH_APPROVAL17.14 SQL17.02
APPS.AP_APPROVAL_PKG.WORKER_APPROVAL9.44 SQL8.20
APPS.DKA_SAPAPPRVL_PKG.MAIN4.35 SQL4.35
APPS.AP_IMPORT_INVOICES_PKG.IMPORT_INVOICES2.36 SQL1.37


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

Top Events

EventEvent ClassSession Type% ActivityAvg Active Sessions
CPU + Wait for CPUCPUFOREGROUND 59.881.34
enq: TX - row lock contentionApplicationFOREGROUND 14.040.31
CPU + Wait for CPUCPUBACKGROUND 8.450.19
cell single block physical readUser I/OFOREGROUND 6.090.14
process diagnostic dumpOtherBACKGROUND 1.370.03


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 contention14.04"1415053318","1572894","1387220"1.49 name|modeusn<<16 | slotsequence
"1415053318","2621444","1814727"1.37
"1415053318","4128794","763604"1.24
cell single block physical read6.09"0","0","0"0.62 cellhash#diskhash#bytes


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

Top DB Objects

Object ID% ActivityEvent% EventObject Name (Type)Tablespace
28053015.28enq: TX - row lock contention14.04 AP.AP_HOLDS_ALL (TABLE)APPS_TS_TX_DATA
321362.73gc buffer busy acquire0.87 AP.AP_INVOICES_ALL (TABLE)APPS_TS_TX_DATA


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)25CPU + Wait for CPU111.37
cell single block physical read91.12
gc cr disk read20.25
21:05:00 (5.0 min)18CPU + Wait for CPU151.86
cell single block physical read20.25
gc current block 2-way10.12
21:10:00 (5.0 min)9CPU + Wait for CPU91.12
21:15:00 (5.0 min)31CPU + Wait for CPU212.61
cell single block physical read101.24
21:20:00 (5.0 min)60CPU + Wait for CPU334.10
cell single block physical read131.61
read by other session80.99
21:25:00 (5.0 min)148enq: TX - row lock contention8410.43
CPU + Wait for CPU354.35
process diagnostic dump70.87
21:30:00 (5.0 min)146CPU + Wait for CPU8210.19
enq: TX - row lock contention293.60
cursor: pin S wait on X80.99
21:35:00 (5.0 min)116CPU + Wait for CPU10312.80
null event30.37
cell single block physical read20.25
21:40:00 (5.0 min)65CPU + Wait for CPU647.95
cursor: pin S10.12
21:45:00 (5.0 min)76CPU + Wait for CPU688.45
cell single block physical read50.62
gc cr disk read10.12
21:50:00 (5.0 min)63CPU + Wait for CPU627.70
control file sequential read10.12
21:55:00 (5.0 min)48CPU + Wait for CPU475.84
cell single block physical read10.12


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

ADDM Task ADDM:3823384899_1_26304

          ADDM Report for Task 'ADDM:3823384899_1_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 DBOFINP11, numbered 1 and hosted at
prdc1pdb01.

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

Summary of Findings
-------------------
   Description                               Active Sessions      Recommendations
                                             Percent of Activity
   ----------------------------------------  -------------------  ---------------
1  Top SQL Statements                        1.35 | 63.24         5
2  Row Lock Waits                            .31 | 14.51          0
3  Hard Parse Due to Literal Usage           .15 | 7.11           1
4  PL/SQL Execution                          .08 | 3.94           3
5  Global Cache Messaging                    .08 | 3.75           1
6  Undersized SGA                            .08 | 3.65           1
7  Top Segments by "User I/O" and "Cluster"  .07 | 3.11           1
8  Buffer Busy - Hot Objects                 .05 | 2.31           0


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


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

Finding 1: Top SQL Statements
Impact is 1.35 active sessions, 63.24% 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 .7 active sessions, 32.54% 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 28762 times and
      had an average elapsed time of 0.08 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 2: SQL Tuning
   Estimated benefit is .34 active sessions, 15.92% 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 9% 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
      Waiting for event "enq: TX - row lock contention" in wait class
      "Application" accounted for 90% of the database time spent in processing
      the SQL statement with SQL_ID "ctp9ravf5dxfr".

   Recommendation 3: SQL Tuning
   Estimated benefit is .11 active sessions, 5.21% of total activity.
   ------------------------------------------------------------------
   Action
      Run SQL Tuning Advisor on the INSERT statement with SQL_ID
      "a3kxyqjurdtp8".
      Related Object
         SQL statement with SQL_ID a3kxyqjurdtp8.
         insert into mgmt_db_size_gtt SELECT free.tablespace_name,
         SUM(free.sz) as sz FROM   (SELECT
         tablespace_name,NVL(sum(bytes)/1048576, 0) sz      FROM
         sys.dba_free_space GROUP BY tablespace_name    UNION ALL    SELECT
         tablespace_name, NVL(SUM(bytes)/1048576, 0) sz      FROM
         dba_undo_extents WHERE status='EXPIRED' GROUP BY tablespace_name)
         free GROUP BY free.tablespace_name
   Rationale
      The SQL spent 100% of its database time on CPU, I/O and Cluster waits.
      This part of database time may be improved by the SQL Tuning Advisor.
   Rationale
      Database time for this SQL was divided as follows: 100% for SQL
      execution, 0% for parsing, 0% for PL/SQL execution and 0% for Java
      execution.
   Rationale
      SQL statement with SQL_ID "a3kxyqjurdtp8" was executed 4 times and had
      an average elapsed time of 94 seconds.

   Recommendation 4: SQL Tuning
   Estimated benefit is .11 active sessions, 4.93% of total activity.
   ------------------------------------------------------------------
   Action
      Run SQL Tuning Advisor on the SELECT statement with SQL_ID
      "7rt3w23hzq72m".
      Related Object
         SQL statement with SQL_ID 7rt3w23hzq72m.
         SELECT DISTINCT HOU.ORGANIZATION_ID ORG_ID , HOU.NAME,
         HOU.SET_OF_BOOKS_ID FROM HR_OPERATING_UNITS HOU WHERE
         HOU.ORGANIZATION_ID IN (SELECT /*+ dynamic_sampling(2)
         cardinality(ai,10) */ DISTINCT AI.ORG_ID FROM AP_INVOICES_ALL AI
         WHERE AI.VALIDATION_REQUEST_ID IS NULL AND AI.APPROVAL_READY_FLAG <>
         'S' AND AI.INVOICE_TYPE_LOOKUP_CODE <> 'INVOICE REQUEST' AND
         AI.CANCELLED_DATE IS NULL AND NOT (NVL(AI.PAYMENT_STATUS_FLAG,'N') =
         'Y' AND NVL(AI.HISTORICAL_FLAG,'N') = 'Y' AND
         NVL(AI.FORCE_REVALIDATION_FLAG,'N') = 'N') 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
         WHERE 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 AMOUNT', '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
         (H.HOLD_LOOKUP_CODE IN ( SELECT HOLD_LOOKUP_CODE FROM AP_HOLD_CODES
         WHERE POSTABLE_FLAG = 'N' AND USER_RELEASEABLE_FLAG = 'N'))) AND
         H.RELEASE_LOOKUP_CODE IS NULL AND EXISTS (SELECT 'Lines' FROM
         AP_INVOICE_LINES_ALL L2 WHERE L2.INVOICE_ID = H.INVOICE_ID) UNION ALL
         SELECT 1 FROM AP_INVOICE_LINES_ALL AIL WHERE AIL.INVOICE_ID =
         AI.INVOICE_ID 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')) 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'))
   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
      Top level calls to execute the PL/SQL statement with SQL_ID
      "7ku0dt5m5j6y1" are responsible for 100% of the database time spent on
      the SELECT statement with SQL_ID "7rt3w23hzq72m".
      Related Object
         SQL statement with SQL_ID 7ku0dt5m5j6y1.
         BEGIN DKA_SAPAPPRVL_PKG.MAIN(:errbuf,:rc); END;

   Recommendation 5: SQL Tuning
   Estimated benefit is .1 active sessions, 4.65% 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 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 "90n1att0nq1u7" was executed 51 times and had
      an average elapsed time of 6.1 seconds.
   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;


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

   No recommendations are available.

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


Finding 3: Hard Parse Due to Literal Usage
Impact is .15 active sessions, 7.11% of total activity.
-------------------------------------------------------
SQL statements were not shared due to the usage of literals. This resulted in
additional hard parses which were consuming significant database time.

   Recommendation 1: Application Analysis
   Estimated benefit is .15 active sessions, 7.11% of total activity.
   ------------------------------------------------------------------
   Action
      Investigate application logic for possible use of bind variables instead
      of literals.
   Action
      Alternatively, you may set the parameter "cursor_sharing" to "force".
   Rationale
      At least 48 SQL statements with FORCE_MATCHING_SIGNATURE
      16235986855280732283 and PLAN_HASH_VALUE 128164477 were found to be
      using literals. An example is SQL statement with SQL_ID "4dcvayg9rh000".
      Related Object
         SQL statement with SQL_ID 4dcvayg9rh000.

   Rationale
      At least 48 SQL statements with FORCE_MATCHING_SIGNATURE
      16235986855280732283 and PLAN_HASH_VALUE 128164477 were found to be
      using literals. An example is SQL statement with SQL_ID "g7808hg0zn3a3".
      Related Object
         SQL statement with SQL_ID g7808hg0zn3a3.

   Rationale
      At least 6 SQL statements with FORCE_MATCHING_SIGNATURE
      9051372255527365824 and PLAN_HASH_VALUE 2948019771 were found to be
      using literals. An example is SQL statement with SQL_ID "4k525zg67cj4t".
      Related Object
         SQL statement with SQL_ID 4k525zg67cj4t.

   Rationale
      At least 6 SQL statements with FORCE_MATCHING_SIGNATURE
      9051372255527365824 and PLAN_HASH_VALUE 2948019771 were found to be
      using literals. An example is SQL statement with SQL_ID "0wmwtfr1k0x96".
      Related Object
         SQL statement with SQL_ID 0wmwtfr1k0x96.


   Symptoms That Led to the Finding:
   ---------------------------------
      Hard parsing of SQL statements was consuming significant database time.
      Impact is .17 active sessions, 7.75% of total activity.


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

   Recommendation 1: SQL Tuning
   Estimated benefit is .03 active sessions, 1.41% of total activity.
   ------------------------------------------------------------------
   Action
      Tune the entry point PL/SQL
      "APPS.XLA_ACCOUNTING_PKG.UNIT_PROCESSOR_BATCH" of type "PACKAGE" and ID
      5714936. Refer to the PL/SQL documentation for addition information.

   Recommendation 2: SQL Tuning
   Estimated benefit is .03 active sessions, 1.41% 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.

   Recommendation 3: SQL Tuning
   Estimated benefit is .02 active sessions, 1.13% of total activity.
   ------------------------------------------------------------------
   Action
      Tune the entry point PL/SQL
      "APPS.AP_IMPORT_INVOICES_PKG.IMPORT_INVOICES" of type "PACKAGE" and ID
      6669453. Refer to the PL/SQL documentation for addition information.


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

   Recommendation 1: Application Analysis
   Estimated benefit is .08 active sessions, 3.75% 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 .1 active sessions, 4.53% of total activity.


Finding 6: Undersized SGA
Impact is .08 active sessions, 3.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 .03 active sessions, 1.26% 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 .17 active sessions, 8.17% of total activity.
      Hard parsing of SQL statements was consuming significant database time.
      Impact is .17 active sessions, 7.75% of total activity.


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

   Recommendation 1: Segment Tuning
   Estimated benefit is .07 active sessions, 3.11% of total activity.
   ------------------------------------------------------------------
   Action
      Investigate application logic involving I/O on database object with 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 86% of "User I/O" and
      "Cluster" waits for this segment.

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


Finding 8: Buffer Busy - Hot Objects
Impact is .05 active sessions, 2.31% 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 .05 active sessions, 2.31% of total activity.
         Inter-instance messaging was consuming significant database time on
         this instance.
         Impact is .08 active sessions, 3.75% of total activity.
            Wait class "Cluster" was consuming significant database time.
            Impact is .1 active sessions, 4.53% 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 99% 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: 193.68 18.90
Global Cache blocks served: 207.37 20.23
GCS/GES messages received: 564.70 55.10
GCS/GES messages sent: 639.42 62.39
DBWR Fusion writes: 5.59 0.55
Estd Interconnect traffic (KB) 3,443.60 

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

Buffer access - local cache %: 99.42
Buffer access - remote cache %: 0.15
Buffer access - disk %: 0.43

Global Cache and Enqueue Services - Workload Characteristics

Avg global enqueue get time (ms): 0.1
Avg global cache cr block receive time (ms): 0.3
Avg global cache current block receive time (ms): 0.3
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 %: 20.4
Avg global cache cr block flush time (ms): 0.4
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.7
Avg global cache current block flush time (ms): 0.6

Global Cache and Enqueue Services - Messaging Statistics

Avg message sent queue time (ms): 2.1
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: 65.96
% of indirect sent messages: 33.90
% of flow controlled messages: 0.14


Cluster Interconnect

 Begin End
InterfaceIP AddressPubSourcePubSrc
bondib0192.168.2.3N   

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)55,55415.481.51
acks for commit broadcast(logical)101,73928.352.77
broadcast msgs on commit(actual)161,77745.084.40
broadcast msgs on commit(logical)161,77745.084.40
broadcast msgs on commit(wasted)44,16212.311.20
dynamically allocated gcs resources00.000.00
dynamically allocated gcs shadows00.000.00
flow control messages received50.000.00
flow control messages sent70.000.00
gcs apply delta00.000.00
gcs assume cvt30.000.00
gcs assume no cvt62,51717.421.70
gcs ast xid110.000.00
gcs blocked converts131,75936.723.58
gcs blocked cr converts620,687172.9716.88
gcs compatible basts1,4420.400.04
gcs compatible cr basts (global)28,8898.050.79
gcs compatible cr basts (local)50,71514.131.38
gcs cr basts to PIs00.000.00
gcs cr serve without current lock00.000.00
gcs dbwr flush pi msgs78,32721.832.13
gcs dbwr write request msgs14,7734.120.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 only1,3810.380.04
gcs force cr grant1990.060.01
gcs force cr no current00.000.00
gcs forward cr to pinged instance00.000.00
gcs immediate (compatible) converts36,35810.130.99
gcs immediate (null) converts27,2737.600.74
gcs immediate cr (compatible) converts1,0040.280.03
gcs immediate cr (null) converts248,56769.276.76
gcs indirect ast135,08937.653.67
gcs indirect bidless ast00.000.00
gcs indirect fg ast134,24637.413.65
gcs lms flush pi msgs10.000.00
gcs lms write request msgs7,2752.030.20
gcs msgs process time(ms)51,11414.241.39
gcs msgs received1,864,225519.5250.69
gcs new served by master3,4190.950.09
gcs out-of-order msgs90.000.00
gcs pings refused25,7047.160.70
gcs pkey conflicts retry00.000.00
gcs push delta00.000.00
gcs queued converts2440.070.01
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 immediate8,8972.480.24
gcs recovery claim msgs00.000.00
gcs refuse xid130.000.00
gcs regular cr00.000.00
gcs retry convert request290.010.00
gcs share recovery bast00.000.00
gcs side channel msgs actual16,0394.470.44
gcs side channel msgs logical1,149,029320.2131.25
gcs stale cr275,80876.867.50
gcs undo cr8,7162.430.24
gcs write notification msgs1,0350.290.03
gcs writes refused1800.050.00
ges msgs process time(ms)9,0822.530.25
ges msgs received162,13045.184.41
global posts dropped10.000.00
global posts queue time81,63722.752.22
global posts queued8070.220.02
global posts requested9700.270.03
global posts sent8090.230.02
implicit batch messages received63,21817.621.72
implicit batch messages sent61,44217.121.67
lmd msg send time(ms)00.000.00
lms(s) msg send time(ms)00.000.00
messages flow controlled2,6920.750.07
messages queue sent actual351,30797.909.55
messages queue sent logical269,13475.007.32
messages received actual1,477,956411.8740.19
messages received logical2,026,352564.7055.10
messages sent directly1,307,990364.5135.57
messages sent indirectly672,301187.3618.28
messages sent not implicit batched1,7900.500.05
messages sent pbatched782,797218.1521.29
msgs causing lmd to send msgs00.000.00
msgs causing lms(s) to send msgs00.000.00
msgs received queue time (ms)61,80617.221.68
msgs received queued2,026,364564.7055.10
msgs sent queue time (ms)1,074,420299.4229.22
msgs sent queue time on ksxp (ms)204,01856.865.55
msgs sent queued510,109142.1613.87
msgs sent queued on ksxp1,741,526485.3347.36
number of broadcasted resources00.000.00
number of directly freed master res1,307,580364.3935.56
number of ges deadlock detected140.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 received309,65286.298.42
process batch messages sent388,676108.3210.57



Back to Top

Global CR Served Stats

StatisticTotal
CR Block Requests543,223
CURRENT Block Requests93,010
Data Block Requests543,231
Undo Block Requests7,378
TX Block Requests71,139
Current Results158,011
Private results460,454
Zero Results5,572
Disk Read Results12,565
Fail Results3
Fairness Down Converts39,404
Fairness Clears6,432
Free GC Elements0
Flushes127,290
Flushes Queued0
Flush Queue Full0
Flush Max Time (us)0
Light Works35,926
Errors0



Back to Top

Global CURRENT Served Stats

StatisticTotal% <1ms% <10ms% <100ms% <1s% <10s
Pins8898.861.14   
Flushes2,08397.702.300.000.000.00
Writes20,00722.7434.2431.5911.43 



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
2data block466,13484.1915.730.07111,71396.233.620.16
2undo header88,72496.993.010.0145698.461.540.00
2Others5,56599.550.430.0215,55298.911.020.08
2undo block6,44395.394.610.000   


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
2data block0.280.190.741.980.310.290.672.02
2undo header0.180.160.771.960.220.210.76 
2others0.180.180.853.870.180.180.492.88
2undo block0.200.170.67     


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
2data block0392,460100.000.00107,498100.000.00
2undo header086,049100.000.00449100.000.00
2others05,540100.000.0015,382100.000.00
2undo block06,146100.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
2data block 0.190.19 0.290.29 
2undo header 0.160.16 0.210.21 
2others 0.180.18 0.180.18 
2undo 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.200.012840.190.02
22840.200.042844.4316.45


Back to Interconnect Stats
Back to Top

Interconnect Throughput by Client

Used BySend Mbytes/secReceive Mbytes/sec
Global Cache1.421.30
Parallel Query0.010.01
DB Locks0.200.17
DB Streams0.000.00
Other0.000.01


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.3NO  0.020000 0.040000


Back to Interconnect Stats
Back to Top

Dynamic Remastering Stats

NameTotalper Remaster OpBegin SnapEnd Snap
remaster ops21.00  
remastered objects42.00  
replayed locks received3,3051,652.50  
replayed locks sent5,1112,555.50  
resources cleaned00.00  
remaster time (s)1.40.68  
quiesce time (s)0.00.00  
freeze time (s)0.10.07  
cleanup time (s)0.20.10  
replay time (s)0.50.26  
fixwrite time (s)0.20.10  
sync time (s)0.30.15  
affinity objects  144143
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