WORKLOAD REPOSITORY report for

DB NameDB IdInstanceInst numStartup TimeReleaseRAC
DWARE1620230332dware11126-Jul-20 01:0712.1.0.2.0YES

Host NamePlatformCPUsCoresSocketsMemory (GB)
dware1Solaris[tm] OE (64-bit) 32 4 1 80.00

Snap IdSnap TimeSessionsCursors/SessionInstances
Begin Snap:876910-Sep-20 12:00:48167 8.12
End Snap:877010-Sep-20 13:00:01169 7.42
Elapsed:  59.21 (mins)   
DB Time:  132.93 (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.2431.78ADDM:620230332_1_877010-Sep-20 12:0010-Sep-20 13:00
Unusual "Other" Wait Event2.2415.53ADDM:620230332_1_877010-Sep-20 12:0010-Sep-20 13:00
Undersized SGA2.2410.47ADDM:620230332_1_877010-Sep-20 12:0010-Sep-20 13:00
Top Segments by "User I/O" and "Cluster"2.244.89ADDM:620230332_1_877010-Sep-20 12:0010-Sep-20 13:00
Unusual "Network" Wait Event2.243.44ADDM:620230332_1_877010-Sep-20 12:0010-Sep-20 13:00

Load Profile

Per SecondPer TransactionPer ExecPer Call
DB Time(s): 2.3 0.0 0.00 0.05
DB CPU(s): 1.2 0.0 0.00 0.03
Background CPU(s): 0.3 0.0 0.00 0.00
Redo size (bytes): 6,364,706.8 26,484.9  
Logical read (blocks): 130,122.6 541.5  
Block changes: 6,817.3 28.4  
Physical read (blocks): 4,106.5 17.1  
Physical write (blocks): 1,257.5 5.2  
Read IO requests: 684.7 2.9  
Write IO requests: 240.7 1.0  
Read IO (MB): 64.2 0.3  
Write IO (MB): 19.7 0.1  
IM scan rows: 0.0 0.0  
Session Logical Read IM:    
Global Cache blocks received: 82.3 0.3  
Global Cache blocks served: 103.9 0.4  
User calls: 47.6 0.2  
Parses (SQL): 403.5 1.7  
Hard parses (SQL): 0.2 0.0  
SQL Work Area (MB): 10.3 0.0  
Logons: 0.7 0.0  
Executes (SQL): 6,060.8 25.2  
Rollbacks: 0.0 0.0  
Transactions: 240.3   

Instance Efficiency Percentages (Target 100%)

Buffer Nowait %: 99.83Redo NoWait %: 100.00
Buffer Hit %: 99.06In-memory Sort %: 99.98
Library Hit %: 99.98Soft Parse %: 99.94
Execute to Parse %: 93.34Latch Hit %: 99.20
Parse CPU to Parse Elapsd %: 64.33% Non-Parse CPU: 98.22
Flash Cache Hit %: 0.00

Top 10 Foreground Events by Total Wait Time

EventWaitsTotal Wait Time (sec)Wait Avg(ms)% DB timeWait Class
DB CPU 4266.1 53.5 
Data Guard server operation completion111,4581238.611.1115.5Other
db file sequential read996,126666.70.678.4User I/O
direct path read86,382294.33.413.7User I/O
db file scattered read269,605284.41.063.6User I/O
SQL*Net more data from client83,799274.13.273.4Network
read by other session410,914250.70.613.1User I/O
gc buffer busy acquire368,945181.90.492.3Cluster
direct path read temp123,855153.11.241.9User I/O
direct path write temp45,44891.92.021.2User I/O

Wait Classes by Total Wait Time

Wait ClassWaitsTotal Wait Time (sec)Avg Wait (ms)% DB timeAvg Active Sessions
DB CPU 4,266 53.51.2
User I/O2,644,7582,1880.8327.40.6
Other992,3711,4281.4417.90.4
Concurrency455,0391,0462.3013.10.3
System I/O1,254,4658470.6810.60.2
Cluster925,4543350.364.20.1
Network821,4683260.404.10.1
Application10,06930.27.00.0
Queueing1,30921.23.00.0
Configuration9716.15.00.0
Commit8305.88.00.0
Administrative100.23.00.0

Host CPU

CPUsCoresSocketsLoad Average BeginLoad Average End%User%System%WIO%Idle
32 4 1 3.46 2.05 5.5 3.2 0.0 91.3

Instance CPU

%Total CPU%Busy CPU%DB time waiting for CPU (Resource Manager)
4.6 52.5 0.0

IO Profile

Read+Write Per SecondRead per SecondWrite Per Second
Total Requests: 1,279.2 710.2 568.9
Database Requests: 925.3 684.7 240.7
Optimized Requests: 0.0 0.0 0.0
Redo Requests: 335.3 15.7 319.6
Total (MB): 109.1 76.4 32.7
Database (MB): 83.8 64.2 19.7
Optimized Total (MB): 0.0 0.0 0.0
Redo (MB): 18.7 12.0 6.7
Database (blocks): 5,363.9 4,106.5 1,257.5
Via Buffer Cache (blocks): 1,434.1 1,197.0 237.1
Direct (blocks): 3,929.8 2,909.5 1,020.4

Memory Statistics

BeginEnd
Host Mem (MB): 81,920.0 81,920.0
SGA use (MB): 28,672.0 28,672.0
PGA use (MB): 2,939.1 2,767.1
% Host Mem used for SGA+PGA: 38.59 38.38

Cache Sizes

BeginEnd
Buffer Cache: 9,600M 9,600MStd Block Size: 16K
Shared Pool Size: 7,104M 7,104MLog Buffer: 58,056K
In-Memory Area: 0M 0M

Shared Pool Statistics

BeginEnd
Memory Usage %: 77.95 80.43
% SQL with executions>1: 98.79 98.74
% Memory for SQL w/exec>1: 94.57 90.84

Main Report

RAC 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 time6,170.7977.37 
DB CPU4,266.1053.4982.29
PL/SQL execution elapsed time118.771.49 
parse time elapsed114.311.43 
hard parse elapsed time109.811.38 
hard parse (sharing criteria) elapsed time56.010.70 
connection management call elapsed time6.060.08 
PL/SQL compilation elapsed time0.020.00 
failed parse elapsed time0.010.00 
repeated bind elapsed time0.010.00 
DB time7,976.02  
background elapsed time3,496.79  
background cpu time918.31 17.71
total CPU time5,184.41  


Back to Wait Events Statistics
Back to Top

Operating System Statistics

StatisticValueEnd Value
AVG_BUSY_TIME30,127 
AVG_IDLE_TIME323,532 
AVG_SYS_TIME10,604 
AVG_USER_TIME18,809 
BUSY_TIME987,346 
IDLE_TIME10,377,695 
SYS_TIME362,401 
USER_TIME624,945 
LOAD32
OS_CPU_WAIT_TIME130,300 
RSRC_MGR_CPU_WAIT_TIME0 
VM_IN_BYTES12,976,128 
VM_OUT_BYTES0 
PHYSICAL_MEMORY_BYTES85,899,345,920 
NUM_CPUS32 
NUM_CPU_CORES4 
NUM_CPU_SOCKETS1 
TCP_RECEIVE_SIZE_DEFAULT256,000 
TCP_RECEIVE_SIZE_MAX1,048,576 
TCP_SEND_SIZE_DEFAULT49,152 
TCP_SEND_SIZE_MAX1,048,576 


Back to Wait Events Statistics
Back to Top

Operating System Statistics - Detail

Snap TimeLoad%busy%user%sys%idle%iowait
10-Sep 12:00:483.46     
10-Sep 13:00:012.058.695.503.1991.310.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  4,266 53.49
User I/O1,940,95801,7740.9122.24
Other298,957441,3984.6817.52
Network821,19903260.404.09
Cluster872,11303230.374.04
System I/O224,8190240.110.30
Concurrency322,403050.020.07
Application9,371020.260.03
Commit68006.790.01
Configuration70405.580.00
Administrative0 0 0.00
Queueing0 0 0.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
Data Guard server operation completion111,4581001,23911.110.1315.53
db file sequential read996,126 6670.671.178.36
direct path read86,382 2943.410.103.69
db file scattered read269,605 2841.060.323.57
SQL*Net more data from client83,799 2743.270.103.44
read by other session410,914 2510.610.483.14
gc buffer busy acquire368,945 1820.490.432.28
direct path read temp123,855 1531.240.151.92
direct path write temp45,448 922.020.051.15
REPL Capture/Apply: miscellaneous4528874163.260.000.93
reliable message146,149 680.470.170.86
gc cr multi block request157,135 540.350.180.68
gc current block 2-way123,246 420.340.140.53
gc cr grant 2-way189,758 370.200.220.46
SQL*Net vector data from client212,182 310.150.250.39
db file parallel read7,242 212.950.010.27
SQL*Net more data to client471,885 200.040.550.26
RFS write210,854 150.070.250.19
RFS dispatch62 12186.720.000.15
direct path write489 1123.230.000.14
control file sequential read13,532 70.500.020.08
gc current grant 2-way30,771 60.190.040.07
latch: cache buffers chains318,985 50.010.370.06
enq: KO - fast object checkpoint9,088 20.250.010.03
log file sequential read408 25.570.000.03
enq: IV - contention2,296410.440.000.01
RFS ping62 113.710.000.01
PX Deq: Slave Session Stats3,215 10.260.000.01
SQL*Net message from dblink273 11.940.000.01
IPC send completion sync3,222 00.160.000.01
log file sync68 06.790.000.01
enq: PS - contention1,285200.310.000.01
gc current multi block request990 00.350.000.00
rdbms ipc reply2,738 00.130.000.00
log file switch completion14 024.640.000.00
name-service call wait6 054.320.000.00
gc cr block busy198 01.460.000.00
row cache lock2,504 00.110.000.00
CSS initialization32 07.910.000.00
gc cr block 2-way702 00.350.000.00
PX Deq: reap credit20,77910000.010.020.00
enq: CR - block range reuse ckpt37 04.260.000.00
DFS lock handle405 00.370.000.00
enq: RO - fast object reuse204 00.690.000.00
KJC: Wait for msg sends to complete423 00.310.000.00
latch free4,342 00.030.010.00
SQL*Net more data from dblink10,665 00.010.010.00
gc cr grant congested40 02.480.000.00
library cache lock3341700.280.000.00
Disk file operations I/O897 00.100.000.00
gc current grant busy251 00.320.000.00
library cache pin308 00.210.000.00
cursor: pin S45 01.320.000.00
PX Deq: Signal ACK EXT1,136 00.040.000.00
SQL*Net message to client42,126 00.000.050.00
undo segment extension3100010.010.000.00
enq: FB - contention101 00.300.000.00
CSS operation: action32 00.760.000.00
enq: CF - contention73 00.290.000.00
SQL*Net break/reset to client48 00.430.000.00
enq: TS - contention592500.340.000.00
enq: ZH - compression analysis7010000.230.000.00
enq: TM - contention317400.530.000.00
gc current block busy13 01.210.000.00
enq: HW - contention53 00.300.000.00
ges inquiry response62 00.240.000.00
RFS random i/o25 00.530.000.00
CSS operation: query96 00.130.000.00
gc buffer busy release20 00.530.000.00
enq: JS - job run lock - synchronize2510000.330.000.00
gc cr disk read41 00.200.000.00
KSV master wait72 00.110.000.00
gc current block congested2 02.700.000.00
enq: TO - contention193200.280.000.00
enq: DL - contention810000.260.000.00
latch: shared pool25 00.070.000.00
gc current grant congested1 01.690.000.00
buffer busy waits77 00.020.000.00
latch: gcs resource hash2 00.690.000.00
latch: gc element206 00.010.000.00
library cache: mutex X124 00.010.000.00
SQL*Net message from client42,131 166,6293955.020.05 
LogMiner client: transaction12,826423,528275.040.02 
SQL*Net vector message from client533,167 2,1924.110.62 
jobq slave wait3,1111001,554499.520.00 
PX Deq: Execution Msg6,228 111.840.01 
PX Deq: Execute Reply1,142 43.530.00 
PX Deq: Join ACK2,272 10.360.00 
PX Deq: Parse Reply1,136 10.460.00 
single-task message4 035.940.00 
PX Deq: Msg Fragment736 00.190.00 
PX Deq Credit: send blkd40 00.640.00 
rdbms ipc message293 00.030.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
REPL Apply: dependency106,047961,0419.810.1229.76
log file parallel write844,61204500.530.9912.86
db file sequential read700,72404110.590.8211.75
log file sequential read39,79503147.890.058.98
db file parallel write84,2620330.400.100.96
control file sequential read20,8720170.820.020.49
oracle thread bootstrap1790632.470.000.17
ASM file metadata operation4,700051.130.010.15
Log archive I/O813056.510.000.15
gc current grant 2-way25,236050.190.030.14
gc current grant busy9,296040.390.010.10
control file parallel write2,356031.280.000.09
ksxr poll remote instances332,77410030.010.390.08
gc cr grant 2-way13,739030.190.020.07
ges lms sync during dynamic remastering and reconfig123100217.770.000.06
KSV master wait2,5988220.660.000.05
db file scattered read670022.530.000.05
LogMiner reader: buffer1,309521.230.000.05
latch free2,150010.680.000.04
CSS initialization380132.010.000.03
PX Deq: reap credit201,49610010.010.240.03
Redo Transport Open220139.240.000.02
gc current block 2-way2,719010.310.000.02
gcs drm freeze in enter server mode180145.330.000.02
os thread creation179014.530.000.02
Disk file operations I/O1,919010.390.000.02
ges generic event1338151.930.000.02
reliable message1,318010.480.000.02
enq: CO - master slave det1,18110000.420.000.01
enq: XR - database force logging1,179000.380.000.01
enq: PS - contention1,1262700.380.000.01
change tracking file synchronous read99004.240.000.01
CGS wait for IPC msg54,58310000.010.060.01
gc cr multi block request595000.610.000.01
DFS lock handle8749900.410.000.01
gcs log flush sync132202.510.000.01
direct path read40007.940.000.01
CSS operation: data query163001.800.000.01
PX Deq: Slave Join Frag2,078000.130.000.01
enq: IV - contention823100.280.000.01
kfk: async disk IO36006.400.000.01
db file parallel read61003.540.000.01
IPC send completion sync1,647000.130.000.01
gc cr block 2-way640000.330.000.01
LGWR wait for redo copy12,039000.020.010.01
log file single write22008.440.000.01
direct path write146001.230.000.01
cursor: pin S165001.050.000.00
gc cr disk read941000.170.000.00
enq: RO - fast object reuse483000.340.000.00
log file switch completion20079.670.000.00
PX Deq: Slave Session Stats1,640000.090.000.00
enq: FB - contention394000.390.000.00
libcache interrupt action by LCK24,139000.010.030.00
row cache lock556000.270.000.00
direct path write temp181000.710.000.00
row cache process37,786000.000.040.00
enq: TX - index contention15006.960.000.00
Data file init write95001.080.000.00
PX Deq: Signal ACK EXT1,640000.060.000.00
change tracking file synchronous write63001.520.000.00
gc current block busy78001.120.000.00
ges inquiry response289000.290.000.00
name-service call wait10081.430.000.00
library cache: mutex X1,142000.070.000.00
enq: TM - contention8009.070.000.00
CSS operation: data update109000.630.000.00
enq: CF - contention1526200.400.000.00
CSS operation: action108000.500.000.00
enq: KO - fast object checkpoint207000.250.000.00
undo segment extension810005.010.000.00
rdbms ipc reply10039.100.000.00
ADR block file read16002.060.000.00
gc buffer busy acquire45000.710.000.00
row cache cleanup28,277000.000.030.00
log file sync15001.760.000.00
gc current multi block request55000.410.000.00
db file async I/O submit36,851000.000.040.00
gc cr block busy13001.410.000.00
CSS operation: query114000.130.000.00
library cache lock42200.340.000.00
ges LMON to get to FTDONE10014.220.000.00
gc buffer busy release4003.330.000.00
buffer busy waits441000.030.000.00
KJC: Wait for msg sends to complete36000.340.000.00
library cache pin47000.250.000.00
read by other session21000.510.000.00
enq: MN - contention6001.710.000.00
enq: TA - contention20000.440.000.00
wait for scn ack2004.110.000.00
enq: WF - contention22000.350.000.00
enq: HW - contention16000.380.000.00
ADR block file write5000.960.000.00
enq: TD - KTF dump entries11000.380.000.00
enq: CT - local space management16000.220.000.00
gc current grant congested1003.270.000.00
enq: CT - global space management8000.380.000.00
enq: WL - contention710000.380.000.00
GCR CSS group query109000.020.000.00
enq: DW - contention710000.330.000.00
latch: object queue header operation58000.040.000.00
enq: WR - contention510000.390.000.00
gc cr block congested1001.970.000.00
get branch/thread/sequence enqueue21000.080.000.00
latch: ges resource hash list85000.020.000.00
enq: CR - block range reuse ckpt3000.530.000.00
enq: US - contention3000.440.000.00
enq: WT - contention4000.310.000.00
latch: cache buffers lru chain18000.070.000.00
PX Idle Wait2,0790455,618219152.560.00 
rdbms ipc message2,776,3554137,92049.683.25 
Space Manager: slave idle wait35,526099,4592799.610.04 
class slave wait1,061,88310021,28720.051.24 
gcs remote message2,396,013710,5764.412.81 
Streams AQ: qmn slave idle wait25407,11228000.380.00 
wait for unread message on broadcast channel1,8931007,1043752.690.00 
ges remote message142,451457,09949.840.17 
LogMiner preparer: idle34,313797,090206.640.04 
GCR sleep25,28877,080279.960.03 
DIAG idle wait53,238747,071132.810.06 
LGWR worker group idle2206,677303483.730.00 
REPL Capture/Apply: RAC AQ qmn coordinator481003,60775150.170.00 
Streams AQ: qmn coordinator idle wait257493,55613836.760.00 
lreg timer1,1841003,5533000.470.00 
pmon timer1,1841003,5523000.030.00 
heartbeat redo informer40,75303,55287.160.05 
smon timer1,47003,5512415.960.00 
ASM background timer3,38903,5501047.610.00 
Streams AQ: load balancer idle70903,5485004.350.00 
PING1,513183,5472344.040.00 
dispatcher timer591003,54060000.840.00 
AQPC idle1181003,54030000.290.00 
REPL Capture/Apply: messages11,655913,523302.320.01 
LogMiner reader: redo (idle)7,0241003,512500.040.01 
LogMiner builder: idle136,572163,49725.600.16 
LNS ASYNC end of log745,36602,8993.890.87 
PX Deq: Execute Reply1,63901710.670.00 
PX Deq: Join ACK3,276020.490.00 
SQL*Net message from client364013.120.00 
PX Deq: Parse Reply1,638010.540.00 
PX Deq Credit: send blkd386000.290.00 


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 read1681.3 6.3 6.36.3  
ADR block file write580.020.0      
ADR file lock6100.0       
ASM background starting10100.0       
ASM file metadata operation470597.8.8.3.1.3.2.5 
CGS wait for IPC msg54.6K100.0       
CSS initialization6850.0  1.516.24.427.9 
CSS operation: action13897.82.2      
CSS operation: data query16373.621.53.7   1.2 
CSS operation: data update109100.0       
CSS operation: query204100.0       
DFS lock handle128299.5.3  .1 .1 
Data Guard server operation completion111.5K.0.0.0.198.7.01.1 
Data file init write9554.731.613.7     
Disk file operations I/O280799.2.3.0 .0.1.3 
GCR CSS group query109100.0       
GCR CSS group update109100.0       
IPC send completion sync4852100.0.0 .0    
KJC: Wait for msg sends to complete45995.9.7.71.51.3   
KSV master wait266998.1.8.3 .3.1.4 
LGWR all worker groups11100.0       
LGWR wait for redo copy12K99.9.0.0.0.0   
Log archive I/O8136.213.924.631.217.66.2.4 
LogMiner reader: buffer130984.92.83.42.85.7.3.1 
PX Deq: Signal ACK EXT275898.71.0.3     
PX Deq: Slave Join Frag2070100.0.0      
PX Deq: Slave Session Stats482899.2.8.1     
PX Deq: reap credit222.4K100.0       
PX qref latch24100.0       
REPL Apply: dependency105K.6.4.81.696.6.0  
REPL Capture/Apply: miscellaneous4529.1  .2 50.732.57.5
RFS dispatch61100.0       
RFS ping61    80.319.7  
RFS random i/o2584.08.04.04.0    
RFS write210.9K100.0       
Redo Transport Open2250.0    22.727.3 
SQL*Net break/reset to client4893.82.12.12.1    
SQL*Net message from dblink27694.21.8.7  1.12.2 
SQL*Net message to client42.4K100.0       
SQL*Net message to dblink272100.0       
SQL*Net more data from client83.8K95.34.4.1.0.0.0.0.1
SQL*Net more data from dblink10.7K99.9.0.0.0.0   
SQL*Net more data to client472.7K99.0.8.2.0.0.0.0 
SQL*Net vector data from client212.2K99.7.0.0.0.0.1.1 
SecureFile mutex3100.0       
asynch descriptor resize550100.0       
buffer busy waits518100.0       
buffer deadlock28100.0       
change tracking file synchronous read9946.51.033.313.13.0 3.0 
change tracking file synchronous write6374.612.76.31.63.21.6  
control file parallel write235691.93.41.51.1.7.6.8 
control file sequential read34.3K95.71.81.1.5.2.2.4 
cursor: mutex X1100.0       
cursor: pin S20682.517.5      
db file async I/O submit36.8K100.0       
db file parallel read719067.116.07.93.92.2.62.4 
db file parallel write84.1K96.81.5.7.4.2.1.3 
db file scattered read270K86.16.94.81.2.5.1.5 
db file sequential read1.7M96.32.2.6.4.2.1.2 
db file single write1100.0       
direct path read86.3K34.920.130.49.43.2.51.6 
direct path read temp123.8K85.510.11.8.9.7.2.8 
direct path write63536.17.45.79.37.612.621.4 
direct path write temp45.6K81.511.42.31.4.9.71.8 
enq: AF - task serialization1100.0       
enq: CF - contention22499.6 .4     
enq: CO - master slave det118299.6.3  .1   
enq: CR - block range reuse ckpt4264.321.47.12.4  4.8 
enq: CT - global space management8100.0       
enq: CT - local space management16100.0       
enq: DL - contention8100.0       
enq: DR - contention2100.0       
enq: DW - contention7100.0       
enq: FB - contention497100.0       
enq: FD - Flashback logical operations1100.0       
enq: HW - contention66100.0       
enq: IV - contention314798.8.9.3     
enq: JS - job run lock - synchronize25100.0       
enq: KO - fast object checkpoint929899.6.1.1.2.1.0.0 
enq: MN - contention650.016.716.716.7    
enq: MV - datafile move1100.0       
enq: MW - contention2100.0       
enq: PS - contention240299.8.2.0     
enq: RA - RT ADDM flood control1100.0       
enq: RO - fast object reuse68795.61.22.0.9 .3  
enq: TA - contention2095.05.0      
enq: TD - KTF dump entries11100.0       
enq: TM - contention3994.9   2.6 2.6 
enq: TO - contention20100.0       
enq: TS - contention61100.0       
enq: TT - contention2100.0       
enq: TX - index contention1553.313.36.713.3  13.3 
enq: US - contention3100.0       
enq: WF - contention22100.0       
enq: WL - contention7100.0       
enq: WR - contention5100.0       
enq: WT - contention4100.0       
enq: XR - database force logging117999.8.2      
enq: ZH - compression analysis70100.0       
gc buffer busy acquire368.4K97.71.6.3.2.1.0.1 
gc buffer busy release2195.24.8      
gc cr block 2-way134899.9.1      
gc cr block busy21628.266.23.7 1.9   
gc cr block congested1 100.0      
gc cr disk read98199.9.1      
gc cr grant 2-way203.3K99.8.1.0.0.0.0  
gc cr grant congested40 35.060.05.0    
gc cr multi block request157.6K98.7.8.5.0.0.0.0 
gc current block 2-way125.9K99.8.2.0.0.0.0  
gc current block busy8574.122.42.4 1.2   
gc current block congested2 50.050.0     
gc current grant 2-way56.1K99.9.1.0.0.0.0  
gc current grant busy955699.6.3.0.0.0.0  
gc current grant congested2 50.050.0     
gc current multi block request104299.6.4      
gcs drm freeze in enter server mode19 5.3  10.521.163.2 
gcs log flush sync12772.411.07.13.93.12.4  
ges LMON to get to FTDONE1    100.0   
ges generic event1323.17.7 7.7 15.446.2 
ges inquiry response350100.0       
ges lms sync during dynamic remastering and reconfig123    48.048.83.3 
get branch/thread/sequence enqueue21100.0       
global enqueue expand wait1100.0       
kfk: async disk IO3663.92.82.82.816.75.65.6 
ksxr poll remote instances331.3K100.0       
latch free649291.38.7  .0 .0 
latch: cache buffers chains318.9K100.0       
latch: cache buffers lru chain20100.0       
latch: enqueue hash chains2100.0       
latch: gc element224100.0       
latch: gcs resource hash475.025.0      
latch: ges resource hash list85100.0       
latch: messages3100.0       
latch: object queue header operation58100.0       
latch: redo allocation5100.0       
latch: row cache objects1100.0       
latch: shared pool25100.0       
libcache interrupt action by LCK24.2K100.0       
library cache lock37899.7.3      
library cache pin357100.0       
library cache: mutex X125499.4   .6   
log file parallel write844.6K95.61.11.9.9.2.1.2 
log file sequential read40.1K30.73.227.914.213.66.24.3 
log file single write2295.5     4.5 
log file switch completion16 12.56.318.812.518.831.3 
log file sync8356.615.79.62.44.84.86.0 
name-service call wait714.3   14.314.357.1 
oracle thread bootstrap180     80.020.0 
os thread creation180  45.653.9  .6 
rdbms ipc reply273999.7.2  .0 .0 
read by other session410.5K95.92.5.7.5.2.1.2 
reliable message147.5K97.51.8.3.2.1.0.0 
row cache cleanup28.4K100.0       
row cache lock306699.9.1.0     
row cache process37.9K100.0       
undo segment extension1145.5   45.59.1  
wait for scn ack2 50.0 50.0    
AQPC idle118       100.0
ASM background timer33894.3.5.819.8.5.522.551.2
DIAG idle wait53.2K22.11.14.22.9.73.965.0 
GCR sleep25.3K      93.07.0
LGWR worker group idle14       100.0
LNS ASYNC end of log745.4K35.052.310.31.2.4.2.6 
LogMiner builder: idle136.6K79.0.2.2.43.13.114.0.0
LogMiner client: transaction12.8K15.92.44.35.03.21.667.7 
LogMiner preparer: idle34.3K3.2.7.5.516.012.962.44.0
LogMiner reader: redo (idle)7023      100.0 
PING151380.0  .1.31.3.118.2
PX Deq Credit: send blkd42696.52.31.2     
PX Deq: Execute Reply276472.93.313.76.21.1.22.6 
PX Deq: Execution Msg620272.322.93.0.9.7.1.2 
PX Deq: Join ACK551685.614.2.1.0.1   
PX Deq: Msg Fragment73699.2.8      
PX Deq: Parse Reply275893.04.91.1.7.4 .0 
PX Idle Wait207012.620.04.33.03.61.012.942.6
REPL Capture/Apply: RAC AQ qmn coordinator48       100.0
REPL Capture/Apply: messages11.7K.4.0.0.136.4.362.7 
SQL*Net message from client42.5K21.714.528.74.8.8.424.44.7
SQL*Net vector message from client533.2K89.2.4.71.21.82.34.5 
Space Manager: slave idle wait34.6K1.9.6  .0 2.095.4
Streams AQ: load balancer idle709       100.0
Streams AQ: qmn coordinator idle wait25750.6      49.4
Streams AQ: qmn slave idle wait241       100.0
class slave wait1.1M.1.0.0.099.9.0.0.0
dispatcher timer59       100.0
gcs remote message2.4M40.226.711.67.75.38.6.0 
ges remote message142.5K36.55.03.51.92.21.949.0 
heartbeat redo informer40.7K.1.1.1.21.9.696.9 
jobq slave wait3111.0     100.0 
lreg timer1184       100.0
pmon timer1184       100.0
rdbms ipc message2.8M65.712.63.22.78.02.64.21.0
single-task message5     20.080.0 
smon timer146713.4.3  .2 4.481.7
wait for unread message on broadcast channel1893       100.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
ASM file metadata operation2299.5.0.1.3 .0  
CSS initialization1972.122.15.9     
CSS operation: data query298.8 1.2     
DFS lock handle199.9.1      
Data Guard server operation completion127198.9.01.1  .0  
Disk file operations I/O999.7.2.1.0    
KSV master wait1199.6 .3.1    
Log archive I/O399.6.1.1.1    
LogMiner reader: buffer199.9.1      
REPL Capture/Apply: miscellaneous18160.014.44.94.94.63.87.5 
Redo Transport Open672.718.2 4.54.5   
SQL*Net message from dblink697.81.8.4     
SQL*Net more data from client6199.9.0   .0.0.1
SQL*Net more data to client1100.0 .0     
SQL*Net vector data from client30799.9.1.0.0.0   
change tracking file synchronous read397.02.01.0     
control file parallel write1899.2.6.2     
control file sequential read14999.6.3.1.0    
db file parallel read17197.61.6.7.1.0   
db file parallel write25399.7.2.1.0    
db file scattered read128399.5.3.2.0    
db file sequential read386899.8.2.0.0.0.0  
direct path read137398.4.9.6.1.0   
direct path read temp105099.2.5.3.0    
direct path write13678.617.03.3.9.2   
direct path write temp80198.21.3.3.1.0   
enq: CR - block range reuse ckpt295.22.42.4     
enq: KO - fast object checkpoint2100.0 .0     
enq: TM - contention197.4 2.6     
enq: TX - index contention286.713.3      
gc buffer busy acquire23599.9.0.0.0.0   
gc cr multi block request1100.0  .0    
gcs drm freeze in enter server mode1236.836.826.3     
ges generic event653.8 46.2     
ges lms sync during dynamic remastering and reconfig496.72.4.8     
kfk: async disk IO294.45.6      
latch free1100.0 .0     
log file parallel write172599.8.2.0.0.0   
log file sequential read171195.72.71.2.3.1.0  
log file single write195.5  4.5    
log file switch completion568.825.0 6.3    
log file sync594.04.81.2     
name-service call wait442.9 57.1     
oracle thread bootstrap3680.017.8.61.1.6   
os thread creation199.4.6      
rdbms ipc reply1100.0.0      
read by other session66199.8.1.0.0.0   
reliable message49100.0.0.0.0.0   


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
SQL*Net more data from client6199.9.1      


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)
dware14,1651,9814,248268,212
SYS$USERS3,7592,23610,302193,760
SYS$BACKGROUND484818194
dware1XDB0000


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
dware1 72428662931959350069258151
SYS$USERS 19089871542110613104110129028276
SYS$BACKGROUND 10824102494100000


Back to Wait Events Statistics
Back to Top

SQL Statistics

Back to Top

SQL ordered by Elapsed Time

Elapsed Time (s)Executions Elapsed Time per Exec (s) %Total%CPU%IO SQL IdSQL ModuleSQL Text
1,485.672742.8418.6368.7731.2052k94azm1ak0j SQL*Plus BEGIN generate_order_report; E...
788.151788.159.8888.8511.225mqbcmukamhhb tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT (CASE WHEN (("INV STOCK...
679.436113.248.5255.7641.16528xrg7y3jjrm SQL*Plus create table TB_MT_
346.91845,0910.004.3513.1387.970hmpf40s6xpvh SQL*Plus SELECT STATUS_V, EXECUTION_DAT...
343.561343.564.3154.3230.906fchhyp65szsc tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT "Custom SQL Query"."SOU...
343.421343.424.3154.3630.22gavdwsru7d7k2 tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT "Custom SQL Query"."ACT...
343.211343.214.3054.2130.971f5zh4bk6acp0 tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT "Custom SQL Query"."TIC...
341.231341.234.2855.0629.92gb82hrngtp4q6 tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT "Custom SQL Query"."CAT...
332.371332.374.1780.4918.923dc55aym0ddb4 SQL*Plus create table TB_MT_
220.48892.482.7696.852.385aagfw36gdgdn oracle@RHIS-TABLEAU-03.mtg.local (TNS V1-V3) SELECT "A1"."ACCOUNT_CODE_N", ...
156.73305.221.9719.3584.624t4krwb55gsms GoldenGate INSERT /*+ restrict_all_ref_c...
124.59304.151.5697.930.81dfffkcnqfystw MMON_SLAVE WITH MONITOR_DATA AS (SELECT I...
102.94816,4490.001.2995.514.4813f6nhzb16cbx SQL*Plus INSERT INTO CBS_ORDER_REPORT (...
99.95323.121.2597.041.06fhf8upax5cxsz MMON_SLAVE BEGIN sys.dbms_auto_report_int...
99.14303.301.2497.331.040w26sk6t6gq98 MMON_SLAVE SELECT XMLTYPE(DBMS_REPORT.GET...
97.05651.491.2217.8387.00bn8y4pm7dzva4 GoldenGate INSERT /*+ restrict_all_ref_c...
84.27184.271.0631.4168.8612qx9k6v2zxx3 SQL*Plus create table MT_TS_O


Back to SQL Statistics
Back to Top

SQL ordered by CPU Time

CPU Time (s)Executions CPU per Exec (s)%TotalElapsed Time (s)%CPU%IO SQL IdSQL ModuleSQL Text
1,021.762510.8823.951,485.6768.7731.2052k94azm1ak0j SQL*Plus BEGIN generate_order_report; E...
700.301700.3016.42788.1588.8511.225mqbcmukamhhb tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT (CASE WHEN (("INV STOCK...
378.87663.148.88679.4355.7641.16528xrg7y3jjrm SQL*Plus create table TB_MT_
267.511267.516.27332.3780.4918.923dc55aym0ddb4 SQL*Plus create table TB_MT_
213.54892.405.01220.4896.852.385aagfw36gdgdn oracle@RHIS-TABLEAU-03.mtg.local (TNS V1-V3) SELECT "A1"."ACCOUNT_CODE_N", ...
187.871187.874.40341.2355.0629.92gb82hrngtp4q6 tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT "Custom SQL Query"."CAT...
186.691186.694.38343.4254.3630.22gavdwsru7d7k2 tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT "Custom SQL Query"."ACT...
186.621186.624.37343.5654.3230.906fchhyp65szsc tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT "Custom SQL Query"."SOU...
186.041186.044.36343.2154.2130.971f5zh4bk6acp0 tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT "Custom SQL Query"."TIC...
122.01304.072.86124.5997.930.81dfffkcnqfystw MMON_SLAVE WITH MONITOR_DATA AS (SELECT I...
98.32816,4490.002.30102.9495.514.4813f6nhzb16cbx SQL*Plus INSERT INTO CBS_ORDER_REPORT (...
96.99323.032.2799.9597.041.06fhf8upax5cxsz MMON_SLAVE BEGIN sys.dbms_auto_report_int...
96.49303.222.2699.1497.331.040w26sk6t6gq98 MMON_SLAVE SELECT XMLTYPE(DBMS_REPORT.GET...
58.34158.341.3760.2996.762.664yh0w358z9gvt tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT "Custom SQL Query"."ACC...
50.37150.371.1852.7095.584.390g319xmz2cm35 tabprotosrv@RH-TABLEAU-04.mtg.local (TNS V1-V3) SELECT ((TO_NUMBER(TO_CHAR(TRU...
45.56845,0910.001.07346.9113.1387.970hmpf40s6xpvh SQL*Plus SELECT STATUS_V, EXECUTION_DAT...


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
463.512231.7521.181,485.6768.7731.2052k94azm1ak0j SQL*Plus BEGIN generate_order_report; E...
305.16845,0910.0013.95346.9113.1387.970hmpf40s6xpvh SQL*Plus SELECT STATUS_V, EXECUTION_DAT...
279.62646.6012.78679.4355.7641.16528xrg7y3jjrm SQL*Plus create table TB_MT_
132.63304.426.06156.7319.3584.624t4krwb55gsms GoldenGate INSERT /*+ restrict_all_ref_c...
106.291106.294.86343.2154.2130.971f5zh4bk6acp0 tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT "Custom SQL Query"."TIC...
106.171106.174.85343.5654.3230.906fchhyp65szsc tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT "Custom SQL Query"."SOU...
103.781103.784.74343.4254.3630.22gavdwsru7d7k2 tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT "Custom SQL Query"."ACT...
102.111102.114.67341.2355.0629.92gb82hrngtp4q6 tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT "Custom SQL Query"."CAT...
88.43188.434.04788.1588.8511.225mqbcmukamhhb tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT (CASE WHEN (("INV STOCK...
84.43651.303.8697.0517.8387.00bn8y4pm7dzva4 GoldenGate INSERT /*+ restrict_all_ref_c...
62.89162.892.87332.3780.4918.923dc55aym0ddb4 SQL*Plus create table TB_MT_
58.02158.022.6584.2731.4168.8612qx9k6v2zxx3 SQL*Plus create table MT_TS_O
37.76870.431.7345.5122.8582.951b43yj69y93wy GoldenGate UPDATE /*+ restrict_all_ref_c...
36.94140,6830.001.6948.1125.2176.77gcn3gu56qu7r9 SQL*Plus SELECT COUNT(1) FROM CBSOGG.CB...
35.46135.461.6252.7426.2567.233vj9g451n6xwr SQL*Plus insert into TB_MT_TT_PEND_HIST...
34.52221.571.5842.4624.7881.3287u32wt5scu7n GoldenGate INSERT /*+ restrict_all_ref_c...
26.32831,6270.001.2040.2937.7665.34gymnsx3hbf2xy SQL*Plus SELECT NETWORK_ELEMENT_V, LOCA...


Back to SQL Statistics
Back to Top

SQL ordered by Gets

Buffer Gets ExecutionsGets per Exec %TotalElapsed Time (s) %CPU %IO SQL IdSQL ModuleSQL Text
86,035,801243,017,900.5018.611,485.6768.831.252k94azm1ak0j SQL*Plus BEGIN generate_order_report; E...
75,009,743612,501,623.8316.23679.4355.841.2528xrg7y3jjrm SQL*Plus create table TB_MT_
60,100,752160,100,752.0013.00343.5654.330.96fchhyp65szsc tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT "Custom SQL Query"."SOU...
60,100,732160,100,732.0013.00343.2154.2311f5zh4bk6acp0 tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT "Custom SQL Query"."TIC...
60,099,234160,099,234.0013.00343.4254.430.2gavdwsru7d7k2 tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT "Custom SQL Query"."ACT...
59,962,281159,962,281.0012.97341.2355.129.9gb82hrngtp4q6 tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT "Custom SQL Query"."CAT...
15,430,215115,430,215.003.34332.3780.518.93dc55aym0ddb4 SQL*Plus create table TB_MT_
12,156,564112,156,564.002.6360.2996.82.74yh0w358z9gvt tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT "Custom SQL Query"."ACC...
8,788,749816,44910.761.90102.9495.54.513f6nhzb16cbx SQL*Plus INSERT INTO CBS_ORDER_REPORT (...
8,029,96124,014,980.501.7446.1085.314avdp76f7hk0bq SQL*Plus DELETE CBS_ORDER_REPORT
6,652,492831,6278.001.4429.8892.27.36t38f117sqpjj SQL*Plus SELECT CASE WHEN STATUS_CODE_V...
5,078,836816,4536.221.1021.2996.63.4cwr268sbr4vk5 SQL*Plus SELECT DISPLAY_DESCRIPTION_V F...


Back to SQL Statistics
Back to Top

SQL ordered by Reads

Physical ReadsExecutionsReads per Exec %TotalElapsed Time (s)%CPU%IO SQL IdSQL ModuleSQL Text
1,721,9146286,985.6711.80679.4355.7641.16528xrg7y3jjrm SQL*Plus create table TB_MT_
1,026,27911,026,279.007.0484.2731.4168.8612qx9k6v2zxx3 SQL*Plus create table MT_TS_O
997,0301997,030.006.83788.1588.8511.225mqbcmukamhhb tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT (CASE WHEN (("INV STOCK...
795,9772397,988.505.461,485.6768.7731.2052k94azm1ak0j SQL*Plus BEGIN generate_order_report; E...
658,9041658,904.004.52332.3780.4918.923dc55aym0ddb4 SQL*Plus create table TB_MT_
396,238845,0910.472.72346.9113.1387.970hmpf40s6xpvh SQL*Plus SELECT STATUS_V, EXECUTION_DAT...
374,1181374,118.002.5652.7426.2567.233vj9g451n6xwr SQL*Plus insert into TB_MT_TT_PEND_HIST...
346,2791346,279.002.3742.7470.7129.47835jgtn27ta1j SQL*Plus create table TB_MT_T
231,046892,596.021.58220.4896.852.385aagfw36gdgdn oracle@RHIS-TABLEAU-03.mtg.local (TNS V1-V3) SELECT "A1"."ACCOUNT_CODE_N", ...
219,8491219,849.001.5133.5571.5528.650m6gg6gzr2swy SQL*Plus create table TB_TT_C
191,0171191,017.001.3152.7095.584.390g319xmz2cm35 tabprotosrv@RH-TABLEAU-04.mtg.local (TNS V1-V3) SELECT ((TO_NUMBER(TO_CHAR(TRU...
187,3011187,301.001.2836.5777.8822.1886x2ztzd4hkhn SQL*Plus create table TB_TT_G
185,198292,599.001.2735.1968.0932.06dk5x86qv8nbrd SQL*Plus SELECT A.* FROM CBSOGG.CB_SUBS...
180,701306,023.371.24156.7319.3584.624t4krwb55gsms GoldenGate INSERT /*+ restrict_all_ref_c...
159,2641159,264.001.09343.2154.2130.971f5zh4bk6acp0 tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT "Custom SQL Query"."TIC...
156,206652,403.171.0797.0517.8387.00bn8y4pm7dzva4 GoldenGate INSERT /*+ restrict_all_ref_c...
154,2031154,203.001.06343.5654.3230.906fchhyp65szsc tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT "Custom SQL Query"."SOU...


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
615,295615,2952307,647.500.0025.3052k94azm1ak0j SQL*Plus BEGIN generate_order_report; E...
396,245396,245845,0910.470.0016.290hmpf40s6xpvh SQL*Plus SELECT STATUS_V, EXECUTION_DAT...
60,14160,141160,141.000.002.471f5zh4bk6acp0 tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT "Custom SQL Query"."TIC...
54,66654,666154,666.000.002.256fchhyp65szsc tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT "Custom SQL Query"."SOU...
52,00152,001152,001.000.002.143vj9g451n6xwr SQL*Plus insert into TB_MT_TT_PEND_HIST...
48,45748,457148,457.000.001.99gb82hrngtp4q6 tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT "Custom SQL Query"."CAT...
43,81443,814143,814.000.001.80gavdwsru7d7k2 tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT "Custom SQL Query"."ACT...
37,99337,993831,6270.050.001.56gymnsx3hbf2xy SQL*Plus SELECT NETWORK_ELEMENT_V, LOCA...
30,37730,3770 0.001.250ctmguuvf24vp tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT SUBSTR("Custom SQL Quer...
12,61712,617112,617.000.000.52835jgtn27ta1j SQL*Plus create table TB_MT_T


Back to SQL Statistics
Back to Top

SQL ordered by Executions

Executions Rows ProcessedRows per ExecElapsed Time (s) %CPU %IO SQL IdSQL ModuleSQL Text
1,513,3321,298,1960.8620.50100.100wpkk7t4wuzyy SQL*Plus SELECT SUB_SERVICE_DESC_V FROM...
865,929642,0740.7445.5968.530.4f9hcz8j9zwhrh SQL*Plus SELECT SERVICE_REQ_ID_V FROM C...
845,091601,7980.71346.9113.1880hmpf40s6xpvh SQL*Plus SELECT STATUS_V, EXECUTION_DAT...
831,627783,9500.9429.8892.27.36t38f117sqpjj SQL*Plus SELECT CASE WHEN STATUS_CODE_V...
831,627831,6271.0040.2937.865.3gymnsx3hbf2xy SQL*Plus SELECT NETWORK_ELEMENT_V, LOCA...
816,453657,6280.8121.2996.63.4cwr268sbr4vk5 SQL*Plus SELECT DISPLAY_DESCRIPTION_V F...
816,449816,4491.00102.9495.54.513f6nhzb16cbx SQL*Plus INSERT INTO CBS_ORDER_REPORT (...
140,683140,6831.0048.1125.276.8gcn3gu56qu7r9 SQL*Plus SELECT COUNT(1) FROM CBSOGG.CB...
54,66854,6681.000.84100.16795mu6bwn2z6 SQL*Plus SELECT DETAIL_DESCRIPTION_V FR...
22,80622,8061.000.39100.20dp950ydwaah3a SQL*Plus SELECT PACKAGE_CODE_V FROM CBS...


Back to SQL Statistics
Back to Top

SQL ordered by Parse Calls

Parse CallsExecutions % Total Parses SQL IdSQL ModuleSQL Text
1,318,0971,513,33291.950wpkk7t4wuzyy SQL*Plus SELECT SUB_SERVICE_DESC_V FROM...
46,91154,6683.276795mu6bwn2z6 SQL*Plus SELECT DETAIL_DESCRIPTION_V FR...
6,08222,8060.42dp950ydwaah3a SQL*Plus SELECT PACKAGE_CODE_V FROM CBS...
3,8673,8670.27bjwxsk192yrzv   INSERT INTO SYSTEM.LOGMNR_DICT...
3,8663,8660.270fwgf46fun8jx   DELETE SYSTEM.LOGMNR_DICTSTATE...
3,8663,8660.270na0jhwrs24wr   DECLARE KRVX_STATUS_DICT_INTER...
3,8663,8660.27gcqvrzzs3jqd0   DECLARE logmnr_uid NUMBER := :...
3,8633,8630.2734qs1bh59x7x4   SELECT COUNT(*) FROM SYSTEM.LO...
3,8623,8620.274sz71uuntd828   UPDATE SYSTEM.LOGMNR_OBJ$ X SE...
3,8613,8610.276287bu7gaqpn6   INSERT INTO SYSTEM.LOGMNRT_MDD...


Back to SQL Statistics
Back to Top

SQL ordered by Sharable Memory

Sharable Mem (b)Executions % Total SQL IdSQL ModuleSQL Text
181,187,348302.43dfffkcnqfystw MMON_SLAVE WITH MONITOR_DATA AS (SELECT I...
67,283,61010.903dc55aym0ddb4 SQL*Plus create table TB_MT_
39,370,02460.53528xrg7y3jjrm SQL*Plus create table TB_MT_
31,774,448 0.430zk1h5p82umh3   create table TB_TT_G
14,615,46410.20dmhzq6rk3ppnx   SELECT SEGCOL#, INTCOL#, COL#,...
11,970,77500.164kvhga64b6wah MMON_SLAVE WITH binds as (select :dbid as...
11,093,05410.1512qx9k6v2zxx3 SQL*Plus create table MT_TS_O
9,363,497110.13g22f2h8s9vfrz   select nvl2(stale_stats, decod...
8,116,269290.118mdz49zkajhw3 MMON_SLAVE SELECT /*+ OPT_PARAM('_fix_con...
7,885,89400.110vcs754gpmxrc MMON_SLAVE WITH binds as (select :dbid as...
7,527,976 0.10616m6uhpa2usu    
7,448,241130.1001d5n1nm17r2h   select nvl2(stale_stats, decod...
6,183,644590.08a6ygk0r9s5xuj   SELECT A.JOB_NAME, ( CASE A.ST...
3,829,8157720.05bb926a5dcb8kr   merge into sys.mon_mods$ m usi...
3,823,4561460.0586kwhy1f0bttn oraagent.bin@dware1 (TNS V1-V3) SELECT /*+ ALL_ROWS */ COUNT(*...
3,600,760 0.05f5pn6f46sqyh4   CREATE TABLE request
3,545,4541,0100.056qg99cfg26kwb SQL*Plus SELECT COUNT(UNQ) UNQ, COUNT(P...
3,164,547530.04622ufbrgvxdc7   select decode(u.type#, 2, u.ex...
3,147,68210.046wm3n4d7bnddg   SELECT source, (case when tim...
3,089,845690.047fwum1yuknrsh   select t.ts#, t.file#, t.block...
2,583,175310.03bwqq7u3mzctv7 SQL*Plus SELECT /*+ ordered index(u) in...
2,546,912580.039ddxxas8hu8sv   select count(*) from ( select ...
2,462,53520.0369k5bhm12sz98   SELECT dbin.instance_number, d...
2,253,9422840.031p5grz1gs7fjq   select obj#, type#, ctime, mti...
2,189,747700.0314d7z6mh1sxuz   select name, intcol#, segcol#,...
2,001,89310.0361tn3mam0vq0b   SELECT source, (case when tim...
1,918,4611040.038zc85a8249x81   update obj$ set obj#=:4, type#...
1,633,63810.020mr16zpd2ggra SQL*Plus CREATE TABLE CBS_ORD
1,586,73410.0242npsww0tc3ks SQL*Plus CREATE TABLE CBS_ORD
1,462,368810.02frjd8zfy2jfdq oraagent.bin@dware1 (TNS V1-V3) SELECT executions, end_of_fetc...
1,426,4299920.02ghjk279rcm16p GoldenGate UPDATE SYS.STREAMS$_APPLY_MILE...
1,308,619770.025n1fs4m2n2y0r   select pos#, intcol#, col#, sp...
1,223,688690.02gd28w82ct6rva   select audit$ from tab$ where ...
1,143,583380.02cusp9gtyj36y5   select /*+ index(do) */ dir_cn...
1,070,2661560.017jpt4cpfvcy1k   select ts#, online$ from ts$ w...


Back to SQL Statistics
Back to Top

SQL ordered by Version Count

Version Count Executions SQL IdSQL ModuleSQL Text
881 0zk1h5p82umh3   create table TB_TT_G
357 f5pn6f46sqyh4   CREATE TABLE request
245 616m6uhpa2usu    
18230dfffkcnqfystw MMON_SLAVE WITH MONITOR_DATA AS (SELECT I...
1606528xrg7y3jjrm SQL*Plus create table TB_MT_
148697fwum1yuknrsh   select t.ts#, t.file#, t.block...
1327014d7z6mh1sxuz   select name, intcol#, segcol#,...
127269k5bhm12sz98   SELECT dbin.instance_number, d...
11869gd28w82ct6rva   select audit$ from tab$ where ...
10738cusp9gtyj36y5   select /*+ index(do) */ dir_cn...
1032841p5grz1gs7fjq   select obj#, type#, ctime, mti...
10231bwqq7u3mzctv7 SQL*Plus SELECT /*+ ordered index(u) in...
101775n1fs4m2n2y0r   select pos#, intcol#, col#, sp...
9816wm3n4d7bnddg   SELECT source, (case when tim...
9553622ufbrgvxdc7   select decode(u.type#, 2, u.ex...
95263t3ufgq37m0c   SELECT instance_number, instan...
9114686kwhy1f0bttn oraagent.bin@dware1 (TNS V1-V3) SELECT /*+ ALL_ROWS */ COUNT(*...
8718p9z2ztb272bm   SELECT sx.instance_number, sx...
861,0106qg99cfg26kwb SQL*Plus SELECT COUNT(UNQ) UNQ, COUNT(P...
82589ddxxas8hu8sv   select count(*) from ( select ...
822akh9zqqkx3wj7   select 1, max(id) from sys.wri...
81161tn3mam0vq0b   SELECT source, (case when tim...
80789dzjush42kmfs SQL*Plus select spare4 from sys.optstat...
734,72047r1y8yn34jmj   select default$ from col$ wher...
721567jpt4cpfvcy1k   select ts#, online$ from ts$ w...
7013dc55aym0ddb4 SQL*Plus create table TB_MT_
701048zc85a8249x81   update obj$ set obj#=:4, type#...
69992ghjk279rcm16p GoldenGate UPDATE SYS.STREAMS$_APPLY_MILE...
66772bb926a5dcb8kr   merge into sys.mon_mods$ m usi...
5411g22f2h8s9vfrz   select nvl2(stale_stats, decod...
465703c1kubcdjnppq   update sys.col_usage$ set equa...
4581frjd8zfy2jfdq oraagent.bin@dware1 (TNS V1-V3) SELECT executions, end_of_fetc...
42112qx9k6v2zxx3 SQL*Plus create table MT_TS_O
413,8660fwgf46fun8jx   DELETE SYSTEM.LOGMNR_DICTSTATE...
373110yj2970wjbsfv   UPDATE sys.streams$_capture_pr...
363,8660na0jhwrs24wr   DECLARE KRVX_STATUS_DICT_INTER...
3559a6ygk0r9s5xuj   SELECT A.JOB_NAME, ( CASE A.ST...
303,8616287bu7gaqpn6   INSERT INTO SYSTEM.LOGMNRT_MDD...
302407ddfg16h7b9m2   update /*+ streams restrict_al...
301,674c79fcfw22nqu9   SELECT OLDEST_SCN, COMMIT_SCN,...
29320v3dvmc22qnam   insert into sys.col_usage$ (ob...
283,867bjwxsk192yrzv   INSERT INTO SYSTEM.LOGMNR_DICT...
263,8624sz71uuntd828   UPDATE SYSTEM.LOGMNR_OBJ$ X SE...
263,861cmb9scbhf5qv3   declare loc_source_obj# number...
241301d5n1nm17r2h   select nvl2(stale_stats, decod...
24865,929f9hcz8j9zwhrh SQL*Plus SELECT SERVICE_REQ_ID_V FROM C...
2200vcs754gpmxrc MMON_SLAVE WITH binds as (select :dbid as...
212240s45x374j8cc5   update /*+ streams restrict_al...
21816,44913f6nhzb16cbx SQL*Plus INSERT INTO CBS_ORDER_REPORT (...
211dmhzq6rk3ppnx   SELECT SEGCOL#, INTCOL#, COL#,...


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
57.12117.03343.4216.6354.3630.22gavdwsru7d7k2 tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT "Custom SQL Query"."ACT...
56.56116.87341.2316.5855.0629.92gb82hrngtp4q6 tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT "Custom SQL Query"."CAT...
56.14116.74343.2116.3654.2130.971f5zh4bk6acp0 tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT "Custom SQL Query"."TIC...
55.96116.68343.5616.2954.3230.906fchhyp65szsc tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT "Custom SQL Query"."SOU...
42.35612.63679.436.2355.7641.16528xrg7y3jjrm SQL*Plus create table TB_MT_
27.7628.281,485.671.8768.7731.2052k94azm1ak0j SQL*Plus BEGIN generate_order_report; E...
13.40845,0914.00346.913.8613.1387.970hmpf40s6xpvh SQL*Plus SELECT STATUS_V, EXECUTION_DAT...
6.4011.9152.7412.1326.2567.233vj9g451n6xwr SQL*Plus insert into TB_MT_TT_PEND_HIST...
4.8211.44332.371.4580.4918.923dc55aym0ddb4 SQL*Plus create table TB_MT_
2.1100.6338.795.4360.6136.400ctmguuvf24vp tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT SUBSTR("Custom SQL Quer...
1.62865,9290.4845.593.5568.4830.44f9hcz8j9zwhrh SQL*Plus SELECT SERVICE_REQ_ID_V FROM C...
1.55140,6830.4648.113.2225.2176.77gcn3gu56qu7r9 SQL*Plus SELECT COUNT(1) FROM CBSOGG.CB...
1.0310.3134.063.0276.9721.760mr16zpd2ggra SQL*Plus CREATE TABLE CBS_ORD
0.8910.2729.752.9981.0117.4842npsww0tc3ks SQL*Plus CREATE TABLE CBS_ORD
0.7320.2246.101.5885.3513.97avdp76f7hk0bq SQL*Plus DELETE CBS_ORDER_REPORT
0.69890.21220.480.3196.852.385aagfw36gdgdn oracle@RHIS-TABLEAU-03.mtg.local (TNS V1-V3) SELECT "A1"."ACCOUNT_CODE_N", ...
0.39831,6270.1229.881.3092.167.346t38f117sqpjj SQL*Plus SELECT CASE WHEN STATUS_CODE_V...
0.3810.1160.290.6396.762.664yh0w358z9gvt tabprotosrv@rh-tableau-05.mtg.local (TNS V1-V3) SELECT "Custom SQL Query"."ACC...
0.3610.1184.270.4331.4168.8612qx9k6v2zxx3 SQL*Plus create table MT_TS_O
0.35816,4490.10102.940.3495.514.4813f6nhzb16cbx SQL*Plus INSERT INTO CBS_ORDER_REPORT (...
0.23831,6270.0740.290.5737.7665.34gymnsx3hbf2xy SQL*Plus SELECT NETWORK_ELEMENT_V, LOCA...
0.18300.05156.730.1119.3584.624t4krwb55gsms GoldenGate INSERT /*+ restrict_all_ref_c...
0.14220.0442.460.3324.7881.3287u32wt5scu7n GoldenGate INSERT /*+ restrict_all_ref_c...
0.12816,4530.0421.290.5896.623.37cwr268sbr4vk5 SQL*Plus SELECT DISPLAY_DESCRIPTION_V F...
0.07320.0299.950.0797.041.06fhf8upax5cxsz MMON_SLAVE BEGIN sys.dbms_auto_report_int...
0.07650.0297.050.0717.8387.00bn8y4pm7dzva4 GoldenGate INSERT /*+ restrict_all_ref_c...
0.0410.0142.740.0870.7129.47835jgtn27ta1j SQL*Plus create table TB_MT_T
0.042840.010.0847.4247.6513.811p5grz1gs7fjq   select obj#, type#, ctime, mti...
0.032400.010.654.9433.4457.667ddfg16h7b9m2   update /*+ streams restrict_al...
0.0310.0136.570.0777.8822.1886x2ztzd4hkhn SQL*Plus create table TB_TT_G
0.02590.010.902.7243.430.71a6ygk0r9s5xuj   SELECT A.JOB_NAME, ( CASE A.ST...
0.0210.010.0445.6257.6918.136wm3n4d7bnddg   SELECT source, (case when tim...
0.023110.010.1018.3785.250.000yj2970wjbsfv   UPDATE sys.streams$_capture_pr...
0.021460.010.0538.0162.245.8686kwhy1f0bttn oraagent.bin@dware1 (TNS V1-V3) SELECT /*+ ALL_ROWS */ COUNT(*...
0.0210.0152.700.0395.584.390g319xmz2cm35 tabprotosrv@RH-TABLEAU-04.mtg.local (TNS V1-V3) SELECT ((TO_NUMBER(TO_CHAR(TRU...
0.025700.000.179.5849.8747.243c1kubcdjnppq   update sys.col_usage$ set equa...
0.0210.0033.550.0571.5528.650m6gg6gzr2swy SQL*Plus create table TB_TT_C
0.014310.000.0433.4948.8927.966xvp6nxs4a9n4   select nvl(sum(space), 0) from...
0.019920.000.364.0196.890.00ghjk279rcm16p GoldenGate UPDATE SYS.STREAMS$_APPLY_MILE...
0.01300.0099.140.0197.331.040w26sk6t6gq98 MMON_SLAVE SELECT XMLTYPE(DBMS_REPORT.GET...
0.013,8610.003.060.4090.783.93cmb9scbhf5qv3   declare loc_source_obj# number...
0.012320.000.119.7390.3510.791qvcm9wr4sqgr oracle@RHIS-TABLEAU-03.mtg.local (TNS V1-V3) SELECT DISTINCT "A1"."ACCOUNT_...
0.014,7200.000.186.1247.4853.8347r1y8yn34jmj   select default$ from col$ wher...
0.01690.000.0428.5453.7028.247fwum1yuknrsh   select t.ts#, t.file#, t.block...
0.012240.000.591.5729.6654.600s45x374j8cc5   update /*+ streams restrict_al...
0.01110.000.0712.2078.6513.13g22f2h8s9vfrz   select nvl2(stale_stats, decod...
0.01690.000.0160.9042.970.00gd28w82ct6rva   select audit$ from tab$ where ...
0.013,8610.001.850.3585.715.756287bu7gaqpn6   INSERT INTO SYSTEM.LOGMNRT_MDD...
0.011040.000.0321.4278.034.248zc85a8249x81   update obj$ set obj#=:4, type#...
0.013,8620.000.511.1196.632.774sz71uuntd828   UPDATE SYSTEM.LOGMNR_OBJ$ X SE...


Back to SQL Statistics
Back to Top

Complete List of SQL Text

SQL IdSQL Text
01d5n1nm17r2hselect nvl2(stale_stats, decode(stale_stats, 'NO', 3, 1), 2) from dba_ind_statistics where owner=:1 and index_name=:2
0ctmguuvf24vp SELECT SUBSTR("Custom SQL Query"."TRANS_NUM_V", GREATEST(1, LENGTH("Custom SQL Query"."TRANS_NUM_V") - FLOOR(5) + 1)) AS "Calculation_149463257772064768" FROM ( select asl.service_info_v, c.trans_num_v, b.PERIOD_V, d.account_type_v, c.invoice_generated_on_d, a.BANK_CODE_V, a.BRANCH_CODE_V, a.CARD#ACCOUNT_NUMBER_V BANK_ACC_NO, a.CARD#ACC_HOLDER_NAME_V BANK_NAME, sum(INVOICE_AMT_N)/100 INVOICE_AMT, sum(INVOICE_TAX_N)/100 INVOICE_TAX_AMT, sum(INV_AMT_CLEARED_N)/100 INVOICE_AMT_CLEARED, sum(ADJUSTMENT_AMT_N)/100 INVOICE_ADJUST_AMT, sum(b.AMOUNT_N)/100 DDEBIT_AMOUNT, d.account_name_v, d.account_code_n, e.ext_subscriber_code_v Customer_id, e.first_name_v||' ' ||e.last_name_v Subscriber_name from cbsogg.cb_auto_debit a, tmp_auto_debit_log@cbsstandby b, cbsogg.cb_invoice c, cbsogg.cb_account_master d, cbsogg.cb_subscriber_master e, cb_account_servi ce_list asl where c.account_link_code_n = d.account_link_code_n and e.ext_subscriber_code_v = asl.ext_subscriber_code_v and asl.account_code_n = d.account_code_n and d.subscriber_code_n = e.subscriber_code_n and a.account_link_code_n = b.account_link_code_n and asl.sub_service_code_v not in ('FXL-COPER', 'FXL-FIBER') and b.INVOICE_NUM_V = c.trans_num_v --and substr(UPPER(a.CARD#ACCOUNT_NUMBER_V), 1, 2) in ('FR', 'FC', 'MT') and a.ACCOUNT_LINK_CODE_N = c.account_link_code_n group by asl.service_info_v, c.trans_num_v, b.PERIOD_V, d.account_type_v, c.invoice_generated_on_d, a.BANK_CODE_V, a.BRANCH_CODE_V, a.CARD#ACCOUNT_NUMBER_V , a.CARD#ACC_HOLDER_NAME_V , d.account_name_v, d.account_code_n, e.ext_subscriber_code_v, e.first_name_v||' ' ||e.last_name_v ) "Custom SQL Query" WHERE (("Custom SQL Query"."ACCOUNT_TYPE_V" = 'FXL') AND ((CASE WHEN ((SUBSTR("Custom SQL Query". "TRANS_NUM_V", GREATEST(1, LENGTH("Custom SQL Query"."TRANS_NUM_V") - FLOOR(1) + 1)) = 'A') OR (SUBSTR("Custom SQL Query"."TRANS_NUM_V", GREATEST(1, LENGTH("Custom SQL Query"."TRANS_NUM_V") - FLOOR(1) + 1)) = 'B') OR (SUBSTR("Custom SQL Query"."TRANS_NUM_V", GREATEST(1, LENGTH("Custom SQL Query"."TRANS_NUM_V") - FLOOR(1) + 1)) = 'C') OR (SUBSTR("Custom SQL Query"."TRANS_NUM_V", GREATEST(1, LENGTH("Custom SQL Query"."TRANS_NUM_V") - FLOOR(1) + 1)) = 'D') OR (SUBSTR("Custom SQL Query"."TRANS_NUM_V", GREATEST(1, LENGTH("Custom SQL Query"."TRANS_NUM_V") - FLOOR(1) + 1)) = 'M')) THEN SUBSTR("Custom SQL Query"."TRANS_NUM_V", GREATEST(1, LENGTH("Custom SQL Query"."TRANS_NUM_V") - FLOOR(1) + 1)) ELSE NULL END) >= 'A') AND ((CASE WHEN ((SUBSTR("Cust om SQL Query"."TRANS_NUM_V", GREATEST(1, LENGTH("Custom SQL Query"."TRANS_NUM_V") - FLOOR(1) + 1)) = 'A') OR (SUBSTR("Custom SQL Query"."TRANS_NUM_V", GREATEST(1, LENGTH("Custom SQL Query"."TRANS_NUM_V") - FLOOR(1) + 1)) = 'B') OR (SUBSTR("Custom SQL Query"."TRANS_NUM_V", GREATEST(1, LENGTH("Custom SQL Query"."TRANS_NUM_V") - FLOOR(1) + 1)) = 'C') OR (SUBSTR("Custom SQL Query"."TRANS_NUM_V", GREATEST(1, LENGTH("Custom SQL Query"."TRANS_NUM_V") - FLOOR(1) + 1)) = 'D') OR (SUBSTR("Custom SQL Query"."TRANS_NUM_V", GREATEST(1, LENGTH("Custom SQL Query"."TRANS_NUM_V") - FLOOR(1) + 1)) = 'M')) THEN SUBSTR("Custom SQL Query"."TRANS_NUM_V", GREATEST(1, LENGTH("Custom SQL Query"."TRANS_NUM_V") - FLOOR(1) + 1)) ELSE NULL END) <= 'D') AND ((CASE WHEN ("Custom SQL Query"."BANK_CODE_V" = 'FC') THEN 1 WHEN ("Custom SQL Query"."BANK_CODE_V" = 'HID') THEN 1 WHEN ("Custom SQL Query"."BANK_CODE_V" = 'CME') THEN 1 WHEN ("Custom SQL Query"."BANK_CODE_V" = 'TLS') THEN 1 WHEN ("Custom SQL Query"."BANK_CODE_V" = 'CPD') THEN 1 ELSE NULL END) <> 0)) GROUP BY SUBSTR("Custom SQL Query"."TRANS_NUM_V", GREATEST(1, LENGTH("Custom SQL Query"."TRANS_NUM_V") - FLOOR(5) + 1))
0fwgf46fun8jxDELETE SYSTEM.LOGMNR_DICTSTATE$ WHERE LOGMNR_UID = :B2 AND REDO_THREAD = :B1 AND ((END_SCNWRP * 4294967296 + END_SCNBAS) < (SELECT MAX (END_SCNWRP * 4294967296 + END_SCNBAS) FROM SYSTEM.LOGMNR_DICTSTATE$ WHERE LOGMNR_UID = :B2 AND REDO_THREAD = :B1 ))
0g319xmz2cm35 SELECT ((TO_NUMBER(TO_CHAR(TRUNC(CAST("TB_BUS_STAT_FIX"."TRANS_DATE_D" AS DATE)), 'YYYY')) * 100) + TO_NUMBER(TO_CHAR(TRUNC(CAST("TB_BUS_STAT_FIX"."TRANS_DATE_D" AS DATE)), 'MM'))) AS "my:TRANS_DATE_D:ok" FROM ( SELECT CUSTOMER_ID, ACCOUNT_NAME, ACCOUNT_CODE_N, MSISDN, INVOICE_NUMBER, INVOICE_AMOUNT, VAT_AMOUNT, TOTAL_AMOUNT, AMOUNT_PAID, TRANS_DATE_D, REFUND_AMT, OUT_SURCHARGE_AMT, DUE_DATE, CREDIT_NOTE, SURCHARGE_AMT, trunc(ACCOUNT_LINK_CODE_N), STATUS, CANCELLATION_DATE, SUSPENDED_DATE, DEBIT_NOTE, SURCHARGE_BILL_NO, ADJUSTMENT_AMOUNT, BILL_TYPE, PAYMENT_AGREEMENT FROM BIREPORT.TB_BUS_STAT_FIX ) "TB_BUS_STAT_FIX" GROUP BY ((TO_NUMBER(TO_CHAR(TRUNC(CAST("TB_BUS_STAT_FIX"."TRANS_DATE_D" AS DATE)), 'YYYY')) * 100) + TO_NUMBER(TO_CHAR(TRUNC(CAST("TB_BUS_STAT_FIX"."TRANS_DATE_D" AS DATE)), 'MM')))
0hmpf40s6xpvhSELECT STATUS_V, EXECUTION_DATE_DT, ACK_DATE_DT, ACTION_DATE_DT FROM CBSOGG.CB_SUBS_PROVISIONING WHERE ORDER_REF_NO_V = :B1 AND ROWNUM = 1
0m6gg6gzr2swycreate table TB_TT_C
0mr16zpd2ggraCREATE TABLE CBS_ORD
0na0jhwrs24wr DECLARE KRVX_STATUS_DICT_INTERNERR EXCEPTION; PRAGMA EXCEPTION_INIT(KRVX_STATUS_DICT_INTERNERR, -1332); loc_logmnruid NUMBER; loc_endscnbas NUMBER; loc_endscnwrp NUMBER; loc_redothrd NUMBER; loc_rbasqn NUMBER; loc_rbablk NUMBER; loc_rbabyte NUMBER; BEGIN loc_logmnruid := :1; loc_endscnbas := :2; loc_endscnwrp := :3; loc_redothrd := :4; loc_rbasqn := :5; loc_rbablk := :6; loc_rbabyte := :7; INSERT INTO system.logmnr_dictstate$ (logmnr_uid, start_scnbas, start_scnwrp, end_scnbas, end_scnwrp, redo_thread, rbasqn, rbablk, rbabyte) SELECT loc_logmnruid, start_scnbas, start_scnwrp, loc_endscnbas, loc_endscnwrp, loc_redothrd, loc_rbasqn, loc_rbablk, loc_rbabyte FROM system.logmnr_dictstate$ WHERE logmnr_uid = loc_logmnruid AND rownum = 1; IF SQL%ROWCOUNT <> 1 THEN DBMS_SYSTEM.KSDWRT(dbms_sy stem.trace_file, 'ORA-01332 from krvrdpdes0SQL, position 1'); RAISE KRVX_STATUS_DICT_INTERNERR; END IF; DELETE system.logmnr_dictstate$ WHERE logmnr_UID = loc_logmnruid AND redo_thread = loc_redothrd AND ((end_scnwrp * 4294967296 + end_scnbas) < (SELECT MAX (end_scnwrp * 4294967296 + end_scnbas) FROM system.logmnr_dictstate$ WHERE logmnr_UID = loc_logmnruid AND redo_thread = loc_redothrd)); END;
0s45x374j8cc5update /*+ streams restrict_all_ref_cons */ "CBSOGG"."CB_SUBS_PROVISIONING" p set "CAI_CMD_RESP_STRING"=dbms_reputil2.get_final_lob(:1, "CAI_CMD_RESP_STRING", :2), "REMARK_V"=decode(:3, 'N', "REMARK_V", :4), "STATUS_V"=decode(:5, 'N', "STATUS_V", :6) where (:7="CHRONO_NUM_N") and (:8="PROCESS_NO_N")
0v3dvmc22qnaminsert into sys.col_usage$ (obj#, intcol#, equality_preds, equijoin_preds, nonequijoin_preds, range_preds, like_preds, null_preds, timestamp) values ( :objn, :coln, decode(bitand(:flag, 1), 0, 0, 1), decode(bitand(:flag, 2), 0, 0, 1), decode(bitand(:flag, 4), 0, 0, 1), decode(bitand(:flag, 8), 0, 0, 1), decode(bitand(:flag, 16), 0, 0, 1), decode(bitand(:flag, 32), 0, 0, 1), :time)
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
0wpkk7t4wuzyySELECT SUB_SERVICE_DESC_V FROM CBSOGG.CB_SUB_SERVICES WHERE SERVICE_CODE_V = :B1 AND SUB_SERVICE_CODE_V = :B2
0yj2970wjbsfvUPDATE sys.streams$_capture_process SET spare5=:1, spare2=:2, spare1=:3 WHERE capture_name = :4
0zk1h5p82umh3create table TB_TT_G
12qx9k6v2zxx3create table MT_TS_O
13f6nhzb16cbx INSERT INTO CBS_ORDER_REPORT (ORDER_ID_V, CUSTOMER_NAME_V, ORDER_AMOUNT_N, PROV_STATUS_V, SCHEME_REF_CODE_N, EXECUTION_DATE_DT, FROM_DATE_DT, ACK_DATE_DT, PACKAGE_CODE_V, SUBSCRIBER_CODE_N, EXT_SUBSCRIBER_CODE_V, SERVICE_KEY_CODE_V, TRANS_DATE_DT, ACCOUNT_LINK_CODE_N, SUBS_CATEGORY_CODE_V, SUBS_SUB_CATEGORY_CODE_V, ACCOUNT_CODE_N, ACCOUNT_NAME_V, ACTION_DATE_DT, SERVICE_INFO_V, ORDER_TYPE_V, ORDER_REF_NO, ACTION_V, USER_NAME_V, LOCATION_V, SERVICE_CODE_V, SUB_SERVICE_CODE_V, FDP_V, LOC_ZONE_V, SUB_SERVICE_DESC_V, PACKAGE_V, PHONE_NO_V, SEGMENT_V, SUB_SEGMENT_V, OLD_PACKAGE_V, OLD_OFFER_V, OLD_SERVICE_V, NEW_PACKAGE_V, NEW_OFFER_V, NEW_SERVICE_V, FIXED_LINE_NO_V, COMMENTS_V, ACTION_DESCRIPTION_V, PROCESSED_DATE_DT, PS_FLAG_V, ONLINE_OR_MANUAL_ORDER_V, REP_EXECUTION_DATE_D, ORDER_STATUS_V, OFFER_V, REASON_V, CONTACT_TYPE_V ) VALUES (:B48 , :B47 , :B46 , :B45 , :B44 , :B43 , :B42 , :B41 , :B40 , :B39 , :B38 , :B37 , :B36 , :B1 , :B35 , :B34 , :B33 , :B32 , :B31 , :B30 , :B29 , :B28 , :B9 , :B27 , :B26 , :B25 , :B24 , :B23 , :B22 , :B21 , :B20 , :B11 , :B19 , :B18 , :B17 , :B16 , :B15 , :B14 , :B13 , :B12 , :B11 , :B10 , :B9 , :B2 , :B8 , :B7 , SYSTIMESTAMP, :B3 , :B6 , :B5 , :B4 )
14d7z6mh1sxuzselect name, intcol#, segcol#, type#, length, nvl(precision#, 0), decode(type#, 2, nvl(scale, -127/*MAXSB1MINAL*/), 178, scale, 179, scale, 180, scale, 181, scale, 182, scale, 183, scale, 231, scale, 0), null$, fixedstorage, nvl(deflength, 0), default$, rowid, col#, property, nvl(charsetid, 0), nvl(charsetform, 0), spare1, spare2, nvl(spare3, 0), nvl(evaledition#, 1), nvl(unusablebefore#, 0), nvl(unusablebeginning#, 0) from col$ where obj#=:1 order by intcol#
1b43yj69y93wy UPDATE /*+ restrict_all_ref_cons */ "CBSOGG"."GSM_CYCLE_SUMMARY_DETAILS" SET "CHARGE_AMOUNT_N"=:1 , "TAX_AMOUNT_N"=:2 , "NUM_UNITS_N"=:3 , "DURATION_N"=:4 , "NUM_CALLS_N"=:5 , "LOC_CHARGE_AMOUNT_N"=:6 , "CHARGE_NUM_OF_CALLS_N"=:7 , "DISC_AMT_N"=:8 , "DISC_DURN_N"=:9 , "LOC_DISC_AMT_N"=:10 , "VOLUME_N"=:11 , "FREE_DISC_AMT_N"=:12 WHERE "ACCOUNT_LINK_CODE_N"=:13 AND "SUMMARY_SEQ_NO_N"=:14 AND "ARTICLE_CODE_V"=:15
1f5zh4bk6acp0 SELECT "Custom SQL Query"."TICKET_TYPE" AS "TICKET_TYPE" FROM ( select distinct 'Workflow' Category, tt.docket_number_n ticket_no, wm.wrkflw_desc_v Workflow_desc, wm.estimated_resoln_tm_n sla_time, tt.ticket_regn_dt_d ticket_reg_date, round((cast((FROM_TZ(CAST(tt.ticket_regn_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_reg_date_sec, x.start_dt_d ticket_start_date, round((cast((FROM_TZ(CAST(x.start_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_start_date_sec, x.end_dt_d ticket_end_date, round((cast((FROM_TZ(CAST(x.end_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_end_date_sec, tt.ticket_resp_dt_d ticket_resp_date, round((cast((FROM_TZ(CAST(tt.ticket_resp_dt_d as timestamp), sessiontimezone) at time zo ne 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_resp_date_sec, round((cast((FROM_TZ(CAST(sysdate as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) sys_date, decode(tt.status_v, 'P', 'Pending', 'A', 'Task completed', 'C', 'Closed', 'R', 'Resolved') StatusTicket, decode(tt.ticket_type_v, 'Q', 'Query', 'C', 'Complaint Type', 'R', 'Service Request') Ticket_type, (select A3.CATEGORY_DESCRIPTION_V from cbsogg.TT_CATEGORY_MASTER A3 where A3.category_code_v = (select A2.parent_category_code_v from cbsogg.TT_CATEGORY_MASTER A2 where A2.category_code_v = (select t1.subcategory_id_v from cbsogg.TT_TICKETINFO t1 where t1.docket_number_n = tt.docket_number_n)) and A3.parent_category_code_v <> '0') Complaint_type, (SELECT distinct A1.CATEGORY_DESCRIPTION_V FROM cbsogg.TT_CATEGORY_MASTER A1 WHERE A1.CATEGORY_CODE_V = tt.SUBCATEGORY_ID_V ) SubComplaint_type, (select d.mobl_num_voi ce_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) MSISDN, (select csm.first_name_v||csm.last_name_v from cbsogg.gsm_service_mast d, cbsogg.cb_account_master cam , cbsogg.cb_subscriber_master csm where d.account_code_n = cam.account_code_n and csm.subscriber_code_n = cam.subscriber_code_n and tt.entity_id_n = d.mobl_num_voice_v ) SUBS_NAME, (select d.sub_service_code_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) Service_code, (select d.subscriber_category_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v) Segments, (select g.SUBS_SUB_CATEGORY_DESC_V from cbsogg.gsm_service_mast d, cbsogg.cb_subscriber_sub_category g where tt.entity_id_n = d.mobl_num_voice_v and d.subscriber_category_v = g.subs_category_code_v and d.subscriber_sub_category_v = g.subs_sub_category_code_v) sub_segments, (select d.status_code_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) mob_status, (select d.account_code_n from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v) Account_no, a.expiry_time_d bin_expiry_date, round((cast((FROM_TZ(CAST(a.expiry_time_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) bin_expiry_date_sec, a.assignment_dt_d bin_assign_date, round((cast((FROM_TZ(CAST(a.assignment_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) bin_assign_date_sec, a.work_completion_dt_d bin_comp_date, round((cast((FROM_TZ(CAST(a.work_completion_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) bin_compl_date_sec, x.status_v wf_status, tt.tt_source_v Source_v, (select distinct cm.CATEGORY_DESCRIPTION_V from cbsogg.TT_CATEGORY_MASTER cm where cm.category_code_v = tt.categor y_id_v and cm.category_type_v = tt.ticket_type_v and cm.parent_category_code_v = '0') Category_desc, (select f.user_name_v from cbsogg.cb_users f where f.user_code_n = tt.LOGGED_BY_N) Created_by, cu.user_name_v Assign_to, e.GROUP_NAME_V activity_name_v, tt.question_v, tt.answer_v, a.notes_v Notes, (SELECT CFT.fault_name_v FROM cbsogg.TT_TICKET_ADDNL_INFO TAI, cb_fault_types CFT where TAI.FAULT_CODE_V = CFT.FAULT_CODE_V and tt.docket_number_n = TAI.docket_number_n) ROOT_CAUSE, cu.user_name_v user_name from cbsogg.WF_TODOITEM a, WF_WORKFLOW@cbsstandby x , cbsogg.WF_WORKASSIGNMENT c, cbsogg.TT_TICKETINFO tt, cbsogg.WF_WRKFLWMGR wm, cb_users cu , cbsogg.cb_user_group e where a.event_refno_v = x.event_refno_v and tt.docket_number_n = x.event_refno_v and x.wrkflw_id_n = wm.wrkflw_id_n and a.work_id_n = c.work_id_n --and tt.docket_number_n = '35022' and a.user_id_n = cu.user_code_n AND cu.GROUP_CODE_N = e.GROUP_CODE_N union all select distinct 'Workflow' Category, tt.docket_number_n ticket_no, wm.wrkflw_desc_v Workflow_desc, wm.estimated_resoln_tm_n sla_time, tt.ticket_regn_dt_d ticket_reg_date, round((cast((FROM_TZ(CAST(tt.ticket_regn_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_reg_date_sec, x.start_dt_d ticket_start_date, round((cast((FROM_TZ(CAST(x.start_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_start_date_sec, x.end_dt_d ticket_end_date, round((cast((FROM_TZ(CAST(x.end_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_end_date_sec, tt.ticket_resp_dt_d ticket_resp_date, round((cast((FROM_TZ(CAST(tt.ticket_resp_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_resp_date_sec , round((cast((FROM_TZ(CAST(sysdate as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) sys_date, decode(tt.status_v, 'P', 'Pending', 'A', 'Task completed', 'C', 'Closed', 'R', 'Resolved') StatusTicket, decode(tt.ticket_type_v, 'Q', 'Query', 'C', 'Complaint Type', 'R', 'Service Request') Ticket_type, (select A3.CATEGORY_DESCRIPTION_V from cbsogg.TT_CATEGORY_MASTER A3 where A3.category_code_v = (select A2.parent_category_code_v from cbsogg.TT_CATEGORY_MASTER A2 where A2.category_code_v = (select t1.subcategory_id_v from cbsogg.TT_TICKETINFO t1 where t1.docket_number_n = tt.docket_number_n)) and A3.parent_category_code_v <> '0') Complaint_type, (SELECT distinct A1.CATEGORY_DESCRIPTION_V FROM cbsogg.TT_CATEGORY_MASTER A1 WHERE A1.CATEGORY_CODE_V = tt.SUBCATEGORY_ID_V ) SubComplaint_type, (select d.mobl_num_voice_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) MSISDN, (select csm.first_name_v||csm.last_name_v from cbsogg.gsm_service_mast d, cbsogg.cb_account_master cam , cbsogg.cb_subscriber_master csm where d.account_code_n = cam.account_code_n and csm.subscriber_code_n = cam.subscriber_code_n and tt.entity_id_n = d.mobl_num_voice_v ) SUBS_NAME, (select d.sub_service_code_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) Service_code, (select d.subscriber_category_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v) Segments, (select g.SUBS_SUB_CATEGORY_DESC_V from cbsogg.gsm_service_mast d, cbsogg.cb_subscriber_sub_category g where tt.entity_id_n = d.mobl_num_voice_v and d.subscriber_category_v = g.subs_category_code_v and d.subscriber_sub_category_v = g.subs_sub_category_code_v) sub_segments, (select d.status_code_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) mob_status, (select d.account_code_n fro m cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v) Account_no, a.expiry_time_d bin_expiry_date, round((cast((FROM_TZ(CAST(a.expiry_time_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) bin_expiry_date_sec, a.assignment_dt_d bin_assign_date, round((cast((FROM_TZ(CAST(a.assignment_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) bin_assign_date_sec, a.work_completion_dt_d bin_comp_date, round((cast((FROM_TZ(CAST(a.work_completion_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) bin_compl_date_sec, x.status_v wf_status, tt.tt_source_v Source_v, (select distinct cm.CATEGORY_DESCRIPTION_V from cbsogg.TT_CATEGORY_MASTER cm where cm.category_code_v = tt.category_id_v and cm.category_type_v = tt.ticket_type_v and cm.parent_category_code_v = '0 ') Category_desc, (select f.user_name_v from cbsogg.cb_users f where f.user_code_n = tt.LOGGED_BY_N) Created_by, cu.user_name_v Assign_to, e.GROUP_NAME_V activity_name_v, tt.question_v, tt.answer_v, a.notes_v Notes, (SELECT CFT.fault_name_v FROM cbsogg.TT_TICKET_ADDNL_INFO TAI, cbsogg.cb_fault_types CFT where TAI.FAULT_CODE_V = CFT.FAULT_CODE_V and tt.docket_number_n = TAI.docket_number_n) ROOT_CAUSE, cu.user_name_v user_name from cbsogg.WF_TODOITEM_HISTORY a, WF_WORKFLOW@cbsstandby x , cbsogg.WF_WORKASSIGNMENT_HISTORY c, cbsogg.TT_TICKETINFO tt, cbsogg.WF_WRKFLWMGR wm, cbsogg.cb_users cu , cbsogg.cb_user_group e where a.event_refno_v = x.event_refno_v and tt.docket_number_n = x.event_refno_v and x.wrkflw_id_n = wm.wrkflw_id_n and a.work_id_n = c.work_id_n --and tt.docket_number_n = '35022' and a.user_id_n = cu.user_code_n AND cu.GROUP_CODE_N = e.GROUP_CODE_N union all select distinct 'FLR' Category, tt. docket_number_n ticket_no, null Workflow_desc, null sla_time, tt.ticket_regn_dt_d registration_date, null wf_reg_date_sec, null start_date, null wf_start_date_sec, null wf_end_date, null wf_end_date_sec, tt.ticket_resp_dt_d workflw_resp_date, null wf_resp_date_sec, round((cast((FROM_TZ(CAST(sysdate as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) sys_date, decode(tt.status_v, 'P', 'Pending', 'A', 'Task completed', 'C', 'Closed', 'R', 'Resolved') StatusTicket, decode(tt.ticket_type_v, 'Q', 'Query', 'C', 'Complaint Type', 'R', 'Service Request') Ticket_type, (select A3.CATEGORY_DESCRIPTION_V from cbsogg.TT_CATEGORY_MASTER A3 where A3.category_code_v = (select A2.parent_category_code_v from cbsogg.TT_CATEGORY_MASTER A2 where A2.category_code_v = (select t1.subcategory_id_v from cbsogg.TT_TICKETINFO t1 where t1.docket_number_n = tt.docket_number_n)) and A3.parent_category_code_v <> ' 0') Complaint_type, (SELECT distinct A1.CATEGORY_DESCRIPTION_V FROM cbsogg.TT_CATEGORY_MASTER A1 WHERE A1.CATEGORY_CODE_V = tt.SUBCATEGORY_ID_V ) SubComplaint_type, (select d.mobl_num_voice_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) MSISDN, (select csm.first_name_v||csm.last_name_v from cbsogg.gsm_service_mast d, cbsogg.cb_account_master cam , cbsogg.cb_subscriber_master csm where d.account_code_n = cam.account_code_n and csm.subscriber_code_n = cam.subscriber_code_n and tt.entity_id_n = d.mobl_num_voice_v ) SUBS_NAME, (select d.sub_service_code_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) Service_code, (select d.subscriber_category_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v) Segments, (select g.SUBS_SUB_CATEGORY_DESC_V from cbsogg.gsm_service_mast d, cbsogg.cb_subscriber_sub_category g where tt.entity_id_n = d.mobl_num_voice_v and d. subscriber_category_v = g.subs_category_code_v and d.subscriber_sub_category_v = g.subs_sub_category_code_v) sub_segments, (select d.status_code_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) mob_status, (select d.account_code_n from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v) Account_no, null bin_expiry_date, null bin_expiry_date_sec, null bin_assign_date, null bin_assign_date_sec, null bin_comp_date, null bin_compl_date_sec, null wf_status, tt.tt_source_v Source_v, (select distinct cm.CATEGORY_DESCRIPTION_V from cbsogg.TT_CATEGORY_MASTER cm where cm.category_code_v = tt.category_id_v and cm.category_type_v = tt.ticket_type_v and cm.parent_category_code_v = '0') Category_desc, (select f.user_name_v from cbsogg.cb_users f where f.user_code_n = tt.LOGGED_BY_N) Created_by, null Assign_to, C.GROUP_NAME_V activity_name, tt.question_v, tt.answer_v, TTI.NOTES_V Notes, (SELE CT CFT.fault_name_v FROM cbsogg.TT_TICKET_ADDNL_INFO TAI, cbsogg.cb_fault_types CFT--, TT_TICKETINFO c where TAI.FAULT_CODE_V = CFT.FAULT_CODE_V and tt.docket_number_n = TAI.docket_number_n) ROOT_CAUSE, B.USER_NAME_V user_name from cbsogg.TT_TICKETINFO tt, cbsogg.CB_USERS B, cbsogg.CB_USER_GROUP C, cbsogg.TT_TICKETINCIDENT TTI where tt.docket_number_n not in(select event_refno_v from WF_WORKFLOW@cbsstandby) AND TTI.INCIDENT_NUMBER_N = tt.docket_number_n AND tt.LOGGED_BY_N = B.USER_CODE_N AND C.GROUP_CODE_N = B.GROUP_CODE_N ) "Custom SQL Query" GROUP BY "Custom SQL Query"."TICKET_TYPE" ORDER BY 1 ASC NULLS FIRST
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
1qvcm9wr4sqgrSELECT DISTINCT "A1"."ACCOUNT_CODE_N" FROM "CB_ACCOUNT_SERVICE_LIST" "A1" WHERE "A1"."SERVICE_INFO_V"=:B1 AND NVL("A1"."TO_DATE_D", SYSDATE@!)>=SYSDATE@!
34qs1bh59x7x4SELECT COUNT(*) FROM SYSTEM.LOGMNRT_MDDL$ Y WHERE Y.SOURCE_OBJ# = :B2 AND Y.SOURCE_ROWID = :B1
3c1kubcdjnppqupdate sys.col_usage$ set equality_preds = equality_preds + decode(bitand(:flag, 1), 0, 0, 1), equijoin_preds = equijoin_preds + decode(bitand(:flag, 2), 0, 0, 1), nonequijoin_preds = nonequijoin_preds + decode(bitand(:flag, 4), 0, 0, 1), range_preds = range_preds + decode(bitand(:flag, 8), 0, 0, 1), like_preds = like_preds + decode(bitand(:flag, 16), 0, 0, 1), null_preds = null_preds + decode(bitand(:flag, 32), 0, 0, 1), timestamp = :time where obj# = :objn and intcol# = :coln
3dc55aym0ddb4create table TB_MT_
3vj9g451n6xwr insert into TB_MT_TT_PEND_HIST_NEW SELECT DISTINCT "TT_TICKETINFO"."DOCKET_NUMBER_N" AS "TICKET_NO", "TT_TICKETINFO"."TICKET_REGN_DT_D" AS "TICKET_REGN_DT_D", "TT_TICKETINFO"."ENTITY_TYPE_V" AS "ENTITY_TYPE_V", TO_CHAR("TT_TICKETINFO"."ENTITY_ID_N") AS "ENTITY_ID_N", "TT_TICKETINFO"."STATUS_V" AS "TICKET_STATUS", "TT_TICKETINFO"."RESPONSE_MEDIUM_V" AS "RESPONSE_MEDIUM_V", "TT_TICKETINFO"."RESP_MEDIUM_ADDR_V" AS "RESP_MEDIUM_ADDR_V", "TT_TICKETINFO"."TICKET_TYPE_V" AS "TICKET_TYPE_V", "TT_TICKETINFO"."REF_DOCKET_NUMBER_V" AS "REF_DOCKET_NUMBER_V", "TT_TICKETINFO"."LOGGED_BY_N" AS "LOGGED_BY_N", "TT_TICKETINFO"."TT_SOURCE_V" AS "TT_SOURCE_ V", "TT_TICKETINFO"."RESPONDED_BY_N" AS "RESPONDED_BY_N", "TT_TICKETINFO"."TICKET_RESP_DT_D" AS "TICKET_RESP_DT_D", "TT_TICKETINFO"."LOCATION_V" AS "LOCATION_V", "TT_TICKETINFO"."AREA_V" AS "AREA_V", "TT_TICKETINFO"."REOPEN_COUNT_N" AS "REOPEN_COUNT_N", "TT_TICKETINFO"."QUESTION_V" AS "QUESTION_V", "TT_TICKETINFO"."ANSWER_V" AS "ANSWER_V", "TT_TICKETINFO"."REMEDY_REF_NO_V" AS "REMEDY_REF_NO_V", "TT_TICKETINFO"."FILE_NAME_V" AS "FILE_NAME_V", "TT_TICKETINFO"."SEGMENT_V" AS "SEGMENT_V", "TT_TICKETINFO"."CHANNEL_V" AS "CHANNEL_V", "TT_TICKETINFO"."RELEVE" AS "RELEVE", "TT_TICKETINFO "."CAUSE" AS "CAUSE", "TT_TICKETINFO"."COMMENTS" AS "COMMENTS", "TT_TICKETINFO"."REASON" AS "REASON", "COMPLAINT TYPE"."COMPLAINT_TYPE" AS "COMPLAINT_TYPE", "COMPLAINT TYPE"."SUBCOMPLAINT_TYPE" AS "SUBCOMPLAINT_TYPE", "COMPLAINT TYPE"."CATEGORY_DESC" AS "CATEGORY_DESC", "COMPLAINT TYPE"."SERVICE_NAME" AS "SERVICE_NAME", "WORKFLOW"."EVENT_TYPE_N" AS "WF_EVENT_TYPE_N", "WORKFLOW"."EVENT_REFNO_V" AS "WF_EVENT_REFNO_V", "WORKFLOW"."WRKFLW_ID_N" AS "WRKFLW_ID_N", "WORKFLOW"."START_DT_D" AS "WF_START", "WORKFLOW"."END_DT_D" AS "WF_END", "WORKFLOW"."STATUS_V" AS "WF_STATUS", "WORKFLOW"."CREATED_BY_N" AS "WF_CREATED_BY_N", "WORKFLOW"."TERMINATED_BY_N" AS "WF_TERMINATED_BY_N", "TODOITEM/HISTORY"."WORK_ID_N" AS "TD_WORK_ID_N", "TODOITEM/HISTORY"."STATUS_V" AS "TD_STATUS_V", "TODOITEM/HISTORY"."USER_ID_N" AS "TD_USER_ID_N", "TODOITEM/HISTORY"."USER_ID_N" AS "TD_USER_ID_N_1", "TODOITEM/HISTORY"."ACTIVITY_NAME_V" AS "TD_ACTIVITY_NAME_V", "TODOITEM/HISTORY"."WORK_COMPLETION_DT_D" AS "TD_WORK_COMPLETION_DT_D", "TODOITEM/HISTORY"."ASSIGNMENT_DT_D" AS "TD_ASSIGNMENT_DT_D", "TODOITEM/HISTORY"."EXPIRY_TIME_D" AS "TD_EXPIRY_TIME_D", "Customer Service Details"."ACCOUNT_LINK_CODE_N" AS "ACCOUNT_LINK_CODE_N", " Customer Service Details"."SUB_SERVICE_CODE_V" AS "SUB_SERVICE_CODE_V", "Customer Service Details"."SERVICE_INFO_V" AS "SERVICE_INFO_V", "Customer Service Details"."ACCOUNT_CODE_N" AS "ACCOUNT_CODE_N", "Customer Service Details"."CUSTOMER_NAME" AS "CUSTOMER_NAME", "Customer Service Details"."SUBSCRIBER_CATEGORY_V" AS "SUBSCRIBER_CATEGORY_V", "Customer Service Details"."SUBSCRIBER_SUB_CATEGORY_V" AS "SUBSCRIBER_SUB_CATEGORY_V", "Customer Service Details"."SERVICE_CODE_V" AS "SERVICE_CODE_V", "Customer Service Details"."FDP" AS "FDP", "Customer Service Details"."LOC_ZONE" AS "LOC_ZONE", "Customer Service Details"."CABINET" AS "CABINET", "Customer Service Details "."PACKAGE" AS "PACKAGE", "TICKET INCIDENT MOBI"."NOTES_V" AS "NOTES_V", "TICKET INCIDENT MOBI"."INCIDENT_TIMESTAMP_D" AS "INCIDENT_TIMESTAMP_D", "SUB SERVICE"."SUBSIDIARY_CODE_V" AS "SUBSIDIARY_CODE_V", "SUB SERVICE"."SUB_SERVICE_DESC_V" AS "SUB_SERVICE_DESC_V", "SUB SERVICE"."IDENTIFIED_BY_V" AS "IDENTIFIED_BY_V", "SUB SERVICE"."START_DATE_D" AS "START_DATE_D", "INSTALLATION ADDRESS"."INS_ADDRESS" AS "INS_ADDRESS", "INSTALLATION ADDRESS"."ADDRESS_TYPE_N" AS "ADDRESS_TYPE_N", "AREA DETAILS"."AREA" AS "AREA", "AREA DETAILS"."EXCHANGE" AS "EXCHANGE", "AREA DETAILS"."MDF" AS "MDF", "AREA DETAILS "."AREA_ENGINEER" AS "AREA_ENGINEER", "AREA DETAILS"."AREA_ENGINEER_CONN" AS "AREA_ENGINEER_CONN" FROM "CBSOGG"."TT_TICKETINFO" "TT_TICKETINFO" --WHERE "TT_TICKETINFO"."DOCKET_NUMBER_N" not in (select ticket_no from BIREPORT.TB_MT_TT_PEND_HIST_UNQ) INNER JOIN ( select tt.docket_number_n, (SELECT A3.category_description_v FROM tt_category_master A3 WHERE A3.category_code_v = (SELECT A2.parent_category_code_v FROM tt_category_master A2 WHERE A2.category_code_v = (SELECT t1.subcategory_id_v FROM tt_ticketinfo t1 WHERE t1.docket_number_n = tt.docket_number_n)) AND A3.parent_category_code_v <> '0') Complaint_type, (SELECT DISTINCT A1.category_description_v FROM tt_category_master A1 WHERE A1.category_code_v = tt.subcategory_id_v) SubComplaint_type, (SELECT DISTINCT cm.category_description_v FROM tt_category_master cm WHERE cm.category_code_v = tt.category_id_v AND cm.category_type_v = tt.ticket_type_v AND cm.parent_category_code_v = '0') Category_desc, (SELECT DISTINCT cm.Service_code_v FROM tt_category_master cm WHERE cm.category_code_v = tt.category_id_v ) SERVICE_NAME from t t_ticketinfo tt ) "COMPLAINT TYPE" ON ("TT_TICKETINFO"."DOCKET_NUMBER_N" = "COMPLAINT TYPE"."DOCKET_NUMBER_N") LEFT JOIN ( select * from wf_workflow WHERE START_DT_D = ( SELECT MAX(START_DT_D) FROM wf_workflow WF WHERE WF.EVENT_REFNO_V = EVENT_REFNO_V) ) "WORKFLOW" ON ("TT_TICKETINFO"."DOCKET_NUMBER_N" = "WORKFLOW"."EVENT_REFNO_V") LEFT JOIN ( SELECT WORK_ID_N, STATUS_V, EVENT_REFNO_V, USER_ID_N, ACTIVITY_NAME_V, WORK_COMPLETION_DT_D, ASSIGNMENT_DT_D, EXPIRY_TIME_D FROM WF_TODOITEM WHERE ACTIVITY_NAME_V IS NULL AND ASSIGNMENT_DT_D = (SELECT MAX(A.ASSIGNMENT_DT_D) FROM WF_TODOITEM A WHERE EVENT_REFNO_V = A.EVENT_REFNO_V) --AND docket_number_n not in (select ticket_no from BIREPORT.TB_MT_TT_PEND_HIST_UNQ) UNION SELECT WORK_ID_N, STATUS_V, EVENT_REFNO_V, USER_ID_N, ACTIVITY_NAME_V, WORK_COMPLETION_DT_D, ASSIGNMENT_DT_D, EXPIRY_TIME_D FROM WF_TODOITEM_HISTORY WH ERE ACTIVITY_NAME_V IS NULL AND ASSIGNMENT_DT_D = (SELECT MAX(A.ASSIGNMENT_DT_D) FROM WF_TODOITEM_HISTORY A WHERE EVENT_REFNO_V = A.EVENT_REFNO_V) --and docket_number_n not in (select ticket_no from BIREPORT.TB_MT_TT_PEND_HIST_UNQ) ORDER BY EVENT_REFNO_V ) "TODOITEM/HISTORY" ON ("WORKFLOW"."EVENT_REFNO_V" = "TODOITEM/HISTORY"."EVENT_REFNO_V") LEFT JOIN ( SELECT * FROM TB_MT_TT_SERV_DET ) "Customer Service Details" ON (to_char("TT_TICKETINFO"."ENTITY_ID_N") = "Customer Service Details"."SERVICE_INFO_V") LEFT JOIN ( SELECT * FROM TB_TT_INC_MOBI a where a.INCIDENT_TIMESTAMP_D = (select max(INCIDENT_TIMESTAMP_D) from TB_TT_INC_MOBI b where a.DOCKET_NUMBER_N = b.DOCKET_NUMBER_N) ) "TICKET INCIDENT MOBI" ON ("TT_TICKETINFO"."DOCKET_NUMBER_N" = "TICKET INCIDENT MOBI"."DOCKET_NUMBER_N") LEFT JOIN ( select * from cb sogg.cb_sub_services ) "SUB SERVICE" ON (("Customer Service Details"."SERVICE_CODE_V" = "SUB SERVICE"."SERVICE_CODE_V") AND ("Customer Service Details"."SUB_SERVICE_CODE_V" = "SUB SERVICE"."SUB_SERVICE_CODE_V")) LEFT JOIN ( select EXTRACTVALUE(CAX.address_x, '//@STREET_DESC')||' '||EXTRACTVALUE(CAX.address_x, '//@CITY_DESC')||' '||EXTRACTVALUE(CAX.address_x, '//@SUB_LOCALITY_DESC') INS_ADDRESS, CAX.account_link_code_n , CAX.ADDRESS_TYPE_N from cbsogg.CB_ADDRESS_XML CAX where CAX.ADDRESS_TYPE_N ='4' ) "INSTALLATION ADDRESS" ON ("Customer Service Details"."ACCOUNT_LINK_CODE_N" = "INSTALLATION ADDRESS"."ACCOUNT_LINK_CODE_N") LEFT JOIN ( select * from area_details ) "AREA DETAILS" ON ("Customer Service Details"."LOC_ZONE" = "AREA DETAILS"."MDF") WHERE "TT_TICKETINFO"."DOC KET_NUMBER_N" not in (select distinct ticket_no from BIREPORT.TB_MT_TT_PEND_HIST_NEW) ORDER BY "TT_TICKETINFO"."DOCKET_NUMBER_N"
42npsww0tc3ksCREATE TABLE CBS_ORD
47r1y8yn34jmjselect default$ from col$ where rowid=:1
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
4sz71uuntd828UPDATE SYSTEM.LOGMNR_OBJ$ X SET X.OBJ# = :B7 , X.TYPE# = :B6 , X.STIME = :B5 , X.FLAGS = :B4 , X.OID$ = :B3 , X.OBJV# = :B2, X.SPARE3 = :B1 WHERE X.ROWID = (SELECT Z.DEST_ROWID FROM SYSTEM.LOGMNRT_MDDL$ Z WHERE Z.SOURCE_OBJ# = :B9 AND Z.SOURCE_ROWID = :B8 )
4t4krwb55gsms INSERT /*+ restrict_all_ref_cons */ INTO "CBSOGG"."FXL_RATED_CDRS" ("TYPE_OF_CALL_V", "SWITCH_CALL_TYPE_V", "RECORD_TYPE_V", "PROMOTION_CODE_V", "IN_OUT_V", "TARF_TYPE_V", "CALL_CHRG_TYPE_V", "FAX_DATA_VOICE_V", "CALC_ON_V", "PERCENTAGE_VAL_N", "INTERIM_CALL_INDICATOR_V", "CALL_SEQ_NUM_N", "ACCOUNT_LINK_CODE_N", "CHRONO_NUM_N", "CALL_DATE_DT", "CALL_DURATION_N", "SUMMARY_SEQ_NUM_N", "ARTICLE_CODE_V", "NETWORK_ELEMENT_V", "TELEPHONE_NUMBER_V", "MSC_NUM_V", "IN_TRUNK_V", "OUT_TRUNK_V", "CALLED_CALLING_NUM_V", "ACTUAL_NUM_IF_FRWD_V", "DIALED_DIGIT_V", "ICSRV_PROVIDER_CODE_V", "IC_RATE_ZONE_V", "IC_CONCT_ZONE_V", "COUNTRY_CODE_V", "STATE_CODE_V", "CITY_CODE_V ", "TARIFF_CODE_V", "RATING_FILE_ID_N", "DAY_CODE_V", "TIME_BAND_V", "IC_RATE_PLAN_CODE_N", "IC_VOICE_FRML_N", "IC_VOICE_UNIT_RATE_N", "IC_UNITS_N", "IC_VOICE_AMT_N", "IC_TAX_CODE_V", "IC_TAX_AMT1_N", "IC_TAX_AMT2_N", "IC_TAX_AMT3_N", "ORIG_LOCATION_ZONE_CODE_V", "TERM_LOCATION_ZONE_CODE_V", "RATING_ZONE_CODE_V", "CALL_TYPE_FLAG_V", "OPERATOR_ASST_CALL_FRML_N", "OPERATOR_ASST_AMT_N", "AIRTM_RATE_PLAN_CODE_N", "AIRTM_FRML_N", "AIRTM_VOICE_UNIT_RATE_N", "AIRTM_VOICE_UNITS_N", "AIRTM_AMT_N", "AIRTM_TAX_CODE_V", "AIRTM_TAX_AMT1_N", "AIRTM_TAX_AMT2_N", "AIRTM_TAX_AMT3_N", "RATE_ON_V", "DISC_TYPE_V", "DISC_UNITS_N", "DESTINATION_TYPE_V", "DEST_SERVICE_TYPE_CODE_V ", "CHARGED_DURATION_N", "DISC_QTM_TYPE_V", "DISCOUNTED_VALUE_N", "DISCOUNTED_AMOUNT_N", "OUTPUT_DISC_ARTICLE_V", "CHARGE_BEFORE_DISC_N", "PROCESSED_DATE_D", "SUB_SERVICE_CODE_V", "BILL_CYCL_FULL_CODE_N", "EXTN_NUMBER_V", "ACCOUNT_CODE_N", "OMR_N", "CMR_N", "INFLATION_FLAG", "INFLATED_AMOUNT_N", "OMR_DATE_D", "DISC_CODE_V", "EXTERNAL_SWITCH_CODE_V", "SWITCH_CODE_V", "INTERCONNECTION_TYPE_V", "OPERATOR_AUTOMATIC_V", "USAGE_RECORD_V", "CALLING_NO_AREA_CODE_V", "CALLED_NO_AREA_CODE_V", "PAYING_THIRD_PARTY_NO_V", "SWITCH_SERVICE_CODE_V", "SEQ_NUM_V", "TAXABLE_FLAG_N", "MSG_TYPE_N") VALUES (:1 , :2 , :3 , :4 , :5 , :6 , :7 , :8 , :9 , :10 , :11 , :12 , :13 , :14 , :15 , :16 , :17 , :18 , :19 , :20 , :21 , :22 , :23 , :24 , :25 , :26 , :27 , :28 , :29 , :30 , :31 , :32 , :33 , :34 , :35 , :36 , :37 , :38 , :39 , :40 , :41 , :42 , :43 , :44 , :45 , :46 , :47 , :48 , :49 , :50 , :51 , :52 , :53 , :54 , :55 , :56 , :57 , :58 , :59 , :60 , :61 , :62 , :63 , :64 , :65 , :66 , :67 , :68 , :69 , :70 , :71 , :72 , :73 , :74 , :75 , :76 , :77 , :78 , :79 , :80 , :81 , :82 , :83 , :84 , :85 , :86 , :87 , :88 , :89 , :90 , :91 , :92 , :93 , :94 )
4yh0w358z9gvt SELECT "Custom SQL Query"."ACCOUNT_CODE_N" AS "ACCOUNT_CODE_N", "Custom SQL Query"."ACCOUNT_NAME_V" AS "ACCOUNT_NAME_V", "Custom SQL Query"."BANK_ACC_NO" AS "BANK_ACC_NO", "Custom SQL Query"."BANK_NAME" AS "BANK_NAME", "Custom SQL Query"."CUSTOMER_ID" AS "CUSTOMER_ID", (CASE WHEN ("Custom SQL Query"."BANK_CODE_V" = 'FC') THEN N'Foreign Customers' WHEN ("Custom SQL Query"."BANK_CODE_V" = 'HID') THEN N'HDM Interactive DD' WHEN ("Custom SQL Query"."BANK_CODE_V" = 'CME') THEN N'Carte American Exp' WHEN ("Custom SQL Query"."BANK_CODE_V" = 'TLS') THEN N'Teleservices DD' WHEN ("Custom SQL Query"."BANK_CODE_V" = 'CPD') THEN N'Cellplus DD' ELSE NULL END) AS "Calculation_607704519170035712", "Custom SQL Query". "SERVICE_INFO_V" AS "SERVICE_INFO_V", "Custom SQL Query"."SUBSCRIBER_NAME" AS "SUBSCRIBER_NAME", SUM("Custom SQL Query"."DDEBIT_AMOUNT") AS "sum:DDEBIT_AMOUNT:ok" FROM ( select asl.service_info_v, c.trans_num_v, b.PERIOD_V, d.account_type_v, c.invoice_generated_on_d, a.BANK_CODE_V, a.BRANCH_CODE_V, a.CARD#ACCOUNT_NUMBER_V BANK_ACC_NO, a.CARD#ACC_HOLDER_NAME_V BANK_NAME, sum(INVOICE_AMT_N)/100 INVOICE_AMT, sum(INVOICE_TAX_N)/100 INVOICE_TAX_AMT, sum(INV_AMT_CLEARED_N)/100 INVOICE_AMT_CLEARED, sum(ADJUSTMENT_AMT_N)/100 INVOICE_ADJUST_AMT, sum(b.AMOUNT_N)/100 DDEBIT_AMOUNT, d.account_name_v, d.account_code_n, e.ext_subscriber_code_v Customer_id, e.first_name_v||' ' ||e.last_name_v Subscriber_name from cbsogg.cb_auto_debit a, tmp_auto_debit_log@cbsstandby b, cbsogg.cb_invoice c, cbsogg.cb_account_master d, cbsogg.c b_subscriber_master e, cb_account_service_list asl where c.account_link_code_n = d.account_link_code_n and e.ext_subscriber_code_v = asl.ext_subscriber_code_v and asl.account_code_n = d.account_code_n and d.subscriber_code_n = e.subscriber_code_n and a.account_link_code_n = b.account_link_code_n and asl.sub_service_code_v not in ('FXL-COPER', 'FXL-FIBER') and b.INVOICE_NUM_V = c.trans_num_v --and substr(UPPER(a.CARD#ACCOUNT_NUMBER_V), 1, 2) in ('FR', 'FC', 'MT') and a.ACCOUNT_LINK_CODE_N = c.account_link_code_n group by asl.service_info_v, c.trans_num_v, b.PERIOD_V, d.account_type_v, c.invoice_generated_on_d, a.BANK_CODE_V, a.BRANCH_CODE_V, a.CARD#ACCOUNT_NUMBER_V , a.CARD#ACC_HOLDER_NAME_V , d.account_name_v, d.account_code_n, e.ext_subscriber_code_v, e.first_name_v||' ' ||e.last_name_v ) "Custom SQL Query" WHERE (((CASE WHEN ("Custom SQL Query"."BANK_CODE_V" = 'FC') THEN N 'Foreign Customers' WHEN ("Custom SQL Query"."BANK_CODE_V" = 'HID') THEN N'HDM Interactive DD' WHEN ("Custom SQL Query"."BANK_CODE_V" = 'CME') THEN N'Carte American Exp' WHEN ("Custom SQL Query"."BANK_CODE_V" = 'TLS') THEN N'Teleservices DD' WHEN ("Custom SQL Query"."BANK_CODE_V" = 'CPD') THEN N'Cellplus DD' ELSE NULL END) IN (N'Carte American Exp', N'Cellplus DD', N'Foreign Customers', N'HDM Interactive DD', N'Teleservices DD')) AND ("Custom SQL Query"."ACCOUNT_TYPE_V" = 'FXL') AND (SUBSTR("Custom SQL Query"."TRANS_NUM_V", GREATEST(1, LENGTH("Custom SQL Query"."TRANS_NUM_V") - FLOOR(5) + 1)) IN ('1907A', '1907B', '1907C', '1907D')) AND ((CASE WHEN ((SUBSTR("Custom SQL Query"."TRANS_NUM_V", GREATEST(1, LENGTH("Custom SQL Query"."TRANS_NUM_V") - FLOOR(1) + 1)) = 'A') OR (SUBSTR("Custom SQL Quer y"."TRANS_NUM_V", GREATEST(1, LENGTH("Custom SQL Query"."TRANS_NUM_V") - FLOOR(1) + 1)) = 'B') OR (SUBSTR("Custom SQL Query"."TRANS_NUM_V", GREATEST(1, LENGTH("Custom SQL Query"."TRANS_NUM_V") - FLOOR(1) + 1)) = 'C') OR (SUBSTR("Custom SQL Query"."TRANS_NUM_V", GREATEST(1, LENGTH("Custom SQL Query"."TRANS_NUM_V") - FLOOR(1) + 1)) = 'D') OR (SUBSTR("Custom SQL Query"."TRANS_NUM_V", GREATEST(1, LENGTH("Custom SQL Query"."TRANS_NUM_V") - FLOOR(1) + 1)) = 'M')) THEN SUBSTR("Custom SQL Query"."TRANS_NUM_V", GREATEST(1, LENGTH("Custom SQL Query"."TRANS_NUM_V") - FLOOR(1) + 1)) ELSE NULL END) >= 'A') AND ((CASE WHEN ((SUBSTR("Custom SQL Query"."TRANS_NUM_V", GREATEST(1, LENGTH("Custom SQL Query"."TRANS_NUM_V") - FLOOR(1) + 1)) = 'A') OR (SUBSTR( "Custom SQL Query"."TRANS_NUM_V", GREATEST(1, LENGTH("Custom SQL Query"."TRANS_NUM_V") - FLOOR(1) + 1)) = 'B') OR (SUBSTR("Custom SQL Query"."TRANS_NUM_V", GREATEST(1, LENGTH("Custom SQL Query"."TRANS_NUM_V") - FLOOR(1) + 1)) = 'C') OR (SUBSTR("Custom SQL Query"."TRANS_NUM_V", GREATEST(1, LENGTH("Custom SQL Query"."TRANS_NUM_V") - FLOOR(1) + 1)) = 'D') OR (SUBSTR("Custom SQL Query"."TRANS_NUM_V", GREATEST(1, LENGTH("Custom SQL Query"."TRANS_NUM_V") - FLOOR(1) + 1)) = 'M')) THEN SUBSTR("Custom SQL Query"."TRANS_NUM_V", GREATEST(1, LENGTH("Custom SQL Query"."TRANS_NUM_V") - FLOOR(1) + 1)) ELSE NULL END) <= 'D')) GROUP BY "Custom SQL Query"."ACCOUNT_CODE_N", "Custom SQL Query"."ACCOUNT_NAME_V", "Custom SQL Query"."BANK_ ACC_NO", "Custom SQL Query"."BANK_NAME", "Custom SQL Query"."CUSTOMER_ID", (CASE WHEN ("Custom SQL Query"."BANK_CODE_V" = 'FC') THEN N'Foreign Customers' WHEN ("Custom SQL Query"."BANK_CODE_V" = 'HID') THEN N'HDM Interactive DD' WHEN ("Custom SQL Query"."BANK_CODE_V" = 'CME') THEN N'Carte American Exp' WHEN ("Custom SQL Query"."BANK_CODE_V" = 'TLS') THEN N'Teleservices DD' WHEN ("Custom SQL Query"."BANK_CODE_V" = 'CPD') THEN N'Cellplus DD' ELSE NULL END), "Custom SQL Query"."SERVICE_INFO_V", "Custom SQL Query"."SUBSCRIBER_NAME"
528xrg7y3jjrmcreate table TB_MT_
52k94azm1ak0jBEGIN generate_order_report; END;
5aagfw36gdgdn SELECT "A1"."ACCOUNT_CODE_N", "A1"."ACCOUNT_LINK_CODE_N", "A1"."TO_DATE_D", "A2"."ACCOUNT_LINK_CODE_N", "A2"."OFFER_CODE_V", "A2"."START_DATE_D", "A2"."END_DATE_D", "A3"."OFFER_CODE_V", "A3"."DISPLAY_DESCRIPTION_V" FROM "CB_ACCOUNT_SERVICE_LIST" "A1", "CB_SUBS_OFFER_DETAILS" "A2", "CB_OFFERS" "A3" WHERE "A2"."OFFER_CODE_V"="A3"."OFFER_CODE_V" AND "A1"."ACCOUNT_LINK_CODE_N"="A2"."ACCOUNT_LINK_CODE_N" AND SYS_EXTRACT_UTC(NVL("A2"."END_DATE_D", SYSDATE@!))>=SYS_EXTRACT_UTC(CAST(SYSDATE@! AS TIMESTAMP)) AND SYS_EXTRACT_UTC(NVL("A1"."TO_DATE_D", SYSDATE@!))>=SYS_EXTRACT_UTC(CAST(SYSDATE@! AS TIMESTAMP))
5mqbcmukamhhb SELECT (CASE WHEN (("INV STOCK SUMMARY"."OPEN_QTY" > 0) OR ("INV STOCK SUMMARY"."STOCK_IN" > 0) OR ((CASE WHEN (TRUNC(CAST("INV STOCK SUMMARY"."DATE_D" AS DATE)) = TO_DATE('2017-05-14', 'YYYY-MM-DD')) THEN COALESCE(ROUND(TRUNC("INV STOCK SUMMARY"."OPEN_QTY"), 0), 0) ELSE NULL END) > 0) OR ((CASE WHEN (TRUNC(CAST("INV STOCK SUMMARY"."DATE_D" AS DATE)) <= TO_DATE('2018-02-15', 'YYYY-MM-DD')) THEN ROUND(TRUNC(COALESCE("INV STOCK SUMMARY"."STOCK_IN", 0)), 0) ELSE NULL END) > 0)) THEN "ITEM MASTER"."ITEM_DESC_V" ELSE NULL END) AS "Calculation_105834620245569536" FROM ( SELECT DATE_D, LOCATION_CODE_N, ITEM_CODE_N, sum(nvl(OPENING_QTY_N , 0)) open_qty, sum(nvl(STOCK_IN_QTY_N , 0)) stock_in, sum(nvl(STOCK_OUT_QTY_N , 0)) stock_out, sum(nvl(STOCK_RETURN_QTY_N , 0)) stock_return, sum(nvl(STOCK_ACCEPTED_QTY _N , 0)) stock_accept, sum(nvl(STOCK_WRITE_OFF_QTY_N , 0)) stock_w_off, sum(nvl(BUNDLED_STOCK_QTY_N , 0)) bund_stk_qty, sum(nvl(SUBS_SALES_QTY_N , 0)) subs_stk_qty, sum(nvl(PROS_SALES_QTY_N , 0)) pro_sale, sum(nvl(DLR_SALES_QTY_N , 0)) dlr_sale, sum(nvl(STAFF_SALES_QTY_N , 0)) staff_sale, sum(nvl(GIFT_SALES_QTY_N , 0)) gift_sale, sum(nvl(SALES_EXCHANGE_QTY_N , 0)) exch_sale, sum(nvl(CLOSING_STOCK_QTY_N , 0)) close_stk, sum(nvl(SALES_RETURN_QTY_N , 0)) return_sale, sum(nvl(ACTIVATION_SALES_QTY_N , 0)) act_sale, sum(nvl(DECOUPLED_STOCK_QTY_N , 0)) decoup_sale, sum(nvl(REQUISITION_STK_QTY_N , 0)) req_stk, sum(nvl(RELEASED_STK_QTY_N , 0)) release_stk, sum(nvl(CON_ALLOCATED_QTY_N , 0)) con_alloc, sum(nvl(CON_RETURN_QTY_N , 0)) con_return, sum(nvl(CON_SALES_QTY_N , 0)) con_sale, sum(nvl(CON_RELEASE_STK_QTY_N , 0)) con_release, sum(nvl(BUND_DEC_QTY_N , 0)) bund_dec, sum(nvl(BUNDLED_ITEM_QTY_N , 0)) bund_item, sum(nvl(SAL_CANCEL_QTY_N , 0)) sal_cancel, sum(nvl(DAMAGED_QTY_N , 0)) damage, sum(nvl(ADJ_QTY_MORE_N , 0)) adj_qty_more, sum(nvl(ADJ_QTY_LESS_N , 0)) adj_qty_less, sum(nvl(UPLOAD_QTY_N , 0)) upload_qty, sum(nvl(PND_SALES_QTY_N , 0)) pnd_sale, sum(nvl(ACTUAL_SALES_QTY_N , 0)) actual_sale, sum(nvl(REL_PND_SALES_QTY_N , 0)) rel_pnd_sale, sum(nvl(BLOCK_QTY_N , 0)) block_qty, sum(nvl(REL_BLOCK_QTY_N , 0)) rel_block_qty, sum(nvl(EXT_BLOCK_QTY_N , 0)) ext_block_qty, sum(nvl(EXT_REL_BLOCK_QTY_N , 0)) ext_rel_blk_qty, sum(nvl(INCREASED_EQUIP_RET_N , 0)) incr_equip_ret, sum(nvl(DECREASED_EQUIP_RET_N , 0)) decr_equip_ret FROM INV_STOCK_SUMMARY group by DATE_D, LOCATION_CODE_N, ITEM_CODE_N ) "INV STOCK SUMMARY" INNER JOIN ( SELECT * FROM CBSOGG.INV_ITEM_MASTER ) "ITEM MASTER" ON ("INV STOCK SUMMARY"."ITEM_CODE_N" = "ITEM MASTER"."ITEM_CODE_N") WHERE ((((CASE WHEN (("INV STOCK SUMMARY"."OPEN_QTY" > 0) OR ("INV STOCK SUMMARY"."STOCK_IN" > 0) OR ((CASE WHEN (TRUNC(CAST("INV STOCK SUMMARY"."DATE_D" AS DATE)) = TO_DATE('2017-05-14', 'YYYY-MM-DD')) THEN COALESCE(ROUND(TRUNC("INV STOCK SUMMARY"."OPEN_QTY"), 0), 0) ELSE NULL END) > 0) OR ((CASE WHEN (TRUNC(CAST("INV STOCK SUMMARY"."DATE_D" AS DATE)) <= TO_DATE('2018-02-15', 'YYYY-MM-DD')) THEN ROUND(TRUNC(COALESCE("INV STOCK SUMMARY"."STOCK_IN", 0)), 0) ELSE NULL END) > 0)) THEN "ITEM MASTER"."ITEM_DESC_V" ELSE NULL END) >= '10 MEMORY TRIMLINE WITH DUAL MODE') AND ((CASE WHEN (("INV STOCK SUMMARY"."OPEN_QTY" > 0) OR ("INV STOCK SUMMARY"."STOCK_IN" > 0) OR ((CASE WHEN (TRUNC(CAST("INV STOCK SUMMARY"."DATE_D" AS DATE)) = TO_DATE('2017-05-14', 'YYYY-MM-DD')) THEN COALESCE(ROUND(TRUNC("I NV STOCK SUMMARY"."OPEN_QTY"), 0), 0) ELSE NULL END) > 0) OR ((CASE WHEN (TRUNC(CAST("INV STOCK SUMMARY"."DATE_D" AS DATE)) <= TO_DATE('2018-02-15', 'YYYY-MM-DD')) THEN ROUND(TRUNC(COALESCE("INV STOCK SUMMARY"."STOCK_IN", 0)), 0) ELSE NULL END) > 0)) THEN "ITEM MASTER"."ITEM_DESC_V" ELSE NULL END) <= 'FLYBOX_BUSINESS')) OR (((CASE WHEN (("INV STOCK SUMMARY"."OPEN_QTY" > 0) OR ("INV STOCK SUMMARY"."STOCK_IN" > 0) OR ((CASE WHEN (TRUNC(CAST("INV STOCK SUMMARY"."DATE_D" AS DATE)) = TO_DATE('2017-05-14', 'YYYY-MM-DD')) THEN COALESCE(ROUND(TRUNC("INV STOCK SUMMARY"."OPEN_QTY"), 0), 0) ELSE NULL END) > 0) OR ((CASE WHEN (TRUNC(CAST("INV STOCK SUMMARY"."DATE_D" AS DATE)) <= TO_DATE('2018-02-15', 'YYYY-MM-DD')) THEN ROUND(TRUNC(COALESCE("INV STOCK SUMMARY"."STOCK_IN", 0)) , 0) ELSE NULL END) > 0)) THEN "ITEM MASTER"."ITEM_DESC_V" ELSE NULL END) >= 'FP - MEMORY PHONE EX 29168') AND ((CASE WHEN (("INV STOCK SUMMARY"."OPEN_QTY" > 0) OR ("INV STOCK SUMMARY"."STOCK_IN" > 0) OR ((CASE WHEN (TRUNC(CAST("INV STOCK SUMMARY"."DATE_D" AS DATE)) = TO_DATE('2017-05-14', 'YYYY-MM-DD')) THEN COALESCE(ROUND(TRUNC("INV STOCK SUMMARY"."OPEN_QTY"), 0), 0) ELSE NULL END) > 0) OR ((CASE WHEN (TRUNC(CAST("INV STOCK SUMMARY"."DATE_D" AS DATE)) <= TO_DATE('2018-02-15', 'YYYY-MM-DD')) THEN ROUND(TRUNC(COALESCE("INV STOCK SUMMARY"."STOCK_IN", 0)), 0) ELSE NULL END) > 0)) THEN "ITEM MASTER"."ITEM_DESC_V" ELSE NULL END) <= 'HUAWEI E398U-15')) OR (((CASE WHEN (("INV STOCK SUMMARY"."OPEN_QTY" > 0) OR ("INV STOCK SUMMARY"."STOCK_IN" > 0) OR ((CASE WHEN ( TRUNC(CAST("INV STOCK SUMMARY"."DATE_D" AS DATE)) = TO_DATE('2017-05-14', 'YYYY-MM-DD')) THEN COALESCE(ROUND(TRUNC("INV STOCK SUMMARY"."OPEN_QTY"), 0), 0) ELSE NULL END) > 0) OR ((CASE WHEN (TRUNC(CAST("INV STOCK SUMMARY"."DATE_D" AS DATE)) <= TO_DATE('2018-02-15', 'YYYY-MM-DD')) THEN ROUND(TRUNC(COALESCE("INV STOCK SUMMARY"."STOCK_IN", 0)), 0) ELSE NULL END) > 0)) THEN "ITEM MASTER"."ITEM_DESC_V" ELSE NULL END) >= 'HUAWEI GOVA 535') AND ((CASE WHEN (("INV STOCK SUMMARY"."OPEN_QTY" > 0) OR ("INV STOCK SUMMARY"."STOCK_IN" > 0) OR ((CASE WHEN (TRUNC(CAST("INV STOCK SUMMARY"."DATE_D" AS DATE)) = TO_DATE('2017-05-14', 'YYYY-MM-DD')) THEN COALESCE(ROUND(TRUNC("INV STOCK SUMMARY"."OPEN_QTY"), 0), 0) ELSE NULL END) > 0) OR ((CASE WHEN (TRUNC(CAST("INV STOCK SUMMARY"."DATE_D " AS DATE)) <= TO_DATE('2018-02-15', 'YYYY-MM-DD')) THEN ROUND(TRUNC(COALESCE("INV STOCK SUMMARY"."STOCK_IN", 0)), 0) ELSE NULL END) > 0)) THEN "ITEM MASTER"."ITEM_DESC_V" ELSE NULL END) <= 'ZTE WI-FI MODEM H108N'))) GROUP BY (CASE WHEN (("INV STOCK SUMMARY"."OPEN_QTY" > 0) OR ("INV STOCK SUMMARY"."STOCK_IN" > 0) OR ((CASE WHEN (TRUNC(CAST("INV STOCK SUMMARY"."DATE_D" AS DATE)) = TO_DATE('2017-05-14', 'YYYY-MM-DD')) THEN COALESCE(ROUND(TRUNC("INV STOCK SUMMARY"."OPEN_QTY"), 0), 0) ELSE NULL END) > 0) OR ((CASE WHEN (TRUNC(CAST("INV STOCK SUMMARY"."DATE_D" AS DATE)) <= TO_DATE('2018-02-15', 'YYYY-MM-DD')) THEN ROUND(TRUNC(COALESCE("INV STOCK SUMMARY"."STOCK_IN", 0)), 0) ELSE NULL END) > 0)) THEN "ITEM MASTER"."ITEM_DESC_V" ELSE NULL END)
5n1fs4m2n2y0rselect pos#, intcol#, col#, spare1, bo#, spare2, spare3 from icol$ where obj#=:1
616m6uhpa2usu** SQL Text Not Available **
61tn3mam0vq0b SELECT source, (case when time_secs < 1 then 1 else time_secs end) as time_secs, operation FROM ( SELECT 1 as source, trunc((sysdate - cast(ll.log_date as date)) * 86400) as time_secs, decode(ll.operation, 'OPEN', 0 , 1 ) as operation, ll.log_id as log_id FROM DBA_SCHEDULER_WINDOW_LOG ll , ( SELECT max(l.log_id) as max_log_id FROM DBA_SCHEDULER_WINDOW_LOG l , DBA_SCHEDULER_WINGROUP_MEMBERS m WHERE l.window_name = m.window_name AND m.window_group_name = 'MAINTENANCE_WINDOW_GROUP' AND l.operation in ('OPEN', 'CLOSE') AND CAST(l.log_date AS DATE) < ( SELECT cast(min(end_interval_time) as date) as btime FROM WRM$_SNAPSHOT bsi WHERE bsi.dbid = :dbid AND bsi.snap_id = :bid ) ) max_log WHERE ll.log_id = max_log.max_log_id UNION ALL SELECT 2 as source, trunc((sysdate - cast(l.log_date as date)) * 86400) as time_secs, decode(l.operation, 'OPEN', 0 , 1 ) as operation, l.log_id as log_id FROM DBA_SCHEDULER_WINDOW_LOG l , DBA_SCHEDULER_WINGROUP_MEMBERS m WHERE l.window_name = m.window_name AND m.window_group_name = 'MAINTENANCE_WINDOW_GROUP' AND l.operation in ('OPEN', 'CLOSE') AND CAST(l.log_date AS DATE) <= ( SELECT cast(max(end_interval_time) as date) as etime FROM WRM$_SNAPSHOT esi WHERE esi.dbid = :dbid AND esi.snap_id = :eid ) AND CAST(l.log_date AS DATE) >= ( SELECT cast(min(end_interval_time) as date) as btime FROM WRM$_ SNAPSHOT bsi WHERE bsi.dbid = :dbid AND bsi.snap_id = :bid ) UNION ALL SELECT 0 as source, trunc((sysdate - et.etime) * 86400) as time_secs, 3 as operation, 0 as log_id FROM ( SELECT cast(max(end_interval_time) as date) as etime FROM WRM$_SNAPSHOT esi WHERE esi.dbid = :dbid AND esi.snap_id = :eid ) et UNION ALL SELECT 0 as source, trunc((sysdate - bt.btime) * 86400) as time_secs, 2 as operation, 0 as log_id FROM ( SELECT cast(min(end_interval_time) as date) as btime FROM WRM$_SNAPSHOT bsi WHERE bsi.dbid = :dbid AND bsi.snap_id = :bid ) bt ) WHERE time_secs >= 0 ORDER BY source ASC, time_secs DESC, log_id ASC
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#
6287bu7gaqpn6INSERT INTO SYSTEM.LOGMNRT_MDDL$ Z (Z.SOURCE_OBJ#, Z.SOURCE_ROWID, Z.DEST_ROWID) SELECT :B4 , :B3 , X.ROWID FROM SYSTEM.LOGMNR_OBJ$ X WHERE X.OBJ# = :B2 AND X.LOGMNR_UID = :B1 AND X.ROWID NOT IN (SELECT Y.DEST_ROWID FROM SYSTEM.LOGMNRT_MDDL$ Y WHERE Y.SOURCE_OBJ# = :B4 )
63t3ufgq37m0cSELECT instance_number, instance_name, host_name FROM ( SELECT dbin.instance_number as instance_number, max(dbin.instance_name) as instance_name, max(dbin.host_name) as host_name, sum(case when s.snap_id in (:bid, :eid) then 1 else 0 end) as cnt_edge FROM WRM$_SNAPSHOT s , WRM$_DATABASE_INSTANCE dbin WHERE s.dbid = :dbid AND dbin.instance_number = s.instance_number AND s.snap_id >= :bid AND s.snap_id <= :eid AND dbin.dbid = s.dbid AND dbin.startup_time = s.startup_time GROUP BY dbin.instance_number ) WHERE cnt_edge < 2
6795mu6bwn2z6SELECT DETAIL_DESCRIPTION_V FROM CBSOGG.CB_PACKAGE WHERE PACKAGE_CODE_V=:B1
69k5bhm12sz98 SELECT dbin.instance_number, dbin.db_name, dbin.instance_name, dbin.host_name, dbin.version, CASE WHEN s1.startup_time = s2.startup_time THEN 0 ELSE 1 END as bounce, CAST(s1.end_interval_time AS DATE) as begin_time, CAST(s2.end_interval_time AS DATE) as end_time, ROUND((cast( (case when s2.end_interval_time > s1.end_interval_time then s2.end_interval_time else s1.end_interval_time end) as date) - cast(s1.end_interval_time as date)) * 86400) as int_secs, CASE WHEN (s1.status <> 0 OR s2.status <> 0) THEN 1 ELSE 0 END as err_detect, round( greatest( (extract(day from s2.flush_elapsed) * 86400) + (extract(hour from s2.flush_elapsed) * 3600) + (extract(minute from s2.flush_elapsed) * 60) + extract(second from s2.flush_elapsed), (extract(day from s1.flush_elapsed) * 86400) + (extract(hour from s1.flush_elapsed) * 3600) + (extract(minute from s1.flush_elapsed) * 60) + extract(second from s1.flush_elapsed), 0 )) as max_flush_secs FROM WRM$_SNAPSHOT s1 , WRM$_DATABASE_INSTANCE dbin , WRM$_SNAPSHOT s2 WHERE s1.dbid = :dbid AND s2.dbid = :dbid AND s1.instance_number = s2.instance_number AND dbin.instance_number = s1.instance_number AND s1.snap_id = :bid AND s2.snap_id = :eid AND dbin.dbid = s1.dbid AND dbin.startup_time = s1.startup_time and dbin.instance_number = :inst
6fchhyp65szsc SELECT "Custom SQL Query"."SOURCE_V" AS "SOURCE_V" FROM ( select distinct 'Workflow' Category, tt.docket_number_n ticket_no, wm.wrkflw_desc_v Workflow_desc, wm.estimated_resoln_tm_n sla_time, tt.ticket_regn_dt_d ticket_reg_date, round((cast((FROM_TZ(CAST(tt.ticket_regn_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_reg_date_sec, x.start_dt_d ticket_start_date, round((cast((FROM_TZ(CAST(x.start_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_start_date_sec, x.end_dt_d ticket_end_date, round((cast((FROM_TZ(CAST(x.end_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_end_date_sec, tt.ticket_resp_dt_d ticket_resp_date, round((cast((FROM_TZ(CAST(tt.ticket_resp_dt_d as timestamp), sessiontimezone) at time zone 'GM T') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_resp_date_sec, round((cast((FROM_TZ(CAST(sysdate as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) sys_date, decode(tt.status_v, 'P', 'Pending', 'A', 'Task completed', 'C', 'Closed', 'R', 'Resolved') StatusTicket, decode(tt.ticket_type_v, 'Q', 'Query', 'C', 'Complaint Type', 'R', 'Service Request') Ticket_type, (select A3.CATEGORY_DESCRIPTION_V from cbsogg.TT_CATEGORY_MASTER A3 where A3.category_code_v = (select A2.parent_category_code_v from cbsogg.TT_CATEGORY_MASTER A2 where A2.category_code_v = (select t1.subcategory_id_v from cbsogg.TT_TICKETINFO t1 where t1.docket_number_n = tt.docket_number_n)) and A3.parent_category_code_v <> '0') Complaint_type, (SELECT distinct A1.CATEGORY_DESCRIPTION_V FROM cbsogg.TT_CATEGORY_MASTER A1 WHERE A1.CATEGORY_CODE_V = tt.SUBCATEGORY_ID_V ) SubComplaint_type, (select d.mobl_num_voice_v f rom cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) MSISDN, (select csm.first_name_v||csm.last_name_v from cbsogg.gsm_service_mast d, cbsogg.cb_account_master cam , cbsogg.cb_subscriber_master csm where d.account_code_n = cam.account_code_n and csm.subscriber_code_n = cam.subscriber_code_n and tt.entity_id_n = d.mobl_num_voice_v ) SUBS_NAME, (select d.sub_service_code_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) Service_code, (select d.subscriber_category_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v) Segments, (select g.SUBS_SUB_CATEGORY_DESC_V from cbsogg.gsm_service_mast d, cbsogg.cb_subscriber_sub_category g where tt.entity_id_n = d.mobl_num_voice_v and d.subscriber_category_v = g.subs_category_code_v and d.subscriber_sub_category_v = g.subs_sub_category_code_v) sub_segments, (select d.status_code_v from cbsogg.gsm_service_mast d where tt.en tity_id_n = d.mobl_num_voice_v ) mob_status, (select d.account_code_n from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v) Account_no, a.expiry_time_d bin_expiry_date, round((cast((FROM_TZ(CAST(a.expiry_time_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) bin_expiry_date_sec, a.assignment_dt_d bin_assign_date, round((cast((FROM_TZ(CAST(a.assignment_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) bin_assign_date_sec, a.work_completion_dt_d bin_comp_date, round((cast((FROM_TZ(CAST(a.work_completion_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) bin_compl_date_sec, x.status_v wf_status, tt.tt_source_v Source_v, (select distinct cm.CATEGORY_DESCRIPTION_V from cbsogg.TT_CATEGORY_MASTER cm where cm.category_code_v = tt.category_id_v and cm.category_type_v = tt.ticket_type_v and cm.parent_category_code_v = '0') Category_desc, (select f.user_name_v from cbsogg.cb_users f where f.user_code_n = tt.LOGGED_BY_N) Created_by, cu.user_name_v Assign_to, e.GROUP_NAME_V activity_name_v, tt.question_v, tt.answer_v, a.notes_v Notes, (SELECT CFT.fault_name_v FROM cbsogg.TT_TICKET_ADDNL_INFO TAI, cb_fault_types CFT where TAI.FAULT_CODE_V = CFT.FAULT_CODE_V and tt.docket_number_n = TAI.docket_number_n) ROOT_CAUSE, cu.user_name_v user_name from cbsogg.WF_TODOITEM a, WF_WORKFLOW@cbsstandby x , cbsogg.WF_WORKASSIGNMENT c, cbsogg.TT_TICKETINFO tt, cbsogg.WF_WRKFLWMGR wm, cb_users cu , cbsogg.cb_user_group e where a.event_refno_v = x.event_refno_v and tt.docket_number_n = x.event_refno_v and x.wrkflw_id_n = wm.wrkflw_id_n and a.work_id_n = c.work_id_n --and tt.docket_number_n = '35022' and a.user_id_n = cu.user_code_n AND cu.GROUP_CODE_N = e.GROUP_CODE_N union all select distinct 'Workflow' Category, tt.docket_number_n ticket_no, wm.wrkflw_desc_v Workflow_desc, wm.estimated_resoln_tm_n sla_time, tt.ticket_regn_dt_d ticket_reg_date, round((cast((FROM_TZ(CAST(tt.ticket_regn_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_reg_date_sec, x.start_dt_d ticket_start_date, round((cast((FROM_TZ(CAST(x.start_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_start_date_sec, x.end_dt_d ticket_end_date, round((cast((FROM_TZ(CAST(x.end_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_end_date_sec, tt.ticket_resp_dt_d ticket_resp_date, round((cast((FROM_TZ(CAST(tt.ticket_resp_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_resp_date_sec, round((cast((FROM_TZ(CAST(sysdate as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) sys_date, decode(tt.status_v, 'P', 'Pending', 'A', 'Task completed', 'C', 'Closed', 'R', 'Resolved') StatusTicket, decode(tt.ticket_type_v, 'Q', 'Query', 'C', 'Complaint Type', 'R', 'Service Request') Ticket_type, (select A3.CATEGORY_DESCRIPTION_V from cbsogg.TT_CATEGORY_MASTER A3 where A3.category_code_v = (select A2.parent_category_code_v from cbsogg.TT_CATEGORY_MASTER A2 where A2.category_code_v = (select t1.subcategory_id_v from cbsogg.TT_TICKETINFO t1 where t1.docket_number_n = tt.docket_number_n)) and A3.parent_category_code_v <> '0') Complaint_type, (SELECT distinct A1.CATEGORY_DESCRIPTION_V FROM cbsogg.TT_CATEGORY_MASTER A1 WHERE A1.CATEGORY_CODE_V = tt.SUBCATEGORY_ID_V ) SubComplaint_type, (select d.mobl_num_voice_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) MSISD N, (select csm.first_name_v||csm.last_name_v from cbsogg.gsm_service_mast d, cbsogg.cb_account_master cam , cbsogg.cb_subscriber_master csm where d.account_code_n = cam.account_code_n and csm.subscriber_code_n = cam.subscriber_code_n and tt.entity_id_n = d.mobl_num_voice_v ) SUBS_NAME, (select d.sub_service_code_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) Service_code, (select d.subscriber_category_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v) Segments, (select g.SUBS_SUB_CATEGORY_DESC_V from cbsogg.gsm_service_mast d, cbsogg.cb_subscriber_sub_category g where tt.entity_id_n = d.mobl_num_voice_v and d.subscriber_category_v = g.subs_category_code_v and d.subscriber_sub_category_v = g.subs_sub_category_code_v) sub_segments, (select d.status_code_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) mob_status, (select d.account_code_n from cbso gg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v) Account_no, a.expiry_time_d bin_expiry_date, round((cast((FROM_TZ(CAST(a.expiry_time_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) bin_expiry_date_sec, a.assignment_dt_d bin_assign_date, round((cast((FROM_TZ(CAST(a.assignment_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) bin_assign_date_sec, a.work_completion_dt_d bin_comp_date, round((cast((FROM_TZ(CAST(a.work_completion_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) bin_compl_date_sec, x.status_v wf_status, tt.tt_source_v Source_v, (select distinct cm.CATEGORY_DESCRIPTION_V from cbsogg.TT_CATEGORY_MASTER cm where cm.category_code_v = tt.category_id_v and cm.category_type_v = tt.ticket_type_v and cm.parent_category_code_v = '0') Cat egory_desc, (select f.user_name_v from cbsogg.cb_users f where f.user_code_n = tt.LOGGED_BY_N) Created_by, cu.user_name_v Assign_to, e.GROUP_NAME_V activity_name_v, tt.question_v, tt.answer_v, a.notes_v Notes, (SELECT CFT.fault_name_v FROM cbsogg.TT_TICKET_ADDNL_INFO TAI, cbsogg.cb_fault_types CFT where TAI.FAULT_CODE_V = CFT.FAULT_CODE_V and tt.docket_number_n = TAI.docket_number_n) ROOT_CAUSE, cu.user_name_v user_name from cbsogg.WF_TODOITEM_HISTORY a, WF_WORKFLOW@cbsstandby x , cbsogg.WF_WORKASSIGNMENT_HISTORY c, cbsogg.TT_TICKETINFO tt, cbsogg.WF_WRKFLWMGR wm, cbsogg.cb_users cu , cbsogg.cb_user_group e where a.event_refno_v = x.event_refno_v and tt.docket_number_n = x.event_refno_v and x.wrkflw_id_n = wm.wrkflw_id_n and a.work_id_n = c.work_id_n --and tt.docket_number_n = '35022' and a.user_id_n = cu.user_code_n AND cu.GROUP_CODE_N = e.GROUP_CODE_N union all select distinct 'FLR' Category, tt.docket _number_n ticket_no, null Workflow_desc, null sla_time, tt.ticket_regn_dt_d registration_date, null wf_reg_date_sec, null start_date, null wf_start_date_sec, null wf_end_date, null wf_end_date_sec, tt.ticket_resp_dt_d workflw_resp_date, null wf_resp_date_sec, round((cast((FROM_TZ(CAST(sysdate as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) sys_date, decode(tt.status_v, 'P', 'Pending', 'A', 'Task completed', 'C', 'Closed', 'R', 'Resolved') StatusTicket, decode(tt.ticket_type_v, 'Q', 'Query', 'C', 'Complaint Type', 'R', 'Service Request') Ticket_type, (select A3.CATEGORY_DESCRIPTION_V from cbsogg.TT_CATEGORY_MASTER A3 where A3.category_code_v = (select A2.parent_category_code_v from cbsogg.TT_CATEGORY_MASTER A2 where A2.category_code_v = (select t1.subcategory_id_v from cbsogg.TT_TICKETINFO t1 where t1.docket_number_n = tt.docket_number_n)) and A3.parent_category_code_v <> '0') Co mplaint_type, (SELECT distinct A1.CATEGORY_DESCRIPTION_V FROM cbsogg.TT_CATEGORY_MASTER A1 WHERE A1.CATEGORY_CODE_V = tt.SUBCATEGORY_ID_V ) SubComplaint_type, (select d.mobl_num_voice_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) MSISDN, (select csm.first_name_v||csm.last_name_v from cbsogg.gsm_service_mast d, cbsogg.cb_account_master cam , cbsogg.cb_subscriber_master csm where d.account_code_n = cam.account_code_n and csm.subscriber_code_n = cam.subscriber_code_n and tt.entity_id_n = d.mobl_num_voice_v ) SUBS_NAME, (select d.sub_service_code_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) Service_code, (select d.subscriber_category_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v) Segments, (select g.SUBS_SUB_CATEGORY_DESC_V from cbsogg.gsm_service_mast d, cbsogg.cb_subscriber_sub_category g where tt.entity_id_n = d.mobl_num_voice_v and d.subscr iber_category_v = g.subs_category_code_v and d.subscriber_sub_category_v = g.subs_sub_category_code_v) sub_segments, (select d.status_code_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) mob_status, (select d.account_code_n from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v) Account_no, null bin_expiry_date, null bin_expiry_date_sec, null bin_assign_date, null bin_assign_date_sec, null bin_comp_date, null bin_compl_date_sec, null wf_status, tt.tt_source_v Source_v, (select distinct cm.CATEGORY_DESCRIPTION_V from cbsogg.TT_CATEGORY_MASTER cm where cm.category_code_v = tt.category_id_v and cm.category_type_v = tt.ticket_type_v and cm.parent_category_code_v = '0') Category_desc, (select f.user_name_v from cbsogg.cb_users f where f.user_code_n = tt.LOGGED_BY_N) Created_by, null Assign_to, C.GROUP_NAME_V activity_name, tt.question_v, tt.answer_v, TTI.NOTES_V Notes, (SELECT CFT .fault_name_v FROM cbsogg.TT_TICKET_ADDNL_INFO TAI, cbsogg.cb_fault_types CFT--, TT_TICKETINFO c where TAI.FAULT_CODE_V = CFT.FAULT_CODE_V and tt.docket_number_n = TAI.docket_number_n) ROOT_CAUSE, B.USER_NAME_V user_name from cbsogg.TT_TICKETINFO tt, cbsogg.CB_USERS B, cbsogg.CB_USER_GROUP C, cbsogg.TT_TICKETINCIDENT TTI where tt.docket_number_n not in(select event_refno_v from WF_WORKFLOW@cbsstandby) AND TTI.INCIDENT_NUMBER_N = tt.docket_number_n AND tt.LOGGED_BY_N = B.USER_CODE_N AND C.GROUP_CODE_N = B.GROUP_CODE_N ) "Custom SQL Query" GROUP BY "Custom SQL Query"."SOURCE_V" ORDER BY 1 ASC NULLS FIRST
6qg99cfg26kwbSELECT COUNT(UNQ) UNQ, COUNT(PFX) PFX FROM (SELECT /*+ first_rows(1) leading(cc) */ CD.TYPE# UNQ, NULL PFX FROM SYS.CCOL$ CC, SYS.CDEF$ CD WHERE CC.OBJ# = :B2 AND CC.INTCOL# = :B1 AND CD.CON# = CC.CON# AND CD.OBJ# = CC.OBJ# AND CD.ENABLED IS NOT NULL AND CD.INTCOLS = 1 AND CD.TYPE# IN (2, 3) AND BITAND(CD.DEFER, 2+4) = 4 AND ROWNUM < 2 UNION ALL SELECT /*+ first_rows(1) leading(i) */ CASE WHEN I.INTCOLS = 1 AND BITAND(I.PROPERTY, 1) = 1 THEN 3 ELSE NULL END UNQ, CASE WHEN IC.POS# = 1 THEN 1 ELSE NULL END PFX FROM SYS.IND$ I, SYS.ICOL$ IC WHERE I.BO# = :B2 AND I.BO# = IC.BO# AND IC.INTCOL# = :B1 AND I.OBJ# = IC.OBJ# AND BITAND(I.FLAGS, 1025) = 0 AND ROWNUM < 2 )
6t38f117sqpjjSELECT CASE WHEN STATUS_CODE_V = 'ER' THEN 'Deactivated' WHEN STATUS_CODE_V = 'PR' THEN 'Pre Terminated' ELSE SERVICE_INFO_V END, ACCOUNT_LINK_CODE_N, PACKAGE_CODE_V FROM CBSOGG.CB_ACCOUNT_SERVICE_LIST WHERE ACCOUNT_CODE_N = :B1 AND SUB_SERVICE_CODE_V IN ('FXL-FIBER', 'FXL-COPER') AND STATUS_CODE_V IN ('AC', 'SP', 'C', 'IA', 'PR', 'ER') AND FROM_DATE_D=(SELECT MAX(FROM_DATE_D) FROM CB_ACCOUNT_SERVICE_LIST WHERE ACCOUNT_CODE_N = :B1 AND SUB_SERVICE_CODE_V IN ('FXL-FIBER', 'FXL-COPER') AND STATUS_CODE_V IN ('AC', 'SP', 'C', 'IA', 'PR', 'ER') ) AND ROWNUM = 1
6wm3n4d7bnddg SELECT source, (case when time_secs < 1 then 1 else time_secs end) as time_secs, operation FROM ( SELECT 1 as source, trunc((sysdate - cast(ll.log_date as date)) * 86400) as time_secs, decode(ll.operation, 'OPEN', 0 , 1 ) as operation, ll.log_id as log_id FROM DBA_SCHEDULER_WINDOW_LOG ll , ( SELECT max(l.log_id) as max_log_id FROM DBA_SCHEDULER_WINDOW_LOG l , DBA_SCHEDULER_WINGROUP_MEMBERS m WHERE l.window_name = m.window_name AND m.window_group_name = 'MAINTENANCE_WINDOW_GROUP' AND l.operation in ('OPEN', 'CLOSE') AND CAST(l.log_date AS DATE) < ( SELECT cast(min(end_interval_time) as date) as btime FROM WRM$_SNAPSHOT bsi WHERE bsi.dbid = :dbid AND bsi.instance_number = :inst AND bsi. snap_id = :bid ) ) max_log WHERE ll.log_id = max_log.max_log_id UNION ALL SELECT 2 as source, trunc((sysdate - cast(l.log_date as date)) * 86400) as time_secs, decode(l.operation, 'OPEN', 0 , 1 ) as operation, l.log_id as log_id FROM DBA_SCHEDULER_WINDOW_LOG l , DBA_SCHEDULER_WINGROUP_MEMBERS m WHERE l.window_name = m.window_name AND m.window_group_name = 'MAINTENANCE_WINDOW_GROUP' AND l.operation in ('OPEN', 'CLOSE') AND CAST(l.log_date AS DATE) <= ( SELECT cast(max(end_interval_time) as date) as etime FROM WRM$_SNAPSHOT esi WHERE esi.dbid = :dbid AND esi.instance_number = :inst AND esi.snap_id = :eid ) AND CAST(l.log_date AS DATE) >= ( SELECT cast(min(end_interval_time) as date) as btime FROM WRM$_SNAPSHOT bsi WHERE bsi.dbid = :dbid AND bsi.instance_number = :inst AND bsi.snap_id = :bid ) UNION ALL SELECT 0 as source, trunc((sysdate - et.etime) * 86400) as time_secs, 3 as operation, 0 as log_id FROM ( SELECT cast(max(end_interval_time) as date) as etime FROM WRM$_SNAPSHOT esi WHERE esi.dbid = :dbid AND esi.instance_number = :inst AND esi.snap_id = :eid ) et UNION ALL SELECT 0 as source, trunc((sysdate - bt.btime) * 86400) as time_secs, 2 as operation, 0 as log_id FROM ( SELECT cast(min(end_interval_time) as date) as btime FROM WRM$_SNAPSHOT bsi WHERE bsi.dbid = :dbid AND bsi.instance_number = :inst AND bsi.snap_id = :bid ) bt ) WHERE time_secs >= 0 ORDER B Y source ASC, time_secs DESC, log_id ASC
6xvp6nxs4a9n4select nvl(sum(space), 0) from recyclebin$ where ts# = :1
7ddfg16h7b9m2update /*+ streams restrict_all_ref_cons */ "CBSOGG"."CB_SUBS_PROVISIONING" p set "CAI_CMD_RESP_STRING"=dbms_reputil2.get_final_lob(:1, "CAI_CMD_RESP_STRING", :2), "EXECUTION_DATE_DT"=decode(:3, 'N', "EXECUTION_DATE_DT", :4), "NO_OF_TIMES_EXECUTED_N"=decode(:5, 'N', "NO_OF_TIMES_EXECUTED_N", :6), "REMARK_V"=decode(:7, 'N', "REMARK_V", :8), "STATUS_V"=decode(:9, 'N', "STATUS_V", :10) where (:11="CHRONO_NUM_N") and (:12="PROCESS_NO_N")
7fwum1yuknrshselect t.ts#, t.file#, t.block#, nvl(t.bobj#, 0), nvl(t.tab#, 0), t.intcols, nvl(t.clucols, 0), t.flags, t.pctfree$, t.pctused$, t.initrans, t.maxtrans, t.rowcnt, t.blkcnt, t.empcnt, t.avgspc, t.chncnt, t.avgrln, t.analyzetime, t.samplesize, t.cols, t.property, nvl(t.degree, 1), nvl(t.instances, 1), t.avgspc_flb, t.flbcnt, t.kernelcols, nvl(t.trigflag, 0), nvl(t.spare1, 0), nvl(t.spare2, 0), t.spare4, t.spare6, ts.cachedblk, ts.cachehit, ts.logicalread from tab$ t, tab_stats$ ts where t.obj#= :1 and t.obj# = ts.obj# (+)
7jpt4cpfvcy1kselect ts#, online$ from ts$ where name=:1
835jgtn27ta1jcreate table TB_MT_T
86kwhy1f0bttnSELECT /*+ ALL_ROWS */ COUNT(*) FROM DBA_POLICIES V WHERE V.OBJECT_OWNER = :B3 AND V.OBJECT_NAME = :B2 AND (V.POLICY_NAME LIKE '%xdbrls%' OR V.POLICY_NAME LIKE '%$xd_%') AND V.FUNCTION = :B1
86x2ztzd4hkhncreate table TB_TT_G
87u32wt5scu7n INSERT /*+ restrict_all_ref_cons */ INTO "CBSOGG"."GSM_HOME_CDRS" ("TYPE_OF_CALL_V", "SWITCH_CALL_TYPE_V", "RECORD_TYPE_V", "PROMOTION_CODE_V", "IN_OUT_V", "TARF_TYPE_V", "CALL_CHRG_TYPE_V", "FAX_DATA_VOICE_V", "CALC_ON_V", "PERCENTAGE_VAL_N", "INTERIM_CALL_INDICATOR_V", "CALL_SEQ_NUM_N", "TELE_SERVICE_NUM_V", "BEARER_SERVICE_NUM_V", "SUPPLIMENTARY_NUM_V", "TRANSMISSION_MODE_V", "MS_CLASS_MARK_V", "ACCOUNT_LINK_CODE_N", "ROAM_SERVICE_PROVIDER_V", "OFFLINE_DISC_OVER_V", "CHRONO_NUM_N", "CALL_DATE_DT", "CALL_DURATION_N", "SUMMARY_SEQ_NUM_N", "ARTICLE_CODE_V", "PRINT_IN_DTL_V", "SINGLE_TARF_FLAG_V", "LDC_FLAG_V", "IMSI_NUM_N", "MOBL_NUM_V", "IMEI_NUM_V", "ORG INATE_CELL_ID_V", "BTS_SECTOR_V", "MSC_NUM_V", "CIRCUIT_ID_V", "IN_TRUNK_V", "OUT_TRUNK_V", "NUM_PLAN_V", "STD_CODE_LENGTH_N", "CALLED_CALLING_NUM_V", "ACTUAL_NUM_IF_FRWD_V", "DIALED_DIGIT_V", "UTC_OFFSET_TIME_N", "UTC_INC_DEC_V", "ICSRV_PROVIDER_CODE_V", "IC_RATE_ZONE_V", "IC_CONCT_ZONE_V", "IC_SWITCH_PULSE_N", "PULSE_CALC_SWITCH_V", "COUNTRY_CODE_V", "STATE_CODE_V", "CITY_CODE_V", "TARIFF_CODE_V", "RATING_FILE_ID_N", "DAY_CODE_V", "TIME_BAND_V", "IC_RATE_PLAN_CODE_N", "IC_KEY_CODE_N", "IC_VOICE_FRML_N", "IC_VOICE_UNIT_RATE_N", "IC_UNITS_N", "IC_VOICE_AMT_N", "IC_TAX_CODE_V", "IC_TAX_AMT1_N", "IC_TAX_AMT2_N", "IC_TAX_AMT3_N", "MOBL_ORIGINATE _ZONE_CODE_V", "MOBL_TERMINATE_ZONE_CODE_V", "AIRTM_RATE_PLAN_CODE_N", "AIRTM_KEY_CODE_N", "AIRTM_FRML_N", "AIRTM_VOICE_UNIT_RATE_N", "AIRTM_VOICE_UNITS_N", "AIRTM_AMT_N", "AIRTM_TAX_CODE_V", "AIRTM_TAX_AMT1_N", "AIRTM_TAX_AMT2_N", "AIRTM_TAX_AMT3_N", "DISC_TYPE_V", "DISC_UNITS_N", "LDC_RATING_ZONE_V", "LDC_RATING_FRML_N", "LDC_VOICE_UNIT_RATE_N", "LDC_VOICE_UNITS_N", "LDC_AMT_N", "LDC_TAX_CODE_V", "LDC_TAX_AMT1_N", "LDC_TAX_AMT2_N", "SURCHARGE_N", "DESTINATION_TYPE_V", "RATE_ON_V", "DEST_SERVICE_TYPE_CODE_V", "CONTENT_PROV_TARIFF_CODE_V", "CONTENT_PROV_PLAN_CODE_N", "SERVICE_CATEGORY_CODE_V", "CHARGED_DURATION_N", "DISC_QTM_TYPE_V", "DISCOUNTED_VALUE_N", "DISCOUNTED_AMOU NT_N", "OUTPUT_DISC_ARTICLE_V", "CHARGE_BEFORE_DISC_N", "PROCESSED_DATE_D", "BILL_CYCL_FULL_CODE_N", "ACCOUNT_CODE_N", "DISC_VARBL_CODE_V", "PROCESS_FLAG_V", "DISC_CODE_AMT_V", "U_TYPE_DISC_AMT_V", "A_TYPE_DISC_AMT_V", "P_TYPE_DISC_AMT_V") VALUES (:1 , :2 , :3 , :4 , :5 , :6 , :7 , :8 , :9 , :10 , :11 , :12 , :13 , :14 , :15 , :16 , :17 , :18 , :19 , :20 , :21 , :22 , :23 , :24 , :25 , :26 , :27 , :28 , :29 , :30 , :31 , :32 , :33 , :34 , :35 , :36 , :37 , :38 , :39 , :40 , :41 , :42 , :43 , :44 , :45 , :46 , :47 , :48 , :49 , :50 , :51 , :52 , :53 , :54 , :55 , :56 , :57 , :58 , :59 , :60 , :61 , :62 , :63 , :64 , :65 , :66 , :67 , :68 , :69 , :70 , :71 , :72 , :73 , :74 , :75 , :76 , :77 , :78 , :79 , :80 , :81 , :82 , :83 , :84 , :85 , :86 , :87 , :88 , :89 , :90 , :91 , :92 , :93 , :94 , :95 , :96 , :97 , :98 , :99 , :100 , :101 , :102 , :103 , :104 , :105 , :106 , :107 , :108 , :109 , :110 )
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) )
8p9z2ztb272bm SELECT sx.instance_number, sx.id, sum(decode(e.snap_id, NULL, 0, 1)) as cnt FROM (SELECT s.instance_number, s.snap_id, x.id, x.name FROM WRM$_SNAPSHOT s , X$KEHSQT x WHERE s.dbid = :dbid AND s.instance_number = :inst AND s.snap_id >= :bid AND s.snap_id <= :eid AND s.status = 0 AND x.ver_type = :existence ) sx, WRM$_SNAP_ERROR e WHERE e.dbid(+) = :dbid AND e.instance_number(+) = sx.instance_number AND e.snap_id(+) = sx.snap_id AND e.table_name(+) = sx.name GROUP BY sx.instance_number, sx.id ORDER BY sx.instance_number
8zc85a8249x81update obj$ set obj#=:4, type#=:5, ctime=:6, mtime=:7, stime=:8, status=:9, dataobj#=:10, flags=:11, oid$=:12, spare1=:13, spare2=:14, spare3=:15, signature=:16, spare7=:17, spare8=:18, spare9=:19 where owner#=:1 and name=:2 and namespace=:3 and remoteowner is null and linkname is null and subname is null
9ddxxas8hu8svselect count(*) from ( select u.name from registry$ r, user$ u where r.status in (0, 1, 2, 3, 4, 5, 6, 7) and r.namespace = 'SERVER' and r.schema# = u.user# and u.name = :1 union all select u.name from registry$ r, registry$schemas s, user$ u where r.status in (0, 1, 2, 3, 4, 5, 6, 7) and r.namespace = 'SERVER' and r.cid = s.cid and s.schema# = u.user# and u.name = :1)
9dzjush42kmfsselect spare4 from sys.optstat_hist_control$ where sname=:1
a6ygk0r9s5xujSELECT A.JOB_NAME, ( CASE A.STATE WHEN 'SCHEDULED' THEN :B11 WHEN 'DISABLED' THEN :B10 WHEN 'RUNNING' THEN :B9 ELSE :B8 END ) FROM DBA_SCHEDULER_JOBS A, ILM_RESULTS$ B, USER$ C, ILM_EXECUTION$ D WHERE A.JOB_NAME = B.JOBNAME AND (B.EXECUTION_ID = :B7 OR :B7 =:B6 ) AND B.EXECUTION_ID = D.EXECUTION_ID AND (B.JOBTYPE = :B5 OR :B5 = :B3 ) AND (B.JOBTYPE1 = :B4 OR :B4 = :B3 ) AND C.USER# = D.OWNER AND (:B1 = :B2 OR D.FLAG = :B1 )
akh9zqqkx3wj7select 1, max(id) from sys.wri$_adv_objects where task_id = :1 union all select 2, max(id) from sys.wri$_adv_recommendations where task_id = :1 union all select 3, max(id) from sys.wri$_adv_actions where task_id = :1 union all select 4, max(id) from sys.wri$_adv_findings where task_id = :1 union all select 5, max(id) from sys.wri$_adv_rationale where task_id = :1
avdp76f7hk0bqDELETE CBS_ORDER_REPORT
bb926a5dcb8kr merge into sys.mon_mods$ m using dual on (m.obj# = :objn and (:pobjn = 0 or m.obj# = :pobjn or m.obj# in (select obj# from tabpart$ where bo# = :pobjn and obj# = :objn union all select obj# from tabcompart$ where bo# = :pobjn and obj# = :objn union all select ts p.obj# from tabsubpart$ tsp, tabcompart$ tcp where tsp.pobj# = tcp.obj# and (tcp.bo# = :pobjn or tcp.obj# = :pobjn) and tsp.obj# = :objn))) when matched then update set inserts = inserts + :ins, updates = updates + :upd, deletes = deletes + :del, flags = (decode(bitand(flags, :flag), :flag, flags, flags + :flag)), drop_segments = drop_segments + :dropseg, timestamp = :time when NOT matched then insert (obj#, inserts, updates, del etes, timestamp, flags, drop_segments) values (:objn, :ins, :upd, :del, :time, :flag, :dropseg)
bjwxsk192yrzvINSERT INTO SYSTEM.LOGMNR_DICTSTATE$ (LOGMNR_UID, START_SCNBAS, START_SCNWRP, END_SCNBAS, END_SCNWRP, REDO_THREAD, RBASQN, RBABLK, RBABYTE) SELECT :B1 , START_SCNBAS, START_SCNWRP, :B7 , :B6 , :B5 , :B4 , :B3 , :B2 FROM SYSTEM.LOGMNR_DICTSTATE$ WHERE LOGMNR_UID = :B1 AND ROWNUM = 1
bn8y4pm7dzva4 INSERT /*+ restrict_all_ref_cons */ INTO "CBSOGG"."GPRS_HOME_CDRS" ("TYPE_OF_CALL_V", "SWITCH_CALL_TYPE_V", "RECORD_TYPE_V", "TARF_TYPE_V", "PROMOTION_CODE_V", "CALL_CHRG_TYPE_V", "CALC_ON_V", "PERCENTAGE_VAL_N", "INTERIM_CALL_INDICATOR_V", "CALL_SEQ_NUM_N", "ACCOUNT_LINK_CODE_N", "OFFLINE_DISC_OVER_V", "CHRONO_NUM_N", "CALL_DATE_DT", "CALL_DURATION_N", "SUMMARY_SEQ_NUM_N", "ARTICLE_CODE_V", "KEY_CODE_N", "PRINT_IN_DTL_V", "SINGLE_TARF_FLAG_V", "IMSI_NUM_N", "MOBL_NUM_V", "IMEI_NUM_V", "ORGINATE_CELL_ID_V", "TARIFF_CODE_V", "RATE_PLAN_CODE_N", "RATE_PLAN_KEY_N", "RATING_FIELD_ID_N", "DAY_CODE_V", "TIME_BAND_V", "MULTI_RATE_INDICATOR_V", "CDR_CHRONO_NUMBER_ N", "DISC_TYPE_V", "DISC_UNITS_N", "TYPE_OF_CONTROLLING_NODE_V", "PDP_TYPE_V", "PDP_ADDRESS_V", "CHARGING_CHARACTERISTICS_V", "APN_CODE_V", "CALL_TERMINATION_CAUSE_V", "PARTIAL_TYPE_INDICATOR_V", "CHARGING_ID_N", "QOS_REQUESTED_1_V", "QOS_USED_1_V", "DATA_VOLUME_INCOMING_1_N", "DATA_VOLUME_OUTGOING_1_N", "OUTGOING_UNITS_1_N", "INCOMING_UNITS_1_N", "OUTGOING_AMOUNT_1_N", "INCOMING_AMOUNT_1_N", "QOS_REQUESTED_2_V", "QOS_USED_2_V", "DATA_VOLUME_INCOMING_2_N", "DATA_VOLUME_OUTGOING_2_N", "OUTGOING_UNITS_2_N", "INCOMING_UNITS_2_N", "OUTGOING_AMOUNT_2_N", "INCOMING_AMOUNT_2_N", "QOS_REQUESTED_3_V", "QOS_USED_3_V", "DATA_VOLUME_INCOMING_3_N", "DATA_VOLUME_OUTGOING_3_N", "OUTGOING_UNITS_3_ N", "INCOMING_UNITS_3_N", "OUTGOING_AMOUNT_3_N", "INCOMING_AMOUNT_3_N", "CHARGED_ITEM_V", "TOT_CHARGE_N", "CHARGED_UNITS_N", "TAX_CODE_V", "TAX_AMT_1_N", "TAX_AMT_2_N", "TAX_AMT_3_N", "GGSN_ADDRESS_V", "SGSN_ADDRESS_V", "CHARGE_AT_V", "UPLOAD_VOL_FRML_CODE_N", "DOWNLOAD_VOL_FRML_CODE_N", "DURATION_FRML_CODE_N", "DURATION_AMT_N", "SESSION_FEE_N", "DESTINATION_TYPE_V", "RATE_ON_V", "DEST_SERVICE_TYPE_CODE_V", "MOBL_ORIGINATE_ZONE_CODE_V", "ACCESS_POINT_NAME_V", "DURATION_UNITS", "VOLUME_CONS_SEP_V", "CHARGED_DURATION_N", "CHARGED_VOLUME_N", "DISC_QTM_TYPE_V", "DISCOUNTED_VALUE_N", "DISCOUNTED_AMOUNT_N", "OUTPUT_DISC_ARTICLE_V", "CHARGE_BEFORE_DISC_N", "PROCESSED_D ATE_D", "BILL_CYCL_FULL_CODE_N", "ACCOUNT_CODE_N", "DISC_CODE_AMT_V", "U_TYPE_DISC_AMT_V", "A_TYPE_DISC_AMT_V", "P_TYPE_DISC_AMT_V") VALUES (:1 , :2 , :3 , :4 , :5 , :6 , :7 , :8 , :9 , :10 , :11 , :12 , :13 , :14 , :15 , :16 , :17 , :18 , :19 , :20 , :21 , :22 , :23 , :24 , :25 , :26 , :27 , :28 , :29 , :30 , :31 , :32 , :33 , :34 , :35 , :36 , :37 , :38 , :39 , :40 , :41 , :42 , :43 , :44 , :45 , :46 , :47 , :48 , :49 , :50 , :51 , :52 , :53 , :54 , :55 , :56 , :57 , :58 , :59 , :60 , :61 , :62 , :63 , :64 , :65 , :66 , :67 , :68 , :69 , :70 , :71 , :72 , :73 , :74 , :75 , :76 , :77 , :78 , :79 , :80 , :81 , :82 , :83 , :84 , :85 , :86 , :87 , :88 , :89 , :90 , :91 , :92 , :93 , :94 , :95 , :96 , :97 , :98 , :99 , :100 , :101 , :102 )
bwqq7u3mzctv7SELECT /*+ ordered index(u) index(o) index(po) */ MOD(PO.SPARE2, 256), PO.PARTTYPE FROM SYS.USER$ U, SYS.OBJ$ O, SYS.PARTOBJ$ PO WHERE U.NAME = :B3 AND O.NAME = :B2 AND O.NAMESPACE = :B1 AND U.USER# = O.OWNER# AND O.OBJ# = PO.OBJ#
c79fcfw22nqu9SELECT OLDEST_SCN, COMMIT_SCN, SYNCH_SCN, SPARE1, EPOCH, PROCESSED_SCN, SOURCE_DB_NAME, START_SCN, OLDEST_TRANSACTION_ID, SPILL_LWM_SCN, LWM_EXTERNAL_POS, OLDEST_POSITION, SPILL_LWM_POSITION, START_POSITION, PROCESSED_POSITION, OLDEST_CREATE_TIME, SPILL_LWM_CREATE_TIME, XOUT_PROCESSED_POSITION, XOUT_PROCESSED_CREATE_TIME, XOUT_PROCESSED_TID, XOUT_PROCESSED_TIME, APPLIED_HIGH_POSITION, SPARE4, SOURCE_ROOT_NAME , FLAGS, PTO_RECOVERY_SCN FROM SYS.STREAMS$_APPLY_MILESTONE WHERE APPLY#=:1
cmb9scbhf5qv3 declare loc_source_obj# number := :1; loc_source_rowid rowid := :2; result_status number := 0; fnd_src_rowid number := 0; found boolean := true; begin select count(*) into fnd_src_rowid from system.logmnrt_mddl$ y where y.source_obj# = loc_source_obj# and y.source_rowid = loc_source_rowid; begin if 0 = fnd_src_rowid THEN insert into system.logmnrt_mddl$ z (z.source_obj#, z.source_rowid, z.dest_rowid) select loc_source_obj#, loc_source_rowid, x.rowid from SYSTEM.LOGMNR_OBJ$ x where x.OBJ# = :3 AND x.LOGMNR_UID = :4 and x.rowid not in (select y.dest_rowid from system.logmnrt_mddl$ y where y.source_obj# = loc_source_obj#);end if; exception when dup_val_on_index then dbms_system.ksdwrt(dbms_system.alert_file, 'LOGMINER DICTIONARY ERROR: update modifying more than one row.');result_status := 1; end; update SYSTEM.LOGMNR_OBJ$ x set x.OBJ# = :5 , x.TYPE# = :6 , x.STIME = :7 , x.FLAGS = :8 , x.OID$ = :9 , x.OBJV# = :10, x.SPARE3 = :11 where x.rowid = (select z.dest_r owid from system.logmnrt_mddl$ z where z.source_obj# = loc_source_obj# and z.source_rowid = loc_source_rowid); if (SQL%ROWCOUNT <> 1) then dbms_system.ksdwrt(dbms_system.alert_file, 'LOGMINER DICTIONARY ERROR: update modified ' || SQL%ROWCOUNT ||' rows.'); result_status := 1; end if; :12 := result_status; end;
cusp9gtyj36y5select /*+ index(do) */ dir_cnt from opt_directive_own$ do where dir_own# = :1
cwr268sbr4vk5SELECT DISPLAY_DESCRIPTION_V FROM CBSOGG.CB_SUBS_OFFER_DETAILS F, CBSOGG.CB_OFFERS H WHERE F.SCHEME_REF_CODE_N = H.SCHEME_REF_CODE_N AND F.ACCOUNT_LINK_CODE_N = :B1 AND F.STATUS_OPTN_V = 'A'
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
dk5x86qv8nbrdSELECT A.* FROM CBSOGG.CB_SUBS_POS_SERVICES A WHERE ROWID = (SELECT MAX (ROWID) FROM CBSOGG.CB_SUBS_POS_SERVICES B WHERE B.ORDER_REF_NO = A.ORDER_REF_NO) AND SERVICE_CODE_V='FXL'
dmhzq6rk3ppnxSELECT SEGCOL#, INTCOL#, COL#, COLNAME, TYPE#, LENGTH, PRECISION, SCALE, INTERVAL_LEADING_PRECISION, INTERVAL_TRAILING_PRECISION, PROPERTY, CHARSETID, CHARSETFORM, XTYPESCHEMANAME, XTYPENAME, XFQCOLNAME, XTOPINTCOL, XREFFEDTABLEOBJN, XREFFEDTABLEOBJV, XCOLTYPEFLAGS, XOPQTYPETYPE, XOPQTYPEFLAGS, XOPQLOBINTCOL, XOPQOBJINTCOL, XXMLINTCOL, EAOWNER#, EAMKEYID, EAENCALG, EAINTALG, EACOLKLC, EAKLCLEN, EAFLAGS, LOGMNRDERIVEDFLAGS FROM SYS.LOGMNR_GTCS_SUPPORT WHERE LOGMNR_UID = :B2 AND OBJ# = :B1 ORDER BY LOGMNR_UID, OBJ#, INTCOL#
dp950ydwaah3aSELECT PACKAGE_CODE_V FROM CBSOGG.CB_ACCOUNT_SERVICE_LIST WHERE ACCOUNT_LINK_CODE_N=:B1
f5pn6f46sqyh4CREATE TABLE request
f9hcz8j9zwhrhSELECT SERVICE_REQ_ID_V FROM CBSOGG.CB_ORDER_REQUEST_DTLS WHERE ORDER_REF_NO_V = :B1
fhf8upax5cxszBEGIN sys.dbms_auto_report_internal.i_save_report (:rep_ref, :snap_id, :pr_class, :rep_id, :suc); END;
frjd8zfy2jfdqSELECT executions, end_of_fetch_count, elapsed_time/px_servers elapsed_time, cpu_time/px_servers cpu_time, buffer_gets/executions buffer_gets FROM (SELECT sum(executions) as executions, sum(case when px_servers_executions > 0 then px_servers_executions else executions end) as px_servers, sum(end_of_fetch_count) as end_of_fetch_count, sum(elapsed_time) as elapsed_time, sum(cpu_time) as cpu_time, sum(buffer_gets) as buffer_gets FROM gv$sql WHERE executions > 0 AND sql_id = :1 AND parsing_schema_name = :2)
g22f2h8s9vfrzselect nvl2(stale_stats, decode(stale_stats, 'NO', 3, 1), 2) from dba_tab_statistics where owner=:1 and table_name=:2
gavdwsru7d7k2 SELECT "Custom SQL Query"."ACTIVITY_NAME_V" AS "ACTIVITY_NAME_V" FROM ( select distinct 'Workflow' Category, tt.docket_number_n ticket_no, wm.wrkflw_desc_v Workflow_desc, wm.estimated_resoln_tm_n sla_time, tt.ticket_regn_dt_d ticket_reg_date, round((cast((FROM_TZ(CAST(tt.ticket_regn_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_reg_date_sec, x.start_dt_d ticket_start_date, round((cast((FROM_TZ(CAST(x.start_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_start_date_sec, x.end_dt_d ticket_end_date, round((cast((FROM_TZ(CAST(x.end_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_end_date_sec, tt.ticket_resp_dt_d ticket_resp_date, round((cast((FROM_TZ(CAST(tt.ticket_resp_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_resp_date_sec, round((cast((FROM_TZ(CAST(sysdate as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) sys_date, decode(tt.status_v, 'P', 'Pending', 'A', 'Task completed', 'C', 'Closed', 'R', 'Resolved') StatusTicket, decode(tt.ticket_type_v, 'Q', 'Query', 'C', 'Complaint Type', 'R', 'Service Request') Ticket_type, (select A3.CATEGORY_DESCRIPTION_V from cbsogg.TT_CATEGORY_MASTER A3 where A3.category_code_v = (select A2.parent_category_code_v from cbsogg.TT_CATEGORY_MASTER A2 where A2.category_code_v = (select t1.subcategory_id_v from cbsogg.TT_TICKETINFO t1 where t1.docket_number_n = tt.docket_number_n)) and A3.parent_category_code_v <> '0') Complaint_type, (SELECT distinct A1.CATEGORY_DESCRIPTION_V FROM cbsogg.TT_CATEGORY_MASTER A1 WHERE A1.CATEGORY_CODE_V = tt.SUBCATEGORY_ID_V ) SubComplaint_type, (select d.mobl _num_voice_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) MSISDN, (select csm.first_name_v||csm.last_name_v from cbsogg.gsm_service_mast d, cbsogg.cb_account_master cam , cbsogg.cb_subscriber_master csm where d.account_code_n = cam.account_code_n and csm.subscriber_code_n = cam.subscriber_code_n and tt.entity_id_n = d.mobl_num_voice_v ) SUBS_NAME, (select d.sub_service_code_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) Service_code, (select d.subscriber_category_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v) Segments, (select g.SUBS_SUB_CATEGORY_DESC_V from cbsogg.gsm_service_mast d, cbsogg.cb_subscriber_sub_category g where tt.entity_id_n = d.mobl_num_voice_v and d.subscriber_category_v = g.subs_category_code_v and d.subscriber_sub_category_v = g.subs_sub_category_code_v) sub_segments, (select d.status_code_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) mob_status, (select d.account_code_n from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v) Account_no, a.expiry_time_d bin_expiry_date, round((cast((FROM_TZ(CAST(a.expiry_time_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) bin_expiry_date_sec, a.assignment_dt_d bin_assign_date, round((cast((FROM_TZ(CAST(a.assignment_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) bin_assign_date_sec, a.work_completion_dt_d bin_comp_date, round((cast((FROM_TZ(CAST(a.work_completion_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) bin_compl_date_sec, x.status_v wf_status, tt.tt_source_v Source_v, (select distinct cm.CATEGORY_DESCRIPTION_V from cbsogg.TT_CATEGORY_MASTER cm where cm.category_code_v = tt .category_id_v and cm.category_type_v = tt.ticket_type_v and cm.parent_category_code_v = '0') Category_desc, (select f.user_name_v from cbsogg.cb_users f where f.user_code_n = tt.LOGGED_BY_N) Created_by, cu.user_name_v Assign_to, e.GROUP_NAME_V activity_name_v, tt.question_v, tt.answer_v, a.notes_v Notes, (SELECT CFT.fault_name_v FROM cbsogg.TT_TICKET_ADDNL_INFO TAI, cb_fault_types CFT where TAI.FAULT_CODE_V = CFT.FAULT_CODE_V and tt.docket_number_n = TAI.docket_number_n) ROOT_CAUSE, cu.user_name_v user_name from cbsogg.WF_TODOITEM a, WF_WORKFLOW@cbsstandby x , cbsogg.WF_WORKASSIGNMENT c, cbsogg.TT_TICKETINFO tt, cbsogg.WF_WRKFLWMGR wm, cb_users cu , cbsogg.cb_user_group e where a.event_refno_v = x.event_refno_v and tt.docket_number_n = x.event_refno_v and x.wrkflw_id_n = wm.wrkflw_id_n and a.work_id_n = c.work_id_n --and tt.docket_number_n = '35022' and a.user_id_n = cu.user_code_n AND cu.GROUP_CODE_N = e.GROUP_CO DE_N union all select distinct 'Workflow' Category, tt.docket_number_n ticket_no, wm.wrkflw_desc_v Workflow_desc, wm.estimated_resoln_tm_n sla_time, tt.ticket_regn_dt_d ticket_reg_date, round((cast((FROM_TZ(CAST(tt.ticket_regn_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_reg_date_sec, x.start_dt_d ticket_start_date, round((cast((FROM_TZ(CAST(x.start_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_start_date_sec, x.end_dt_d ticket_end_date, round((cast((FROM_TZ(CAST(x.end_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_end_date_sec, tt.ticket_resp_dt_d ticket_resp_date, round((cast((FROM_TZ(CAST(tt.ticket_resp_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_resp_ date_sec, round((cast((FROM_TZ(CAST(sysdate as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) sys_date, decode(tt.status_v, 'P', 'Pending', 'A', 'Task completed', 'C', 'Closed', 'R', 'Resolved') StatusTicket, decode(tt.ticket_type_v, 'Q', 'Query', 'C', 'Complaint Type', 'R', 'Service Request') Ticket_type, (select A3.CATEGORY_DESCRIPTION_V from cbsogg.TT_CATEGORY_MASTER A3 where A3.category_code_v = (select A2.parent_category_code_v from cbsogg.TT_CATEGORY_MASTER A2 where A2.category_code_v = (select t1.subcategory_id_v from cbsogg.TT_TICKETINFO t1 where t1.docket_number_n = tt.docket_number_n)) and A3.parent_category_code_v <> '0') Complaint_type, (SELECT distinct A1.CATEGORY_DESCRIPTION_V FROM cbsogg.TT_CATEGORY_MASTER A1 WHERE A1.CATEGORY_CODE_V = tt.SUBCATEGORY_ID_V ) SubComplaint_type, (select d.mobl_num_voice_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_v oice_v ) MSISDN, (select csm.first_name_v||csm.last_name_v from cbsogg.gsm_service_mast d, cbsogg.cb_account_master cam , cbsogg.cb_subscriber_master csm where d.account_code_n = cam.account_code_n and csm.subscriber_code_n = cam.subscriber_code_n and tt.entity_id_n = d.mobl_num_voice_v ) SUBS_NAME, (select d.sub_service_code_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) Service_code, (select d.subscriber_category_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v) Segments, (select g.SUBS_SUB_CATEGORY_DESC_V from cbsogg.gsm_service_mast d, cbsogg.cb_subscriber_sub_category g where tt.entity_id_n = d.mobl_num_voice_v and d.subscriber_category_v = g.subs_category_code_v and d.subscriber_sub_category_v = g.subs_sub_category_code_v) sub_segments, (select d.status_code_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) mob_status, (select d.account_co de_n from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v) Account_no, a.expiry_time_d bin_expiry_date, round((cast((FROM_TZ(CAST(a.expiry_time_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) bin_expiry_date_sec, a.assignment_dt_d bin_assign_date, round((cast((FROM_TZ(CAST(a.assignment_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) bin_assign_date_sec, a.work_completion_dt_d bin_comp_date, round((cast((FROM_TZ(CAST(a.work_completion_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) bin_compl_date_sec, x.status_v wf_status, tt.tt_source_v Source_v, (select distinct cm.CATEGORY_DESCRIPTION_V from cbsogg.TT_CATEGORY_MASTER cm where cm.category_code_v = tt.category_id_v and cm.category_type_v = tt.ticket_type_v and cm.parent_category_cod e_v = '0') Category_desc, (select f.user_name_v from cbsogg.cb_users f where f.user_code_n = tt.LOGGED_BY_N) Created_by, cu.user_name_v Assign_to, e.GROUP_NAME_V activity_name_v, tt.question_v, tt.answer_v, a.notes_v Notes, (SELECT CFT.fault_name_v FROM cbsogg.TT_TICKET_ADDNL_INFO TAI, cbsogg.cb_fault_types CFT where TAI.FAULT_CODE_V = CFT.FAULT_CODE_V and tt.docket_number_n = TAI.docket_number_n) ROOT_CAUSE, cu.user_name_v user_name from cbsogg.WF_TODOITEM_HISTORY a, WF_WORKFLOW@cbsstandby x , cbsogg.WF_WORKASSIGNMENT_HISTORY c, cbsogg.TT_TICKETINFO tt, cbsogg.WF_WRKFLWMGR wm, cbsogg.cb_users cu , cbsogg.cb_user_group e where a.event_refno_v = x.event_refno_v and tt.docket_number_n = x.event_refno_v and x.wrkflw_id_n = wm.wrkflw_id_n and a.work_id_n = c.work_id_n --and tt.docket_number_n = '35022' and a.user_id_n = cu.user_code_n AND cu.GROUP_CODE_N = e.GROUP_CODE_N union all select distinct 'FLR' Category, tt.docket_number_n ticket_no, null Workflow_desc, null sla_time, tt.ticket_regn_dt_d registration_date, null wf_reg_date_sec, null start_date, null wf_start_date_sec, null wf_end_date, null wf_end_date_sec, tt.ticket_resp_dt_d workflw_resp_date, null wf_resp_date_sec, round((cast((FROM_TZ(CAST(sysdate as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) sys_date, decode(tt.status_v, 'P', 'Pending', 'A', 'Task completed', 'C', 'Closed', 'R', 'Resolved') StatusTicket, decode(tt.ticket_type_v, 'Q', 'Query', 'C', 'Complaint Type', 'R', 'Service Request') Ticket_type, (select A3.CATEGORY_DESCRIPTION_V from cbsogg.TT_CATEGORY_MASTER A3 where A3.category_code_v = (select A2.parent_category_code_v from cbsogg.TT_CATEGORY_MASTER A2 where A2.category_code_v = (select t1.subcategory_id_v from cbsogg.TT_TICKETINFO t1 where t1.docket_number_n = tt.docket_number_n)) and A3.parent_category_code_v <> '0') Complaint_type, (SELECT distinct A1.CATEGORY_DESCRIPTION_V FROM cbsogg.TT_CATEGORY_MASTER A1 WHERE A1.CATEGORY_CODE_V = tt.SUBCATEGORY_ID_V ) SubComplaint_type, (select d.mobl_num_voice_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) MSISDN, (select csm.first_name_v||csm.last_name_v from cbsogg.gsm_service_mast d, cbsogg.cb_account_master cam , cbsogg.cb_subscriber_master csm where d.account_code_n = cam.account_code_n and csm.subscriber_code_n = cam.subscriber_code_n and tt.entity_id_n = d.mobl_num_voice_v ) SUBS_NAME, (select d.sub_service_code_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) Service_code, (select d.subscriber_category_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v) Segments, (select g.SUBS_SUB_CATEGORY_DESC_V from cbsogg.gsm_service_mast d, cbsogg.cb_subscriber_sub_category g where tt.entity_id_n = d.mobl_num_voic e_v and d.subscriber_category_v = g.subs_category_code_v and d.subscriber_sub_category_v = g.subs_sub_category_code_v) sub_segments, (select d.status_code_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) mob_status, (select d.account_code_n from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v) Account_no, null bin_expiry_date, null bin_expiry_date_sec, null bin_assign_date, null bin_assign_date_sec, null bin_comp_date, null bin_compl_date_sec, null wf_status, tt.tt_source_v Source_v, (select distinct cm.CATEGORY_DESCRIPTION_V from cbsogg.TT_CATEGORY_MASTER cm where cm.category_code_v = tt.category_id_v and cm.category_type_v = tt.ticket_type_v and cm.parent_category_code_v = '0') Category_desc, (select f.user_name_v from cbsogg.cb_users f where f.user_code_n = tt.LOGGED_BY_N) Created_by, null Assign_to, C.GROUP_NAME_V activity_name, tt.question_v, tt.answer_v, TTI.NOTES_V Notes, (SELECT CFT.fault_name_v FROM cbsogg.TT_TICKET_ADDNL_INFO TAI, cbsogg.cb_fault_types CFT--, TT_TICKETINFO c where TAI.FAULT_CODE_V = CFT.FAULT_CODE_V and tt.docket_number_n = TAI.docket_number_n) ROOT_CAUSE, B.USER_NAME_V user_name from cbsogg.TT_TICKETINFO tt, cbsogg.CB_USERS B, cbsogg.CB_USER_GROUP C, cbsogg.TT_TICKETINCIDENT TTI where tt.docket_number_n not in(select event_refno_v from WF_WORKFLOW@cbsstandby) AND TTI.INCIDENT_NUMBER_N = tt.docket_number_n AND tt.LOGGED_BY_N = B.USER_CODE_N AND C.GROUP_CODE_N = B.GROUP_CODE_N ) "Custom SQL Query" GROUP BY "Custom SQL Query"."ACTIVITY_NAME_V" ORDER BY 1 ASC NULLS FIRST
gb82hrngtp4q6 SELECT "Custom SQL Query"."CATEGORY" AS "CATEGORY" FROM ( select distinct 'Workflow' Category, tt.docket_number_n ticket_no, wm.wrkflw_desc_v Workflow_desc, wm.estimated_resoln_tm_n sla_time, tt.ticket_regn_dt_d ticket_reg_date, round((cast((FROM_TZ(CAST(tt.ticket_regn_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_reg_date_sec, x.start_dt_d ticket_start_date, round((cast((FROM_TZ(CAST(x.start_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_start_date_sec, x.end_dt_d ticket_end_date, round((cast((FROM_TZ(CAST(x.end_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_end_date_sec, tt.ticket_resp_dt_d ticket_resp_date, round((cast((FROM_TZ(CAST(tt.ticket_resp_dt_d as timestamp), sessiontimezone) at time zone 'GM T') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_resp_date_sec, round((cast((FROM_TZ(CAST(sysdate as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) sys_date, decode(tt.status_v, 'P', 'Pending', 'A', 'Task completed', 'C', 'Closed', 'R', 'Resolved') StatusTicket, decode(tt.ticket_type_v, 'Q', 'Query', 'C', 'Complaint Type', 'R', 'Service Request') Ticket_type, (select A3.CATEGORY_DESCRIPTION_V from cbsogg.TT_CATEGORY_MASTER A3 where A3.category_code_v = (select A2.parent_category_code_v from cbsogg.TT_CATEGORY_MASTER A2 where A2.category_code_v = (select t1.subcategory_id_v from cbsogg.TT_TICKETINFO t1 where t1.docket_number_n = tt.docket_number_n)) and A3.parent_category_code_v <> '0') Complaint_type, (SELECT distinct A1.CATEGORY_DESCRIPTION_V FROM cbsogg.TT_CATEGORY_MASTER A1 WHERE A1.CATEGORY_CODE_V = tt.SUBCATEGORY_ID_V ) SubComplaint_type, (select d.mobl_num_voice_v f rom cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) MSISDN, (select csm.first_name_v||csm.last_name_v from cbsogg.gsm_service_mast d, cbsogg.cb_account_master cam , cbsogg.cb_subscriber_master csm where d.account_code_n = cam.account_code_n and csm.subscriber_code_n = cam.subscriber_code_n and tt.entity_id_n = d.mobl_num_voice_v ) SUBS_NAME, (select d.sub_service_code_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) Service_code, (select d.subscriber_category_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v) Segments, (select g.SUBS_SUB_CATEGORY_DESC_V from cbsogg.gsm_service_mast d, cbsogg.cb_subscriber_sub_category g where tt.entity_id_n = d.mobl_num_voice_v and d.subscriber_category_v = g.subs_category_code_v and d.subscriber_sub_category_v = g.subs_sub_category_code_v) sub_segments, (select d.status_code_v from cbsogg.gsm_service_mast d where tt.en tity_id_n = d.mobl_num_voice_v ) mob_status, (select d.account_code_n from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v) Account_no, a.expiry_time_d bin_expiry_date, round((cast((FROM_TZ(CAST(a.expiry_time_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) bin_expiry_date_sec, a.assignment_dt_d bin_assign_date, round((cast((FROM_TZ(CAST(a.assignment_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) bin_assign_date_sec, a.work_completion_dt_d bin_comp_date, round((cast((FROM_TZ(CAST(a.work_completion_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) bin_compl_date_sec, x.status_v wf_status, tt.tt_source_v Source_v, (select distinct cm.CATEGORY_DESCRIPTION_V from cbsogg.TT_CATEGORY_MASTER cm where cm.category_code_v = tt.category_id_v and cm.category_type_v = tt.ticket_type_v and cm.parent_category_code_v = '0') Category_desc, (select f.user_name_v from cbsogg.cb_users f where f.user_code_n = tt.LOGGED_BY_N) Created_by, cu.user_name_v Assign_to, e.GROUP_NAME_V activity_name_v, tt.question_v, tt.answer_v, a.notes_v Notes, (SELECT CFT.fault_name_v FROM cbsogg.TT_TICKET_ADDNL_INFO TAI, cb_fault_types CFT where TAI.FAULT_CODE_V = CFT.FAULT_CODE_V and tt.docket_number_n = TAI.docket_number_n) ROOT_CAUSE, cu.user_name_v user_name from cbsogg.WF_TODOITEM a, WF_WORKFLOW@cbsstandby x , cbsogg.WF_WORKASSIGNMENT c, cbsogg.TT_TICKETINFO tt, cbsogg.WF_WRKFLWMGR wm, cb_users cu , cbsogg.cb_user_group e where a.event_refno_v = x.event_refno_v and tt.docket_number_n = x.event_refno_v and x.wrkflw_id_n = wm.wrkflw_id_n and a.work_id_n = c.work_id_n --and tt.docket_number_n = '35022' and a.user_id_n = cu.user_code_n AND cu.GROUP_CODE_N = e.GROUP_CODE_N union all select distinct 'Workflow' Category, tt.docket_number_n ticket_no, wm.wrkflw_desc_v Workflow_desc, wm.estimated_resoln_tm_n sla_time, tt.ticket_regn_dt_d ticket_reg_date, round((cast((FROM_TZ(CAST(tt.ticket_regn_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_reg_date_sec, x.start_dt_d ticket_start_date, round((cast((FROM_TZ(CAST(x.start_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_start_date_sec, x.end_dt_d ticket_end_date, round((cast((FROM_TZ(CAST(x.end_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_end_date_sec, tt.ticket_resp_dt_d ticket_resp_date, round((cast((FROM_TZ(CAST(tt.ticket_resp_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) tk_resp_date_sec, round((cast((FROM_TZ(CAST(sysdate as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) sys_date, decode(tt.status_v, 'P', 'Pending', 'A', 'Task completed', 'C', 'Closed', 'R', 'Resolved') StatusTicket, decode(tt.ticket_type_v, 'Q', 'Query', 'C', 'Complaint Type', 'R', 'Service Request') Ticket_type, (select A3.CATEGORY_DESCRIPTION_V from cbsogg.TT_CATEGORY_MASTER A3 where A3.category_code_v = (select A2.parent_category_code_v from cbsogg.TT_CATEGORY_MASTER A2 where A2.category_code_v = (select t1.subcategory_id_v from cbsogg.TT_TICKETINFO t1 where t1.docket_number_n = tt.docket_number_n)) and A3.parent_category_code_v <> '0') Complaint_type, (SELECT distinct A1.CATEGORY_DESCRIPTION_V FROM cbsogg.TT_CATEGORY_MASTER A1 WHERE A1.CATEGORY_CODE_V = tt.SUBCATEGORY_ID_V ) SubComplaint_type, (select d.mobl_num_voice_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) MSISD N, (select csm.first_name_v||csm.last_name_v from cbsogg.gsm_service_mast d, cbsogg.cb_account_master cam , cbsogg.cb_subscriber_master csm where d.account_code_n = cam.account_code_n and csm.subscriber_code_n = cam.subscriber_code_n and tt.entity_id_n = d.mobl_num_voice_v ) SUBS_NAME, (select d.sub_service_code_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) Service_code, (select d.subscriber_category_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v) Segments, (select g.SUBS_SUB_CATEGORY_DESC_V from cbsogg.gsm_service_mast d, cbsogg.cb_subscriber_sub_category g where tt.entity_id_n = d.mobl_num_voice_v and d.subscriber_category_v = g.subs_category_code_v and d.subscriber_sub_category_v = g.subs_sub_category_code_v) sub_segments, (select d.status_code_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) mob_status, (select d.account_code_n from cbso gg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v) Account_no, a.expiry_time_d bin_expiry_date, round((cast((FROM_TZ(CAST(a.expiry_time_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) bin_expiry_date_sec, a.assignment_dt_d bin_assign_date, round((cast((FROM_TZ(CAST(a.assignment_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) bin_assign_date_sec, a.work_completion_dt_d bin_comp_date, round((cast((FROM_TZ(CAST(a.work_completion_dt_d as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) bin_compl_date_sec, x.status_v wf_status, tt.tt_source_v Source_v, (select distinct cm.CATEGORY_DESCRIPTION_V from cbsogg.TT_CATEGORY_MASTER cm where cm.category_code_v = tt.category_id_v and cm.category_type_v = tt.ticket_type_v and cm.parent_category_code_v = '0') Cat egory_desc, (select f.user_name_v from cbsogg.cb_users f where f.user_code_n = tt.LOGGED_BY_N) Created_by, cu.user_name_v Assign_to, e.GROUP_NAME_V activity_name_v, tt.question_v, tt.answer_v, a.notes_v Notes, (SELECT CFT.fault_name_v FROM cbsogg.TT_TICKET_ADDNL_INFO TAI, cbsogg.cb_fault_types CFT where TAI.FAULT_CODE_V = CFT.FAULT_CODE_V and tt.docket_number_n = TAI.docket_number_n) ROOT_CAUSE, cu.user_name_v user_name from cbsogg.WF_TODOITEM_HISTORY a, WF_WORKFLOW@cbsstandby x , cbsogg.WF_WORKASSIGNMENT_HISTORY c, cbsogg.TT_TICKETINFO tt, cbsogg.WF_WRKFLWMGR wm, cbsogg.cb_users cu , cbsogg.cb_user_group e where a.event_refno_v = x.event_refno_v and tt.docket_number_n = x.event_refno_v and x.wrkflw_id_n = wm.wrkflw_id_n and a.work_id_n = c.work_id_n --and tt.docket_number_n = '35022' and a.user_id_n = cu.user_code_n AND cu.GROUP_CODE_N = e.GROUP_CODE_N union all select distinct 'FLR' Category, tt.docket _number_n ticket_no, null Workflow_desc, null sla_time, tt.ticket_regn_dt_d registration_date, null wf_reg_date_sec, null start_date, null wf_start_date_sec, null wf_end_date, null wf_end_date_sec, tt.ticket_resp_dt_d workflw_resp_date, null wf_resp_date_sec, round((cast((FROM_TZ(CAST(sysdate as timestamp), sessiontimezone) at time zone 'GMT') as date) - TO_DATE('01-01-1970', 'MM-DD-YYYY')) * 86400) sys_date, decode(tt.status_v, 'P', 'Pending', 'A', 'Task completed', 'C', 'Closed', 'R', 'Resolved') StatusTicket, decode(tt.ticket_type_v, 'Q', 'Query', 'C', 'Complaint Type', 'R', 'Service Request') Ticket_type, (select A3.CATEGORY_DESCRIPTION_V from cbsogg.TT_CATEGORY_MASTER A3 where A3.category_code_v = (select A2.parent_category_code_v from cbsogg.TT_CATEGORY_MASTER A2 where A2.category_code_v = (select t1.subcategory_id_v from cbsogg.TT_TICKETINFO t1 where t1.docket_number_n = tt.docket_number_n)) and A3.parent_category_code_v <> '0') Co mplaint_type, (SELECT distinct A1.CATEGORY_DESCRIPTION_V FROM cbsogg.TT_CATEGORY_MASTER A1 WHERE A1.CATEGORY_CODE_V = tt.SUBCATEGORY_ID_V ) SubComplaint_type, (select d.mobl_num_voice_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) MSISDN, (select csm.first_name_v||csm.last_name_v from cbsogg.gsm_service_mast d, cbsogg.cb_account_master cam , cbsogg.cb_subscriber_master csm where d.account_code_n = cam.account_code_n and csm.subscriber_code_n = cam.subscriber_code_n and tt.entity_id_n = d.mobl_num_voice_v ) SUBS_NAME, (select d.sub_service_code_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) Service_code, (select d.subscriber_category_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v) Segments, (select g.SUBS_SUB_CATEGORY_DESC_V from cbsogg.gsm_service_mast d, cbsogg.cb_subscriber_sub_category g where tt.entity_id_n = d.mobl_num_voice_v and d.subscr iber_category_v = g.subs_category_code_v and d.subscriber_sub_category_v = g.subs_sub_category_code_v) sub_segments, (select d.status_code_v from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v ) mob_status, (select d.account_code_n from cbsogg.gsm_service_mast d where tt.entity_id_n = d.mobl_num_voice_v) Account_no, null bin_expiry_date, null bin_expiry_date_sec, null bin_assign_date, null bin_assign_date_sec, null bin_comp_date, null bin_compl_date_sec, null wf_status, tt.tt_source_v Source_v, (select distinct cm.CATEGORY_DESCRIPTION_V from cbsogg.TT_CATEGORY_MASTER cm where cm.category_code_v = tt.category_id_v and cm.category_type_v = tt.ticket_type_v and cm.parent_category_code_v = '0') Category_desc, (select f.user_name_v from cbsogg.cb_users f where f.user_code_n = tt.LOGGED_BY_N) Created_by, null Assign_to, C.GROUP_NAME_V activity_name, tt.question_v, tt.answer_v, TTI.NOTES_V Notes, (SELECT CFT .fault_name_v FROM cbsogg.TT_TICKET_ADDNL_INFO TAI, cbsogg.cb_fault_types CFT--, TT_TICKETINFO c where TAI.FAULT_CODE_V = CFT.FAULT_CODE_V and tt.docket_number_n = TAI.docket_number_n) ROOT_CAUSE, B.USER_NAME_V user_name from cbsogg.TT_TICKETINFO tt, cbsogg.CB_USERS B, cbsogg.CB_USER_GROUP C, cbsogg.TT_TICKETINCIDENT TTI where tt.docket_number_n not in(select event_refno_v from WF_WORKFLOW@cbsstandby) AND TTI.INCIDENT_NUMBER_N = tt.docket_number_n AND tt.LOGGED_BY_N = B.USER_CODE_N AND C.GROUP_CODE_N = B.GROUP_CODE_N ) "Custom SQL Query" GROUP BY "Custom SQL Query"."CATEGORY" ORDER BY 1 ASC NULLS FIRST
gcn3gu56qu7r9SELECT COUNT(1) FROM CBSOGG.CB_ORDER_REQUEST_DTLS A WHERE SERVICE_REQ_ID_V=:B1 AND EXISTS(SELECT 1 FROM CB_SUBS_POS_SERVICES B WHERE A.ORDER_REF_NO_V=B.ORDER_REF_NO AND SERVICE_KEY_CODE_V IN ('MYBB', 'BBMY'))
gcqvrzzs3jqd0DECLARE logmnr_uid NUMBER := :1; ScnBas NUMBER := :2; ScnWrp NUMBER := :3; RedoThrd NUMBER := :4; loc_rbasqn NUMBER := :5; loc_rbablk NUMBER := :6; loc_rbabyte NUMBER := :7; Apply NUMBER := 0; BEGIN sys.logmnr_krvrda_test_apply(logmnr_uid, ScnBas, ScnWrp, RedoThrd, loc_rbasqn, loc_rbablk, loc_rbabyte, Apply); :8 := Apply; END;
gd28w82ct6rvaselect audit$ from tab$ where obj# = :1
ghjk279rcm16pUPDATE SYS.STREAMS$_APPLY_MILESTONE SET OLDEST_SCN=:1, COMMIT_SCN=:2, SYNCH_SCN=:3, SPARE1=:4, EPOCH=:5, PROCESSED_SCN=:6, APPLY_TIME=:7, APPLIED_MESSAGE_CREATE_TIME=:8, START_SCN=:9, OLDEST_TRANSACTION_ID=:10, LWM_EXTERNAL_POS=:11, OLDEST_POSITION=:12, PROCESSED_POSITION=:13, START_POSITION=:14, OLDEST_CREATE_TIME=:15, XOUT_PROCESSED_POSITION=:16, XOUT_PROCESSED_CREATE_TIME=:17, XOUT_PROCESSED_TID=:18, APPLIED_HIGH_POSITION=:19, XOUT_PROCESSED_TIME=:20, SPARE5=:21, PTO_RECOVERY_SCN=:22, PTO_RECOVERY_INCARNATION=DECODE(:23, PTO_RECOVERY_SCN, PTO_RECOVERY_INCARNATION, (select incarnation# from v$database_incarnation where status = 'CURRENT')) WHERE APPLY#=:24
gymnsx3hbf2xySELECT NETWORK_ELEMENT_V, LOCATION_ZONE_CODE_V FROM CBSOGG.FXL_SERVICE_MAST WHERE SERV_ACC_LINK_CODE_N = :B1

Back to SQL Statistics
Back to Top

Instance Activity Statistics

Back to Top

Key Instance Activity Stats

StatisticTotalper Secondper Trans
db block changes24,217,9176,817.3028.37
execute count21,530,6586,060.8425.22
gc cr block receive time630.020.00
gc cr blocks received1,6510.460.00
gc current block receive time18,3935.180.02
gc current blocks received290,65381.820.34
logons cumulative2,3830.670.00
opened cursors cumulative22,342,0336,289.2426.17
parse count (total)1,433,541403.541.68
parse time elapsed11,7883.320.01
physical reads14,587,8404,106.4517.09
physical writes4,467,0581,257.475.23
redo size22,610,124,4606,364,706.8026,484.92
session cursor cache hits91,23825.680.11
session logical reads462,250,345130,122.59541.47
user calls169,21647.630.20
user commits853,698240.311.00
user rollbacks00.000.00
workarea executions - multipass00.000.00
workarea executions - onepass770.020.00
workarea executions - optimal88,29524.850.10


Back to Instance Activity Statistics
Back to Top

Instance Activity Stats

StatisticTotalper Secondper Trans
Batched IO (bound) vector count6,5701.850.01
Batched IO (full) vector count1050.030.00
Batched IO (space) vector count00.000.00
Batched IO block miss count145,98441.090.17
Batched IO buffer defrag count2390.070.00
Batched IO double miss count2,5250.710.00
Batched IO same unit count66,32918.670.08
Batched IO single block count3,1300.880.00
Batched IO slow jump count1610.050.00
Batched IO vector block count76,75121.610.09
Batched IO vector read count5,9601.680.01
Block Cleanout Optim referenced7620.210.00
CCursor + sql area evicted1,1480.320.00
CLI BG ENQ1,1840.330.00
CLI BG attempt Flush1,1840.330.00
CLI Flstask create1,1840.330.00
CLI Flush1,1840.330.00
CLI Imm Wrt40.000.00
CPU used by this session411,290115.780.48
CPU used when call started363,306102.270.43
CR blocks created16,2324.570.02
Cached Commit SCN referenced2,448,380689.212.87
Clusterwide global transactions6580.190.00
Clusterwide global transactions spanning RAC nodes430.010.00
Commit SCN cached3,4340.970.00
DBWR checkpoint buffers written274,78177.350.32
DBWR checkpoints4850.140.00
DBWR fusion writes2,8430.800.00
DBWR object drop buffers written1550.040.00
DBWR parallel query checkpoint buffers written86,65224.390.10
DBWR revisited being-written buffer10.000.00
DBWR tablespace checkpoint buffers written00.000.00
DBWR thread checkpoint buffers written00.000.00
DBWR transaction table writes2760.080.00
DBWR undo block writes116,64532.840.14
DDL statements parallelized00.000.00
DFO trees parallelized1,3900.390.00
DX/BB enqueue lock background get time270.010.00
DX/BB enqueue lock background gets1,3800.390.00
DX/BB enqueue lock foreground requests11,9633.370.01
Effective IO time293,998,44282,760.00344.38
HSC Heap Segment Block Changes3,684,2651,037.114.32
HSC IDL Compressed Blocks00.000.00
Heap Segment Array Inserts24,0786.780.03
Heap Segment Array Updates3550.100.00
Heatmap BlkLevel Flushed210.010.00
Heatmap BlkLevel Flushed to BF40.000.00
Heatmap BlkLevel Flushed to SYSAUX170.000.00
Heatmap BlkLevel Ranges Flushed210.010.00
Heatmap Blklevel Flush Task Count10.000.00
IPC CPU used by this session140.000.00
KTFB alloc myinst2,7330.770.00
KTFB alloc req5,3241.500.01
KTFB alloc search FFB11,0603.110.01
KTFB alloc space (block)5,374,246,4001,512,840.086,295.25
KTFB alloc steal440.010.00
KTFB alloc time (ms)1,516,496426.891.78
KTFB apply req3,7281.050.00
KTFB apply time (ms)207,19858.330.24
KTFB commit req340.010.00
KTFB commit time (ms)3,1740.890.00
KTFB free req3,2680.920.00
KTFB free space (block)614,336172.930.72
KTFB free time (ms)177,05249.840.21
LOB table id lookup cache misses40.000.00
Misses for writing mapping00.000.00
Number of read IOs issued143,07540.280.17
OS All other sleep time291,120,76881,949.94341.01
OS Chars read and written170,384,80447,963.00199.58
OS Data page fault sleep time5940.170.00
OS Input blocks20.000.00
OS Involuntary context switches272,52176.710.32
OS Kernel page fault sleep time00.000.00
OS Major page faults20.000.00
OS Messages received14,057,0853,957.0416.47
OS Messages sent13,438,6113,782.9415.74
OS Other system trap CPU time3,2250.910.00
OS Process heap size4,890,1241,376.565.73
OS Process stack size1,966,080553.452.30
OS Signals received587,875165.490.69
OS System call CPU time136,25538.360.16
OS System calls113,330,62331,902.35132.75
OS Text page fault sleep time120.000.00
OS User level CPU time3,203,603901.813.75
OS Voluntary context switches30,907,8848,700.5136.20
OS Wait-cpu (latency) time6,3371.780.01
PX local messages recv'd5,9021.660.01
PX local messages sent5,9021.660.01
PX remote messages recv'd4,5451.280.01
PX remote messages sent4,5651.290.01
Parallel operations not downgraded1,3900.390.00
Requests to/from client42,11811.860.05
RowCR - row contention70.000.00
RowCR attempts268,54075.590.31
RowCR hits268,53375.590.31
SCN increments due to another database1,093,170307.731.28
SMON posted for dropping temp segment00.000.00
SMON posted for undo segment recovery10.000.00
SMON posted for undo segment shrink220.010.00
SQL*Net roundtrips to/from client42,16411.870.05
SQL*Net roundtrips to/from dblink2690.080.00
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 cleanout66,83218.810.08
background checkpoints completed110.000.00
background checkpoints started110.000.00
background timeouts31,8388.960.04
branch node splits180.010.00
buffer is not pinned count284,857,30080,186.79333.67
buffer is pinned count180,817,33950,899.74211.80
bytes received via SQL*Net from client2,394,013,558673,910.242,804.29
bytes received via SQL*Net from dblink87,057,89224,506.63101.98
bytes sent via SQL*Net to client4,880,127,9711,373,746.695,716.46
bytes sent via SQL*Net to dblink33,3019.370.04
bytes via SQL*Net vector from client1,544,414,816434,749.821,809.09
bytes via SQL*Net vector to client00.000.00
calls to get snapshot scn: kcmgss32,955,7639,276.9838.60
calls to kcmgas1,764,162496.612.07
calls to kcmgcs603,855169.980.71
cell physical IO interconnect bytes406,269,293,568114,364,029.26475,893.46
change write time8,9932.530.01
cleanout - number of ktugct calls73,06120.570.09
cleanouts and rollbacks - consistent read gets14,8344.180.02
cleanouts only - consistent read gets3,2650.920.00
cluster key scan block gets18,1375.110.02
cluster key scans16,8284.740.02
commit batch performed8,2432.320.01
commit batch requested8,2432.320.01
commit batch/immediate performed13,0823.680.02
commit batch/immediate requested13,0823.680.02
commit cleanout failures: block lost8,1062.280.01
commit cleanout failures: buffer being written50.000.00
commit cleanout failures: callback failure1,5920.450.00
commit cleanout failures: cannot pin610.020.00
commit cleanouts4,994,4381,405.925.85
commit cleanouts successfully completed4,984,6741,403.185.84
commit immediate performed4,8391.360.01
commit immediate requested4,8391.360.01
commit nowait performed8,2432.320.01
commit nowait requested8,2432.320.01
commit txn count during cleanout14,0423.950.02
commit wait/nowait performed8,2432.320.01
commit wait/nowait requested8,2432.320.01
consistent changes635,555178.910.74
consistent gets436,747,874122,943.69511.60
consistent gets direct8,716,6122,453.7110.21
consistent gets examination288,156,52481,115.51337.54
consistent gets examination (fastpath)285,807,79780,454.35334.79
consistent gets from cache428,031,257120,489.98501.38
consistent gets pin139,874,73039,374.47163.85
consistent gets pin (fastpath)129,661,55836,499.48151.88
cursor authentications1100.030.00
cursor reload failures1,6540.470.00
data blocks consistent reads - undo records applied413,184116.310.48
db block changes24,217,9176,817.3028.37
db block gets25,502,4017,178.8829.87
db block gets direct1,086,325305.801.27
db block gets from cache24,416,0766,873.0828.60
db block gets from cache (fastpath)10,863,5803,058.0812.73
deferred (CURRENT) block cleanout applications2,759,554776.813.23
dirty buffers inspected410,547115.570.48
enqueue conversions32,3679.110.04
enqueue releases4,228,1281,190.214.95
enqueue requests4,229,3841,190.564.95
enqueue timeouts1,2550.350.00
enqueue waits15,9414.490.02
exchange deadlocks290.010.00
execute count21,530,6586,060.8425.22
failed probes on index block reclamation00.000.00
fastpath consistent get quota limit8,836,8612,487.5610.35
file io service time00.000.00
frame signature mismatch00.000.00
free buffer inspected5,271,9521,484.046.18
free buffer requested4,850,4991,365.415.68
gc blocks compressed244,97968.960.29
gc blocks lost00.000.00
gc cleanout applied20.000.00
gc cleanout saved150.000.00
gc cr block flush time220.010.00
gc cr block receive time630.020.00
gc cr blocks flushed430.010.00
gc cr blocks received1,6510.460.00
gc cr blocks served34,2499.640.04
gc current block flush time110.000.00
gc current block pin time00.000.00
gc current block receive time18,3935.180.02
gc current blocks flushed270.010.00
gc current blocks pinned10.000.00
gc current blocks received290,65381.820.34
gc current blocks served334,73794.230.39
gc force cr read cr3,6861.040.00
gc force cr read current500.010.00
gc kbytes saved1,075,830302.841.26
gc kbytes sent4,827,9461,359.065.66
gc local grants3,042,058856.333.56
gc read time waited3640.100.00
gc read waits1,3250.370.00
gc reader bypass grants14,2604.010.02
gc reader bypass waits310.010.00
gc remote grants1,428,353402.081.67
gcs messages sent4,581,6451,289.725.37
ges messages sent79,03422.250.09
global enqueue CPU used by this session120.000.00
global enqueue get time1,9590.550.00
global enqueue gets async4,8871.380.01
global enqueue gets sync1,293,596364.141.52
global enqueue releases1,252,775352.651.47
heap block compress414,398116.650.49
hot buffers moved to head of LRU3,830,2121,078.204.49
immediate (CR) block cleanout applications18,0995.090.02
immediate (CURRENT) block cleanout applications43,85512.350.05
index crx upgrade (positioned)5840.160.00
index crx upgrade (prefetch)00.000.00
index fast full scans (direct read)00.000.00
index fast full scans (full)370.010.00
index fast full scans (rowid ranges)00.000.00
index fetch by key103,319,34229,084.20121.03
index scans kdiixs167,922,97819,120.1979.56
leaf node 90-10 splits2480.070.00
leaf node splits6,2371.760.01
lob reads5,7931.630.01
lob writes6,4441.810.01
lob writes unaligned6,4441.810.01
logical read bytes from cache7,412,896,710,6562,086,716,248.998,683,277.59
logons cumulative2,3830.670.00
max cf enq hold time00.000.00
messages received979,083275.611.15
messages sent979,084275.611.15
min active SCN optimization applied on CR25,1327.070.03
no buffer to keep pinned count436,861122.980.51
no work - consistent read gets146,026,44941,106.17171.05
non-idle wait count10,831,7713,049.1212.69
opened cursors cumulative22,342,0336,289.2426.17
parse count (describe)40.000.00
parse count (failures)180.010.00
parse count (hard)8630.240.00
parse count (total)1,433,541403.541.68
parse time cpu7,5832.130.01
parse time elapsed11,7883.320.01
physical read IO requests2,432,199684.662.85
physical read bytes239,007,170,56067,280,061.48279,966.89
physical read total IO requests2,523,063710.242.96
physical read total bytes284,499,528,70480,086,073.31333,255.47
physical read total multi block requests325,00391.490.38
physical reads14,587,8404,106.4517.09
physical reads cache4,252,2611,197.004.98
physical reads cache prefetch2,278,279641.332.67
physical reads direct10,335,5792,909.4512.11
physical reads direct (lob)00.000.00
physical reads direct temporary tablespace1,613,961454.331.89
physical reads prefetch warmup00.000.00
physical write IO requests854,978240.671.00
physical write bytes73,188,278,27220,602,360.3885,730.88
physical write total IO requests2,021,033568.922.37
physical write total bytes121,769,764,86434,277,955.96142,637.99
physical write total multi block requests221,82162.440.26
physical writes4,467,0581,257.475.23
physical writes direct3,624,8141,020.384.25
physical writes direct (lob)9440.270.00
physical writes direct temporary tablespace2,536,114713.912.97
physical writes from cache842,244237.090.99
physical writes non checkpoint4,366,4871,229.165.11
pinned buffers inspected660.020.00
prefetch clients - default40.000.00
prefetch warmup blocks aged out before use00.000.00
prefetched blocks aged out before use13,2413.730.02
process last non-idle time3,5531.000.00
queries parallelized1,3900.390.00
recovery blocks read00.000.00
recursive aborts on index block reclamation00.000.00
recursive calls27,991,9457,879.6832.79
recursive cpu usage119,99333.780.14
redo KB read49,944,60314,059.3158.50
redo KB read (memory)6,551,9921,844.377.67
redo KB read (memory) for transport6,551,9921,844.377.67
redo KB read for transport22,720,2466,395.7126.61
redo blocks checksummed by FG (exclusive)37,087,36810,440.0243.44
redo blocks written45,999,49212,948.7753.88
redo blocks written (group 0)00.000.00
redo blocks written (group 1)00.000.00
redo buffer allocation retries160.000.00
redo entries13,399,7203,772.0015.70
redo log space requests260.010.00
redo ordering marks140.000.00
redo size22,610,124,4606,364,706.8026,484.92
redo size for direct writes17,843,645,9805,022,952.2220,901.59
redo subscn max counts52,61814.810.06
redo synch long waits00.000.00
redo synch time460.010.00
redo synch time (usec)477,556134.430.56
redo synch time overhead (usec)328,552,36992,486.86384.86
redo synch time overhead count ( 2ms)2170.060.00
redo synch time overhead count ( 8ms)110.000.00
redo synch time overhead count ( 32ms)150.000.00
redo synch time overhead count (128ms)30.000.00
redo synch time overhead count (inf)3040.090.00
redo synch writes5580.160.00
redo wastage198,268,96455,812.33232.25
redo write broadcast ack count77,22821.740.09
redo write broadcast ack time6,617,3071,862.767.75
redo write broadcast lgwr post count00.000.00
redo write finish time473,549,529133,303.29554.70
redo write gather time19,332,6725,442.1122.65
redo write info find5500.150.00
redo write info find fail00.000.00
redo write schedule time20,102,4085,658.7923.55
redo write size count ( 4KB)727,720204.850.85
redo write size count ( 8KB)61,75617.380.07
redo write size count ( 16KB)11,1503.140.01
redo write size count ( 32KB)13,8893.910.02
redo write size count ( 128KB)8,9942.530.01
redo write size count ( 256KB)1,8330.520.00
redo write size count ( 512KB)1,3820.390.00
redo write size count (1024KB)2,7210.770.00
redo write size count (inf)15,1674.270.02
redo write time47,38413.340.06
redo write time (usec)473,843,565133,386.06555.05
redo write total time480,617,276135,292.84562.98
redo write worker delay (usec)00.000.00
redo writes844,612237.760.99
redo writes (group 0)00.000.00
redo writes (group 1)00.000.00
redo writes adaptive all844,612237.760.99
redo writes adaptive worker00.000.00
remote Oradebug requests00.000.00
rollback changes - undo records applied1250.040.00
rollbacks only - consistent read gets1,1700.330.00
root node splits00.000.00
rows fetched via callback101,164,52028,477.62118.50
securefile allocation bytes15,466,4964,353.7918.12
securefile allocation chunks750.020.00
securefile bytes non-transformed16,677,4894,694.6819.54
securefile direct read bytes00.000.00
securefile direct read ops00.000.00
securefile direct write bytes15,466,4964,353.7918.12
securefile direct write ops760.020.00
securefile number of non-transformed flushes2,8260.800.00
segment cfs allocations00.000.00
segment chunks allocation from disepnser750.020.00
segment dispenser allocations750.020.00
segment dispenser load empty00.000.00
segment dispenser load tasks00.000.00
segment prealloc bytes00.000.00
segment prealloc ops250.010.00
segment prealloc tasks00.000.00
segment prealloc time (ms)4,0471.140.00
segment prealloc ufs2cfs bytes00.000.00
segment total chunk allocation00.000.00
session connect time00.000.00
session cursor cache hits91,23825.680.11
session logical reads462,250,345130,122.59541.47
shared hash latch upgrades - no wait633,671178.380.74
shared hash latch upgrades - wait248,56669.970.29
shared io pool buffer get success820.020.00
sorts (disk)160.000.00
sorts (memory)88,84825.010.10
sorts (rows)131,573,12837,037.58154.12
sql area evicted2,1960.620.00
sql area purged1010.030.00
summed dirty queue length1,624,017457.161.90
switch current to new buffer115,27232.450.14
table fetch by rowid156,494,78044,052.98183.31
table fetch continued row174,85749.220.20
table scan blocks gotten25,290,9837,119.3629.63
table scan disk non-IMC rows gotten1,294,767,854364,474.681,516.66
table scan rows gotten1,331,737,311374,881.511,559.96
table scans (direct read)3,4240.960.00
table scans (long tables)19,0695.370.02
table scans (rowid ranges)00.000.00
table scans (short tables)71,91920.250.08
temp space allocated (bytes)19,841,155,0725,585,247.2123,241.42
total cf enq hold time3,2230.910.00
total number of cf enq holders4070.110.00
total number of times SMON posted1,4680.410.00
transaction lock background gets00.000.00
transaction lock foreground requests00.000.00
transaction rollbacks780.020.00
transaction tables consistent read rollbacks730.020.00
transaction tables consistent reads - undo records applied133,18537.490.16
undo change vector size1,767,760,932497,621.322,070.71
user calls169,21647.630.20
user commits853,698240.311.00
user logons cumulative960.030.00
user logouts cumulative910.030.00
user rollbacks00.000.00
workarea executions - multipass00.000.00
workarea executions - onepass770.020.00
workarea executions - optimal88,29524.850.10
write clones created in background10.000.00
write clones created in foreground6670.190.00


Back to Instance Activity Statistics
Back to Top

Instance Activity Stats - Absolute Values

StatisticBegin ValueEnd Value
logons current167169
opened cursors current1,3591,255
session cursor cache count6,999,8317,006,292
session pga memory2,109,200,6241,951,347,760
session pga memory max7,016,590,1608,907,378,288
session uga memory236,273,742,888236,303,702,584
session uga memory max14,554,624,262,37614,575,911,567,360
workarea memory allocated341,337202,052


Back to Instance Activity Statistics
Back to Top

Instance Activity Stats - Thread Activity

StatisticTotalper Hour
log switches (derived)1111.15


Back to Instance Activity Statistics
Back to Top

IO Stats

Back to Top

IOStat by Function summary

Function NameReads: DataReqs per secData per secWrites: DataReqs per secData per secWaits: CountAvg Tm(ms)
Direct Reads144.4G98.6541.614M7.6G4.472.179M0 
Others39G20.7511.255M23.6G68.076.814M36.5K0.70
Direct Writes12.8G4.923.682M47.1G75.2413.565M30.00
Buffer Cache Reads54G385.5215.562M0M0.000M1.3M0.77
LGWR2M0.04.001M21.9G260.356.324M844.9K0.54
Streams AQ14G199.734.038M116M0.05.033M699K0.59
DBWR0M0.000M12.8G160.243.699M50.20
TOTAL:264.2G709.6276.151M113.1G568.4332.614M2.9M0.65


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 File197.3G622.4756.876M29.4G175.808.482M0.230.51
Log File41.6G15.7211.991M23.4G319.616.734M0.400.00
Temp File24.6G61.757.101M38.7G64.4611.144M0.000.00
Archive Log0M0.000M21.4G6.176.171M  
Control File575M9.65.162M74M1.33.021M0.355.15
Other0M0.030M110M1.01.031M32.88 
TOTAL:264.1G709.6376.13M113G568.3832.582M0.220.34


Back to IO Stats
Back to Top

IOStat by Function/Filetype summary

Function/File NameReads: DataReqs per secData per secWrites: DataReqs per secData per secWaits: CountAvg Tm(ms)
Direct Reads 144G98.5341.496M7.6G4.472.179M0 
Direct Reads (Data File) 144G98.5341.496M7.6G4.472.179M0 
Others 39G20.7311.245M23.5G67.046.767M34.2K0.63
Others (Log File) 38.4G11.1111.079M1.4G59.33.412M800.27
Others (Archive Log) 0M0.000M21.4G6.176.171M0 
Others (Control File) 572M9.60.161M70M1.26.02M34.1K0.63
Others (Data File) 17M0.02.005M587M0.28.165M24.22
Direct Writes 12.8G4.923.682M47.1G75.2213.563M30.00
Direct Writes (Data File) 12.8G4.923.682M47.1G75.2213.563M30.00
Buffer Cache Reads 54G385.3715.56M0M0.000M1.3M0.75
Buffer Cache Reads (Data File) 54G385.3715.56M0M0.000M1.3M0.75
LGWR 2M0.04.001M21.9G260.356.323M1812.05
LGWR (Log File) 0M0.010M21.9G260.286.322M483.82
LGWR (Control File) 2M0.04.001M4M0.07.001M1331.41
Streams AQ 14G199.724.037M116M0.05.033M699K0.59
Streams AQ (Data File) 10.8G195.103.122M116M0.05.033M693K0.58
Streams AQ (Log File) 3.2G4.61.915M0M0.000M58871.01
Streams AQ (Control File) 0M0.010M0M0.000M370.22
DBWR 0M0.000M12.8G160.163.698M50.20
DBWR (Data File) 0M0.000M12.8G160.163.698M0 
DBWR (Control File) 0M0.000M0M0.000M50.20
TOTAL: 263.7G709.3276.02M113G567.3032.563M2M0.69


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)
INDX 334,604940.641.00940.640.00 262,765740.0010.00
TEMP 219,365620.007.3610.07  229,022640.0000.00
CBS4 433,8121220.743.081180.760.00 6,74120.0026,8550.59
TICKET 368,7121040.623.21590.470.00 74900.00347,5460.47
CBS3 255,202720.646.84580.580.00 13,33640.00374,9580.55
CBS2 180,799510.513.20490.530.00 72,960210.00700.29
BIREPORT 117,763330.3544.4390.610.00 87,333250.0000.00
TBSINDXGSM 83,314230.411.00230.410.00 68,677190.0000.00
WF_WORKFLOW 127,128360.715.29160.350.00 12200.0000.00
CBS11 108,608310.5712.45250.700.00 1,04500.00580.00
CBS 72,422200.541.61200.480.00 2,29410.0010.00
CBS_TAB 48,239140.781.42130.760.00 17,58150.004,9400.43
INDX_CB 3,54010.681.0010.680.00 42,571120.0000.00
UNDOTBS1 74301.221.0001.210.00 28,93180.007581.36
CBS1 28,70080.661.0080.660.00 90700.00600.00
INVOICE 13,55040.501.0240.500.00 4,44810.0000.00
SUBINAP 7,21920.701.0020.690.00 4,46510.0000.00
CBARPA 4,55510.551.0010.560.00 4,10010.0000.00
SYSAUX 4,68811.194.6110.960.00 1,16500.0100.00
SYSTEM 3,17110.692.0310.630.00 61100.00921.30
TICKETINCIDENT 3,37110.2738.5600.670.00 33400.0380.00
DW_GPRS_SEP20 1,86610.471.0010.470.00 99100.0000.00
GSM_DEC21 1,10100.461.0000.460.00 39400.0000.00
FXL_SEP20 84900.591.0000.590.00 57000.0000.00
FIX_TBS 38607.1256.7700.000.00 700.0000.00
CBPMD 6400.311.0000.470.00 26000.0000.00
DW_ORDERS 2001.001.0001.000.00 14600.0000.00
CBPOTR 6200.651.0000.650.00 8400.0000.00
USERS 4900.411.0000.200.00 9400.0000.00
DWH_CBSOGG 6000.501.0000.500.00 5000.0010.00
DW_BIDATA 8100.001.0000.000.00 1700.0000.00
FXLRCDR 7400.001.0000.000.00 1400.0000.00
INVOICED 4700.001.0000.000.00 1300.0000.00
GPRS_MAY19 5400.561.0000.560.00 500.0000.00
GPRS_AUG18 5100.391.0000.390.00 500.0000.00
GPRS_JAN19 5101.761.0001.570.00 500.0000.00
GPRS_JUN18 5100.781.0000.780.00 500.0000.00
GPRS_JUL18 5000.201.0000.200.00 500.0000.00
GPRS_MAY18 5001.001.0001.000.00 500.0000.00
GPRS_SEP18 5001.201.0001.200.00 500.0000.00
GPRS_APR19 4900.411.0000.410.00 500.0000.00
GPRS_JUN19 4900.611.0000.610.00 500.0000.00
GPRS_MAR18 4900.411.0000.410.00 500.0000.00
GPRS_APR18 4800.631.0000.630.00 500.0000.00
GPRS_DEC17 4800.211.0000.210.00 500.0000.00
GPRS_FEB18 4800.831.0000.630.00 500.0000.00
GPRS_JAN20 4800.631.0000.630.00 500.0000.00
GPRS_MAR20 4800.631.0000.630.00 500.0000.00
GPRS_NOV19 4800.631.0000.630.00 500.0000.00
GPRS_OCT18 4800.211.0000.420.00 500.0000.00
GPRS_SEP19 4800.421.0000.420.00 500.0000.00
GOV_CALLS_DEC19 4600.001.0000.220.00 600.0000.00
GOV_CALLS_FEB20 4600.001.0000.220.00 600.0000.00
GOV_CALLS_JAN20 4600.221.0000.220.00 600.0000.00
GOV_CALLS_MAR20 4600.221.0000.220.00 600.0000.00
GPRS_AUG19 4701.061.0001.060.00 500.0000.00
GPRS_DEC18 4702.551.0002.550.00 500.0000.00
GPRS_DEC19 4700.431.0000.430.00 500.0000.00
GPRS_OCT19 4700.641.0000.430.00 500.0000.00
GPRS_FEB19 4600.221.0000.430.00 500.0000.00
GPRS_JAN18 4600.431.0000.220.00 500.0000.00
GPRS_JUL19 4600.651.0000.650.00 500.0000.00
GPRS_MAR19 4600.431.0000.430.00 500.0000.00
GPRS_NOV18 4600.871.0000.870.00 500.0000.00
SUBDTL_AUG19 4400.001.0000.000.00 700.0000.00
SUBDTL_NOV19 4400.001.0000.000.00 700.0000.00
SUBDTL_OCT19 4400.001.0000.000.00 700.0000.00
SUBDTL_SEP19 4400.001.0000.000.00 700.0000.00
DW_GPRS_NOV20 4500.671.0000.670.00 500.0000.00
GPRS_MAY20 4500.221.0000.220.00 500.0000.00
DW_GPRS_AUG20 4400.451.0000.230.00 500.0000.00
FXL_AUG20 4200.001.0000.000.00 700.0000.00
FXL_JUL20 4200.001.0000.000.00 700.0000.00
FXL_JUN20 4200.001.0000.000.00 700.0000.00
FXL_MAY20 4200.001.0000.000.00 700.0000.00
GOV_CALLS_APR20 4300.231.0000.230.00 600.0000.00
GOV_CALLS_DEC20 4300.001.0000.000.00 600.0000.00
GOV_CALLS_JUN20 4300.001.0000.000.00 600.0000.00
GPRS_FEB20 4400.911.0000.680.00 500.0000.00
DW_GPRS_JUL20 4301.161.0001.160.00 500.0000.00
GOV_CALLS_AUG20 4200.241.0000.240.00 600.0000.00
GOV_CALLS_JUL20 4200.241.0000.240.00 600.0000.00
GOV_CALLS_MAY20 4200.241.0000.240.00 600.0000.00
GOV_CALLS_NOV20 4200.001.0000.000.00 600.0000.00
GOV_CALLS_SEP20 4200.001.0000.000.00 600.0000.00
GPRS_APR20 4300.931.0001.160.00 500.0000.00
GOV_CALLS_JAN19 4100.241.0000.240.00 600.0000.00
GOV_CALLS_OCT20 4100.241.0000.240.00 600.0000.00
GOV_CALLS_SEP19 4100.241.0000.000.00 600.0000.00
GPRS_MAR21 4100.001.0000.000.00 600.0000.00
GOV_CALLS_APR19 4000.251.0000.250.00 600.0000.00
GOV_CALLS_AUG19 4000.001.0000.000.00 600.0000.00
GOV_CALLS_FEB19 4000.001.0000.250.00 600.0000.00
GOV_CALLS_JUL19 4000.251.0000.000.00 600.0000.00
GOV_CALLS_JUN19 4000.251.0000.250.00 600.0000.00
GOV_CALLS_MAR19 4000.251.0000.250.00 600.0000.00
GOV_CALLS_MAY19 4000.251.0000.000.00 600.0000.00
GOV_CALLS_NOV19 4000.251.0000.000.00 600.0000.00
GOV_CALLS_OCT19 4000.001.0000.000.00 600.0000.00
GPRS_FEB21 4000.251.0000.000.00 600.0000.00
GPRS_JAN21 4000.001.0000.000.00 600.0000.00
GPRS_NOV21 3900.001.0000.000.00 600.0000.00
SUBDTL_APR20 3800.001.0000.000.00 700.0000.00
SUBDTL_AUG20 3800.001.0000.000.00 700.0000.00
SUBDTL_DEC19 3800.001.0000.000.00 700.0000.00
SUBDTL_FEB20 3800.001.0000.000.00 700.0000.00
SUBDTL_JAN20 3800.001.0000.000.00 700.0000.00
SUBDTL_JUL20 3800.001.0000.000.00 700.0000.00
SUBDTL_JUN20 3800.001.0000.000.00 700.0000.00
SUBDTL_MAR20 3800.001.0000.000.00 700.0000.00
SUBDTL_MAY20 3800.001.0000.000.00 700.0000.00
SUBDTL_NOV20 3800.001.0000.000.00 700.0000.00
SUBDTL_OCT20 3800.001.0000.000.00 700.0000.00
SUBDTL_SEP20 3800.001.0000.000.00 700.0000.00
FXL_DEC18 3700.001.0000.000.00 700.0000.00
FXL_DEC20 3700.001.0000.000.00 700.0000.00
FXL_NOV19 3700.001.0000.000.00 700.0000.00
FXL_NOV20 3700.001.0000.000.00 700.0000.00
FXL_OCT20 3700.001.0000.000.00 700.0000.00
GPRS_APR21 3800.531.0000.260.00 600.0000.00
GPRS_AUG20 3800.001.0000.000.00 600.0000.00
GPRS_AUG21 3800.001.0000.000.00 600.0000.00
GPRS_DEC20 3800.001.0000.000.00 600.0000.00
GPRS_DEC21 3800.261.0000.260.00 600.0000.00
GPRS_JUL20 3800.261.0000.000.00 600.0000.00
GPRS_JUL21 3800.001.0000.260.00 600.0000.00
GPRS_JUN21 3800.261.0000.000.00 600.0000.00
GPRS_MAY21 3800.261.0000.260.00 600.0000.00
GPRS_NOV20 3800.261.0000.530.00 600.0000.00
GPRS_OCT20 3802.631.0002.890.00 600.0000.00
GPRS_OCT21 3800.261.0000.260.00 600.0000.00
GPRS_SEP20 3800.261.0000.260.00 600.0000.00
GPRS_SEP21 3800.001.0000.000.00 600.0000.00
SFSDTLS 3700.001.0000.000.00 700.0000.00
SUBDTL_APR19 3700.001.0000.000.00 700.0000.00
SUBDTL_FEB19 3700.001.0000.000.00 700.0000.00
SUBDTL_JAN19 3700.001.0000.000.00 700.0000.00
SUBDTL_JUL19 3700.001.0000.000.00 700.0000.00
SUBDTL_JUN19 3700.001.0000.000.00 700.0000.00
SUBDTL_MAR19 3700.001.0000.000.00 700.0000.00
SUBDTL_MAY19 3700.001.0000.000.00 700.0000.00
GSM_MAY21 3700.001.0000.270.00 600.0000.00
GSM_APR21 3600.281.0000.000.00 600.0000.00
GSM_FEB21 3600.281.0000.000.00 600.0000.00
FXL_APR20 3500.001.0000.000.00 600.0000.00
FXL_DEC19 3500.001.0000.000.00 600.0000.00
FXL_FEB20 3500.001.0000.000.00 600.0000.00
FXL_JAN20 3500.001.0000.000.00 600.0000.00
FXL_MAR20 3500.001.0000.000.00 600.0000.00
FXL_OCT19 3500.001.0000.000.00 600.0000.00
FXL_SEP19 3500.001.0000.000.00 600.0000.00
GSM_JUL20 3500.571.0000.570.00 600.0000.00
GSM_JUL21 3500.291.0000.290.00 600.0000.00
GSM_MAR21 3500.291.0000.000.00 600.0000.00
GSM_AUG20 3400.291.0000.290.00 600.0000.00
GSM_AUG21 3400.291.0000.290.00 600.0000.00
GSM_DEC20 3400.291.0000.290.00 600.0000.00
GSM_JUN21 3400.291.0000.290.00 600.0000.00
GSM_NOV20 3400.001.0000.000.00 600.0000.00
GSM_OCT20 3400.291.0000.590.00 600.0000.00
GSM_OCT21 3400.291.0000.290.00 600.0000.00
GSM_SEP20 3400.291.0000.290.00 600.0000.00
GSM_SEP21 3400.001.0000.000.00 600.0000.00
GSM_NOV21 3300.301.0000.300.00 600.0000.00
TBS_GOV_CALL_CDRS 3300.001.0000.000.00 600.0000.00
DW_GPRS_DEC21 3100.321.0000.000.00 600.0000.00
GSM_JUL18 3200.311.0000.310.00 500.0000.00
GSM_MAR18 3200.631.0000.310.00 500.0000.00
DW_GPRS_AUG21 3000.331.0000.330.00 600.0000.00
DW_GPRS_NOV21 3000.331.0000.330.00 600.0000.00
DW_GPRS_SEP21 3000.001.0000.330.00 600.0000.00
GSM_JAN18 3100.001.0000.000.00 500.0000.00
GSM_JAN21 3000.331.0000.330.00 600.0000.00
GSM_MAY18 3100.651.0000.650.00 500.0000.00
GSM_NOV18 3100.321.0000.000.00 500.0000.00
GSM_SEP18 3100.321.0000.320.00 500.0000.00
DW_GPRS_OCT21 2900.341.0000.340.00 600.0000.00
GSM_APR18 3000.001.0000.330.00 500.0000.00
GSM_AUG18 3000.671.0000.670.00 500.0000.00
GSM_DEC17 3000.671.0000.330.00 500.0000.00
GSM_FEB18 3000.331.0000.000.00 500.0000.00
GSM_JUN18 3000.331.0000.330.00 500.0000.00
GSM_OCT18 3000.331.0000.330.00 500.0000.00
GPRS_APR17 2900.001.0000.000.00 500.0000.00
GPRS_FEB17 2900.001.0000.340.00 500.0000.00
GPRS_JAN17 2900.001.0000.340.00 500.0000.00
GPRS_MAR17 2900.341.0000.340.00 500.0000.00
GSM_NOV19 2902.411.0002.410.00 500.0000.00
FXL_AUG19 2700.001.0000.000.00 600.0000.00
FXL_JUL19 2700.001.0000.000.00 600.0000.00
FXL_JUN19 2700.001.0000.000.00 600.0000.00
GSM_APR17 2800.361.0000.360.00 500.0000.00
GSM_APR19 2800.001.0000.360.00 500.0000.00
GSM_JAN19 2800.361.0000.360.00 500.0000.00
GSM_JAN20 2800.001.0000.000.00 500.0000.00
GSM_JUL19 2800.361.0000.360.00 500.0000.00
GSM_JUN19 2800.001.0000.360.00 500.0000.00
GSM_MAR20 2800.711.0000.360.00 500.0000.00
GSM_MAY19 2800.711.0000.710.00 500.0000.00
GSM_MAY20 2800.361.0000.360.00 500.0000.00
GSM_OCT19 2800.361.0000.000.00 500.0000.00
GSM_AUG19 2700.371.0000.370.00 500.0000.00
GSM_DEC16 2700.371.0000.370.00 500.0000.00
GSM_DEC19 2700.371.0000.370.00 500.0000.00
GSM_FEB19 2700.371.0000.370.00 500.0000.00
GSM_FEB20 2704.811.0004.440.00 500.0000.00
GSM_JAN17 2700.371.0000.370.00 500.0000.00
GSM_MAR17 2700.371.0000.000.00 500.0000.00
GSM_MAR19 2700.741.0000.740.00 500.0000.00
GSM_SEP19 2700.371.0000.740.00 500.0000.00
GPRS_JUN20 2600.381.0000.380.00 500.0000.00
GSM_FEB17 2600.381.0000.380.00 500.0000.00
AUDIT_TBS 2400.001.0000.000.00 600.0000.00
GSM_DEC18 2500.401.0000.800.00 500.0000.00
GPRS_DEC16 2402.501.0002.500.00 500.0000.00
GSM_APR20 2400.001.0000.000.00 500.0000.00
GSM_JUN20 2400.421.0000.420.00 500.0000.00
DW_GPRS_APR21 2300.001.0000.000.00 500.0000.00
DW_GPRS_JUN21 2300.001.0000.000.00 500.0000.00
DW_GPRS_DEC20 2200.001.0000.000.00 500.0000.00
DW_GPRS_JAN21 2200.451.0000.450.00 500.0000.00
DW_GPRS_JUL21 2200.001.0000.000.00 500.0000.00
DW_GPRS_MAR21 2200.001.0000.000.00 500.0000.00
DW_GPRS_MAY21 2200.451.0000.000.00 500.0000.00
DW_GPRS_OCT20 2201.361.0001.360.00 500.0000.00
DW_GPRS_FEB21 2100.001.0000.000.00 500.0000.00
FXL_MAR19 2000.001.0000.000.00 500.0000.00
GSM_HOME_CDRS 2000.001.0000.000.00 500.0000.00
FXL_APR19 1900.001.0000.000.00 500.0000.00
FXL_MAY19 1800.001.0000.000.00 500.0000.00
GPRS_HOME_CDRS 1700.001.0000.000.00 500.0000.00
DWARE1 1400.711.0000.000.00 700.0000.00
DWH_TB_TT_SLA_REG 1400.001.0000.000.00 700.0000.00
FXL_FEB19 1400.001.0000.000.00 700.0000.00
FXL_JAN19 1400.001.0000.000.00 700.0000.00
INDX_FRC 1400.001.0000.000.00 700.0000.00
MOBILE_DATA 1500.001.0000.000.00 500.0000.00
MOBILE_SMS 1500.001.0000.000.00 500.0000.00
MOBILE_VOICE 1500.001.0000.000.00 500.0000.00
SUBDTL_DEC20 700.001.0000.000.00 700.0000.00
UNDOTBS2 700.001.0000.000.00 700.0052.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)
AUDIT_TBS+DATA/DWARE1/DATAFILE/audit_tbs.662.1035455121 2400.001.0000.000.00 6000.00
BIREPORT+DATA/DWARE1/DATAFILE/bireport.521.1018677225 117,763330.3544.4390.610.00 87,3332500.00
CBARPA+DATA/DWARE1/DATAFILE/cbarpa.549.1019231425 3,27710.591.0010.600.00 2,834100.00
CBARPA+DATA/DWARE1/DATAFILE/cbarpa.702.1046861813 1,27800.451.0000.450.00 1,266000.00
CBPMD+DATA/DWARE1/DATAFILE/cbpmd.558.1019231477 6400.311.0000.470.00 260000.00
CBPOTR+DATA/DWARE1/DATAFILE/cbpotr.552.1018728099 6200.651.0000.650.00 84000.00
CBS+DATA/DWARE1/DATAFILE/cbs.550.1018723261 68,917190.511.32190.490.00 1,876100.00
CBS+DATA/DWARE1/DATAFILE/cbs.723.1045909813 3,50510.997.3310.400.00 418010.00
CBS1+DATA/DWARE1/DATAFILE/cbs1.524.1018671869 28,70080.661.0080.660.00 9070600.00
CBS11+DATA/DWARE1/DATAFILE/cbs11.335.1018812021 82,113230.5613.27190.690.00 5040580.00
CBS11+DATA/DWARE1/DATAFILE/cbs11.583.1024135233 20,56560.609.4750.690.00 119000.00
CBS11+DATA/DWARE1/DATAFILE/cbs11.722.1045909761 5,93020.6811.5210.820.00 422000.00
CBS2+DATA/DWARE1/DATAFILE/cbs2.523.1018671881 153,667430.512.84420.530.00 60,1011730.00
CBS2+DATA/DWARE1/DATAFILE/cbs2.658.1026124635 6,08420.562.8920.580.00 3,0761111.82
CBS2+DATA/DWARE1/DATAFILE/cbs2.721.1045909653 21,04860.525.9450.560.00 9,7833560.00
CBS3+DATA/DWARE1/DATAFILE/cbs3.513.1018684305 27,52180.7712.5140.440.00 4,78913,2120.63
CBS3+DATA/DWARE1/DATAFILE/cbs3.522.1018671889 227,681640.636.16540.590.00 8,5472371,7460.55
CBS4+DATA/DWARE1/DATAFILE/cbs4.529.1018666481 186,694530.743.14510.750.00 3,214112,9140.57
CBS4+DATA/DWARE1/DATAFILE/cbs4.530.1018666455 219,028620.743.11590.760.00 3,220113,4320.58
CBS4+DATA/DWARE1/DATAFILE/cbs4.547.1018749081 3,05810.853.2410.880.00 28000.00
CBS4+DATA/DWARE1/DATAFILE/cbs4.548.1018711943 25,03270.792.3170.800.00 27905090.98
CBS_TAB+DATA/DWARE1/DATAFILE/cbs_tab.519.1018723055 28,11080.811.5380.780.00 8,64824,5130.45
CBS_TAB+DATA/DWARE1/DATAFILE/cbs_tab.657.1024135267 15,89740.761.2740.740.00 7,16324080.17
CBS_TAB+DATA/DWARE1/DATAFILE/cbs_tab.701.1045737219 4,23210.691.2510.670.00 1,7700190.00
DWARE1+DATA/DWARE1/DATAFILE/dware01.dbf 1400.711.0000.000.00 7000.00
DWH_CBSOGG+DATA/DWARE1/DATAFILE/dwh_cbsogg.520.1018711853 3300.611.0000.610.00 17000.00
DWH_CBSOGG+DATA/DWARE1/DATAFILE/dwh_cbsogg.532.1018665963 2700.371.0000.370.00 33010.00
DWH_TB_TT_SLA_REG+DATA/DWARE1/DATAFILE/dwh_tb_tt_sla_reg.553.1018794829 1400.001.0000.000.00 7000.00
DW_BIDATA+DATA/DWARE1/DATAFILE/dw_bidata.554.1019491875 1500.001.0000.000.00 5000.00
DW_BIDATA+DATA/DWARE1/DATAFILE/dw_bidata.698.1044353493 3300.001.0000.000.00 6000.00
DW_BIDATA+DATA/DWARE1/DATAFILE/dw_bidata.727.1045910113 3300.001.0000.000.00 6000.00
DW_GPRS_APR21+DATA/DWARE1/DATAFILE/dw_gprs_apr21.570.1041946563 2300.001.0000.000.00 5000.00
DW_GPRS_AUG20+DATA/DWARE1/DATAFILE/dw_gprs_aug20.580.1041946505 4400.451.0000.230.00 5000.00
DW_GPRS_AUG21+DATA/DWARE1/DATAFILE/dw_gprs_aug21.669.1041946569 3000.331.0000.330.00 6000.00
DW_GPRS_DEC20+DATA/DWARE1/DATAFILE/dw_gprs_dec20.579.1041946513 2200.001.0000.000.00 5000.00
DW_GPRS_DEC21+DATA/DWARE1/DATAFILE/dw_gprs_dec21.678.1041946579 3100.321.0000.000.00 6000.00
DW_GPRS_FEB21+DATA/DWARE1/DATAFILE/dw_gprs_feb21.577.1041946559 2100.001.0000.000.00 5000.00
DW_GPRS_JAN21+DATA/DWARE1/DATAFILE/dw_gprs_jan21.576.1041946559 2200.451.0000.450.00 5000.00
DW_GPRS_JUL20+DATA/DWARE1/DATAFILE/dw_gprs_jul20.656.1041946501 4301.161.0001.160.00 5000.00
DW_GPRS_JUL21+DATA/DWARE1/DATAFILE/dw_gprs_jul21.574.1041946569 2200.001.0000.000.00 5000.00
DW_GPRS_JUN21+DATA/DWARE1/DATAFILE/dw_gprs_jun21.578.1041946565 2300.001.0000.000.00 5000.00
DW_GPRS_MAR21+DATA/DWARE1/DATAFILE/dw_gprs_mar21.575.1041946561 2200.001.0000.000.00 5000.00
DW_GPRS_MAY21+DATA/DWARE1/DATAFILE/dw_gprs_may21.569.1041946565 2200.451.0000.000.00 5000.00
DW_GPRS_NOV20+DATA/DWARE1/DATAFILE/dw_gprs_nov20.571.1041946511 4500.671.0000.670.00 5000.00
DW_GPRS_NOV21+DATA/DWARE1/DATAFILE/dw_gprs_nov21.677.1041946575 3000.331.0000.330.00 6000.00
DW_GPRS_OCT20+DATA/DWARE1/DATAFILE/dw_gprs_oct20.572.1041946509 2201.361.0001.360.00 5000.00
DW_GPRS_OCT21+DATA/DWARE1/DATAFILE/dw_gprs_oct21.676.1041946573 2900.341.0000.340.00 6000.00
DW_GPRS_SEP20+DATA/DWARE1/DATAFILE/dw_gprs_sep20.573.1041946509 1,86610.471.0010.470.00 991000.00
DW_GPRS_SEP21+DATA/DWARE1/DATAFILE/dw_gprs_sep21.675.1041946571 3000.001.0000.330.00 6000.00
DW_ORDERS+DATA/DWARE1/DATAFILE/dw_orders.556.1018874833 2001.001.0001.000.00 146000.00
FIX_TBS+DATA/DWARE1/DATAFILE/fix_tbs.557.1019220363 38607.1256.7700.000.00 7000.00
FXLRCDR+DATA/DWARE1/DATAFILE/fxlrcdr.729.1050341415 3700.001.0000.000.00 7000.00
FXLRCDR+DATA/DWARE1/DATAFILE/fxlrcdr.770.1050338123 3700.001.0000.000.00 7000.00
FXL_APR19+DATA/DWARE1/DATAFILE/fxl_apr19.620.1050338047 1900.001.0000.000.00 5000.00
FXL_APR20+DATA/DWARE1/DATAFILE/fxl_apr20.760.1050338051 3500.001.0000.000.00 6000.00
FXL_AUG19+DATA/DWARE1/DATAFILE/fxl_aug19.514.1050338049 2700.001.0000.000.00 6000.00
FXL_AUG20+DATA/DWARE1/DATAFILE/fxl_aug20.764.1050338053 4200.001.0000.000.00 7000.00
FXL_DEC18+DATA/DWARE1/DATAFILE/fxl_dec18.769.1050338067 3700.001.0000.000.00 7000.00
FXL_DEC19+DATA/DWARE1/DATAFILE/fxl_dec19.756.1050338049 3500.001.0000.000.00 6000.00
FXL_DEC20+DATA/DWARE1/DATAFILE/fxl_dec20.768.1050338055 3700.001.0000.000.00 7000.00
FXL_FEB19+DATA/DWARE1/DATAFILE/fxl_feb19.679.1050338045 1400.001.0000.000.00 7000.00
FXL_FEB20+DATA/DWARE1/DATAFILE/fxl_feb20.758.1050338051 3500.001.0000.000.00 6000.00
FXL_JAN19+DATA/DWARE1/DATAFILE/fxl_jan19.699.1050338045 1400.001.0000.000.00 7000.00
FXL_JAN20+DATA/DWARE1/DATAFILE/fxl_jan20.757.1050338049 3500.001.0000.000.00 6000.00
FXL_JUL19+DATA/DWARE1/DATAFILE/fxl_jul19.515.1050338047 2700.001.0000.000.00 6000.00
FXL_JUL20+DATA/DWARE1/DATAFILE/fxl_jul20.763.1050338053 4200.001.0000.000.00 7000.00
FXL_JUN19+DATA/DWARE1/DATAFILE/fxl_jun19.337.1050338047 2700.001.0000.000.00 6000.00
FXL_JUN20+DATA/DWARE1/DATAFILE/fxl_jun20.762.1050338051 4200.001.0000.000.00 7000.00
FXL_MAR19+DATA/DWARE1/DATAFILE/fxl_mar19.660.1050338045 2000.001.0000.000.00 5000.00
FXL_MAR20+DATA/DWARE1/DATAFILE/fxl_mar20.759.1050338051 3500.001.0000.000.00 6000.00
FXL_MAY19+DATA/DWARE1/DATAFILE/fxl_may19.565.1050338047 1800.001.0000.000.00 5000.00
FXL_MAY20+DATA/DWARE1/DATAFILE/fxl_may20.761.1050338051 4200.001.0000.000.00 7000.00
FXL_NOV19+DATA/DWARE1/DATAFILE/fxl_nov19.771.1050338185 3700.001.0000.000.00 7000.00
FXL_NOV20+DATA/DWARE1/DATAFILE/fxl_nov20.767.1050338053 3700.001.0000.000.00 7000.00
FXL_OCT19+DATA/DWARE1/DATAFILE/fxl_oct19.755.1050338049 3500.001.0000.000.00 6000.00
FXL_OCT20+DATA/DWARE1/DATAFILE/fxl_oct20.766.1050338053 3700.001.0000.000.00 7000.00
FXL_SEP19+DATA/DWARE1/DATAFILE/fxl_sep19.720.1050338049 3500.001.0000.000.00 6000.00
FXL_SEP20+DATA/DWARE1/DATAFILE/fxl_sep20.765.1050338053 84900.591.0000.590.00 570000.00
GOV_CALLS_APR19+DATA/DWARE1/DATAFILE/gov_calls_apr19.733.1048934787 4000.251.0000.250.00 6000.00
GOV_CALLS_APR20+DATA/DWARE1/DATAFILE/gov_calls_apr20.745.1048934813 4300.231.0000.230.00 6000.00
GOV_CALLS_AUG19+DATA/DWARE1/DATAFILE/gov_calls_aug19.737.1048934791 4000.001.0000.000.00 6000.00
GOV_CALLS_AUG20+DATA/DWARE1/DATAFILE/gov_calls_aug20.749.1048934817 4200.241.0000.240.00 6000.00
GOV_CALLS_DEC19+DATA/DWARE1/DATAFILE/gov_calls_dec19.741.1048934793 4600.001.0000.220.00 6000.00
GOV_CALLS_DEC20+DATA/DWARE1/DATAFILE/gov_calls_dec20.753.1048934819 4300.001.0000.000.00 6000.00
GOV_CALLS_FEB19+DATA/DWARE1/DATAFILE/gov_calls_feb19.731.1048934787 4000.001.0000.250.00 6000.00
GOV_CALLS_FEB20+DATA/DWARE1/DATAFILE/gov_calls_feb20.743.1048934813 4600.001.0000.220.00 6000.00
GOV_CALLS_JAN19+DATA/DWARE1/DATAFILE/gov_calls_jan19.730.1048934787 4100.241.0000.240.00 6000.00
GOV_CALLS_JAN20+DATA/DWARE1/DATAFILE/gov_calls_jan20.742.1048934813 4600.221.0000.220.00 6000.00
GOV_CALLS_JUL19+DATA/DWARE1/DATAFILE/gov_calls_jul19.736.1048934791 4000.251.0000.000.00 6000.00
GOV_CALLS_JUL20+DATA/DWARE1/DATAFILE/gov_calls_jul20.748.1048934817 4200.241.0000.240.00 6000.00
GOV_CALLS_JUN19+DATA/DWARE1/DATAFILE/gov_calls_jun19.735.1048934789 4000.251.0000.250.00 6000.00
GOV_CALLS_JUN20+DATA/DWARE1/DATAFILE/gov_calls_jun20.747.1048934815 4300.001.0000.000.00 6000.00
GOV_CALLS_MAR19+DATA/DWARE1/DATAFILE/gov_calls_mar19.732.1048934787 4000.251.0000.250.00 6000.00
GOV_CALLS_MAR20+DATA/DWARE1/DATAFILE/gov_calls_mar20.744.1048934813 4600.221.0000.220.00 6000.00
GOV_CALLS_MAY19+DATA/DWARE1/DATAFILE/gov_calls_may19.734.1048934789 4000.251.0000.000.00 6000.00
GOV_CALLS_MAY20+DATA/DWARE1/DATAFILE/gov_calls_may20.746.1048934815 4200.241.0000.240.00 6000.00
GOV_CALLS_NOV19+DATA/DWARE1/DATAFILE/gov_calls_nov19.740.1048934793 4000.251.0000.000.00 6000.00
GOV_CALLS_NOV20+DATA/DWARE1/DATAFILE/gov_calls_nov20.752.1048934819 4200.001.0000.000.00 6000.00
GOV_CALLS_OCT19+DATA/DWARE1/DATAFILE/gov_calls_oct19.739.1048934793 4000.001.0000.000.00 6000.00
GOV_CALLS_OCT20+DATA/DWARE1/DATAFILE/gov_calls_oct20.751.1048934817 4100.241.0000.240.00 6000.00
GOV_CALLS_SEP19+DATA/DWARE1/DATAFILE/gov_calls_sep19.738.1048934791 4100.241.0000.000.00 6000.00
GOV_CALLS_SEP20+DATA/DWARE1/DATAFILE/gov_calls_sep20.750.1048934817 4200.001.0000.000.00 6000.00
GPRS_APR17+DATA/DWARE1/DATAFILE/gprs_apr17.624.1023633305 2900.001.0000.000.00 5000.00
GPRS_APR18+DATA/DWARE1/DATAFILE/gprs_apr18.629.1023633319 4800.631.0000.630.00 5000.00
GPRS_APR19+DATA/DWARE1/DATAFILE/gprs_apr19.641.1023633349 4900.411.0000.410.00 5000.00
GPRS_APR20+DATA/DWARE1/DATAFILE/gprs_apr20.653.1023633361 4300.931.0001.160.00 5000.00
GPRS_APR21+DATA/DWARE1/DATAFILE/gprs_apr21.705.1044598241 3800.531.0000.260.00 6000.00
GPRS_AUG18+DATA/DWARE1/DATAFILE/gprs_aug18.633.1023633333 5100.391.0000.390.00 5000.00
GPRS_AUG19+DATA/DWARE1/DATAFILE/gprs_aug19.645.1023633353 4701.061.0001.060.00 5000.00
GPRS_AUG20+DATA/DWARE1/DATAFILE/gprs_aug20.715.1044598283 3800.001.0000.000.00 6000.00
GPRS_AUG21+DATA/DWARE1/DATAFILE/gprs_aug21.709.1044598243 3800.001.0000.000.00 6000.00
GPRS_DEC16+DATA/DWARE1/DATAFILE/gprs_dec16.581.1023633291 2402.501.0002.500.00 5000.00
GPRS_DEC17+DATA/DWARE1/DATAFILE/gprs_dec17.625.1023633309 4800.211.0000.210.00 5000.00
GPRS_DEC18+DATA/DWARE1/DATAFILE/gprs_dec18.637.1023633345 4702.551.0002.550.00 5000.00
GPRS_DEC19+DATA/DWARE1/DATAFILE/gprs_dec19.649.1023633357 4700.431.0000.430.00 5000.00
GPRS_DEC20+DATA/DWARE1/DATAFILE/gprs_dec20.719.1044598285 3800.001.0000.000.00 6000.00
GPRS_DEC21+DATA/DWARE1/DATAFILE/gprs_dec21.713.1044598249 3800.261.0000.260.00 6000.00
GPRS_FEB17+DATA/DWARE1/DATAFILE/gprs_feb17.622.1023633297 2900.001.0000.340.00 5000.00
GPRS_FEB18+DATA/DWARE1/DATAFILE/gprs_feb18.627.1023633315 4800.831.0000.630.00 5000.00
GPRS_FEB19+DATA/DWARE1/DATAFILE/gprs_feb19.639.1023633347 4600.221.0000.430.00 5000.00
GPRS_FEB20+DATA/DWARE1/DATAFILE/gprs_feb20.651.1023633359 4400.911.0000.680.00 5000.00
GPRS_FEB21+DATA/DWARE1/DATAFILE/gprs_feb21.703.1044598237 4000.251.0000.000.00 6000.00
GPRS_HOME_CDRS+DATA/DWARE1/DATAFILE/gprs_home_cdrs.619.1023633035 1700.001.0000.000.00 5000.00
GPRS_JAN17+DATA/DWARE1/DATAFILE/gprs_jan17.621.1023633295 2900.001.0000.340.00 5000.00
GPRS_JAN18+DATA/DWARE1/DATAFILE/gprs_jan18.626.1023633311 4600.431.0000.220.00 5000.00
GPRS_JAN19+DATA/DWARE1/DATAFILE/gprs_jan19.638.1023633347 5101.761.0001.570.00 5000.00
GPRS_JAN20+DATA/DWARE1/DATAFILE/gprs_jan20.650.1023633359 4800.631.0000.630.00 5000.00
GPRS_JAN21+DATA/DWARE1/DATAFILE/gprs_jan21.680.1044598237 4000.001.0000.000.00 6000.00
GPRS_JUL18+DATA/DWARE1/DATAFILE/gprs_jul18.632.1023633329 5000.201.0000.200.00 5000.00
GPRS_JUL19+DATA/DWARE1/DATAFILE/gprs_jul19.644.1023633353 4600.651.0000.650.00 5000.00
GPRS_JUL20+DATA/DWARE1/DATAFILE/gprs_jul20.714.1044598281 3800.261.0000.000.00 6000.00
GPRS_JUL21+DATA/DWARE1/DATAFILE/gprs_jul21.708.1044598243 3800.001.0000.260.00 6000.00
GPRS_JUN18+DATA/DWARE1/DATAFILE/gprs_jun18.631.1023633325 5100.781.0000.780.00 5000.00
GPRS_JUN19+DATA/DWARE1/DATAFILE/gprs_jun19.643.1023633351 4900.611.0000.610.00 5000.00
GPRS_JUN20+DATA/DWARE1/DATAFILE/gprs_jun20.655.1023633363 2600.381.0000.380.00 5000.00
GPRS_JUN21+DATA/DWARE1/DATAFILE/gprs_jun21.707.1044598241 3800.261.0000.000.00 6000.00
GPRS_MAR17+DATA/DWARE1/DATAFILE/gprs_mar17.623.1023633301 2900.341.0000.340.00 5000.00
GPRS_MAR18+DATA/DWARE1/DATAFILE/gprs_mar18.628.1023633315 4900.411.0000.410.00 5000.00
GPRS_MAR19+DATA/DWARE1/DATAFILE/gprs_mar19.640.1023633349 4600.431.0000.430.00 5000.00
GPRS_MAR20+DATA/DWARE1/DATAFILE/gprs_mar20.652.1023633361 4800.631.0000.630.00 5000.00
GPRS_MAR21+DATA/DWARE1/DATAFILE/gprs_mar21.704.1044598239 4100.001.0000.000.00 6000.00
GPRS_MAY18+DATA/DWARE1/DATAFILE/gprs_may18.630.1023633323 5001.001.0001.000.00 5000.00
GPRS_MAY19+DATA/DWARE1/DATAFILE/gprs_may19.642.1023633351 5400.561.0000.560.00 5000.00
GPRS_MAY20+DATA/DWARE1/DATAFILE/gprs_may20.654.1023633363 4500.221.0000.220.00 5000.00
GPRS_MAY21+DATA/DWARE1/DATAFILE/gprs_may21.706.1044598241 3800.261.0000.260.00 6000.00
GPRS_NOV18+DATA/DWARE1/DATAFILE/gprs_nov18.636.1023633343 4600.871.0000.870.00 5000.00
GPRS_NOV19+DATA/DWARE1/DATAFILE/gprs_nov19.648.1023633355 4800.631.0000.630.00 5000.00
GPRS_NOV20+DATA/DWARE1/DATAFILE/gprs_nov20.718.1044598285 3800.261.0000.530.00 6000.00
GPRS_NOV21+DATA/DWARE1/DATAFILE/gprs_nov21.712.1044598247 3900.001.0000.000.00 6000.00
GPRS_OCT18+DATA/DWARE1/DATAFILE/gprs_oct18.635.1023633339 4800.211.0000.420.00 5000.00
GPRS_OCT19+DATA/DWARE1/DATAFILE/gprs_oct19.647.1023633355 4700.641.0000.430.00 5000.00
GPRS_OCT20+DATA/DWARE1/DATAFILE/gprs_oct20.717.1044598283 3802.631.0002.890.00 6000.00
GPRS_OCT21+DATA/DWARE1/DATAFILE/gprs_oct21.711.1044598245 3800.261.0000.260.00 6000.00
GPRS_SEP18+DATA/DWARE1/DATAFILE/gprs_sep18.634.1023633335 5001.201.0001.200.00 5000.00
GPRS_SEP19+DATA/DWARE1/DATAFILE/gprs_sep19.646.1023633355 4800.421.0000.420.00 5000.00
GPRS_SEP20+DATA/DWARE1/DATAFILE/gprs_sep20.716.1044598283 3800.261.0000.260.00 6000.00
GPRS_SEP21+DATA/DWARE1/DATAFILE/gprs_sep21.710.1044598245 3800.001.0000.000.00 6000.00
GSM_APR17+DATA/DWARE1/DATAFILE/gsm_apr17.587.1023620537 2800.361.0000.360.00 5000.00
GSM_APR18+DATA/DWARE1/DATAFILE/gsm_apr18.592.1023620541 3000.001.0000.330.00 5000.00
GSM_APR19+DATA/DWARE1/DATAFILE/gsm_apr19.604.1023620551 2800.001.0000.360.00 5000.00
GSM_APR20+DATA/DWARE1/DATAFILE/gsm_apr20.616.1023620563 2400.001.0000.000.00 5000.00
GSM_APR21+DATA/DWARE1/DATAFILE/gsm_apr21.683.1042100775 3600.281.0000.000.00 6000.00
GSM_AUG18+DATA/DWARE1/DATAFILE/gsm_aug18.596.1023620545 3000.671.0000.670.00 5000.00
GSM_AUG19+DATA/DWARE1/DATAFILE/gsm_aug19.608.1023620555 2700.371.0000.370.00 5000.00
GSM_AUG20+DATA/DWARE1/DATAFILE/gsm_aug20.693.1042100895 3400.291.0000.290.00 6000.00
GSM_AUG21+DATA/DWARE1/DATAFILE/gsm_aug21.687.1042100781 3400.291.0000.290.00 6000.00
GSM_DEC16+DATA/DWARE1/DATAFILE/gsm_dec16.582.1023620533 2700.371.0000.370.00 5000.00
GSM_DEC17+DATA/DWARE1/DATAFILE/gsm_dec17.588.1023620537 3000.671.0000.330.00 5000.00
GSM_DEC18+DATA/DWARE1/DATAFILE/gsm_dec18.600.1023620549 2500.401.0000.800.00 5000.00
GSM_DEC19+DATA/DWARE1/DATAFILE/gsm_dec19.612.1023620559 2700.371.0000.370.00 5000.00
GSM_DEC20+DATA/DWARE1/DATAFILE/gsm_dec20.697.1042100925 3400.291.0000.290.00 6000.00
GSM_DEC21+DATA/DWARE1/DATAFILE/gsm_dec21.691.1042100799 1,10100.461.0000.460.00 394000.00
GSM_FEB17+DATA/DWARE1/DATAFILE/gsm_feb17.585.1023620535 2600.381.0000.380.00 5000.00
GSM_FEB18+DATA/DWARE1/DATAFILE/gsm_feb18.590.1023620539 3000.331.0000.000.00 5000.00
GSM_FEB19+DATA/DWARE1/DATAFILE/gsm_feb19.602.1023620551 2700.371.0000.370.00 5000.00
GSM_FEB20+DATA/DWARE1/DATAFILE/gsm_feb20.614.1023620561 2704.811.0004.440.00 5000.00
GSM_FEB21+DATA/DWARE1/DATAFILE/gsm_feb21.681.1042100771 3600.281.0000.000.00 6000.00
GSM_HOME_CDRS+DATA/DWARE1/DATAFILE/gsm_home_cdrs.555.1023618095 2000.001.0000.000.00 5000.00
GSM_JAN17+DATA/DWARE1/DATAFILE/gsm_jan17.584.1023620533 2700.371.0000.370.00 5000.00
GSM_JAN18+DATA/DWARE1/DATAFILE/gsm_jan18.589.1023620537 3100.001.0000.000.00 5000.00
GSM_JAN19+DATA/DWARE1/DATAFILE/gsm_jan19.601.1023620549 2800.361.0000.360.00 5000.00
GSM_JAN20+DATA/DWARE1/DATAFILE/gsm_jan20.613.1023620559 2800.001.0000.000.00 5000.00
GSM_JAN21+DATA/DWARE1/DATAFILE/gsm_jan21.567.1042100771 3000.331.0000.330.00 6000.00
GSM_JUL18+DATA/DWARE1/DATAFILE/gsm_jul18.595.1023620543 3200.311.0000.310.00 5000.00
GSM_JUL19+DATA/DWARE1/DATAFILE/gsm_jul19.607.1023620553 2800.361.0000.360.00 5000.00
GSM_JUL20+DATA/DWARE1/DATAFILE/gsm_jul20.692.1042100895 3500.571.0000.570.00 6000.00
GSM_JUL21+DATA/DWARE1/DATAFILE/gsm_jul21.686.1042100781 3500.291.0000.290.00 6000.00
GSM_JUN18+DATA/DWARE1/DATAFILE/gsm_jun18.594.1023620543 3000.331.0000.330.00 5000.00
GSM_JUN19+DATA/DWARE1/DATAFILE/gsm_jun19.606.1023620553 2800.001.0000.360.00 5000.00
GSM_JUN20+DATA/DWARE1/DATAFILE/gsm_jun20.618.1023620563 2400.421.0000.420.00 5000.00
GSM_JUN21+DATA/DWARE1/DATAFILE/gsm_jun21.685.1042100779 3400.291.0000.290.00 6000.00
GSM_MAR17+DATA/DWARE1/DATAFILE/gsm_mar17.586.1023620535 2700.371.0000.000.00 5000.00
GSM_MAR18+DATA/DWARE1/DATAFILE/gsm_mar18.591.1023620541 3200.631.0000.310.00 5000.00
GSM_MAR19+DATA/DWARE1/DATAFILE/gsm_mar19.603.1023620551 2700.741.0000.740.00 5000.00
GSM_MAR20+DATA/DWARE1/DATAFILE/gsm_mar20.615.1023620561 2800.711.0000.360.00 5000.00
GSM_MAR21+DATA/DWARE1/DATAFILE/gsm_mar21.682.1042100773 3500.291.0000.000.00 6000.00
GSM_MAY18+DATA/DWARE1/DATAFILE/gsm_may18.593.1023620543 3100.651.0000.650.00 5000.00
GSM_MAY19+DATA/DWARE1/DATAFILE/gsm_may19.605.1023620553 2800.711.0000.710.00 5000.00
GSM_MAY20+DATA/DWARE1/DATAFILE/gsm_may20.617.1023620563 2800.361.0000.360.00 5000.00
GSM_MAY21+DATA/DWARE1/DATAFILE/gsm_may21.684.1042100777 3700.001.0000.270.00 6000.00
GSM_NOV18+DATA/DWARE1/DATAFILE/gsm_nov18.599.1023620547 3100.321.0000.000.00 5000.00
GSM_NOV19+DATA/DWARE1/DATAFILE/gsm_nov19.611.1023620557 2902.411.0002.410.00 5000.00
GSM_NOV20+DATA/DWARE1/DATAFILE/gsm_nov20.696.1042100897 3400.001.0000.000.00 6000.00
GSM_NOV21+DATA/DWARE1/DATAFILE/gsm_nov21.690.1042100787 3300.301.0000.300.00 6000.00
GSM_OCT18+DATA/DWARE1/DATAFILE/gsm_oct18.598.1023620547 3000.331.0000.330.00 5000.00
GSM_OCT19+DATA/DWARE1/DATAFILE/gsm_oct19.610.1023620557 2800.361.0000.000.00 5000.00
GSM_OCT20+DATA/DWARE1/DATAFILE/gsm_oct20.695.1042100897 3400.291.0000.590.00 6000.00
GSM_OCT21+DATA/DWARE1/DATAFILE/gsm_oct21.689.1042100785 3400.291.0000.290.00 6000.00
GSM_SEP18+DATA/DWARE1/DATAFILE/gsm_sep18.597.1023620545 3100.321.0000.320.00 5000.00
GSM_SEP19+DATA/DWARE1/DATAFILE/gsm_sep19.609.1023620555 2700.371.0000.740.00 5000.00
GSM_SEP20+DATA/DWARE1/DATAFILE/gsm_sep20.694.1042100897 3400.291.0000.290.00 6000.00
GSM_SEP21+DATA/DWARE1/DATAFILE/gsm_sep21.688.1042100783 3400.001.0000.000.00 6000.00
INDX+DATA/DWARE1/DATAFILE/indx.559.1019220785 25,30670.721.0070.720.00 19,824600.00
INDX+DATA/DWARE1/DATAFILE/indx.661.1037038173 33,53890.671.0090.670.00 27,213800.00
INDX+DATA/DWARE1/DATAFILE/indx.663.1037042791 40,169110.631.00110.630.00 28,010800.00
INDX+DATA/DWARE1/DATAFILE/indx.664.1037121893 42,561120.631.00120.630.00 30,097800.00
INDX+DATA/DWARE1/DATAFILE/indx.665.1037038185 28,89280.701.0080.700.00 23,464700.00
INDX+DATA/DWARE1/DATAFILE/indx.666.1037038197 40,055110.611.00110.610.00 33,363900.00
INDX+DATA/DWARE1/DATAFILE/indx.667.1037041339 47,214130.621.00130.620.00 38,2011100.00
INDX+DATA/DWARE1/DATAFILE/indx.668.1037208733 12,29930.641.0030.640.00 9,826300.00
INDX+DATA/DWARE1/DATAFILE/indx.670.1037121911 42,764120.631.00120.630.00 35,8091010.00
INDX+DATA/DWARE1/DATAFILE/indx.671.1037462651 8,74020.631.0020.630.00 6,704200.00
INDX+DATA/DWARE1/DATAFILE/indx.672.1037208779 11,99530.661.0030.660.00 9,275300.00
INDX+DATA/DWARE1/DATAFILE/indx.674.1041247233 1,07100.711.0000.720.00 979000.00
INDX_CB+DATA/DWARE1/DATAFILE/indx_cb.516.1018683403 3,54010.681.0010.680.00 42,5711200.00
INDX_FRC+DATA/DWARE1/DATAFILE/indx_frc.568.1050336067 1400.001.0000.000.00 7000.00
INVOICE+DATA/DWARE1/DATAFILE/invoice.508.1018680555 13,55040.501.0240.500.00 4,448100.00
INVOICED+DATA/DWARE1/DATAFILE/invoiced.518.1018680507 1400.001.0000.000.00 7000.00
INVOICED+DATA/DWARE1/DATAFILE/invoiced.725.1045909901 3300.001.0000.000.00 6000.00
MOBILE_DATA+DATA/DWARE1/DATAFILE/mobile_data.564.1019904577 1500.001.0000.000.00 5000.00
MOBILE_SMS+DATA/DWARE1/DATAFILE/mobile_sms.560.1019905193 1500.001.0000.000.00 5000.00
MOBILE_VOICE+DATA/DWARE1/DATAFILE/mobile_voice.566.1019905349 1500.001.0000.000.00 5000.00
SFSDTLS+DATA/DWARE1/DATAFILE/sfsdtls.773.1050572999 3700.001.0000.000.00 7000.00
SUBDTL_APR19+DATA/DWARE1/DATAFILE/subdtl_apr19.777.1050594051 3700.001.0000.000.00 7000.00
SUBDTL_APR20+DATA/DWARE1/DATAFILE/subdtl_apr20.789.1050594091 3800.001.0000.000.00 7000.00
SUBDTL_AUG19+DATA/DWARE1/DATAFILE/subdtl_aug19.781.1050594065 4400.001.0000.000.00 7000.00
SUBDTL_AUG20+DATA/DWARE1/DATAFILE/subdtl_aug20.793.1050594101 3800.001.0000.000.00 7000.00
SUBDTL_DEC19+DATA/DWARE1/DATAFILE/subdtl_dec19.785.1050594077 3800.001.0000.000.00 7000.00
SUBDTL_DEC20+DATA/DWARE1/DATAFILE/subdtl_dec20.797.1050594109 700.001.0000.000.00 7000.00
SUBDTL_FEB19+DATA/DWARE1/DATAFILE/subdtl_feb19.775.1050594045 3700.001.0000.000.00 7000.00
SUBDTL_FEB20+DATA/DWARE1/DATAFILE/subdtl_feb20.787.1050594085 3800.001.0000.000.00 7000.00
SUBDTL_JAN19+DATA/DWARE1/DATAFILE/subdtl_jan19.700.1050594043 3700.001.0000.000.00 7000.00
SUBDTL_JAN20+DATA/DWARE1/DATAFILE/subdtl_jan20.786.1050594081 3800.001.0000.000.00 7000.00
SUBDTL_JUL19+DATA/DWARE1/DATAFILE/subdtl_jul19.780.1050594061 3700.001.0000.000.00 7000.00
SUBDTL_JUL20+DATA/DWARE1/DATAFILE/subdtl_jul20.792.1050594099 3800.001.0000.000.00 7000.00
SUBDTL_JUN19+DATA/DWARE1/DATAFILE/subdtl_jun19.779.1050594057 3700.001.0000.000.00 7000.00
SUBDTL_JUN20+DATA/DWARE1/DATAFILE/subdtl_jun20.791.1050594097 3800.001.0000.000.00 7000.00
SUBDTL_MAR19+DATA/DWARE1/DATAFILE/subdtl_mar19.776.1050594047 3700.001.0000.000.00 7000.00
SUBDTL_MAR20+DATA/DWARE1/DATAFILE/subdtl_mar20.788.1050594087 3800.001.0000.000.00 7000.00
SUBDTL_MAY19+DATA/DWARE1/DATAFILE/subdtl_may19.778.1050594053 3700.001.0000.000.00 7000.00
SUBDTL_MAY20+DATA/DWARE1/DATAFILE/subdtl_may20.790.1050594093 3800.001.0000.000.00 7000.00
SUBDTL_NOV19+DATA/DWARE1/DATAFILE/subdtl_nov19.784.1050594075 4400.001.0000.000.00 7000.00
SUBDTL_NOV20+DATA/DWARE1/DATAFILE/subdtl_nov20.796.1050594107 3800.001.0000.000.00 7000.00
SUBDTL_OCT19+DATA/DWARE1/DATAFILE/subdtl_oct19.783.1050594071 4400.001.0000.000.00 7000.00
SUBDTL_OCT20+DATA/DWARE1/DATAFILE/subdtl_oct20.795.1050594105 3800.001.0000.000.00 7000.00
SUBDTL_SEP19+DATA/DWARE1/DATAFILE/subdtl_sep19.782.1050594067 4400.001.0000.000.00 7000.00
SUBDTL_SEP20+DATA/DWARE1/DATAFILE/subdtl_sep20.794.1050594103 3800.001.0000.000.00 7000.00
SUBINAP+DATA/DWARE1/DATAFILE/subinap.551.1018726343 7,21920.701.0020.690.00 4,465100.00
SYSAUX+DATA/DWARE1/DATAFILE/sysaux.345.1018631801 4,68811.194.6110.960.00 1,165000.00
SYSTEM+DATA/DWARE1/DATAFILE/system.346.1018631797 3,17110.692.0310.630.00 6110921.30
TBSINDXGSM+DATA/DWARE1/DATAFILE/tbsindxgsm.673.1042087457 83,314230.411.00230.410.00 68,6771900.00
TBS_GOV_CALL_CDRS+DATA/DWARE1/DATAFILE/tbs_gov_call_cdrs.468.1048934325 3300.001.0000.000.00 6000.00
TEMP+DATA/DWARE1/TEMPFILE/temp.293.1018660599 45,040130.007.3600.17  43,434120 
TEMP+DATA/DWARE1/TEMPFILE/temp.309.1018660597 23,98170.008.5900.37  26,72280 
TEMP+DATA/DWARE1/TEMPFILE/temp.343.1018631803 100,467280.008.4500.05  128,024360 
TEMP+DATA/DWARE1/TEMPFILE/temp.510.1018660603 49,877140.004.5600.05  30,84290 
TICKET+DATA/DWARE1/DATAFILE/ticket.527.1018666633 198,989560.582.61370.460.00 600190,8760.49
TICKET+DATA/DWARE1/DATAFILE/ticket.528.1018666621 133,463380.673.85170.500.00 4460119,3270.45
TICKET+DATA/DWARE1/DATAFILE/ticket.724.1045909859 36,260100.644.1850.450.00 243037,3430.43
TICKETINCIDENT+DATA/DWARE1/DATAFILE/ticketincident.284.1031133885 42400.1941.3900.540.00 286000.00
TICKETINCIDENT+DATA/DWARE1/DATAFILE/ticketincident.525.1018668401 1,27600.2451.8201.210.00 8000.00
TICKETINCIDENT+DATA/DWARE1/DATAFILE/ticketincident.526.1018668383 1,37300.3423.3200.530.00 19000.00
TICKETINCIDENT+DATA/DWARE1/DATAFILE/ticketincident.561.1030956667 29800.1747.9500.810.00 21080.00
UNDOTBS1+DATA/DWARE1/DATAFILE/undotbs1.290.1018660369 11300.881.0000.880.00 6,9292831.57
UNDOTBS1+DATA/DWARE1/DATAFILE/undotbs1.300.1018660283 23500.981.0000.980.00 7,40522061.02
UNDOTBS1+DATA/DWARE1/DATAFILE/undotbs1.301.1018660451 9802.451.0002.350.00 7,21021242.98
UNDOTBS1+DATA/DWARE1/DATAFILE/undotbs1.344.1018631801 29701.141.0001.140.00 7,38723450.93
UNDOTBS2+DATA/DWARE1/DATAFILE/undotbs2.342.1018631811 700.001.0000.000.00 7052.00
USERS+DATA/DWARE1/DATAFILE/users.341.1018631811 4900.411.0000.200.00 94000.00
WF_WORKFLOW+DATA/DWARE1/DATAFILE/wf_workflow.563.1020108439 115,555330.715.14150.360.00 16000.00
WF_WORKFLOW+DATA/DWARE1/DATAFILE/wf_workflow.726.1045909959 11,57330.706.7910.330.00 106000.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
D587,41299440,540,2684,254,134842,24400861,672


Back to Buffer Pool Statistics
Back to Top

Checkpoint Activity

MTTR WritesLog Size WritesLog Ckpt WritesOther Settings WritesAutotune Ckpt WritesThread Ckpt Writes
0000188,0810


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
B0201453637394759011229305764479011229  7
E057821366522208296633413057644729663341  14


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
D9600.10593.7911,833,09415947521.00
D1,9200.201183.089,599,65914601658.00
D2,8800.301772.567,971,61313620600.00
D3,8400.402362.196,833,55112934805.00
D4,8000.502941.925,990,23412426625.00
D5,7600.603531.705,302,77212012361.00
D6,7200.704121.504,687,98411641891.00
D7,6800.804711.324,125,23611302780.00
D8,6400.905301.153,599,5671986013.00
D9,6001.005891.003,119,4681696706.00
D10,5601.106480.872,716,4391453842.00
D11,5201.207070.772,401,3091264150.00
D12,4801.307650.702,193,2391263424.00
D13,4401.408240.662,047,4401262915.00
D14,4001.508830.621,922,0891262477.00
D15,3601.609420.581,799,4161262049.00
D16,3201.701,0010.541,673,3481261609.00
D17,2801.801,0600.501,552,1031261186.00
D18,2401.901,1190.461,434,0761260774.00
D19,2002.001,1780.421,317,1661260366.00


Back to Advisory Statistics
Back to Top

PGA Aggr Summary

PGA Cache Hit %W/A MB ProcessedExtra W/A MB Read/Written
61.4190,07056,597


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)
B3,7261,8552,939.09333.3411.34100.000.00381,540
E3,7261,8872,767.09197.327.13100.000.00381,540


Back to Advisory Statistics
Back to Top

PGA Aggr Target Histogram

Low Optimal High OptimalTotal ExecsOptimal Execs1-Pass ExecsM-Pass Execs
2K4K86,69886,69800
64K128K626200
128K256K424200
256K512K131300
512K1024K60760700
1M2M40140100
2M4M747400
4M8M161600
8M16M333300
16M32M565600
32M64M17217020
64M128M9785120
128M256M3219130
256M512M133100
512M1024M273240
1G2G144100
2G4G6060


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
4660.1325,719,866.241,987,559.4593.002,9682,413,557,129
9320.2525,719,866.241,040,544.2196.001,0432,331,063,887
1,8630.5025,719,866.24308,240.6999.0002,267,273,898
2,7950.7525,719,866.24304,114.3799.0002,266,914,460
3,7261.0025,719,866.24301,409.6299.0002,266,678,853
4,4711.2025,719,866.24282,676.9099.0002,265,047,071
5,2161.4025,719,866.24282,676.9099.0002,265,047,071
5,9621.6025,719,866.24282,676.9099.0002,265,047,071
6,7071.8025,719,866.24282,676.9099.0002,265,047,071
7,4522.0025,719,866.24282,676.9099.0002,265,047,071
11,1783.0025,719,866.24282,676.9099.0002,265,047,071
14,9044.0025,719,866.24282,676.9099.0002,265,047,071
22,3566.0025,719,866.24282,676.9099.0002,265,047,071
29,8088.0025,719,866.24282,676.9099.0002,265,047,071


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.689421,655163,644,6480.6972,540,146703.033,086,641
5,5680.7885839,336210,954,3200.8925,230,474244.523,931,209
6,3360.891,62652,960227,389,8600.968,794,93485.244,057,403
6,4640.911,75355,641228,995,9940.977,188,80069.674,079,605
6,5280.921,81756,613229,761,0160.976,423,77862.264,089,768
6,5920.931,88157,020230,495,5320.985,689,26255.144,099,225
6,6560.941,94557,427231,216,3710.984,968,42348.154,108,110
6,7200.952,00959,073231,922,5740.984,262,22041.314,117,386
6,7840.962,07360,723232,629,9110.993,554,88334.454,126,169
6,8480.962,13762,286233,336,5870.992,848,20727.604,134,948
6,9120.972,20163,751234,034,7420.992,150,05220.844,145,798
6,9760.982,26565,216234,729,8120.991,454,98214.104,154,491
7,0400.992,32966,883235,413,6981.00771,0967.474,163,941
7,1041.002,39369,132236,081,6121.00103,1821.004,172,730
7,1681.012,45770,479236,082,1771.00102,6170.994,172,827
7,2321.022,52171,809236,082,4291.00102,3650.994,173,263
7,2961.032,58573,053236,082,9921.00101,8020.994,173,386
7,3601.042,64974,146236,083,7511.00101,0430.984,173,399
7,4241.052,71375,239236,084,7041.00100,0900.974,173,965
7,4881.052,77776,131236,085,7361.0099,0580.964,174,930
7,5521.062,84176,982236,086,4571.0098,3370.954,174,938
7,6161.072,90577,833236,086,9481.0097,8460.954,176,192
7,6801.082,96978,684236,087,6481.0097,1460.944,180,494
7,8721.113,16181,239236,090,0101.0094,7840.924,185,688
8,6401.223,92993,042236,094,2801.0090,5140.884,194,388
9,4081.324,697109,634236,095,7011.0089,0930.864,196,289
10,1761.435,465130,893236,096,1601.0088,6340.864,196,294
10,9441.546,233149,983236,096,6801.0088,1140.854,196,297
11,7121.657,001169,073236,097,2001.0087,5940.854,196,301
12,4801.767,769188,163236,097,4741.0087,3200.854,196,304
13,2481.868,537207,253236,097,6871.0087,1070.844,196,307
14,0161.979,305226,343236,097,9221.0086,8720.844,196,310
14,7842.0810,073245,433236,098,2941.0086,5000.844,196,312


Back to Advisory Statistics
Back to Top

SGA Target Advisory

SGA Target Size (M)SGA Size FactorEst DB Time (s)Est Physical Reads
3,5840.133,191,8263,119,462,306
7,1680.253,191,8263,119,462,306
10,7520.383,191,8263,119,462,306
14,3360.503,191,8263,119,462,306
17,9200.6336,605,62313,588,689,751
21,5040.757,270,7039,154,374,083
25,0880.885,156,9555,383,568,048
28,6721.003,890,5733,119,462,306
32,2561.133,678,5372,518,653,866
35,8401.253,676,5912,351,138,740
39,4241.383,674,6461,782,460,762
43,0081.503,673,0901,512,627,272
46,5921.633,672,7011,512,627,272
50,1761.753,672,7011,512,627,272
53,7601.883,672,7011,512,627,272
57,3442.003,672,7011,512,627,272


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)
9,2160.900000
10,2401.000000
11,2641.100000
12,2881.200000
13,3121.300000
14,3361.400000
15,3601.500000
16,3841.600000
17,4081.700000
18,4321.800000
19,4561.900000
20,4802.000000


Back to Advisory Statistics
Back to Top

Java Pool Advisory

No data exists for this section of the report.

Back to Advisory Statistics
Back to Top

Wait Statistics

Back to Top

Buffer Wait Statistics

ClassWaitsTotal Wait Time (s)Avg Time (ms)
data block753,2843911
undo block69012
1st level bmb68000
segment header56900
2nd level bmb15400
undo header7900


Back to Wait Statistics
Back to Top

Enqueue Activity

Enqueue Type (Request Reason)RequestsSucc GetsFailed GetsWaitsWt Time (s)Av Wt Time(ms)
KO-Multiple Object Checkpoint (fast object checkpoint) 34,77734,77809,29630.27
PS-PX Process Reservation 10,37010,338322,39810.40
CO-KTUCLO Master Slave enq (master slave det) 1,18201,1821,18210.51
XR-Quiesce / Force Logging (database force logging) 1,1781,17801,17810.44
RO-Multiple Object Reuse (fast object reuse) 2,4262,426068700.48
FB-Format Block 928928049700.47
CR-Reuse Block Range (block range reuse ckpt) 2,3942,39404203.86
TX-Transaction (index contention) 151501506.93
CF-Controlfile Transaction 10,86610,866022400.39
TM-DML 913,890913,84603902.18
HW-Segment High Water Mark 13,60113,60106400.36
TS-Temporary Segment 226194326100.36
ZH-Compression Analyzer (compression analysis) 14014007000.23
MN-LogMiner 7,7927,7920602.00
TA-Instance Undo 232302000.40
TO-Temp Object 7,9947,99402000.35
WF-AWR Flush 333301600.38
JS-Job Scheduler (job run lock - synchronize) 282802500.20
CT-Block Change Tracking (local space management) 323201600.31
TD-KTF map table enqueue (KTF dump entries) 111101100.45
DW-In memory Dispenser 25250700.71
WL-Being Written Redo Log 211110700.71
CT-Block Change Tracking (global space management) 880800.50
DL-Direct Loader Index Creation 56560800.38
WR-LNS archiving log 11110500.60
US-Undo Segment 48480301.00
TT-Tablespace 63,53263,5320200.50
DR-Distributed Recovery 220200.50
MW-MWIN Schedule 220200.50
WT-AWR CDB-Wide Table Lock 32320101.00
AF-Advisor Framework (task serialization) 13130101.00
FD-Flashback Database (Flashback logical operations) 110101.00
MV-Online Datafile Move (datafile move) 110101.00
RA-Real-Time ADDM Flood Control (RT ADDM flood control) 110101.00
IS-Instance State 2,257,8402,257,840000 
TX-Transaction 871,202871,204000 
JS-Job Scheduler 21,22221,222000 
JS-Job Scheduler (queue lock) 21,22221,222000 
SJ-KTSJ Slave Task Cancel (Slave Task Cancel) 2,5262,526000 
SE-Session Migration 2,3822,383000 
WG-Write gather local enqueue (lock fso) 2,1812,180000 
JS-Job Scheduler (q mem clnup lck) 2,0162,016000 
MR-Media Recovery 1,9731,973000 
DD-ASM Local Disk Group 1,2881,288000 
MC-SGA Log Operation (Securefile log) 1,1951,195000 
MF-SGA Log-Bkt Flush (flush bkgnd periodic) 1,1831,183000 
SR-Synchronized Replication 1,1331,133000 
WG-Write gather local enqueue (delete fso) 727727000 
AE-Edition Lock (lock) 652652000 
CU-Cursor 530530000 
PR-Process Startup 180180000 
PV-KSV slave startup (syncstart) 129129000 
JD-Job Queue Date 118118000 
RC-Result Cache: Enqueue (Result Cache: Contention) 9393000 
TH-Threshold Chain (metric threshold evaluation) 5959000 
PW-Buffer Cache PreWarm (flush prewarm buffers) 2727000 
FP-File Object (global fob contention) 2323000 
IT-In-Mem Temp Table Meta Creation 1616000 
SQ-Sequence Cache 1616000 
SH-Active Session History Flushing 33000 
XL-ASM Extent Fault Lock (fault extent map) 33000 
CT-Block Change Tracking (CTWR process start/stop) 11000 
CT-Block Change Tracking (state) 11000 
FH-Flush Stat 11000 
SW-Suspend Writes 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
2120.08874,2901,6551137.8/44.60/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
10-Sep 12:5718,659165,1221,43811390/00/0/0/0/0/0
10-Sep 12:4743,086268,7201,4389380/00/0/0/0/0/0
10-Sep 12:371,6113,3231,4378390/00/0/0/0/0/0
10-Sep 12:276,835121,4771,6537430/00/0/0/0/0/0
10-Sep 12:1741,456308,3501,4348390/00/0/0/0/0/0
10-Sep 12:078,4317,2981,6559450/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 08400.00
AQ Coord jobx_kwsbgsgn latch1180.00 00 
AQ Sharded master pool latch1180.00 00 
AQ deq hash table latch10.00 00 
ASM Keyed state latch5480.180.0000 
ASM allocation202,1470.00 00 
ASM db client latch332,2290.00 00 
ASM map headers3070.00 00 
ASM map load waiting list870.00 00 
ASM map operation freelist43,9010.130.0000 
ASM map operation hash table9,241,0620.010.0000 
ASM network SGA latch330.00 00 
ASM network background latch7,2090.00 00 
ASM network state latch9560.00 00 
ASM remote client latch570.00 00 
ASM scan context latch440.00 00 
AWR Alerted Metric Element list44,8730.00 00 
Change Notification Hash table latch1,3870.00 00 
Consistent RBA844,7180.000.0000 
DML lock allocation1,827,7690.000.0000 
Event Group Locks2,6690.00 00 
FAL Queue1740.00 00 
FIB s.o chain latch870.00 00 
FOB s.o list latch4,3400.020.0000 
File State Object Pool Parent Latch1,4590.140.0000 
Hang Manager wait event statistics2330.00 02,7810.00
I/O Staticstics latch10.00 00 
ILM Stats Stripe Latch10.00 00 
ILM Stats main anchor latch4,1400.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 latch290.00 00 
IPC stats buffer allocation latch4,6010.00 04,5930.00
In memory undo latch10.00 00 
JS Sh mem access30.00 00 
JS broadcast add buf latch1,1130.00 00 
JS broadcast drop buf latch1,1120.00 00 
JS broadcast load blnc latch1040.00 00 
JS mem alloc latch650.00 00 
JS queue access latch660.00 00 
JS queue state obj latch42,4440.00 00 
JS slv state obj latch1010.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 latch12,6360.00 00 
KFMD SGA350.00 00 
KGNFS-NFS:SHM structure10.00 00 
KGNFS-NFS:SVR LIST1,1850.00 00 
KJC message pool free list762,2590.590.00097,7710.10
KJC message pool pending avail list10.00 00 
KJCT flow control latch4,139,6350.040.0000 
KMG MMAN ready and startup request latch1,1840.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 latch296,1170.00 0820.00
KSXR hang analysis phase 2 latch362,2620.00 00 
KSXR large replies2380.00 00 
KTF sga latch340.00 01,1950.00
KTILM latch10.00 00 
KWQMN job cache list latch2620.00 00 
KWQS pqueue ctx latch20.00 00 
LGWR NS Write1,529,8880.00 00 
Locator state objects pool parent latch10.00 00 
Lsod array latch2750.00 00 
MQL Tracking Latch0  0710.00
Memory Management Latch10.00 01,1840.00
Memory Queue10.00 00 
Memory Queue Message Subscriber #110.00 00 
Memory Queue Message Subscriber #210.00 00 
Memory Queue Message Subscriber #310.00 00 
Memory Queue Message Subscriber #410.00 00 
Memory Queue Subscriber10.00 00 
Message cache latch10.00 00 
MinActiveScn Latch1,2410.00 00 
Mutex10.00 00 
Mutex Stats10.00 00 
OS process1,9920.00 00 
OS process allocation8,3400.00 00 
OS process: request allocation5480.00 00 
PL/SQL warning settings15,1460.00 00 
PX hash array latch10.00 00 
Parent latch for dependency tracking10.00 00 
QMT10.00 00 
RTT parent context110.00 00 
Real time apply boundary338,8480.000.0000 
Real-time descriptor latch198,9150.001.0000 
Report Request stats latch1260.00 00 
Report Request struct latch620.00 00 
Request holder compeltion list latch3590.00 00 
Result Cache: RC Latch3900.00 00 
Result Cache: SO Latch270.00 00 
Retry Ht elm latch10.00 00 
Retry bkt latch10.00 00 
SGA Blackbox latch40.00 00 
SGA IO buffer pool latch1,6180.060.0001,8740.91
SGA Logging Bkt Latch62,7530.00 00 
SGA Logging Log Latch67,1810.00 03,5560.00
SGA blob parent10.00 00 
SGA bucket locks10.00 00 
SGA heap locks10.00 00 
SGA kcrrgap latch10.00 00 
SGA kcrrlatmscnl latch210,8580.00 00 
SGA kcrrpinfo latch620.00 00 
SGA pool locks10.00 00 
SQL memory manager latch20.00 01,1790.00
SQL memory manager workarea list latch231,1510.000.0000 
SR Stats Stripe Latch10.00 00 
SR Stats main anchor latch4,524,6370.020.0000 
Sched IM Job latch580.00 00 
Sched InMem Job Cache1,0720.00 00 
Shared B-Tree3390.00 00 
Streams Generic1,751,0680.040.0000 
Subscriber Ht elm latch10.00 00 
Testing10.00 00 
Token Manager10.00 00 
Txn Ht elm latch10.00 00 
Txn bkt latch10.00 00 
VPSO SGA170.00 00 
WCR: sync10.00 00 
Write State Object Pool Parent Latch10.00 00 
X$KSFQP13,0390.00 00 
XDB NFS Security Latch10.00 00 
XDB unused session pool10.00 00 
XDB used session pool10.00 00 
active checkpoint queue latch125,6821.950.0000 
active service list39,0900.010.0002,195,0280.00
alert log latch560.00 00 
archive destination8240.00 00 
archive process latch2880.00 00 
begin backup scn array54,2870.00 00 
buffer pool10.00 00 
business card2,7820.00 00 
cache buffer handles21,1222.540.0000 
cache buffers chains665,383,8732.260.0257,585,7120.00
cache buffers lru chain4,603,3270.010.0306,013,2500.02
cache table scan latch270,2090.000.000270,2080.00
call allocation16,2380.010.0000 
cas latch10.00 00 
change notification client cache latch10.00 00 
channel handle pool latch8320.120.0000 
channel operations parent latch2,459,8570.580.000890.00
checkpoint queue latch4,131,8730.000.000909,9000.00
client/application info14,4790.00 00 
compile environment latch2,4130.00 00 
corrupted undo seg latch4600.00 00 
cp handoff latch10.00 00 
cp pool latch10.00 00 
cp server hash latch10.00 00 
cp sga latch570.00 00 
cp srv type state latch1720.00 00 
cp srv type wait latch10.00 00 
cvmap freelist lock10.00 00 
deferred cleanup latch570.00 00 
dispatcher info860.00 00 
dml lock allocation1470.00 00 
done queue latch10.00 00 
dtp latch2740.00 00 
dummy allocation4,7640.020.0000 
eighth spare latch - X parent10.00 00 
eleventh spare latch - children10.00 00 
enqueue freelist latch10.00 04,883,6940.00
enqueue hash chains10,586,6770.030.00090.00
enqueues110.00 00 
error message lists6,9430.00 00 
event stats latch2,3810.00 00 
fast space usage latch760.00 00 
fifteenth spare latch - children10.00 00 
file cache latch17,9450.00 00 
first Audit Vault latch840.00 00 
flash file access latch10.00 00 
flashback copy10.00 00 
fourteenth spare latch - children10.00 00 
fourth Audit Vault latch10.00 00 
gc element15,328,2750.240.01011,1610.01
gc imc list33713.060.0000 
gc persistent rm90.00 00 
gcs affinity object freelist latch30.00 00 
gcs commit scn state10.00 00 
gcs opaque info freelist927,9270.010.0000 
gcs partitioned table hash14,255,1270.000.0001,681,9670.00
gcs pcm hashed value bucket hash10.00 00 
gcs remaster request queue16,2410.560.0000 
gcs remastering latch6340.320.500860.00
gcs resource freelist3,719,8580.010.0000 
gcs resource hash12,944,8260.010.0000 
gcs resource scan list10.00 00 
gcs resource validate list10.00 00 
gcs shadows freelist934,0990.00 00 
ges cached resource lists1,116,2910.030.000143,6590.13
ges deadlock list1,4080.00 00 
ges domain table2,535,3850.000.0000 
ges enqueue table freelist2,625,2740.000.0000 
ges group table2,592,4410.00 00 
ges process hash list364,6500.000.0000 
ges process parent latch5,234,0460.000.0000 
ges process table freelist5480.180.0000 
ges resource hash list3,206,9470.160.0201,8240.27
ges resource scan list3320.00 00 
ges resource table freelist223,9180.010.0000 
ges timeout list7,8510.010.0002860.00
ges value block free list18,9210.00 00 
global KZLD latch for auth type mem in SGA940.00 00 
global tx hash mapping10,0690.00 00 
granule from data transfer cache10.00 00 
granule operation10.00 00 
hash table Sql Plan Finding latch7230.00 01,3670.00
hash table column usage latch3340.00 01,007,8710.42
hash table modification latch2260.00 00 
heartbeat check10.00 01,5930.00
heartbeat structure management0  01,7760.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 latch80.00 00 
interrupt manipulation13,9750.00 00 
intra txn parallel recovery10.00 00 
io pool granule list1640.00 00 
io pool granule metadata list3170.00 00 
job workq parent latch290.00 0280.00
job_queue_processes free list latch560.00 00 
job_queue_processes parameter latch90.00 00 
k2q global data latch5,2620.00 00 
k2q lock allocation14,6790.00 00 
kcb DW scan objtemp hash table latch10.00 00 
kcbtsemkid latch110.00 00 
kcn buffer chains10.00 00 
kdlx hb parent latch10.00 00 
kgb parent10.00 00 
kgnfs mount latch10.00 00 
kjci objects freelist latch10.00 00 
kjci process context latch10.00 0359,3850.00
kjoedcso state object freelist latch570.00 00 
kjoeq omni enqueue hash bucket latch10.00 00 
kjoer owner hash bucket10.00 00 
kokc descriptor allocation latch680.00 00 
krso process latch1300.00 00 
ksfv messages10.00 00 
ksi resource reuse count10.00 00 
ksim group membership cache4,6510.00 00 
ksim membership request latch0  03,5520.00
kss move lock2570.00 00 
ksuosstats global area2490.00 01,3560.00
ksv allocation latch5730.00 00 
ksv class latch15,1100.010.0000 
ksv instance latch20.00 00 
ksv msg queue latch780.00 0770.00
ksxp shared latch5480.00 00 
ksxp so latch5480.00 00 
ksz_so allocation latch5480.180.0000 
ktfbn latch6,3040.00 00 
ktm global data5,5390.00 00 
ktm prv jrnls10.00 00 
ktmpj HT ls10.00 00 
kwqbsn:qsga1300.00 00 
kwslbmdl: metadata latch2,8360.00 00 
kwslbql: queue latch10.00 00 
kwsptQcachLt: queue cache latch10.00 00 
kwsptTrncTsksLt: trunc task latch10.00 00 
kwsptjobAdPtLt: AdPt list latch2610.00 00 
kxfxscanrate_latch10.00 00 
lgwr LWN SCN849,4520.020.0000 
list of block allocation90,3670.00 00 
loader state object freelist16,0600.00 00 
lob segment dispenser latch6190.00 00 
lob segment hash table latch6370.00 00 
lob segment query latch10.00 00 
lock DBA buffer during media recovery10.00 00 
log write info0  0923,5210.24
log write slave phase10.00 00 
logical standby cache10.00 00 
logminer context allocation2,9680.00 00 
logminer local12,387,8600.010.0000 
logminer work area1,176,699,4040.090.0000 
longop free list parent1,5850.00 0540.00
managed standby latch1190.00 00 
mapped buffers lru chain10.00 00 
message bitmap latch10.00 00 
message pool operations parent latch990,4900.000.0600 
messages6,660,6280.230.0000 
msg queue latch10.00 00 
multiblock read objects730,4070.000.0000 
name-service memory objects19,1030.00 00 
name-service namespace bucket35,0340.00 00 
name-service pending queue3,6720.00 00 
name-service request140.00 00 
name-service request queue43,0810.00 00 
ncodef allocation latch570.00 00 
ninth spare latch - X parent10.00 00 
object queue header freelist703,1520.000.0000 
object queue header operation12,479,9870.000.2101,094,8980.00
object queue memory10.00 00 
object stats modification20,9500.280.0000 
parallel query alloc buffer26,3590.00 08640.00
parallel query stats6,2520.00 00 
parallel txn reco latch2,0880.00 00 
parameter table management10,7540.640.0000 
peshm10.00 00 
pesom_free_list10.00 00 
pesom_hash_node10.00 00 
pkey global statistics10.00 00 
post/wait queue1,322,1050.030.000978,4730.22
process allocation17,8690.011.0002740.00
process group creation5480.00 00 
process pkey statistics list10.00 00 
process queue11,7970.00 00 
process queue reference321,9540.020.00028,2550.08
qmn task queue latch89814.030.0000 
query server freelists13,8830.010.0000 
query server process4,4810.071.00030.00
queued dump request120.00 00 
queuing load statistics10.00 00 
readredo stats and histogram762,8330.00 00 
recovery domain hash list10.00 00 
redo allocation2,620,5280.710.00013,387,1150.23
redo copy10.00 013,400,5150.09
redo transport task latch1410.00 00 
redo writing3,467,7620.030.0000 
resmgr group change latch2,1710.00 00 
resmgr:active threads4,7670.00 00 
resmgr:actses change group2,3010.00 00 
resmgr:actses change state10.00 00 
resmgr:free threads list4,7630.020.0000 
resmgr:plan CPU method10.00 00 
resmgr:resource group CPU method10.00 00 
resmgr:schema config680.00 00 
resmgr:session queuing10.00 00 
rm cas latch10.00 00 
row cache objects3,258,7171.040.000100.00
rules engine rule set statistics1000.00 00 
second Audit Vault latch10.00 00 
segmented array pool830.00 00 
sequence cache1,1020.00 00 
session allocation444,3040.00 0439,7950.00
session idle bit775,8290.000.0000 
session queue latch10.00 00 
session state list latch4,9640.040.0000 
session statistics4,8600.020.0000 
session switching3320.00 00 
session timer1,1840.00 00 
seventh spare latch - X parent10.00 00 
sga hash table parent latch10.00 00 
shard latch10.00 00 
shared pool8,644,1410.020.020770.00
shared pool sim alloc350.00 00 
shared pool simulator3,3570.00 00 
sim partition latch10.00 00 
simulator hash latch27,192,3220.000.0000 
simulator lru latch10.00 026,989,44412.13
sixth spare latch - X parent10.00 00 
sort extent pool154,5280.780.0000 
space background task latch8,10639.920.4612,4220.00
state object free list20.00 00 
statistics aggregation6440.00 00 
subscriber Ht bkt10.00 00 
tablespace key chain10.00 00 
temp lob duration state obj allocation360.00 00 
temporary table state object allocation860.00 00 
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 latch1,3010.00 00 
transaction allocation48,3970.00 00 
transaction branch allocation9,2910.00 00 
twelfth spare latch - children10.00 00 
twenty-fifth spare latch - S par10.00 00 
twenty-first spare latch - S par10.00 00 
twenty-fourth spare latch - S par10.00 00 
twenty-second spare latch - S par10.00 00 
twenty-third spare latch - S par10.00 00 
undo global data2,855,6450.000.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 chains665,383,87315,057,896253,63314,834,029
logminer work area1,176,699,4041,068,4284,9741,063,530
gc element15,328,27536,27822536,053
row cache objects3,258,71733,740133,739
redo allocation2,620,52818,663518,658
messages6,660,62815,321315,318
channel operations parent latch2,459,85714,3351014,325
ges resource hash list3,206,9475,087855,002
KJC message pool free list762,2594,52884,520
enqueue hash chains10,586,6773,65723,655
space background task latch8,1063,2361,4891,747
active checkpoint queue latch125,6822,45732,454
KJCT flow control latch4,139,6351,80621,804
shared pool8,644,1411,495321,473
logminer local12,387,8601,18111,180
gcs resource hash12,944,8268564852
cache buffers lru chain4,603,32760320583
ges cached resource lists1,116,2913141313
object queue header operation12,479,98729062232
message pool operations parent latch990,49017116
Real-time descriptor latch198,915330
query server process4,481330
gcs remastering latch634211
process allocation17,869110


Back to Latch Statistics
Back to Top

Latch Miss Sources

Latch NameWhereNoWait Misses SleepsWaiter Sleeps
KJC message pool free listkjcspfmbq: free vector of msg buffers060
KJC message pool free listkjcsmpav: allocate a msg buffer028
KJCT flow control latchkjcts_sedeqv2: dequeue a vector of msgs010
KJCT flow control latchkjcts_sqenq: queue a message011
Real-time descriptor latchkeomgAddNewEntry033
active checkpoint queue latchkcbbacq: scan active checkpoints033
cache buffers chainskcbgtcr: slow path excl0201,522274,007
cache buffers chainskcbzwb047,03346,704
cache buffers chainskcbgtcr: fast path exam030,90910,289
cache buffers chainskcbrls: fast pin release018,906287
cache buffers chainskclcls_3015,2368,667
cache buffers chainskcbzgb: scan from tail. nowait010,8940
cache buffers chainskcbgtcr: fast path pin06,0624,384
cache buffers chainskcbnlc02,6674
cache buffers chainskcbrls: pin release02,488639
cache buffers chainskcbbic202,2095
cache buffers chainskclrlstp02,0230
cache buffers chainskclexpandlock01,1600
cache buffers chainskcbchg: change complete01,09445
cache buffers chainskcbbxsv065921
cache buffers chainskcbzib: exchange rls03820
cache buffers chainskcbget: release shr03331
cache buffers chainskcbgtcr: retry after read02888
cache buffers chainskcbchg: cr pin cleanout0234153
cache buffers chainskcbchg: cr pin change0229147
cache buffers chainskcbkzs0710
cache buffers chainskcbget: new pin03123
cache buffers chainskcbo_ckpt_exam_buf: scan0270
cache buffers chainskclrwrite_30181
cache buffers chainskcbgcur: fast path excl0138
cache buffers chainskclrls0130
cache buffers chainskcbzibmlt: multi-block read: nowait0120
cache buffers chainskclrqchk061
cache buffers chainskclpdcl050
cache buffers chainskcbzib: finish processing buffer045
cache buffers chainskcllkopesc020
cache buffers chainskcllwr_1020
cache buffers chainskclwcrs_2021
cache buffers chainskcbAdoptBuffers_vhl010
cache buffers chainskcbgcur: fast path shr011
cache buffers chainskcbget: fast path010
cache buffers chainskcbso1: set no access011
cache buffers chainskcbzibmlt: finish free bufs010
cache buffers lru chainkcbzgb_20122
cache buffers lru chainkcbzgws070
cache buffers lru chainkcbzgb010
channel operations parent latchksrwait()084
channel operations parent latchksrapublish()042
channel operations parent latchksrpubwait():1048
channel operations parent latchksrsconsume()024
enqueue hash chainsksqgtl3022
gc elementkclnfndnewm033339
gc elementkclnfnds029316
gc elementkclrwrite02921
gc elementkclnfndnew0160
gc elementkclfwrite10138
gc elementkclrwrite_10410
gc elementkclnfndx025
gc elementkclplz026
gc elementkclplz_1025
gc elementkclbla010
gc elementkclcqchk010
gc elementkclnfnd012
gc elementkclpdcl011
gc elementkclulb0112
gcs remastering latchkjfcdrmrfg end step010
gcs resource hashkclfwrite1010
gcs resource hashkjbassume010
gcs resource hashkjbrrcfwst010
gcs resource hashkjbrrcres_99010
ges cached resource listskjruch: cached obj cleanup010
ges resource hash listkjucvl: lock convert request02921
ges resource hash listkjrmas1: lookup master node0280
ges resource hash listkjrref: find matched resource02532
ges resource hash listkjlrlr: remove lock from resource queue0329
logminer work areakrvxbhcr: search SAL04,334450
logminer work areakrvxgti058834
logminer work areakrvxrtu0273,527
logminer work areakrvxqta024774
logminer work areakrvxbrta: update audit count20187
logminer work areakrvxbuild: free memory010
message pool operations parent latchksrmalloc()011
messagesksarcv: after wait022
messagesksarcv011
object queue header operationkcbo_write_q0660
object queue header operationkcbo_service_ockpt041
object queue header operationkcbo_switch_q_bg0154
process allocationksufap: active procs010
query server processkxfpg1srv023
query server processkxfpGetSlaveStats010
redo allocationkcrfw_redo_gen: redo allocation 1050
row cache objectskqrpre: find obj011
shared poolkgh_next_free0250
shared poolkghalo070
space background task latchktsj_grab_task01,4851,489
space background task latchktsj_detach_task040


Back to Latch Statistics
Back to Top

Mutex Sleep Summary

Mutex TypeLocationSleepsWait Time (ms)
Library Cachekglpnal2 9132232
Library Cachekglget2 219721
Library Cachekgllkal1 801601
Library Cachekglpin1 415011
Library Cachekglpnal1 9011911
Library Cachekgllkdl1 851101
Cursor Pinkksfbc [KKSCHLFSP2]10299
Cursor Pinkksfbc [KKSCHLPIN1]101110
Library Cachekglhdgn1 62771
Library Cachekglpndl1 95740
Library Cachekglhdgn2 106640
Library Cachekglget1 1300
Cursor PinkksLockDelete [KKSCHLPIN6]45
Library Cachekglobpn1 7130
Library Cachekgllkc1 5720
Library Cachekglhdgh1 6410
Cursor ParentkkscsAddChildNode [KKSPRTLOC34]10
Cursor Pinkqlfgx [KKSCHLRED1]11


Back to Latch Statistics
Back to Top

Parent Latch Statistics

No data exists for this section of the report.

Back to Latch Statistics
Back to Top

Child Latch Statistics

No data exists for this section of the report.

Back to Latch Statistics
Back to Top

Segment Statistics

Back to Top

Segments by Logical Reads

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Logical Reads%Total
CBSOGGCBS_TAB GSM_SERV_MAST#TMP#TO_MOBL_V INDEX126918126918106,225,74422.98
CBSOGGCBS3 TT_CATEGORY_MASTER TABLE16406116406141,253,9688.92
CBSOGGCBS3 TT_CATEGORY_CODE$PK INDEX16406516406535,801,7927.75
CBSOGGTICKET TTINFO_DKTNUM_PK INDEX15232015232027,755,2486.00
CBSOGGCBS3 GSM_SERVICE_MAST TABLE12690512690527,252,8485.90


Back to Segment Statistics
Back to Top

Segments by Physical Reads

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Physical Reads%Total
CBSOGGCBS11 FXL_SERVICE_MAST TABLE166450166450602,7874.13
BIREPORTBIREPORT TB_MT_TT_PEND_CBS TABLE771772771772573,9343.93
BIREPORTBIREPORT BIN$rvKETbKUI27gVAAUT/gRsA==$0 TABLE771722771722572,5313.92
BIREPORTBIREPORT BIN$rvK4eHpAOsvgVAAUT/gRsA==$0 TABLE771761771761572,3383.92
BIREPORTBIREPORT TB_MT_TT_PEND_HIST_UNQ TABLE771749771749382,3562.62


Back to Segment Statistics
Back to Top

Segments by Physical Read Requests

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Phys Read Requests%Total
CBSOGGCBS3 GSM_SERVICE_MAST TABLE12690512690571,3472.93
CBSOGGCBS2 CB_SUBS_INFORMATION_MASTER TABLE21691921691970,9022.92
CBSOGGCBS11 FXL_SERVICE_MAST TABLE16645016645055,0492.26
CBSOGGCBS2 CB_SUBS_POS_SERVICES TABLE19004819004844,4331.83
CBSOGGCBS3 CB_ACCOUNT_MASTER TABLE12704912704939,0071.60


Back to Segment Statistics
Back to Top

Segments by UnOptimized Reads

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#UnOptimized Reads%Total
CBSOGGCBS3 GSM_SERVICE_MAST TABLE12690512690571,3472.93
CBSOGGCBS2 CB_SUBS_INFORMATION_MASTER TABLE21691921691970,9022.92
CBSOGGCBS11 FXL_SERVICE_MAST TABLE16645016645055,0492.26
CBSOGGCBS2 CB_SUBS_POS_SERVICES TABLE19004819004844,4331.83
CBSOGGCBS3 CB_ACCOUNT_MASTER TABLE12704912704939,0071.60


Back to Segment Statistics
Back to Top

Segments by Optimized Reads

No data exists for this section of the report.

Back to Segment Statistics
Back to Top

Segments by Direct Physical Reads

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Direct Reads%Total
BIREPORTBIREPORT TB_MT_TT_PEND_CBS TABLE771772771772573,7685.55
BIREPORTBIREPORT BIN$rvK4eHpAOsvgVAAUT/gRsA==$0 TABLE771761771761572,2515.54
BIREPORTBIREPORT BIN$rvKETbKUI27gVAAUT/gRsA==$0 TABLE771722771722572,2155.54
CBSOGGCBS11 FXL_SERVICE_MAST TABLE166450166450555,8075.38
BIREPORTBIREPORT TB_MT_TT_PEND_HIST_UNQ TABLE771749771749383,8573.71


Back to Segment Statistics
Back to Top

Segments by Physical Writes

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Physical Writes%Total
BIREPORTBIREPORT TB_MT_TT_PEND_CBS TABLE77177277177296,0102.15
BIREPORTBIREPORT BIN$rvKETbKUI27gVAAUT/gRsA==$0 TABLE77172277172296,0092.15
BIREPORTBIREPORT BIN$rvK4eHpAOsvgVAAUT/gRsA==$0 TABLE77176177176196,0002.15
CBSOGGCBS2 CB_SUBS_INFORMATION_MASTER TABLE21691921691994,9502.13
BIREPORTBIREPORT CBS_ORDER_REPORT TABLE10866410866485,0231.90


Back to Segment Statistics
Back to Top

Segments by Physical Write Requests

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Phys Write Requests%Total
BIREPORTBIREPORT CBS_ORDER_REPORT TABLE10866410866459,6796.98
CBSOGGCBS2 CB_SUBS_INFORMATION_MASTER TABLE21691921691957,2706.70
BIREPORTBIREPORT BIN$rvKETbKaI27gVAAUT/gRsA==$0 TABLE7717377717373,1220.37
BIREPORTBIREPORT BIN$rvK4eHpGOsvgVAAUT/gRsA==$0 TABLE7717717717713,0750.36
BIREPORTINDX_CB BIN$rvK4eHo9OsvgVAAUT/gRsA==$0 INDEX7717637717632,3440.27


Back to Segment Statistics
Back to Top

Segments by Direct Physical Writes

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Direct Writes%Total
BIREPORTBIREPORT BIN$rvK4eHpAOsvgVAAUT/gRsA==$0 TABLE77176177176195,3712.63
BIREPORTBIREPORT TB_MT_TT_PEND_CBS TABLE77177277177295,3662.63
BIREPORTBIREPORT BIN$rvKETbKUI27gVAAUT/gRsA==$0 TABLE77172277172295,3652.63
BIREPORTBIREPORT TB_MT_TT_PEND_HIST TABLE77173977173972,5072.00
BIREPORTBIREPORT TB_MT_TT_PEND_HIST_UNQ TABLE77174977174963,9721.76


Back to Segment Statistics
Back to Top

Segments by Table Scans

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Table Scans%Total
CBSOGGTICKET TT_TICKETINFOSYS_P45864TABLE PARTITION60266760266770.04
CBSOGGTICKET TT_TICKETINFOSYS_P46050TABLE PARTITION61224361224370.04
CBSOGGTICKET TT_TICKETINFOSYS_P46084TABLE PARTITION61397761397770.04
CBSOGGTICKET TT_TICKETINFOSYS_P46151TABLE PARTITION61621061621070.04
CBSOGGTICKET TT_TICKETINFOSYS_P46964TABLE PARTITION65922765922770.04


Back to Segment Statistics
Back to Top

Segments by DB Blocks Changes

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#DB Block Changes% of Capture
BIREPORTBIREPORT CBS_ORDER_REPORT TABLE1086641086642,358,99226.51
BIREPORTBIREPORT COR#ORDER_REF_NO INDEX1923731923731,640,91218.44
BIREPORTINDX_CB ACLKCODE INDEX1086651086651,634,73618.37
BIREPORTBIREPORT LOC_ZONE_V#COR INDEX1193001193001,602,86418.01
BIREPORTBIREPORT TB_TT_GN_UNIQUE_TST TABLE771789771789456,5125.13


Back to Segment Statistics
Back to Top

Segments by Row Lock Waits

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Row Lock Waits% of Capture
CBSOGGTICKET TTINFO_DKTNUM_PK INDEX152320152320746.67
CBSOGGCBS4 CB_SUBS_PROV$INDX23 INDEX128367128367213.33
CBSOGGCBS4 CB_SUBS_PROV$INDX25 INDEX128360128360213.33
CBSOGGCBS POS_TRANS#NUM$PK INDEX127871127871213.33
CBSOGGCBS3 WF_WORKASSIGNMENT#UOPGWID$I INDEX164261164261213.33


Back to Segment Statistics
Back to Top

Segments by ITL Waits

No data exists for this section of the report.

Back to Segment Statistics
Back to Top

Segments by Buffer Busy Waits

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Buffer Busy Waits% of Capture
CBSOGGCBS4 CB_SUBS_PROVISIONINGP20201001TABLE PARTITION3761723761727417.29
CBSOGGCBS4 IDX$$_7A3B0001 INDEX1283591283597016.36
CBSOGGCBS2 SMS_MESSAGE_QUEUE TABLE4918774918774510.51
CBSOGGCBS3 TODOITEM#SIWID$I INDEX227436227436429.81
CBSOGGCBS3 WF_TODOITEM#TYP$NUI INDEX227435227435347.94


Back to Segment Statistics
Back to Top

Segments by Global Cache Buffer Busy

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#GC Buffer Busy% of Capture
CBSOGGCBS3 GSM_SERVICE_MAST TABLE126905126905108,29469.08
CBSOGGCBS3 CB_SUBSCRIBER_MASTER TABLE12791912791910,8796.94
CBSOGGCBS4 TT_TICKET_ADDNL_INFO_PK INDEX1641631641637,1214.54
CBSOGGTICKET TTINFO_DKTNUM_PK INDEX1523201523204,6352.96
CBSOGGCBS3 CB_ACCOUNT_MASTER TABLE1270491270494,5282.89


Back to Segment Statistics
Back to Top

Segments by CR Blocks Received

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#CR Blocks Received%Total
SYSSYSTEM OBJ$ TABLE181821112.78
SYSSYSTEM SEG$ TABLE148583.51
CBSOGGCBS3 GSM_SERVICE_MAST TABLE126905126905523.15
CBSOGGCBS3 CB_SUBSCRIBER_MASTER TABLE12791912791980.48
BIREPORTBIREPORT GCI_APPOINTMENT TABLE77004577170230.18


Back to Segment Statistics
Back to Top

Segments by Current Blocks Received

OwnerTablespace NameObject NameSubobject NameObj. TypeObj#Dataobj#Current Blocks Received%Total
CBSOGGCBS3 GSM_SERVICE_MAST TABLE12690512690559,47020.46
BIREPORTCBS TB_INSADD_TMP TABLE77110177110122,5017.74
CBSOGGCBS3 CB_SUBSCRIBER_MASTER TABLE12791912791917,8616.15
CBSOGGCBS1 CB_SUBS_OFFER_DETAILS TABLE12801312801314,0624.84
BIREPORTCBS4 BIN$rvIx/regP6fgVAAUT/gxgw==$0 TABLE7716527716529,2703.19


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_control991.010 11
dc_constraints1050.000 1019
dc_global_oids4,0300.000 0351
dc_histogram_data54,1810.000 0100,019
dc_histogram_defs145,4570.670 914128,275
dc_object_grants2,1600.000 0416
dc_objects39,8213.470 38233,928
dc_profiles3760.000 03
dc_props4,8270.000 0499
dc_rollback_segments4,3380.000 089
dc_segments25,5800.370 36313,050
dc_sequences4717.020 478
dc_table_scns14100.000 00
dc_tablespaces399,0860.000 0244
dc_users442,5320.013760.000597
outstanding_alerts42999.070 01
qmtmrciq_cache_entries2490.000 0269
qmtmrctq_cache_entries450.000 0330
sch_lj_oids610.000 0109


Back to Dictionary Cache Statistics
Back to Top

Dictionary Cache Stats (RAC)

CacheGES RequestsGES ConflictsGES Releases
dc_awr_control310
dc_constraints1610
dc_histogram_defs2,3793290
dc_objects766520
dc_segments744351
dc_sequences9490
dc_table_scns1400
dc_users5800
outstanding_alerts8584250


Back to Dictionary Cache Statistics
Back to Top

Library Cache Statistics

Back to Top

Library Cache Activity

NamespaceGet RequestsPct MissPin RequestsPct MissReloadsInvali- dations
ACCOUNT_STATUS3760.000 00
AUDIT POLICY1880.001880.0000
BODY1,0720.0033,4880.0000
CLUSTER450.00590.0000
DBLINK5340.000 00
EDITION5770.001,1540.0000
INDEX4527.9657822.49460
KGLNEDSYNC40.000 00
OBJECT ID66100.000 00
QUEUE0 1120.0000
SCHEMA2130.000 00
SQL AREA13,7496.0621,572,7690.011,884238
SQL AREA BUILD2,22717.690 00
SQL AREA STATS55670.3255670.3200
TABLE/PROCEDURE2,023,7610.00106,7360.411513
TRIGGER1,6930.001,6930.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_STATUS3760000
AUDIT POLICY18818818800
BODY033,40333,40300
CLUSTER59595900
DBLINK5340000
EDITION57757757700
INDEX45848248200
KGLNEDSYNC40000
QUEUE011211200
SCHEMA1610000
TABLE/PROCEDURE25,79370,94270,94200
TRIGGER01,6931,69300


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 cache9,600.009,600.007,808.0014,144.000SHR/DEF
Data Transfer Cache0.000.000.000.000STA/
In-Memory Area0.000.000.000.000STA/
KEEP buffer cache0.000.000.000.000STA/
PGA Target3,776.003,776.003,776.003,776.000STA/
RECYCLE buffer cache0.000.000.000.000STA/
SGA Target28,672.0028,672.0028,672.0028,672.000STA/
Shared IO Pool512.00512.000.00512.000GRO/IMM
java pool64.0064.0064.00448.000SHR/DEF
large pool1,088.001,088.001,088.001,984.000GRO/IMM
shared pool7,104.007,104.002,048.008,896.000GRO/DEF
streams pool10,240.0010,240.0010,240.0010,304.000SHR/DEF


Back to Memory Statistics
Back to Top

Memory Resize Operations Summary

No data exists for this section of the report.

Back to Memory Statistics
Back to Top

Memory Resize Ops

No data exists for this section of the report.

Back to Memory Statistics
Back to Top

Process Memory Summary

CategoryAlloc (MB)Used (MB)Avg Alloc (MB)Std Dev Alloc (MB)Max Alloc (MB)Hist Max Alloc (MB)Num ProcNum Alloc
BOther2,453.11 8.2012.23132181299299
SQL377.23366.982.2124.66322697171109
Freeable93.810.001.002.7723 9494
PL/SQL17.0314.150.080.2212218180
EOther2,476.94 8.2612.17132181300300
SQL213.84204.031.2414.17186808172110
Freeable66.750.000.751.5214 8989
PL/SQL14.1811.270.060.1912219183


Back to Memory Statistics
Back to Top

SGA Memory Summary

SGA regionsBegin Size (Bytes)End Size (Bytes) (if different)
Database Buffers10,603,200,512 
Fixed Size7,651,632 
Redo Buffers59,449,344 
Variable Size21,541,953,232 

Back to Memory Statistics
Back to Top

SGA breakdown difference

PoolNameBegin MBEnd MB% Diff
javafree memory64.0064.000.00
largeCTWR dba buffer27.4527.450.00
largePX msg pool792.00792.000.00
largefree memory256.36256.360.00
sharedKGH: NO ACCESS9,104.169,104.160.00
sharedKGLH01,139.361,136.05-0.29
sharedKGLHD163.19163.440.15
sharedKQR X PO178.14178.640.28
sharedSQLA1,947.742,127.029.20
sharedfree memory1,566.641,389.95-11.28
sharedgcs resources231.60231.600.00
streamsLogminer LCR c310.22310.220.00
streamsapply shared t3,886.743,892.300.14
streamsfree memory6,042.976,037.40-0.09
 buffer_cache9,600.009,600.000.00
 fixed_sga7.307.300.00
 log_buffer56.7056.700.00
 shared_io_pool512.00512.000.00


Back to Memory Statistics
Back to Top

Replication Statistics (GoldenGate, XStream)

Back to Top

Replication System Resource Usage

Session TypeSession ModuleFirst LogonCPU Time(s)User IO Wait Time(s)System IO Wait Time(s)
Apply Server GoldenGate10-Sep-20 07:36:57109.35387.530.01
Logminer Builder GoldenGate29-Aug-20 07:09:2656.340.150.00
Apply Receiver GoldenGate07-Sep-20 05:44:1732.110.000.00
Apply Reader GoldenGate07-Sep-20 05:44:1828.810.000.00
Capture GoldenGate29-Aug-20 07:09:2524.660.000.00
Logminer Preparer GoldenGate29-Aug-20 07:09:2613.640.030.00
Logminer Reader GoldenGate29-Aug-20 07:09:268.280.0029.97
Apply Coordinator GoldenGate07-Sep-20 05:44:180.000.000.00


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

Replication SGA Usage

ComponentSession ModuleObject NameSGA Used Begin SnapSGA Used End SnapSGA Used %DiffSGA Allocated Begin SnapSGA Allocated End SnapSGA Allocated %Diff% SGA Util
ApplyGoldenGateOGG$REPLOGGT 3,235.343,237.080.053,865.383,870.930.1483.63
LogminerGoldenGateOGG$CAP_EXTDWH 278.40278.400.003,071.003,071.000.009.07
CaptureGoldenGateOGG$CAP_EXTDWH 278.43278.430.003,071.033,071.030.009.07


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

GoldenGate Capture

Extract NameCapture NameLag (s)Cap MsgsEnq MsgsRule Time(s)Enq Time(s)Redo Wt Time(s)Pause Time(s)Redo Mined(B)Bytes Sent
EXTDWHOGG$CAP_EXTDWH 0.001.8M1.6M0.008.430.000.002.7G980M


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

GoldenGate Capture Rate

Extract NameCapture NameCapture Messages Per SecEnqueue Messages Per SecRule Time Per MsgEnqueue Time Per MsgRedo Wait Time Per MsgPause Time Per MsgRedo Mined(B) Per SecBytes Sent Per Sec
EXTDWHOGG$CAP_EXTDWH 514.63456.190.000.000.000.00760.6K275.9K


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

GoldenGate Apply Reader

Replicat NameApply NameReader LCRs DeqReader Lag(s)
REPLOGGTOGG$REPLOGGT873.6K0.00


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

GoldenGate Apply Coordinator

Replicat NameApply NameTxns ReceivedTxns AppliedTxns Rolled BackWait Deps%Wait Commit%Unassigned Complete TxnsTotal Errors
REPLOGGTOGG$REPLOGGT 7227722900.000.00-20


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

GoldenGate Apply Server

Replicat NameApply NameServer LCRs AppliedServer Dequeue Time(s)Server Apply Time(s)Total LCRs RetriedTotal Txns Retried
REPLOGGTOGG$REPLOGGT873.6K0.003.0500


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

GoldenGate Apply Coordinator Rate

Replicat NameApply NameTxns Received/secTxns Applied/secTxns Rolled Back/secUnassigned Complete Txn/secTotal Errors/sec
REPLOGGTOGG$REPLOGGT 2.032.030.00-0.000.00


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

GoldenGate Apply Reader and Server Rate

Replicat NameApply NameReader LCRs/secServer LCRs Applied/secServer Dequeue Time/msgServer Apply Time/msgTotal LCRs Retried/secTotal Txn Retried/sec
REPLOGGTOGG$REPLOGGT 245.91245.910.000.000.000.00


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

Apply NameSession ModuleTable NameTotal DML OpsTotal InsertsTotal UpdatesTotal DeletesCDR SuccessCDR FailedRepError CountHandled Collisions
OGG$REPLOGGTGoldenGateCBSOGG.CB_SUBS_INFORMATION_MASTER 216.8K60216.8K00000
OGG$REPLOGGTGoldenGateCBSOGG.GSM_CYCLE_SUMMARY_DETAILS 191.1K599190.5K00000
OGG$REPLOGGTGoldenGateCBSOGG.FXL_RATED_CDRS 128K128K000000
OGG$REPLOGGTGoldenGateCBSOGG.GPRS_HOME_CDRS 107.7K107.7K000000
OGG$REPLOGGTGoldenGateCBSOGG.FXL_CYCLE_SUMMARY_DETAILS 105.7K2466103.3K00000
OGG$REPLOGGTGoldenGateCBSOGG.GSM_HOME_CDRS 58.3K58.3K000000
OGG$REPLOGGTGoldenGateCBSOGG.CB_SUB_AR_AP 85322415611520000
OGG$REPLOGGTGoldenGateCBSOGG.CB_ACC_BALNC 419760413700000
OGG$REPLOGGTGoldenGateCBSOGG.CB_RECEIPTS 23901225116500000
OGG$REPLOGGTGoldenGateCBSOGG.CB_INVOICE 20800208000000


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 Coordinator26-Jul-20 01:58:371.430.000.00
QMON Slave26-Jul-20 01:58:370.070.000.00
QMON Coordinator26-Jul-20 01:58:370.030.000.00


Back to Streams Statistics
Back to Top

Streams Capture

No data exists for this section of the report.

Back to Streams Statistics
Back to Top

Streams Capture Rate

No data exists for this section of the report.

Back to Streams Statistics
Back to Top

Streams Apply

No data exists for this section of the report.

Back to Streams Statistics
Back to Top

Streams Apply Rate

No data exists for this section of the report.

Back to Streams Statistics
Back to Top

Buffered Queues

No data exists for this section of the report.

Back to Streams Statistics
Back to Top

Buffered Queue Subscribers

No data exists for this section of the report.

Back to Streams Statistics
Back to Top

Rule Set

No data exists for this section of the report.

Back to Streams Statistics
Back to Top

Persistent Queues

No data exists for this section of the report.

Back to Streams Statistics
Back to Top

Persistent Queues Rate

No data exists for this section of the report.

Back to Streams Statistics
Back to Top

Persistent Queue Subscribers

No data exists for this section of the report.

Back to Streams Statistics
Back to Top

Resource Limit Stats

Resource NameCurrent UtilizationMaximum Utilization Initial Allocation Limit
ges_cache_ress31,73835,2510UNLIMITED
ges_ress160,850273,26489183UNLIMITED
k2q_locks5,858,3205,858,3269088UNLIMITED
smartio_overhead_memory0164,8880UNLIMITED
smartio_sessions010UNLIMITED



Back to Top

Shared Server Statistics

Back to Top

Shared Servers Activity

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


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

Total Server Time (s)%Busy%IdleIncoming Net %Outgoing Net %
7,10250.0050.0050.000.00


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

NameAvg ConnsTotal Disp Time (s)%Busy%IdleTotal QueuedTotal Queue Wait (s)Avg Queue Wait (ms)
D00023.003,5510.00100.0000 


Back to Shared Server Statistics
Back to Top

init.ora Parameters

Back to Top

init.ora Parameters

Parameter NameBegin valueEnd value (if different)
audit_file_dest/u01/app/ora12c/admin/dware1/adump  
audit_trailDB  
cluster_databaseTRUE  
compatible12.1.0.2.0  
control_files+DATA/DWARE1/CONTROLFILE/current.349.1018631791, +RECO/DWARE1/CONTROLFILE/current.1610.1018631793  
db_block_size16384  
db_create_file_dest+DATA  
db_domain    
db_files1000  
db_namedware1  
db_recovery_file_dest+RECO  
db_recovery_file_dest_size1099511627776  
diagnostic_dest/u01/app/ora12c  
dispatchers(PROTOCOL=TCP) (SERVICE=dware1XDB)  
enable_goldengate_replicationTRUE  
fal_clientDWARE  
fal_serverDWDR  
instance_number1  
listener_networks    
local_listener(ADDRESS=(PROTOCOL=TCP)(HOST=10.215.227.30)(PORT=1521))  
log_archive_configDG_CONFIG=(cbs, cbs_stby, cbs_dr, dware1, dwaredr)  
log_archive_dest_1LOCATION=+RECO VALID_FOR=(ONLINE_LOGFILE, PRIMARY_ROLE)  
log_archive_dest_4LOCATION=+RECO/foreign VALID_FOR=(STANDBY_LOGFILE, PRIMARY_ROLE)  
log_archive_dest_5SERVICE=dwaredr LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=dwaredr  
log_archive_dest_state_5ENABLE  
log_archive_format%t_%s_%r.dbf  
open_cursors300  
pga_aggregate_target3906994176  
processes3000  
remote_listenerdware-scan:1521  
remote_login_passwordfileEXCLUSIVE  
sga_max_size32212254720  
sga_target30064771072  
standby_file_managementMANUAL  
streams_pool_size10737418240  
thread1  
undo_tablespaceUNDOTBS1  


Back to init.ora Parameters
Back to Top

init.ora Multi-Valued Parameters

Parameter NameBegin valueEnd value (if different)
control_files+DATA/DWARE1/CONTROLFILE/current.349.1018631791  
+RECO/DWARE1/CONTROLFILE/current.1610.1018631793  


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
5mqbcmukamhhb142050954816.80 CPU + Wait for CPU6.01HASH - GROUP BY4.68 SELECT (CASE WHEN (("INV STOCK...
528xrg7y3jjrm97046677336.01 CPU + Wait for CPU3.36HASH - UNIQUE0.53 create table TB_MT_TT_PEND_CBS...
db file scattered read1.33TABLE ACCESS - FULL0.35
0hmpf40s6xpvh681776867383.53 db file sequential read2.74TABLE ACCESS - BY GLOBAL INDEX ROWID BATCHED2.74 SELECT STATUS_V, EXECUTION_DAT...
1f5zh4bk6acp0394971067513.00 CPU + Wait for CPU1.59HASH - UNIQUE0.53 SELECT "Custom SQL Query"."TIC...
6fchhyp65szsc394971067513.00 CPU + Wait for CPU1.41INDEX - UNIQUE SCAN0.18 SELECT "Custom SQL Query"."SOU...


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
5mqbcmukamhhb142050954816.80 HASH - GROUP BY5.48CPU + Wait for CPU4.68 SELECT (CASE WHEN (("INV STOCK...
HASH JOIN1.33CPU + Wait for CPU1.33
528xrg7y3jjrm97046677336.01 TABLE ACCESS - FULL0.62db file scattered read0.27 create table TB_MT_TT_PEND_CBS...
0hmpf40s6xpvh681776867383.53 TABLE ACCESS - BY GLOBAL INDEX ROWID BATCHED3.27db file sequential read2.74 SELECT STATUS_V, EXECUTION_DAT...
1f5zh4bk6acp0394971067513.00 TABLE ACCESS - BY INDEX ROWID BATCHED1.33read by other session0.62 SELECT "Custom SQL Query"."TIC...
6fchhyp65szsc394971067513.00 TABLE ACCESS - BY INDEX ROWID BATCHED0.97read by other session0.53 SELECT "Custom SQL Query"."SOU...


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

Top Sessions

Sid, Serial#% ActivityEvent% EventUserProgram# Samples ActiveXIDs
2001,6254111.40Data Guard server operation completion10.42 UserID: 1oracle@cbsdb1 (TNS V1-V3)118/355 [ 33%]0
1712,383817.77CPU + Wait for CPU6.80 BIREPORTtabprotosrv@rh...l (TNS V1-V3)77/355 [ 22%]1
4128,588377.51CPU + Wait for CPU4.86 BIREPORTsqlplus@dware1 (TNS V1-V3)55/355 [ 15%]7
db file sequential read2.30 26/355 [ 7%]1
4128,177865.83CPU + Wait for CPU4.15 BIREPORTsqlplus@dware1 (TNS V1-V3)47/355 [ 13%]4
db file sequential read1.33 15/355 [ 4%]0
2847,449655.74CPU + Wait for CPU5.04 SYSoracle@dware1 (TT01)57/355 [ 16%]0


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

Top Blocking Sessions

Blocking Sid (Inst)% ActivityEvent Caused% EventUserProgram# Samples ActiveXIDs
2987,33160( 1)1.06read by other session0.80 BIREPORTtabprotosrv@rh...l (TNS V1-V3)34/355 [ 10%]1


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

Top PL/SQL Procedures

PL/SQL Entry Subprogram% ActivityPL/SQL Current Subprogram% Current
BIREPORT.GENERATE_ORDER_REPORT13.16 SQL12.28


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

Top Events

EventEvent ClassSession Type% ActivityAvg Active Sessions
CPU + Wait for CPUCPUFOREGROUND 35.691.14
Data Guard server operation completionOtherFOREGROUND 10.420.33
CPU + Wait for CPUCPUBACKGROUND 10.250.33
REPL Apply: dependencyConcurrencyBACKGROUND 9.630.31
db file sequential readUser I/OFOREGROUND 5.740.18


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
REPL Apply: dependency9.63"2","0","0"9.63 2=>GoldenGate 1=>XStream 0=>StreamsNOT DEFINEDNOT DEFINED
db file sequential read9.10"11","919","1"0.09 file#block#blocks
SQL*Net more data from client3.09"1650815232","2658","0"0.09 driver id#bytesNOT DEFINED
log file parallel write3.00"1","5","1"1.33 filesblocksrequests
db file scattered read2.65"1","5501","3"0.09 file#block#blocks


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

Top DB Objects

Object ID% ActivityEvent% EventObject Name (Type)Tablespace
1269053.53read by other session2.03 CBSOGG.GSM_SERVICE_MAST (TABLE)CBS3


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

Activity Over Time

Slot Time (Duration)Slot CountEventEvent Count% Event
12:00:48 (4.2 min)48CPU + Wait for CPU252.21
Data Guard server operation completion70.62
direct path read40.35
12:05:00 (5.0 min)89CPU + Wait for CPU393.45
REPL Apply: dependency121.06
db file sequential read90.80
12:10:00 (5.0 min)86CPU + Wait for CPU524.59
db file sequential read80.71
Data Guard server operation completion60.53
12:15:00 (5.0 min)67CPU + Wait for CPU312.74
Data Guard server operation completion110.97
db file sequential read90.80
12:20:00 (5.0 min)56CPU + Wait for CPU201.77
REPL Apply: dependency171.50
Data Guard server operation completion100.88
12:25:00 (5.0 min)22Data Guard server operation completion110.97
CPU + Wait for CPU40.35
SQL*Net more data from client30.27
12:30:00 (5.0 min)46CPU + Wait for CPU242.12
Data Guard server operation completion90.80
db file scattered read40.35
12:35:00 (5.0 min)70CPU + Wait for CPU353.09
Data Guard server operation completion131.15
db file scattered read50.44
12:40:00 (5.0 min)98CPU + Wait for CPU413.62
db file sequential read151.33
Data Guard server operation completion80.71
12:45:00 (5.0 min)198CPU + Wait for CPU706.18
REPL Apply: dependency292.56
db file sequential read262.30
12:50:00 (5.0 min)242CPU + Wait for CPU13311.75
db file sequential read211.86
Data Guard server operation completion161.41
12:55:00 (5.0 min)110CPU + Wait for CPU464.06
REPL Apply: dependency161.41
direct path read110.97


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

ADDM Task ADDM:620230332_1_8770

          ADDM Report for Task 'ADDM:620230332_1_8770'
          --------------------------------------------

Analysis Period
---------------
AWR snapshot range from 8769 to 8770.
Time period starts at 10-SEP-20 12.00.49 PM
Time period ends at 10-SEP-20 01.00.01 PM

Analysis Target
---------------
Database 'DWARE1' with DB ID 620230332.
Database version 12.1.0.2.0.
ADDM performed an analysis of instance dware11, numbered 1 and hosted at
dware1.

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

Summary of Findings
-------------------
   Description                               Active Sessions      Recommendations
                                             Percent of Activity
   ----------------------------------------  -------------------  ---------------
1  Top SQL Statements                        .71 | 31.78          5
2  Unusual "Other" Wait Event                .35 | 15.53          3
3  Undersized SGA                            .24 | 10.47          1
4  Top Segments by "User I/O" and "Cluster"  .11 | 4.89           1
5  Unusual "Network" Wait Event              .08 | 3.44           3
6  Undersized PGA                            .07 | 3.07           0
7  Buffer Busy - Hot Objects                 .05 | 2.29           0


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


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

Finding 1: Top SQL Statements
Impact is .71 active sessions, 31.78% 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 .22 active sessions, 9.67% of total activity.
   ------------------------------------------------------------------
   Action
      Run SQL Tuning Advisor on the SELECT statement with SQL_ID
      "5mqbcmukamhhb".
      Related Object
         SQL statement with SQL_ID 5mqbcmukamhhb.
         SELECT (CASE WHEN (("INV STOCK SUMMARY"."OPEN_QTY" > 0) OR ("INV
         STOCK SUMMARY"."STOCK_IN" > 0) OR ((CASE WHEN (TRUNC(CAST("INV STOCK
         SUMMARY"."DATE_D" AS DATE)) = TO_DATE('2017-05-14', 'YYYY-MM-DD'))
         THEN COALESCE(ROUND(TRUNC("INV STOCK SUMMARY"."OPEN_QTY"),0), 0) ELSE
         NULL END) > 0) OR ((CASE WHEN (TRUNC(CAST("INV STOCK
         SUMMARY"."DATE_D" AS DATE)) <= TO_DATE('2018-02-15', 'YYYY-MM-DD'))
         THEN ROUND(TRUNC(COALESCE("INV STOCK SUMMARY"."STOCK_IN", 0)),0) ELSE
         NULL END) > 0)) THEN "ITEM MASTER"."ITEM_DESC_V" ELSE NULL END) AS
         "Calculation_105834620245569536"
         FROM (
         SELECT DATE_D, LOCATION_CODE_N, ITEM_CODE_N,
         sum(nvl(OPENING_QTY_N ,0)) open_qty,
         sum(nvl(STOCK_IN_QTY_N ,0)) stock_in,
         sum(nvl(STOCK_OUT_QTY_N ,0)) stock_out,
         sum(nvl(STOCK_RETURN_QTY_N ,0)) stock_return,
         sum(nvl(STOCK_ACCEPTED_QTY_N ,0)) stock_accept,
         sum(nvl(STOCK_WRITE_OFF_QTY_N ,0)) stock_w_off,
         sum(nvl(BUNDLED_STOCK_QTY_N ,0)) bund_stk_qty,
         sum(nvl(SUBS_SALES_QTY_N ,0)) subs_stk_qty,
         sum(nvl(PROS_SALES_QTY_N ,0)) pro_sale,
         sum(nvl(DLR_SALES_QTY_N ,0)) dlr_sale,
         sum(nvl(STAFF_SALES_QTY_N ,0)) staff_sale,
         sum(nvl(GIFT_SALES_QTY_N ,0)) gift_sale,
         sum(nvl(SALES_EXCHANGE_QTY_N ,0)) exch_sale,
         sum(nvl(CLOSING_STOCK_QTY_N ,0)) close_stk,
         sum(nvl(SALES_RETURN_QTY_N ,0)) return_sale,
         sum(nvl(ACTIVATION_SALES_QTY_N ,0)) act_sale,
         sum(nvl(DECOUPLED_STOCK_QTY_N ,0)) decoup_sale,
         sum(nvl(REQUISITION_STK_QTY_N ,0)) req_stk,
         sum(nvl(RELEASED_STK_QTY_N ,0)) release_stk,
         sum(nvl(CON_ALLOCATED_QTY_N ,0)) con_alloc,
         sum(nvl(CON_RETURN_QTY_N ,0)) con_return,
         sum(nvl(CON_SALES_QTY_N ,0)) con_sale,
         sum(nvl(CON_RELEASE_STK_QTY_N ,0)) con_release,
         sum(nvl(BUND_DEC_QTY_N ,0)) bund_dec,
         sum(nvl(BUNDLED_ITEM_QTY_N ,0)) bund_item,
         sum(nvl(SAL_CANCEL_QTY_N ,0)) sal_cancel,
         sum(nvl(DAMAGED_QTY_N ,0)) damage,
         sum(nvl(ADJ_QTY_MORE_N ,0)) adj_qty_more,
         sum(nvl(ADJ_QTY_LESS_N ,0)) adj_qty_less,
         sum(nvl(UPLOAD_QTY_N ,0)) upload_qty,
         sum(nvl(PND_SALES_QTY_N ,0)) pnd_sale,
         sum(nvl(ACTUAL_SALES_QTY_N ,0)) actual_sale,
         sum(nvl(REL_PND_SALES_QTY_N ,0)) rel_pnd_sale,
         sum(nvl(BLOCK_QTY_N ,0)) block_qty,
         sum(nvl(REL_BLOCK_QTY_N ,0)) rel_block_qty,
         sum(nvl(EXT_BLOCK_QTY_N ,0)) ext_block_qty,
         sum(nvl(EXT_REL_BLOCK_QTY_N ,0)) ext_rel_blk_qty,
         sum(nvl(INCREASED_EQUIP_RET_N ,0)) incr_equip_ret,
         sum(nvl(DECREASED_EQUIP_RET_N ,0)) decr_equip_ret
         FROM INV_STOCK_SUMMARY
         group by DATE_D, LOCATION_CODE_N, ITEM_CODE_N
         ) "INV STOCK SUMMARY"
         INNER JOIN (
         SELECT * FROM CBSOGG.INV_ITEM_MASTER
         ) "ITEM MASTER" ON ("INV STOCK SUMMARY"."ITEM_CODE_N" = "ITEM
         MASTER"."ITEM_CODE_N")
         WHERE ((((CASE WHEN (("INV STOCK SUMMARY"."OPEN_QTY" > 0) OR ("INV
         STOCK SUMMARY"."STOCK_IN" > 0) OR ((CASE WHEN (TRUNC(CAST("INV STOCK
         SUMMARY"."DATE_D" AS DATE)) = TO_DATE('2017-05-14', 'YYYY-MM-DD'))
         THEN COALESCE(ROUND(TRUNC("INV STOCK SUMMARY"."OPEN_QTY"),0), 0) ELSE
         NULL END) > 0) OR ((CASE WHEN (TRUNC(CAST("INV STOCK
         SUMMARY"."DATE_D" AS DATE)) <= TO_DATE('2018-02-15', 'YYYY-MM-DD'))
         THEN ROUND(TRUNC(COALESCE("INV STOCK SUMMARY"."STOCK_IN", 0)),0) ELSE
         NULL END) > 0)) THEN "ITEM MASTER"."ITEM_DESC_V" ELSE NULL END) >=
         '10 MEMORY TRIMLINE WITH DUAL MODE') AND ((CASE WHEN (("INV STOCK
         SUMMARY"."OPEN_QTY" > 0) OR ("INV STOCK SUMMARY"."STOCK_IN" > 0) OR
         ((CASE WHEN (TRUNC(CAST("INV STOCK SUMMARY"."DATE_D" AS DATE)) =
         TO_DATE('2017-05-14', 'YYYY-MM-DD')) THEN COALESCE(ROUND(TRUNC("INV
         STOCK SUMMARY"."OPEN_QTY"),0), 0) ELSE NULL END) > 0) OR ((CASE WHEN
         (TRUNC(CAST("INV STOCK SUMMARY"."DATE_D" AS DATE)) <=
         TO_DATE('2018-02-15', 'YYYY-MM-DD')) THEN ROUND(TRUNC(COALESCE("INV
         STOCK SUMMARY"."STOCK_IN", 0)),0) ELSE NULL END) > 0)) THEN "ITEM
         MASTER"."ITEM_DESC_V" ELSE NULL END) <= 'FLYBOX_BUSINESS')) OR
         (((CASE WHEN (("INV STOCK SUMMARY"."OPEN_QTY" > 0) OR ("INV STOCK
         SUMMARY"."STOCK_IN" > 0) OR ((CASE WHEN (TRUNC(CAST("INV STOCK
         SUMMARY"."DATE_D" AS DATE)) = TO_DATE('2017-05-14', 'YYYY-MM-DD'))
         THEN COALESCE(ROUND(TRUNC("INV STOCK SUMMARY"."OPEN_QTY"),0), 0) ELSE
         NULL END) > 0) OR ((CASE WHEN (TRUNC(CAST("INV STOCK
         SUMMARY"."DATE_D" AS DATE)) <= TO_DATE('2018-02-15', 'YYYY-MM-DD'))
         THEN ROUND(TRUNC(COALESCE("INV STOCK SUMMARY"."STOCK_IN", 0)),0) ELSE
         NULL END) > 0)) THEN "ITEM MASTER"."ITEM_DESC_V" ELSE NULL END) >=
         'FP - MEMORY PHONE EX 29168') AND ((CASE WHEN (("INV STOCK
         SUMMARY"."OPEN_QTY" > 0) OR ("INV STOCK SUMMARY"."STOCK_IN" > 0) OR
         ((CASE WHEN (TRUNC(CAST("INV STOCK SUMMARY"."DATE_D" AS DATE)) =
         TO_DATE('2017-05-14', 'YYYY-MM-DD')) THEN COALESCE(ROUND(TRUNC("INV
         STOCK SUMMARY"."OPEN_QTY"),0), 0) ELSE NULL END) > 0) OR ((CASE WHEN
         (TRUNC(CAST("INV STOCK SUMMARY"."DATE_D" AS DATE)) <=
         TO_DATE('2018-02-15', 'YYYY-MM-DD')) THEN ROUND(TRUNC(COALESCE("INV
         STOCK SUMMARY"."STOCK_IN", 0)),0) ELSE NULL END) > 0)) THEN "ITEM
         MASTER"."ITEM_DESC_V" ELSE NULL END) <= 'HUAWEI E398U-15')) OR
         (((CASE WHEN (("INV STOCK SUMMARY"."OPEN_QTY" > 0) OR ("INV STOCK
         SUMMARY"."STOCK_IN" > 0) OR ((CASE WHEN (TRUNC(CAST("INV STOCK
         SUMMARY"."DATE_D" AS DATE)) = TO_DATE('2017-05-14', 'YYYY-MM-DD'))
         THEN COALESCE(ROUND(TRUNC("INV STOCK SUMMARY"."OPEN_QTY"),0), 0) ELSE
         NULL END) > 0) OR ((CASE WHEN (TRUNC(CAST("INV STOCK
         SUMMARY"."DATE_D" AS DATE)) <= TO_DATE('2018-02-15', 'YYYY-MM-DD'))
         THEN ROUND(TRUNC(COALESCE("INV STOCK SUMMARY"."STOCK_IN", 0)),0) ELSE
         NULL END) > 0)) THEN "ITEM MASTER"."ITEM_DESC_V" ELSE NULL END) >=
         'HUAWEI GOVA 535') AND ((CASE WHEN (("INV STOCK SUMMARY"."OPEN_QTY" >
         0) OR ("INV STOCK SUMMARY"."STOCK_IN" > 0) OR ((CASE WHEN
         (TRUNC(CAST("INV STOCK SUMMARY"."DATE_D" AS DATE)) =
         TO_DATE('2017-05-14', 'YYYY-MM-DD')) THEN COALESCE(ROUND(TRUNC("INV
         STOCK SUMMARY"."OPEN_QTY"),0), 0) ELSE NULL END) > 0) OR ((CASE WHEN
         (TRUNC(CAST("INV STOCK SUMMARY"."DATE_D" AS DATE)) <=
         TO_DATE('2018-02-15', 'YYYY-MM-DD')) THEN ROUND(TRUNC(COALESCE("INV
         STOCK SUMMARY"."STOCK_IN", 0)),0) ELSE NULL END) > 0)) THEN "ITEM
         MASTER"."ITEM_DESC_V" ELSE NULL END) <= 'ZTE WI-FI MODEM H108N')))
         GROUP BY (CASE WHEN (("INV STOCK SUMMARY"."OPEN_QTY" > 0) OR ("INV
         STOCK SUMMARY"."STOCK_IN" > 0) OR ((CASE WHEN (TRUNC(CAST("INV STOCK
         SUMMARY"."DATE_D" AS DATE)) = TO_DATE('2017-05-14', 'YYYY-MM-DD'))
         THEN COALESCE(ROUND(TRUNC("INV STOCK SUMMARY"."OPEN_QTY"),0), 0) ELSE
         NULL END) > 0) OR ((CASE WHEN (TRUNC(CAST("INV STOCK
         SUMMARY"."DATE_D" AS DATE)) <= TO_DATE('2018-02-15', 'YYYY-MM-DD'))
         THEN ROUND(TRUNC(COALESCE("INV STOCK SUMMARY"."STOCK_IN", 0)),0) ELSE
         NULL END) > 0)) THEN "ITEM MASTER"."ITEM_DESC_V" ELSE NULL END)
   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 "5mqbcmukamhhb" was executed 1 times and had
      an average elapsed time of 788 seconds.

   Recommendation 2: SQL Tuning
   Estimated benefit is .18 active sessions, 7.91% of total activity.
   ------------------------------------------------------------------
   Action
      Run SQL Tuning Advisor on the CREATE TABLE statement with SQL_ID
      "528xrg7y3jjrm".
      Related Object
         SQL statement with SQL_ID 528xrg7y3jjrm.
         create table  TB_MT_
   Rationale
      The SQL spent 92% 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: 93% for SQL
      execution, 7% for parsing, 0% for PL/SQL execution and 0% for Java
      execution.
   Rationale
      SQL statement with SQL_ID "528xrg7y3jjrm" was executed 6 times and had
      an average elapsed time of 113 seconds.

   Recommendation 3: SQL Tuning
   Estimated benefit is .11 active sessions, 5.03% of total activity.
   ------------------------------------------------------------------
   Action
      Run SQL Tuning Advisor on the SELECT statement with SQL_ID
      "0hmpf40s6xpvh".
      Related Object
         SQL statement with SQL_ID 0hmpf40s6xpvh.
         SELECT STATUS_V, EXECUTION_DATE_DT, ACK_DATE_DT, ACTION_DATE_DT FROM
         CBSOGG.CB_SUBS_PROVISIONING WHERE ORDER_REF_NO_V = :B1 AND ROWNUM = 1
   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 "0hmpf40s6xpvh" was executed 845091 times and
      had an average elapsed time of 0.00041 seconds.
   Rationale
      Top level calls to execute the PL/SQL statement with SQL_ID
      "52k94azm1ak0j" are responsible for 100% of the database time spent on
      the SELECT statement with SQL_ID "0hmpf40s6xpvh".
      Related Object
         SQL statement with SQL_ID 52k94azm1ak0j.
         BEGIN generate_order_report; END;

   Recommendation 4: SQL Tuning
   Estimated benefit is .1 active sessions, 4.27% of total activity.
   -----------------------------------------------------------------
   Action
      Run SQL Tuning Advisor on the SELECT statement with SQL_ID
      "1f5zh4bk6acp0".
      Related Object
         SQL statement with SQL_ID 1f5zh4bk6acp0.
         SELECT "Custom SQL Query"."TICKET_TYPE" AS "TICKET_TYPE"
         FROM (
         select distinct 'Workflow' Category,
         tt.docket_number_n ticket_no,
         wm.wrkflw_desc_v Workflow_desc,
         wm.estimated_resoln_tm_n sla_time,tt.ticket_regn_dt_d
         ticket_reg_date,
         round((cast((FROM_TZ(CAST(tt.ticket_regn_dt_d as timestamp),
         sessiontimezone) at time zone 'GMT') as date) -
         TO_DATE('01-01-1970','MM-DD-YYYY')) * 86400) tk_reg_date_sec,
         x.start_dt_d ticket_start_date,
         round((cast((FROM_TZ(CAST(x.start_dt_d as timestamp),
         sessiontimezone) at time zone 'GMT') as date) -
         TO_DATE('01-01-1970','MM-DD-YYYY')) * 86400) tk_start_date_sec,
         x.end_dt_d ticket_end_date,
         round((cast((FROM_TZ(CAST(x.end_dt_d as timestamp), sessiontimezone)
         at time zone 'GMT') as date) - TO_DATE('01-01-1970','MM-DD-YYYY')) *
         86400) tk_end_date_sec,
         tt.ticket_resp_dt_d ticket_resp_date,
         round((cast((FROM_TZ(CAST(tt.ticket_resp_dt_d as timestamp),
         sessiontimezone) at time zone 'GMT') as date) -
         TO_DATE('01-01-1970','MM-DD-YYYY')) * 86400) tk_resp_date_sec,
         round((cast((FROM_TZ(CAST(sysdate as timestamp), sessiontimezone) at
         time zone 'GMT') as date) - TO_DATE('01-01-1970','MM-DD-YYYY')) *
         86400) sys_date,
         decode(tt.status_v,'P','Pending','A','Task
         completed','C','Closed','R','Resolved') StatusTicket,
         decode(tt.ticket_type_v,'Q','Query','C','Complaint Type','R','Service
         Request') Ticket_type,
         (select A3.CATEGORY_DESCRIPTION_V from cbsogg.TT_CATEGORY_MASTER A3
         where A3.category_code_v =
         (select A2.parent_category_code_v from cbsogg.TT_CATEGORY_MASTER A2
         where A2.category_code_v =
         (select t1.subcategory_id_v from cbsogg.TT_TICKETINFO t1 where
         t1.docket_number_n = tt.docket_number_n))
         and A3.parent_category_code_v <> '0') Complaint_type,
         (SELECT distinct A1.CATEGORY_DESCRIPTION_V FROM
         cbsogg.TT_CATEGORY_MASTER A1 WHERE A1.CATEGORY_CODE_V =
         tt.SUBCATEGORY_ID_V ) SubComplaint_type,
         (select d.mobl_num_voice_v from cbsogg.gsm_service_mast d
         where tt.entity_id_n = d.mobl_num_voice_v ) MSISDN,
         (select csm.first_name_v||csm.last_name_v
         from cbsogg.gsm_service_mast d, cbsogg.cb_account_master cam
         ,cbsogg.cb_subscriber_master csm
         where d.account_code_n = cam.account_code_n
         and csm.subscriber_code_n = cam.subscriber_code_n
         and tt.entity_id_n = d.mobl_num_voice_v ) SUBS_NAME,
         (select d.sub_service_code_v from cbsogg.gsm_service_mast d
         where tt.entity_id_n = d.mobl_num_voice_v ) Service_code,
         (select d.subscriber_category_v from cbsogg.gsm_service_mast d
         where tt.entity_id_n = d.mobl_num_voice_v) Segments,
         (select g.SUBS_SUB_CATEGORY_DESC_V from cbsogg.gsm_service_mast
         d,cbsogg.cb_subscriber_sub_category g
         where tt.entity_id_n = d.mobl_num_voice_v and d.subscriber_category_v
         = g.subs_category_code_v
         and d.subscriber_sub_category_v = g.subs_sub_category_code_v)
         sub_segments,
         (select d.status_code_v from cbsogg.gsm_service_mast d
         where tt.entity_id_n = d.mobl_num_voice_v ) mob_status,
         (select d.account_code_n from cbsogg.gsm_service_mast d
         where tt.entity_id_n = d.mobl_num_voice_v) Account_no,
         a.expiry_time_d bin_expiry_date,
         round((cast((FROM_TZ(CAST(a.expiry_time_d as timestamp),
         sessiontimezone) at time zone 'GMT') as date) -
         TO_DATE('01-01-1970','MM-DD-YYYY')) * 86400) bin_expiry_date_sec,
         a.assignment_dt_d bin_assign_date,
         round((cast((FROM_TZ(CAST(a.assignment_dt_d as timestamp),
         sessiontimezone) at time zone 'GMT') as date) -
         TO_DATE('01-01-1970','MM-DD-YYYY')) * 86400) bin_assign_date_sec,
         a.work_completion_dt_d bin_comp_date,
         round((cast((FROM_TZ(CAST(a.work_completion_dt_d as timestamp),
         sessiontimezone) at time zone 'GMT') as date) -
         TO_DATE('01-01-1970','MM-DD-YYYY')) * 86400) bin_compl_date_sec,
         x.status_v wf_status,tt.tt_source_v Source_v,
         (select distinct cm.CATEGORY_DESCRIPTION_V from
         cbsogg.TT_CATEGORY_MASTER cm
         where cm.category_code_v = tt.category_id_v and cm.category_type_v =
         tt.ticket_type_v and cm.parent_category_code_v = '0') Category_desc,
         (select f.user_name_v from cbsogg.cb_users f where f.user_code_n =
         tt.LOGGED_BY_N) Created_by,
         cu.user_name_v Assign_to,
         e.GROUP_NAME_V activity_name_v,
         tt.question_v,tt.answer_v,
         a.notes_v Notes,
         (SELECT CFT.fault_name_v FROM cbsogg.TT_TICKET_ADDNL_INFO TAI,
         cb_fault_types CFT
         where TAI.FAULT_CODE_V = CFT.FAULT_CODE_V
         and tt.docket_number_n = TAI.docket_number_n) ROOT_CAUSE,
         cu.user_name_v user_name
         from cbsogg.WF_TODOITEM a,
         WF_WORKFLOW@cbsstandby x , cbsogg.WF_WORKASSIGNMENT c,
         cbsogg.TT_TICKETINFO tt,cbsogg.WF_WRKFLWMGR wm,cb_users cu ,
         cbsogg.cb_user_group e
         where a.event_refno_v = x.event_refno_v
         and tt.docket_number_n = x.event_refno_v
         and x.wrkflw_id_n = wm.wrkflw_id_n
         and a.work_id_n = c.work_id_n
         --and tt.docket_number_n = '35022'
         and a.user_id_n = cu.user_code_n
         AND cu.GROUP_CODE_N = e.GROUP_CODE_N
         union all
         select distinct 'Workflow' Category,
         tt.docket_number_n ticket_no,
         wm.wrkflw_desc_v Workflow_desc,
         wm.estimated_resoln_tm_n sla_time,tt.ticket_regn_dt_d
         ticket_reg_date,
         round((cast((FROM_TZ(CAST(tt.ticket_regn_dt_d as timestamp),
         sessiontimezone) at time zone 'GMT') as date) -
         TO_DATE('01-01-1970','MM-DD-YYYY')) * 86400) tk_reg_date_sec,
         x.start_dt_d ticket_start_date,
         round((cast((FROM_TZ(CAST(x.start_dt_d as timestamp),
         sessiontimezone) at time zone 'GMT') as date) -
         TO_DATE('01-01-1970','MM-DD-YYYY')) * 86400) tk_start_date_sec,
         x.end_dt_d ticket_end_date,
         round((cast((FROM_TZ(CAST(x.end_dt_d as timestamp), sessiontimezone)
         at time zone 'GMT') as date) - TO_DATE('01-01-1970','MM-DD-YYYY')) *
         86400) tk_end_date_sec,
         tt.ticket_resp_dt_d ticket_resp_date,
         round((cast((FROM_TZ(CAST(tt.ticket_resp_dt_d as timestamp),
         sessiontimezone) at time zone 'GMT') as date) -
         TO_DATE('01-01-1970','MM-DD-YYYY')) * 86400) tk_resp_date_sec,
         round((cast((FROM_TZ(CAST(sysdate as timestamp), sessiontimezone) at
         time zone 'GMT') as date) - TO_DATE('01-01-1970','MM-DD-YYYY')) *
         86400) sys_date,
         decode(tt.status_v,'P','Pending','A','Task
         completed','C','Closed','R','Resolved') StatusTicket,
         decode(tt.ticket_type_v,'Q','Query','C','Complaint Type','R','Service
         Request') Ticket_type,
         (select A3.CATEGORY_DESCRIPTION_V from cbsogg.TT_CATEGORY_MASTER A3
         where A3.category_code_v =
         (select A2.parent_category_code_v from cbsogg.TT_CATEGORY_MASTER A2
         where A2.category_code_v =
         (select t1.subcategory_id_v from cbsogg.TT_TICKETINFO t1 where
         t1.docket_number_n = tt.docket_number_n))
         and A3.parent_category_code_v <> '0') Complaint_type,
         (SELECT distinct A1.CATEGORY_DESCRIPTION_V FROM
         cbsogg.TT_CATEGORY_MASTER A1 WHERE A1.CATEGORY_CODE_V =
         tt.SUBCATEGORY_ID_V ) SubComplaint_type,
         (select d.mobl_num_voice_v from cbsogg.gsm_service_mast d
         where tt.entity_id_n = d.mobl_num_voice_v ) MSISDN,
         (select csm.first_name_v||csm.last_name_v
         from cbsogg.gsm_service_mast d, cbsogg.cb_account_master cam
         ,cbsogg.cb_subscriber_master csm
         where d.account_code_n = cam.account_code_n
         and csm.subscriber_code_n = cam.subscriber_code_n
         and tt.entity_id_n = d.mobl_num_voice_v ) SUBS_NAME,
         (select d.sub_service_code_v from cbsogg.gsm_service_mast d
         where tt.entity_id_n = d.mobl_num_voice_v ) Service_code,
         (select d.subscriber_category_v from cbsogg.gsm_service_mast d
         where tt.entity_id_n = d.mobl_num_voice_v) Segments,
         (select g.SUBS_SUB_CATEGORY_DESC_V from cbsogg.gsm_service_mast
         d,cbsogg.cb_subscriber_sub_category g
         where tt.entity_id_n = d.mobl_num_voice_v and d.subscriber_category_v
         = g.subs_category_code_v
         and d.subscriber_sub_category_v = g.subs_sub_category_code_v)
         sub_segments,
         (select d.status_code_v from cbsogg.gsm_service_mast d
         where tt.entity_id_n = d.mobl_num_voice_v ) mob_status,
         (select d.account_code_n from cbsogg.gsm_service_mast d
         where tt.entity_id_n = d.mobl_num_voice_v) Account_no,
         a.expiry_time_d bin_expiry_date,
         round((cast((FROM_TZ(CAST(a.expiry_time_d as timestamp),
         sessiontimezone) at time zone 'GMT') as date) -
         TO_DATE('01-01-1970','MM-DD-YYYY')) * 86400) bin_expiry_date_sec,
         a.assignment_dt_d bin_assign_date,
         round((cast((FROM_TZ(CAST(a.assignment_dt_d as timestamp),
         sessiontimezone) at time zone 'GMT') as date) -
         TO_DATE('01-01-1970','MM-DD-YYYY')) * 86400) bin_assign_date_sec,
         a.work_completion_dt_d bin_comp_date,
         round((cast((FROM_TZ(CAST(a.work_completion_dt_d as timestamp),
         sessiontimezone) at time zone 'GMT') as date) -
         TO_DATE('01-01-1970','MM-DD-YYYY')) * 86400) bin_compl_date_sec,
         x.status_v wf_status,tt.tt_source_v Source_v,
         (select distinct cm.CATEGORY_DESCRIPTION_V from
         cbsogg.TT_CATEGORY_MASTER cm
         where cm.category_code_v = tt.category_id_v and cm.category_type_v =
         tt.ticket_type_v and cm.parent_category_code_v = '0') Category_desc,
         (select f.user_name_v from cbsogg.cb_users f where f.user_code_n =
         tt.LOGGED_BY_N) Created_by,
         cu.user_name_v Assign_to,
         e.GROUP_NAME_V activity_name_v,
         tt.question_v,tt.answer_v,
         a.notes_v Notes,
         (SELECT CFT.fault_name_v FROM cbsogg.TT_TICKET_ADDNL_INFO TAI,
         cbsogg.cb_fault_types CFT
         where TAI.FAULT_CODE_V = CFT.FAULT_CODE_V
         and tt.docket_number_n = TAI.docket_number_n) ROOT_CAUSE,
         cu.user_name_v user_name
         from cbsogg.WF_TODOITEM_HISTORY a,
         WF_WORKFLOW@cbsstandby x , cbsogg.WF_WORKASSIGNMENT_HISTORY c,
         cbsogg.TT_TICKETINFO tt,cbsogg.WF_WRKFLWMGR wm,cbsogg.cb_users cu ,
         cbsogg.cb_user_group e
         where a.event_refno_v = x.event_refno_v
         and tt.docket_number_n = x.event_refno_v
         and x.wrkflw_id_n = wm.wrkflw_id_n
         and a.work_id_n = c.work_id_n
         --and tt.docket_number_n = '35022'
         and a.user_id_n = cu.user_code_n
         AND cu.GROUP_CODE_N = e.GROUP_CODE_N
         union all
         select distinct 'FLR' Category,
         tt.docket_number_n ticket_no,null Workflow_desc,
         null sla_time, tt.ticket_regn_dt_d registration_date,null
         wf_reg_date_sec,null start_date,
         null wf_start_date_sec,null wf_end_date,null
         wf_end_date_sec,tt.ticket_resp_dt_d workflw_resp_date,
         null wf_resp_date_sec,
         round((cast((FROM_TZ(CAST(sysdate as timestamp), sessiontimezone) at
         time zone 'GMT') as date) - TO_DATE('01-01-1970','MM-DD-YYYY')) *
         86400) sys_date,
         decode(tt.status_v,'P','Pending','A','Task
         completed','C','Closed','R','Resolved') StatusTicket,
         decode(tt.ticket_type_v,'Q','Query','C','Complaint Type','R','Service
         Request') Ticket_type,
         (select A3.CATEGORY_DESCRIPTION_V from cbsogg.TT_CATEGORY_MASTER A3
         where A3.category_code_v =
         (select A2.parent_category_code_v from cbsogg.TT_CATEGORY_MASTER A2
         where A2.category_code_v =
         (select t1.subcategory_id_v from cbsogg.TT_TICKETINFO t1 where
         t1.docket_number_n = tt.docket_number_n))
         and A3.parent_category_code_v <> '0') Complaint_type,
         (SELECT distinct A1.CATEGORY_DESCRIPTION_V FROM
         cbsogg.TT_CATEGORY_MASTER A1 WHERE A1.CATEGORY_CODE_V =
         tt.SUBCATEGORY_ID_V ) SubComplaint_type,
         (select d.mobl_num_voice_v from cbsogg.gsm_service_mast d
         where tt.entity_id_n = d.mobl_num_voice_v ) MSISDN,
         (select csm.first_name_v||csm.last_name_v
         from cbsogg.gsm_service_mast d, cbsogg.cb_account_master cam
         ,cbsogg.cb_subscriber_master csm
         where d.account_code_n = cam.account_code_n
         and csm.subscriber_code_n = cam.subscriber_code_n
         and tt.entity_id_n = d.mobl_num_voice_v ) SUBS_NAME,
         (select d.sub_service_code_v from cbsogg.gsm_service_mast d
         where tt.entity_id_n = d.mobl_num_voice_v ) Service_code,
         (select d.subscriber_category_v from cbsogg.gsm_service_mast d
         where tt.entity_id_n = d.mobl_num_voice_v) Segments,
         (select g.SUBS_SUB_CATEGORY_DESC_V from cbsogg.gsm_service_mast
         d,cbsogg.cb_subscriber_sub_category g
         where tt.entity_id_n = d.mobl_num_voice_v and d.subscriber_category_v
         = g.subs_category_code_v
         and d.subscriber_sub_category_v = g.subs_sub_category_code_v)
         sub_segments,
         (select d.status_code_v from cbsogg.gsm_service_mast d
         where tt.entity_id_n = d.mobl_num_voice_v ) mob_status,
         (select d.account_code_n from cbsogg.gsm_service_mast d
         where tt.entity_id_n = d.mobl_num_voice_v) Account_no,
         null bin_expiry_date,null bin_expiry_date_sec,null
         bin_assign_date,null bin_assign_date_sec,null bin_comp_date,
         null bin_compl_date_sec,
         null wf_status,tt.tt_source_v Source_v,
         (select distinct cm.CATEGORY_DESCRIPTION_V from
         cbsogg.TT_CATEGORY_MASTER cm
         where cm.category_code_v = tt.category_id_v and cm.category_type_v =
         tt.ticket_type_v and cm.parent_category_code_v = '0') Category_desc,
         (select f.user_name_v from cbsogg.cb_users f where f.user_code_n =
         tt.LOGGED_BY_N) Created_by,
         null Assign_to,
         C.GROUP_NAME_V activity_name,
         tt.question_v,tt.answer_v,
         TTI.NOTES_V Notes,
         (SELECT CFT.fault_name_v FROM cbsogg.TT_TICKET_ADDNL_INFO TAI,
         cbsogg.cb_fault_types CFT--, TT_TICKETINFO c
         where TAI.FAULT_CODE_V = CFT.FAULT_CODE_V
         and tt.docket_number_n = TAI.docket_number_n) ROOT_CAUSE,
         B.USER_NAME_V user_name
         from cbsogg.TT_TICKETINFO tt, cbsogg.CB_USERS B, cbsogg.CB_USER_GROUP
         C, cbsogg.TT_TICKETINCIDENT TTI
         where tt.docket_number_n not in(select event_refno_v from
         WF_WORKFLOW@cbsstandby)
         AND TTI.INCIDENT_NUMBER_N = tt.docket_number_n
         AND tt.LOGGED_BY_N = B.USER_CODE_N
         AND C.GROUP_CODE_N = B.GROUP_CODE_N
         ) "Custom SQL Query"
         GROUP BY "Custom SQL Query"."TICKET_TYPE"
         ORDER BY 1 ASC NULLS FIRST
   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 "1f5zh4bk6acp0" was executed 1 times and had
      an average elapsed time of 343 seconds.
   Rationale
      I/O and Cluster wait for TABLE "CBSOGG.GSM_SERVICE_MAST" with object ID
      126905 consumed 70% of the database time spent on this SQL statement.

   Recommendation 5: SQL Tuning
   Estimated benefit is .1 active sessions, 4.27% of total activity.
   -----------------------------------------------------------------
   Action
      Run SQL Tuning Advisor on the SELECT statement with SQL_ID
      "6fchhyp65szsc".
      Related Object
         SQL statement with SQL_ID 6fchhyp65szsc.
         SELECT "Custom SQL Query"."SOURCE_V" AS "SOURCE_V"
         FROM (
         select distinct 'Workflow' Category,
         tt.docket_number_n ticket_no,
         wm.wrkflw_desc_v Workflow_desc,
         wm.estimated_resoln_tm_n sla_time,tt.ticket_regn_dt_d
         ticket_reg_date,
         round((cast((FROM_TZ(CAST(tt.ticket_regn_dt_d as timestamp),
         sessiontimezone) at time zone 'GMT') as date) -
         TO_DATE('01-01-1970','MM-DD-YYYY')) * 86400) tk_reg_date_sec,
         x.start_dt_d ticket_start_date,
         round((cast((FROM_TZ(CAST(x.start_dt_d as timestamp),
         sessiontimezone) at time zone 'GMT') as date) -
         TO_DATE('01-01-1970','MM-DD-YYYY')) * 86400) tk_start_date_sec,
         x.end_dt_d ticket_end_date,
         round((cast((FROM_TZ(CAST(x.end_dt_d as timestamp), sessiontimezone)
         at time zone 'GMT') as date) - TO_DATE('01-01-1970','MM-DD-YYYY')) *
         86400) tk_end_date_sec,
         tt.ticket_resp_dt_d ticket_resp_date,
         round((cast((FROM_TZ(CAST(tt.ticket_resp_dt_d as timestamp),
         sessiontimezone) at time zone 'GMT') as date) -
         TO_DATE('01-01-1970','MM-DD-YYYY')) * 86400) tk_resp_date_sec,
         round((cast((FROM_TZ(CAST(sysdate as timestamp), sessiontimezone) at
         time zone 'GMT') as date) - TO_DATE('01-01-1970','MM-DD-YYYY')) *
         86400) sys_date,
         decode(tt.status_v,'P','Pending','A','Task
         completed','C','Closed','R','Resolved') StatusTicket,
         decode(tt.ticket_type_v,'Q','Query','C','Complaint Type','R','Service
         Request') Ticket_type,
         (select A3.CATEGORY_DESCRIPTION_V from cbsogg.TT_CATEGORY_MASTER A3
         where A3.category_code_v =
         (select A2.parent_category_code_v from cbsogg.TT_CATEGORY_MASTER A2
         where A2.category_code_v =
         (select t1.subcategory_id_v from cbsogg.TT_TICKETINFO t1 where
         t1.docket_number_n = tt.docket_number_n))
         and A3.parent_category_code_v <> '0') Complaint_type,
         (SELECT distinct A1.CATEGORY_DESCRIPTION_V FROM
         cbsogg.TT_CATEGORY_MASTER A1 WHERE A1.CATEGORY_CODE_V =
         tt.SUBCATEGORY_ID_V ) SubComplaint_type,
         (select d.mobl_num_voice_v from cbsogg.gsm_service_mast d
         where tt.entity_id_n = d.mobl_num_voice_v ) MSISDN,
         (select csm.first_name_v||csm.last_name_v
         from cbsogg.gsm_service_mast d, cbsogg.cb_account_master cam
         ,cbsogg.cb_subscriber_master csm
         where d.account_code_n = cam.account_code_n
         and csm.subscriber_code_n = cam.subscriber_code_n
         and tt.entity_id_n = d.mobl_num_voice_v ) SUBS_NAME,
         (select d.sub_service_code_v from cbsogg.gsm_service_mast d
         where tt.entity_id_n = d.mobl_num_voice_v ) Service_code,
         (select d.subscriber_category_v from cbsogg.gsm_service_mast d
         where tt.entity_id_n = d.mobl_num_voice_v) Segments,
         (select g.SUBS_SUB_CATEGORY_DESC_V from cbsogg.gsm_service_mast
         d,cbsogg.cb_subscriber_sub_category g
         where tt.entity_id_n = d.mobl_num_voice_v and d.subscriber_category_v
         = g.subs_category_code_v
         and d.subscriber_sub_category_v = g.subs_sub_category_code_v)
         sub_segments,
         (select d.status_code_v from cbsogg.gsm_service_mast d
         where tt.entity_id_n = d.mobl_num_voice_v ) mob_status,
         (select d.account_code_n from cbsogg.gsm_service_mast d
         where tt.entity_id_n = d.mobl_num_voice_v) Account_no,
         a.expiry_time_d bin_expiry_date,
         round((cast((FROM_TZ(CAST(a.expiry_time_d as timestamp),
         sessiontimezone) at time zone 'GMT') as date) -
         TO_DATE('01-01-1970','MM-DD-YYYY')) * 86400) bin_expiry_date_sec,
         a.assignment_dt_d bin_assign_date,
         round((cast((FROM_TZ(CAST(a.assignment_dt_d as timestamp),
         sessiontimezone) at time zone 'GMT') as date) -
         TO_DATE('01-01-1970','MM-DD-YYYY')) * 86400) bin_assign_date_sec,
         a.work_completion_dt_d bin_comp_date,
         round((cast((FROM_TZ(CAST(a.work_completion_dt_d as timestamp),
         sessiontimezone) at time zone 'GMT') as date) -
         TO_DATE('01-01-1970','MM-DD-YYYY')) * 86400) bin_compl_date_sec,
         x.status_v wf_status,tt.tt_source_v Source_v,
         (select distinct cm.CATEGORY_DESCRIPTION_V from
         cbsogg.TT_CATEGORY_MASTER cm
         where cm.category_code_v = tt.category_id_v and cm.category_type_v =
         tt.ticket_type_v and cm.parent_category_code_v = '0') Category_desc,
         (select f.user_name_v from cbsogg.cb_users f where f.user_code_n =
         tt.LOGGED_BY_N) Created_by,
         cu.user_name_v Assign_to,
         e.GROUP_NAME_V activity_name_v,
         tt.question_v,tt.answer_v,
         a.notes_v Notes,
         (SELECT CFT.fault_name_v FROM cbsogg.TT_TICKET_ADDNL_INFO TAI,
         cb_fault_types CFT
         where TAI.FAULT_CODE_V = CFT.FAULT_CODE_V
         and tt.docket_number_n = TAI.docket_number_n) ROOT_CAUSE,
         cu.user_name_v user_name
         from cbsogg.WF_TODOITEM a,
         WF_WORKFLOW@cbsstandby x , cbsogg.WF_WORKASSIGNMENT c,
         cbsogg.TT_TICKETINFO tt,cbsogg.WF_WRKFLWMGR wm,cb_users cu ,
         cbsogg.cb_user_group e
         where a.event_refno_v = x.event_refno_v
         and tt.docket_number_n = x.event_refno_v
         and x.wrkflw_id_n = wm.wrkflw_id_n
         and a.work_id_n = c.work_id_n
         --and tt.docket_number_n = '35022'
         and a.user_id_n = cu.user_code_n
         AND cu.GROUP_CODE_N = e.GROUP_CODE_N
         union all
         select distinct 'Workflow' Category,
         tt.docket_number_n ticket_no,
         wm.wrkflw_desc_v Workflow_desc,
         wm.estimated_resoln_tm_n sla_time,tt.ticket_regn_dt_d
         ticket_reg_date,
         round((cast((FROM_TZ(CAST(tt.ticket_regn_dt_d as timestamp),
         sessiontimezone) at time zone 'GMT') as date) -
         TO_DATE('01-01-1970','MM-DD-YYYY')) * 86400) tk_reg_date_sec,
         x.start_dt_d ticket_start_date,
         round((cast((FROM_TZ(CAST(x.start_dt_d as timestamp),
         sessiontimezone) at time zone 'GMT') as date) -
         TO_DATE('01-01-1970','MM-DD-YYYY')) * 86400) tk_start_date_sec,
         x.end_dt_d ticket_end_date,
         round((cast((FROM_TZ(CAST(x.end_dt_d as timestamp), sessiontimezone)
         at time zone 'GMT') as date) - TO_DATE('01-01-1970','MM-DD-YYYY')) *
         86400) tk_end_date_sec,
         tt.ticket_resp_dt_d ticket_resp_date,
         round((cast((FROM_TZ(CAST(tt.ticket_resp_dt_d as timestamp),
         sessiontimezone) at time zone 'GMT') as date) -
         TO_DATE('01-01-1970','MM-DD-YYYY')) * 86400) tk_resp_date_sec,
         round((cast((FROM_TZ(CAST(sysdate as timestamp), sessiontimezone) at
         time zone 'GMT') as date) - TO_DATE('01-01-1970','MM-DD-YYYY')) *
         86400) sys_date,
         decode(tt.status_v,'P','Pending','A','Task
         completed','C','Closed','R','Resolved') StatusTicket,
         decode(tt.ticket_type_v,'Q','Query','C','Complaint Type','R','Service
         Request') Ticket_type,
         (select A3.CATEGORY_DESCRIPTION_V from cbsogg.TT_CATEGORY_MASTER A3
         where A3.category_code_v =
         (select A2.parent_category_code_v from cbsogg.TT_CATEGORY_MASTER A2
         where A2.category_code_v =
         (select t1.subcategory_id_v from cbsogg.TT_TICKETINFO t1 where
         t1.docket_number_n = tt.docket_number_n))
         and A3.parent_category_code_v <> '0') Complaint_type,
         (SELECT distinct A1.CATEGORY_DESCRIPTION_V FROM
         cbsogg.TT_CATEGORY_MASTER A1 WHERE A1.CATEGORY_CODE_V =
         tt.SUBCATEGORY_ID_V ) SubComplaint_type,
         (select d.mobl_num_voice_v from cbsogg.gsm_service_mast d
         where tt.entity_id_n = d.mobl_num_voice_v ) MSISDN,
         (select csm.first_name_v||csm.last_name_v
         from cbsogg.gsm_service_mast d, cbsogg.cb_account_master cam
         ,cbsogg.cb_subscriber_master csm
         where d.account_code_n = cam.account_code_n
         and csm.subscriber_code_n = cam.subscriber_code_n
         and tt.entity_id_n = d.mobl_num_voice_v ) SUBS_NAME,
         (select d.sub_service_code_v from cbsogg.gsm_service_mast d
         where tt.entity_id_n = d.mobl_num_voice_v ) Service_code,
         (select d.subscriber_category_v from cbsogg.gsm_service_mast d
         where tt.entity_id_n = d.mobl_num_voice_v) Segments,
         (select g.SUBS_SUB_CATEGORY_DESC_V from cbsogg.gsm_service_mast
         d,cbsogg.cb_subscriber_sub_category g
         where tt.entity_id_n = d.mobl_num_voice_v and d.subscriber_category_v
         = g.subs_category_code_v
         and d.subscriber_sub_category_v = g.subs_sub_category_code_v)
         sub_segments,
         (select d.status_code_v from cbsogg.gsm_service_mast d
         where tt.entity_id_n = d.mobl_num_voice_v ) mob_status,
         (select d.account_code_n from cbsogg.gsm_service_mast d
         where tt.entity_id_n = d.mobl_num_voice_v) Account_no,
         a.expiry_time_d bin_expiry_date,
         round((cast((FROM_TZ(CAST(a.expiry_time_d as timestamp),
         sessiontimezone) at time zone 'GMT') as date) -
         TO_DATE('01-01-1970','MM-DD-YYYY')) * 86400) bin_expiry_date_sec,
         a.assignment_dt_d bin_assign_date,
         round((cast((FROM_TZ(CAST(a.assignment_dt_d as timestamp),
         sessiontimezone) at time zone 'GMT') as date) -
         TO_DATE('01-01-1970','MM-DD-YYYY')) * 86400) bin_assign_date_sec,
         a.work_completion_dt_d bin_comp_date,
         round((cast((FROM_TZ(CAST(a.work_completion_dt_d as timestamp),
         sessiontimezone) at time zone 'GMT') as date) -
         TO_DATE('01-01-1970','MM-DD-YYYY')) * 86400) bin_compl_date_sec,
         x.status_v wf_status,tt.tt_source_v Source_v,
         (select distinct cm.CATEGORY_DESCRIPTION_V from
         cbsogg.TT_CATEGORY_MASTER cm
         where cm.category_code_v = tt.category_id_v and cm.category_type_v =
         tt.ticket_type_v and cm.parent_category_code_v = '0') Category_desc,
         (select f.user_name_v from cbsogg.cb_users f where f.user_code_n =
         tt.LOGGED_BY_N) Created_by,
         cu.user_name_v Assign_to,
         e.GROUP_NAME_V activity_name_v,
         tt.question_v,tt.answer_v,
         a.notes_v Notes,
         (SELECT CFT.fault_name_v FROM cbsogg.TT_TICKET_ADDNL_INFO TAI,
         cbsogg.cb_fault_types CFT
         where TAI.FAULT_CODE_V = CFT.FAULT_CODE_V
         and tt.docket_number_n = TAI.docket_number_n) ROOT_CAUSE,
         cu.user_name_v user_name
         from cbsogg.WF_TODOITEM_HISTORY a,
         WF_WORKFLOW@cbsstandby x , cbsogg.WF_WORKASSIGNMENT_HISTORY c,
         cbsogg.TT_TICKETINFO tt,cbsogg.WF_WRKFLWMGR wm,cbsogg.cb_users cu ,
         cbsogg.cb_user_group e
         where a.event_refno_v = x.event_refno_v
         and tt.docket_number_n = x.event_refno_v
         and x.wrkflw_id_n = wm.wrkflw_id_n
         and a.work_id_n = c.work_id_n
         --and tt.docket_number_n = '35022'
         and a.user_id_n = cu.user_code_n
         AND cu.GROUP_CODE_N = e.GROUP_CODE_N
         union all
         select distinct 'FLR' Category,
         tt.docket_number_n ticket_no,null Workflow_desc,
         null sla_time, tt.ticket_regn_dt_d registration_date,null
         wf_reg_date_sec,null start_date,
         null wf_start_date_sec,null wf_end_date,null
         wf_end_date_sec,tt.ticket_resp_dt_d workflw_resp_date,
         null wf_resp_date_sec,
         round((cast((FROM_TZ(CAST(sysdate as timestamp), sessiontimezone) at
         time zone 'GMT') as date) - TO_DATE('01-01-1970','MM-DD-YYYY')) *
         86400) sys_date,
         decode(tt.status_v,'P','Pending','A','Task
         completed','C','Closed','R','Resolved') StatusTicket,
         decode(tt.ticket_type_v,'Q','Query','C','Complaint Type','R','Service
         Request') Ticket_type,
         (select A3.CATEGORY_DESCRIPTION_V from cbsogg.TT_CATEGORY_MASTER A3
         where A3.category_code_v =
         (select A2.parent_category_code_v from cbsogg.TT_CATEGORY_MASTER A2
         where A2.category_code_v =
         (select t1.subcategory_id_v from cbsogg.TT_TICKETINFO t1 where
         t1.docket_number_n = tt.docket_number_n))
         and A3.parent_category_code_v <> '0') Complaint_type,
         (SELECT distinct A1.CATEGORY_DESCRIPTION_V FROM
         cbsogg.TT_CATEGORY_MASTER A1 WHERE A1.CATEGORY_CODE_V =
         tt.SUBCATEGORY_ID_V ) SubComplaint_type,
         (select d.mobl_num_voice_v from cbsogg.gsm_service_mast d
         where tt.entity_id_n = d.mobl_num_voice_v ) MSISDN,
         (select csm.first_name_v||csm.last_name_v
         from cbsogg.gsm_service_mast d, cbsogg.cb_account_master cam
         ,cbsogg.cb_subscriber_master csm
         where d.account_code_n = cam.account_code_n
         and csm.subscriber_code_n = cam.subscriber_code_n
         and tt.entity_id_n = d.mobl_num_voice_v ) SUBS_NAME,
         (select d.sub_service_code_v from cbsogg.gsm_service_mast d
         where tt.entity_id_n = d.mobl_num_voice_v ) Service_code,
         (select d.subscriber_category_v from cbsogg.gsm_service_mast d
         where tt.entity_id_n = d.mobl_num_voice_v) Segments,
         (select g.SUBS_SUB_CATEGORY_DESC_V from cbsogg.gsm_service_mast
         d,cbsogg.cb_subscriber_sub_category g
         where tt.entity_id_n = d.mobl_num_voice_v and d.subscriber_category_v
         = g.subs_category_code_v
         and d.subscriber_sub_category_v = g.subs_sub_category_code_v)
         sub_segments,
         (select d.status_code_v from cbsogg.gsm_service_mast d
         where tt.entity_id_n = d.mobl_num_voice_v ) mob_status,
         (select d.account_code_n from cbsogg.gsm_service_mast d
         where tt.entity_id_n = d.mobl_num_voice_v) Account_no,
         null bin_expiry_date,null bin_expiry_date_sec,null
         bin_assign_date,null bin_assign_date_sec,null bin_comp_date,
         null bin_compl_date_sec,
         null wf_status,tt.tt_source_v Source_v,
         (select distinct cm.CATEGORY_DESCRIPTION_V from
         cbsogg.TT_CATEGORY_MASTER cm
         where cm.category_code_v = tt.category_id_v and cm.category_type_v =
         tt.ticket_type_v and cm.parent_category_code_v = '0') Category_desc,
         (select f.user_name_v from cbsogg.cb_users f where f.user_code_n =
         tt.LOGGED_BY_N) Created_by,
         null Assign_to,
         C.GROUP_NAME_V activity_name,
         tt.question_v,tt.answer_v,
         TTI.NOTES_V Notes,
         (SELECT CFT.fault_name_v FROM cbsogg.TT_TICKET_ADDNL_INFO TAI,
         cbsogg.cb_fault_types CFT--, TT_TICKETINFO c
         where TAI.FAULT_CODE_V = CFT.FAULT_CODE_V
         and tt.docket_number_n = TAI.docket_number_n) ROOT_CAUSE,
         B.USER_NAME_V user_name
         from cbsogg.TT_TICKETINFO tt, cbsogg.CB_USERS B, cbsogg.CB_USER_GROUP
         C, cbsogg.TT_TICKETINCIDENT TTI
         where tt.docket_number_n not in(select event_refno_v from
         WF_WORKFLOW@cbsstandby)
         AND TTI.INCIDENT_NUMBER_N = tt.docket_number_n
         AND tt.LOGGED_BY_N = B.USER_CODE_N
         AND C.GROUP_CODE_N = B.GROUP_CODE_N
         ) "Custom SQL Query"
         GROUP BY "Custom SQL Query"."SOURCE_V"
         ORDER BY 1 ASC NULLS FIRST
   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 "6fchhyp65szsc" was executed 1 times and had
      an average elapsed time of 343 seconds.
   Rationale
      I/O and Cluster wait for TABLE "CBSOGG.GSM_SERVICE_MAST" with object ID
      126905 consumed 61% of the database time spent on this SQL statement.


Finding 2: Unusual "Other" Wait Event
Impact is .35 active sessions, 15.53% of total activity.
--------------------------------------------------------
Wait event "Data Guard server operation completion" in wait class "Other" was
consuming significant database time.

   Recommendation 1: Application Analysis
   Estimated benefit is .35 active sessions, 15.53% of total activity.
   -------------------------------------------------------------------
   Action
      Investigate the cause for high "Data Guard server operation completion"
      waits. Refer to Oracle's "Database Reference" for the description of
      this wait event.

   Recommendation 2: Application Analysis
   Estimated benefit is .35 active sessions, 15.53% of total activity.
   -------------------------------------------------------------------
   Action
      Investigate the cause for high "Data Guard server operation completion"
      waits in Module "oracle@cbsdb1 (TNS V1-V3)".

   Recommendation 3: Application Analysis
   Estimated benefit is .35 active sessions, 15.53% of total activity.
   -------------------------------------------------------------------
   Action
      Investigate the cause for high "Data Guard server operation completion"
      waits in Service "dware1".

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


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

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

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


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

   Recommendation 1: Segment Tuning
   Estimated benefit is .11 active sessions, 4.89% of total activity.
   ------------------------------------------------------------------
   Action
      Investigate application logic involving I/O on TABLE
      "CBSOGG.GSM_SERVICE_MAST" with object ID 126905.
      Related Object
         Database object with ID 126905.
   Action
      Look at the "Top SQL Statements" finding for SQL statements consuming
      significant I/O on this segment. For example, the SELECT statement with
      SQL_ID "1f5zh4bk6acp0" is responsible for 61% of "User I/O" and
      "Cluster" waits for this segment.
   Rationale
      The I/O usage statistics for the object are: 0 full object scans, 71318
      physical reads, 241 physical writes and 0 direct reads.

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


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

   Recommendation 1: Application Analysis
   Estimated benefit is .08 active sessions, 3.44% of total activity.
   ------------------------------------------------------------------
   Action
      Investigate the cause for high "SQL*Net more data from client" waits.
      Refer to Oracle's "Database Reference" for the description of this wait
      event.

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

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

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


Finding 6: Undersized PGA
Impact is .07 active sessions, 3.07% of total activity.
-------------------------------------------------------
The PGA was inadequately sized, causing additional I/O to temporary
tablespaces to consume significant database time.
The value of parameter "pga_aggregate_target" was "3776 M" during the analysis
period.

   No recommendations are available.

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


Finding 7: Buffer Busy - Hot Objects
Impact is .05 active sessions, 2.29% 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.29% of total activity.
         Inter-instance messaging was consuming significant database time on
         this instance.
         Impact is .09 active sessions, 4.04% of total activity.
            Wait class "Cluster" was consuming significant database time.
            Impact is .09 active sessions, 4.04% of total activity.



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

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

Miscellaneous Information
-------------------------
Wait class "Application" was not consuming significant database time.
Wait class "Commit" was not consuming significant database time.
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.
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.
Hard parsing of SQL statements was not consuming significant database time.


Back to Top

RAC Statistics

BeginEnd
Number of Instances: 2 2

Global Cache Load Profile

Per SecondPer Transaction
Global Cache blocks received: 82.28 0.34
Global Cache blocks served: 103.87 0.43
GCS/GES messages received: 1,135.22 4.72
GCS/GES messages sent: 1,311.97 5.46
DBWR Fusion writes: 0.80 0.00
Estd Interconnect traffic (KB) 3,456.40 

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

Buffer access - local cache %: 99.00
Buffer access - remote cache %: 0.06
Buffer access - disk %: 0.94

Global Cache and Enqueue Services - Workload Characteristics

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

Global Cache and Enqueue Services - Messaging Statistics

Avg message sent queue time (ms): 1.2
Avg message sent queue time on ksxp (ms): 0.3
Avg message received queue time (ms): 0.0
Avg GCS message process time (ms): 0.0
Avg GES message process time (ms): 0.0
% of direct sent messages: 41.58
% of indirect sent messages: 58.36
% of flow controlled messages: 0.06


Cluster Interconnect

 Begin End
InterfaceIP AddressPubSourcePubSrc
net1:1169.254.6.190N   
net2:1169.254.16.33N   

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)2,2860.640.00
acks for commit broadcast(logical)9,1242.570.01
broadcast msgs on commit(actual)843,909237.560.99
broadcast msgs on commit(logical)843,909237.560.99
broadcast msgs on commit(wasted)27,1097.630.03
dynamically allocated gcs resources00.000.00
dynamically allocated gcs shadows00.000.00
flow control messages received20.000.00
flow control messages sent1,0980.310.00
gcs apply delta00.000.00
gcs assume cvt00.000.00
gcs assume no cvt273,43076.970.32
gcs ast xid00.000.00
gcs blocked converts19,9735.620.02
gcs blocked cr converts10,9463.080.01
gcs compatible basts1130.030.00
gcs compatible cr basts (global)8400.240.00
gcs compatible cr basts (local)458,358129.030.54
gcs cr basts to PIs00.000.00
gcs cr serve without current lock00.000.00
gcs dbwr flush pi msgs69,89019.670.08
gcs dbwr write request msgs3050.090.00
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 only170.000.00
gcs force cr grant370.010.00
gcs force cr no current00.000.00
gcs forward cr to pinged instance00.000.00
gcs immediate (compatible) converts27,5267.750.03
gcs immediate (null) converts24,9477.020.03
gcs immediate cr (compatible) converts1,9920.560.00
gcs immediate cr (null) converts2,060,471580.022.41
gcs indirect ast326,22191.830.38
gcs indirect bidless ast80.000.00
gcs indirect fg ast326,19791.820.38
gcs lms flush pi msgs00.000.00
gcs lms write request msgs1980.060.00
gcs msgs process time(ms)41,95411.810.05
gcs msgs received3,924,5201,104.744.60
gcs new served by master3,5290.990.00
gcs out-of-order msgs510.010.00
gcs pings refused7280.200.00
gcs pkey conflicts retry00.000.00
gcs push delta00.000.00
gcs queued converts00.000.00
gcs reader bypass N->Xw ping local00.000.00
gcs reader bypass N->Xw ping remote00.000.00
gcs reader bypass grant X on assume00.000.00
gcs reader bypass grant ast00.000.00
gcs reader bypass grant fg ast00.000.00
gcs reader bypass grant immediate14,2604.010.02
gcs recovery claim msgs00.000.00
gcs refuse xid00.000.00
gcs regular cr00.000.00
gcs retry convert request00.000.00
gcs share recovery bast00.000.00
gcs side channel msgs actual33,5189.440.04
gcs side channel msgs logical557,990157.070.65
gcs stale cr4,2591.200.00
gcs undo cr23,3136.560.03
gcs write notification msgs70.000.00
gcs writes refused280.010.00
ges msgs process time(ms)5560.160.00
ges msgs received108,27530.480.13
global posts dropped00.000.00
global posts queue time00.000.00
global posts queued00.000.00
global posts requested00.000.00
global posts sent00.000.00
implicit batch messages received60,08116.910.07
implicit batch messages sent129,87136.560.15
lmd msg send time(ms)00.000.00
lms(s) msg send time(ms)00.000.00
messages flow controlled1,7900.500.00
messages queue sent actual573,861161.540.67
messages queue sent logical786,893221.510.92
messages received actual1,872,471527.102.19
messages received logical4,032,7931,135.224.72
messages sent directly1,235,917347.911.45
messages sent indirectly1,734,980488.392.03
messages sent not implicit batched1410.040.00
messages sent pbatched3,283,167924.213.85
msgs causing lmd to send msgs00.000.00
msgs causing lms(s) to send msgs00.000.00
msgs received queue time (ms)67,66019.050.08
msgs received queued4,032,8001,135.234.72
msgs sent queue time (ms)896,911252.481.05
msgs sent queue time on ksxp (ms)655,823184.610.77
msgs sent queued764,695215.260.90
msgs sent queued on ksxp2,099,146590.912.46
number of broadcasted resources00.000.00
number of directly freed master res109,43130.800.13
number of ges deadlock detected00.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 received1,318,258371.091.54
process batch messages sent911,839256.681.07



Back to Top

Global CR Served Stats

StatisticTotal
CR Block Requests9,589
CURRENT Block Requests25,836
Data Block Requests9,592
Undo Block Requests23,225
TX Block Requests682
Current Results33,479
Private results110
Zero Results16
Disk Read Results1,749
Fail Results0
Fairness Down Converts3,248
Fairness Clears6,256
Free GC Elements0
Flushes45
Flushes Queued0
Flush Queue Full0
Flush Max Time (us)0
Light Works282
Errors0



Back to Top

Global CURRENT Served Stats

StatisticTotal% <1ms% <10ms% <100ms% <1s% <10s
Pins0     
Flushes2462.5037.500.000.000.00
Writes2,83818.1818.9662.76 0.11



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 block96477.2822.410.31287,97295.990.793.22
2Others383100.000.000.002,62999.850.150.00
2undo header31499.680.320.0034100.000.000.00
2undo block475.0025.000.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.630.381.461.570.640.556.271.81
2others0.310.31  0.300.300.93 
2undo header0.330.321.76 0.320.32  
2undo block0.520.261.31     


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 block0745100.000.00276,412100.000.00
2others0383100.000.002,625100.000.00
2undo header0313100.000.0034100.000.00
2undo block03100.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.380.38 0.550.55 
2others 0.310.31 0.300.30 
2undo header 0.320.32 0.320.32 
2undo block 0.260.26    


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
12760.130.022760.130.02
22760.843.222762.487.19


Back to Interconnect Stats
Back to Top

Interconnect Throughput by Client

Used BySend Mbytes/secReceive Mbytes/sec
Global Cache1.320.89
Parallel Query0.010.01
DB Locks0.340.26
DB Streams0.000.00
Other0.010.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
net1:1169.254.6.190NO  0.000000 0.000000
net2:1169.254.16.33NO  0.000000 0.000000


Back to Interconnect Stats
Back to Top

Dynamic Remastering Stats

NameTotalper Remaster OpBegin SnapEnd Snap
remaster ops3,5551.00  
remastered objects4,4431.25  
replayed locks received1,229,025345.72  
replayed locks sent1,871,160526.35  
resources cleaned00.00  
remaster time (s)2,232.60.63  
quiesce time (s)0.00.00  
freeze time (s)219.60.06  
cleanup time (s)287.70.08  
replay time (s)289.50.08  
fixwrite time (s)398.90.11  
sync time (s)974.20.27  
affinity objects  180182



Back to Top

End of Report