WORKLOAD REPOSITORY COMPARE PERIOD REPORT (root snapshots)

Report Summary

Snapshot SetDB NameDB IdUnique NameDB RoleEditionReleaseClusterCDBHostStd Block Size
First (1st)ORCL12C776972821orcl12cPRIMARYEE12.2.0.1.0NOYESlocalhost.localdomain8192
Second (2nd)ORCL12C776972821orcl12cPRIMARYEE12.2.0.1.0NOYESlocalhost.localdomain8192

Snapshot SetInstanceInst num
First (1st)orcl12c1
Second (2nd)orcl12c1

Snapshot SetBegin Snap IdBegin Snap TimeEnd Snap IdEnd Snap TimeAvg Active UsersElapsed Time (min)DB time (min)
1st2723-Apr-18 01:12:24 (Mon)2823-Apr-18 01:30:13 (Mon) 1.0 17.8 17.8
2nd2923-Apr-18 01:43:55 (Mon)3023-Apr-18 02:00:18 (Mon) 1.0 16.4 16.4
%Diff     0.0 -8.0 -8.0

Open Pluggable Database Counts

Snapshot SetBegin SnapEnd Snap
1st11
2nd11

Container Database List (1st and 2nd)

Container DB IdContainer NameOpen Time
4079644691ORCL14-Apr-18 02:04

Host Configuration Comparison

1st2ndDiff%Diff
Number of CPUs:121200.0
Number of CPU Cores:121200.0
Number of CPU Sockets:1100.0
Physical Memory:24868.7M24868.7M0M0.0
Load at Start Snapshot:.44.13-.31-70.5
Load at End Snapshot:1.261.13-.13-10.3
%User Time:6.23.88-2.32-37.4
%System Time:.442.071.63370.5
%Idle Time:93.2793.99.720.8
%IO Wait Time:.35.31-.04-11.4

Cache Sizes

1st (M)2nd (M)Diff (M)%Diff
Memory Target    
SGA Target
10,240.010,240.00.00.0
Buffer Cache
7,424.07,424.00.00.0
Shared Pool
2,048.02,048.00.00.0
Large Pool
160.0160.00.00.0
Java Pool
64.064.00.00.0
Streams Pool
    
PGA Target
3,072.03,072.00.00.0
Log Buffer19.519.50.00.0
In-Memory Area    

Load Profile

1st per sec2nd per sec%Diff1st per txn2nd per txn%Diff
DB time: 1.0 1.0 0.0 0.1 0.4 186.7
CPU time: 1.0 1.0 1.0 0.1 0.4 200.0
Background CPU time: 0.0 0.0 0.0 0.0 0.0 0.0
Redo size (bytes): 13,451,965.5 4,591,945.8 -65.9 1,964,928.4 1,954,991.1 -0.5
Logical read (blocks): 56,797.0 19,367.2 -65.9 8,296.3 8,245.4 -0.6
Block changes: 47,084.7 16,120.4 -65.8 6,877.7 6,863.2 -0.2
Physical read (blocks): 0.0 0.0 0.0 0.0 0.0 0.0
Physical write (blocks): 0.0 0.0 0.0 0.0 0.0 0.0
Read IO requests: 0.0 0.0 0.0 0.0 0.0 0.0
Write IO requests: 0.0 0.0 0.0 0.0 0.0 0.0
Read IO (MB): 0.0 0.0 0.0 0.0 0.0 0.0
Write IO (MB): 0.0 0.0 0.0 0.0 0.0 0.0
IM scan rows: 0.0 0.0 0.0 0.0 0.0 0.0
Session Logical Read IM: 0.0 0.0 0.0 0.0 0.0 0.0
User calls: 0.0 0.0 33.3 0.0 0.0 100.0
Parses (SQL): 0.1 0.1 7.7 0.0 0.1 200.0
Hard parses (SQL): 0.0 0.0 0.0 0.0 0.0 0.0
SQL Work Area (MB): 0.1 0.0 -33.3 0.0 0.0 -33.3
Logons: 0.0 0.0 0.0 0.0 0.0 0.0
Executes (SQL): 6,842.2 2,344.7 -65.7 999.4 998.2 -0.1
Transactions: 6.8 2.3 -65.7   
1st2ndDiff
% Blocks changed per Read: 82.9 83.2 0.3
Recursive Call %: 100.0 100.0 -0.0
Rollback per transaction %: 0.0 0.0 0.0
Rows per Sort: 2.9 2.9 0.0
Avg DB time per Call (sec): 30.5 26.5 -4.0

Top Timed Events

1st 2nd
EventWait ClassWaitsTime(s)Avg Time%DB timeEventWait ClassWaitsTime(s)Avg Time%DB time
CPU time  1,054.17 98.82CPU time  978.26 99.69
log file switch (checkpoint incomplete)Configuration759.88131.70ms0.93undo segment extensionConfiguration711.7124.14ms0.17
log file switch completionConfiguration471.3729.04ms0.13reliable messageOther5480.801.45ms0.08
log file switch (private strand flush incomplete)Configuration180.7239.80ms0.07log file switch (private strand flush incomplete)Configuration310.7825.20ms0.08
control file parallel writeSystem I/O720.476.46ms0.04enq: CR - block range reuse ckptOther20.42208.94ms0.04
undo segment extensionConfiguration270.238.34ms0.02control file parallel writeSystem I/O680.344.99ms0.03
reliable messageOther1640.14876.48us0.01log file switch (checkpoint incomplete)Configuration10.0223.05ms0.00
db file sequential readUser I/O150.01720.07us0.00log file syncCommit10.002.32ms0.00
PGA memory operationOther1920.0012.35us0.00buffer busy waitsConcurrency110.00199.27us0.00
db file scattered readUser I/O20.00621.00us0.00PGA memory operationOther1630.0013.33us0.00
-log file syncCommit10.00413.00us0.00-db file sequential readUser I/O80.0017.75us0.00
-buffer busy waitsConcurrency30.0036.33us0.00-     

Report Details

Supplemental Information


Back to Top

Time Model Statistics

 % of DB time % of Total CPU time Time (seconds) Time per Trans (seconds)
Statistic Name1st2ndDiff1st2ndDiff1st2nd%Diff1st2nd%Diff
PL/SQL execution elapsed time25.3612.37-12.99   270.48121.39-55.120.040.0525.00
DB CPU98.8299.690.87100.00100.000.001,054.17978.26-7.200.140.42200.00
sql execute elapsed time100.00100.00-0.00   1,066.72981.28-8.010.150.43186.67
parse time elapsed0.000.000.00   0.020.020.000.000.000.00
hard parse elapsed time0.000.000.00   0.010.010.000.000.000.00
PL/SQL compilation elapsed time0.000.000.00   0.010.010.000.000.000.00
connection management call elapsed time0.000.000.00   0.010.010.000.000.000.00
repeated bind elapsed time0.000.00-0.00   0.000.000.000.000.000.00
DB time      1,066.74981.32-8.010.150.43186.67
total CPU time98.8299.690.87   1,054.17978.26-7.200.140.42194.16



Back to Top

Wait Events

Back to Top

Wait Classes

 % of DB time # Waits/sec (Elapsed Time) Total Wait Time (sec) Avg Wait Time
Wait Class1st2ndDiff1st2nd%Diff1st2nd%Diff1st2nd%Diff
Configuration1.140.26-0.890.160.10-37.5012.182.52-79.3172.96ms24.45ms-66.49
DB CPU98.8299.690.87   1,054.17978.26-7.20   
Other0.010.120.110.340.73114.710.151.22713.33400.71us1.69ms322.50
System I/O0.040.03-0.010.180.180.000.470.34-27.662.48ms1.91ms-22.98
User I/O0.000.00-0.000.040.03-25.000.010.00-100.00275.85us33.13us-89.29
Concurrency0.000.000.000.010.02100.000.000.000.00130.13us228.67us76.92
Commit0.000.000.000.000.000.000.000.000.00413.00us2.32ms465.85
Network0.000.000.000.010.010.000.000.000.00923.08ns1.21us0.00


Back to Wait Events
Back to Top

Wait Events

  % of DB time # Waits/sec (Elapsed Time) Total Wait Time (sec) Avg Wait Time
EventWait Class1st2ndDiff1st2nd%Diff1st2nd%Diff1st2nd%Diff
log file switch (checkpoint incomplete)Configuration0.930.00-0.920.070.00-100.009.880.02-99.80131.70ms23.05ms-82.50
undo segment extensionConfiguration0.020.170.150.030.07133.330.231.71643.488.34ms24.14ms189.45
log file switch completionConfiguration0.130.00-0.130.040.00-100.001.370.00-100.0029.04ms.00ns-100.00
reliable messageOther0.010.080.070.150.56273.330.140.80471.43876.48us1.45ms64.77
enq: CR - block range reuse ckptOther0.000.040.040.000.000.000.000.42100.00.00ns208.94ms100.00
log file switch (private strand flush incomplete)Configuration0.070.080.010.020.0350.000.720.788.3339.80ms25.20ms-36.68
control file parallel writeSystem I/O0.040.03-0.010.070.070.000.470.34-27.666.46ms4.99ms-22.76
db file sequential readUser I/O0.000.00-0.000.010.010.000.010.00-100.00720.07us17.75us-97.22
buffer busy waitsConcurrency0.000.000.000.000.01100.000.000.000.0036.33us199.27us400.00
log file syncCommit0.000.000.000.000.000.000.000.000.00413.00us2.32ms465.85
db file scattered readUser I/O0.000.00-0.000.000.000.000.000.000.00621.00us.00ns-100.00
latch: object queue header operationOther0.000.00-0.000.000.000.000.000.000.00790.00us.00ns-100.00
latch freeOther0.000.00-0.000.000.000.000.000.000.00347.00us.00ns-100.00
latch: cache buffers chainsConcurrency0.000.000.000.000.000.000.000.000.00.00ns223.00us100.00
Disk file operations I/OUser I/O0.000.00-0.000.030.02-33.330.000.000.0038.65us38.48us0.00
latch: shared poolConcurrency0.000.000.000.000.000.000.000.000.00231.25us338.33us47.83
control file sequential readSystem I/O0.000.00-0.000.110.110.000.000.000.008.90us7.66us0.00
latch: redo allocationOther0.000.00-0.000.000.000.000.000.000.00142.00us84.00us-42.86
asynch descriptor resizeOther0.000.00-0.000.010.010.000.000.000.007.67us7.29us0.00
PGA memory operationOther0.000.00-0.000.180.17-5.560.000.000.0012.35us13.33us0.00
library cache: mutex XConcurrency0.000.00-0.000.000.000.000.000.000.007.00us.00ns-100.00
SQL*Net message to clientNetwork0.000.000.000.010.010.000.000.000.00923.08ns1.21us0.00
SQL*Net message from clientIdle0.000.000.000.010.02100.000.010.010.00710.07us819.60us15.49


Back to Wait Events
Back to Top

Service Statistics

Back to Top

Service Statistics

 % of DB time % CPU Time % Physical Reads % Logical Reads
Service Name1st2ndDiff1st2ndDiff1st2ndDiff1st2ndDiff
orcl100.00100.00-0.0099.9999.99-0.00100.00100.000.00100.00100.010.00


Back to Service Statistics
Back to Top

Service Statistics (RAC)

 % CR Blks Received % Current Blks Received
Service Name1st2ndDiff1st2ndDiffTotal Diff
orcl0.000.000.000.000.000.000.00


Back to Service Statistics
Back to Top

SQL Statistics

Back to Top

Top SQL Comparison by Elapsed Time

 Elapsed Time % of DB time Elapsed Time (ms) per Exec #Exec/sec (DB time) CPU Time (ms) per Exec I/O Time (ms) per Exec Physical Reads per Exec #Rows Processed per Exec #Executions #Plans Container DB Id  
SQL Id1st1st Total2nd2nd TotalDiff1st2nd1st2nd1st2nd1st2nd1st2nd1st2nd1st2nd1st/2nd/Both1st2ndSQL Text
8kpwagy566cc651.5651.5664.4864.4812.91006,856.232,348.6200000.000.001.001.007,313,8082,304,733 40796446914079644691 INSERT INTO DELUDING_TAB VALUE...
g6px76dmjv1jy0.2351.79  -0.232,406 0.00 2,406 0 0.00 1.00 1 1// 14079644691  select count(*) from wri$_opts...
3cjmgxvhv3n2p100.18151.9799.99164.47-0.191,068,672981,2460.000.001,056,034978,117008.008.000.000.0011 40796446914079644691 DECLARE TYPE ID_t IS TABLE OF ...
5pj6mtazkhmdd  0.00164.470.00 16 0.00 16 0 0.00 1.00 2  4079644691 BEGIN /* KSXM:FLUSH DML_MON */...
3kqrku32p6sfn  0.00164.480.00 13 0.00 12 0 0.00 0.00 2/ 1/ 1 4079644691 MERGE /*+ OPT_PARAM('_parallel...
0qbzfjt00pbsx0.00151.97  -0.001 0.01 1 0 0.00 1.00 9  4079644691  BEGIN dbms_isched.log_dbms_out...
f705bwx3q0ydq0.00151.97  -0.004 0.00 4 0 0.00 1.00 1 2// 24079644691  select count(*) from dba_autot...
730vdzhng6m6g  0.00164.480.00 0 0.01 1 0 0.00 1.00 8/ 1/ 1 4079644691 update sys.scheduler$_job set ...
0smupm8p2dhq70.00151.97  -0.003 0.00 2 0 0.00 1.00 1 1// 14079644691  select count(*) num_windows, s...
1k5c5twx2xr01  0.00164.480.00 0 0.01 0 0 0.00 1.00 7  4079644691 insert into sys.scheduler$_job...
gjaap3w3qbf8c0.00151.970.00164.48-0.00000.030.0300000.000.001.001.0036341/ 1/ 140796446914079644691 select count(*) from ilmobj$ w...
c3utnxsnrx8tk0.00151.970.00164.480.00000.010.0100000.000.001.001.0010101/ 1/ 140796446914079644691 update obj$ set obj#=:4, type#...
3dbzmtf9ahvzt0.00151.970.00164.48-0.00000.020.0300000.000.001.001.0026261/ 1/ 140796446914079644691 merge /* KSXM:OPTIM_DML_INF */...
g4gp07gt2z9200.00151.980.00164.48-0.00110.010.0111000.000.001.001.00991/ 1/ 140796446914079644691 update sys.scheduler$_job set ...


Back to SQL Statistics
Back to Top

Top SQL Comparison by CPU Time

 CPU Time % of DB CPU CPU Time (ms) per Exec I/O Time (ms) per Exec #Exec/sec (DB time) Exec Time (ms) per Exec Physical Reads per Exec #Rows Processed per Exec #Plans Container DB Id  
SQL Id1st1st Total2nd2nd TotalDiff1st2nd1st2nd1st2nd1st2nd1st2nd1st2nd1st/2nd/Both1st2ndSQL Text
8kpwagy566cc651.6851.6864.3264.3212.6400006,856.232,348.62000.000.001.001.00 40796446914079644691 INSERT INTO DELUDING_TAB VALUE...
g6px76dmjv1jy0.2351.91  -0.232,406 0 0.00 2,406 0.00 1.00 1// 14079644691  select count(*) from wri$_opts...
3cjmgxvhv3n2p100.18152.0999.99164.31-0.191,056,034978,117000.000.001,068,672981,2468.008.000.000.00 40796446914079644691 DECLARE TYPE ID_t IS TABLE OF ...
5pj6mtazkhmdd  0.00164.310.00 16 0 0.00 16 0.00 1.00  4079644691 BEGIN /* KSXM:FLUSH DML_MON */...
3kqrku32p6sfn  0.00164.310.00 12 0 0.00 13 0.00 0.00/ 1/ 1 4079644691 MERGE /*+ OPT_PARAM('_parallel...
0qbzfjt00pbsx0.00152.09  -0.001 0 0.01 1 0.00 1.00  4079644691  BEGIN dbms_isched.log_dbms_out...
730vdzhng6m6g  0.00164.310.00 1 0 0.01 0 0.00 1.00/ 1/ 1 4079644691 update sys.scheduler$_job set ...
1gfaj4z5hn1kf0.00152.090.00164.31-0.0000000.020.02000.000.000.000.001/ 1/ 140796446914079644691 delete from dependency$ where ...
f705bwx3q0ydq0.00152.09  -0.004 0 0.00 4 0.00 1.00 2// 24079644691  select count(*) from dba_autot...
fs7h3cb49hs7s0.00152.09  -0.002 0 0.00 0 0.00 1.00 2// 24079644691  select count(*) from stats_adv...
gjaap3w3qbf8c0.00152.090.00164.31-0.0000000.030.03000.000.001.001.001/ 1/ 140796446914079644691 select count(*) from ilmobj$ w...
b9c6ffh8tc71f  0.00164.310.00 0 0 0.01 0 0.00 1.00  4079644691 BEGIN dbms_output.enable(NULL)...
3dbzmtf9ahvzt0.00152.090.00164.31-0.0000000.020.03000.000.001.001.001/ 1/ 140796446914079644691 merge /* KSXM:OPTIM_DML_INF */...
c3utnxsnrx8tk0.00152.090.00164.320.0000000.010.01000.000.001.001.001/ 1/ 140796446914079644691 update obj$ set obj#=:4, type#...
g4gp07gt2z9200.00152.090.00164.32-0.0011000.010.01110.000.001.001.001/ 1/ 140796446914079644691 update sys.scheduler$_job set ...


Back to SQL Statistics
Back to Top

Top SQL Comparison by I/O Time

 I/O Time % of DB time I/O Time (ms) per Exec Elapsed Time (ms) per Exec #Exec/sec (DB time) CPU Time (ms) per Exec Physical Reads per Exec #Rows Processed per Exec #Executions #Plans Container DB Id  
SQL Id1st1st Total2nd2nd TotalDiff1st2nd1st2nd1st2nd1st2nd1st2nd1st2nd1st2nd1st/2nd/Both1st2ndSQL Text
0qbzfjt00pbsx0.000.00  -0.000 1 0.01 1 0.00 1.00 9  4079644691  BEGIN dbms_isched.log_dbms_out...
3cjmgxvhv3n2p0.000.000.000.000.00001,068,672981,2460.000.001,056,034978,1178.008.000.000.0011 40796446914079644691 DECLARE TYPE ID_t IS TABLE OF ...
8kpwagy566cc60.000.000.000.000.0000006,856.232,348.62000.000.001.001.007,313,8082,304,733 40796446914079644691 INSERT INTO DELUDING_TAB VALUE...
0smupm8p2dhq70.000.00  0.000 3 0.00 2 0.00 1.00 1 1// 14079644691  select count(*) num_windows, s...
1gfaj4z5hn1kf0.000.000.000.000.0000000.020.02000.000.000.000.0019191/ 1/ 140796446914079644691 delete from dependency$ where ...
1k5c5twx2xr01  0.000.000.00 0 0 0.01 0 0.00 1.00 7  4079644691 insert into sys.scheduler$_job...
20vv6ttajyjzq0.000.000.000.000.0000000.020.02000.000.000.000.0019191/ 1/ 140796446914079644691 delete from access$ where d_ob...
2ajc7pwz9jsx3  0.000.000.00 0 0 0.01 0 0.00 1.00 8/ 1/ 1 4079644691 select max(scn) from smon_scn_...
340chgpg8x78v0.000.00  0.000 0 0.00 0 0.00 1.00 1 1// 14079644691  select count(*) from optstat_h...
3dbzmtf9ahvzt0.000.000.000.000.0000000.020.03000.000.001.001.0026261/ 1/ 140796446914079644691 merge /* KSXM:OPTIM_DML_INF */...
3kqrku32p6sfn  0.000.000.00 0 13 0.00 12 0.00 0.00 2/ 1/ 1 4079644691 MERGE /*+ OPT_PARAM('_parallel...
5pj6mtazkhmdd  0.000.000.00 0 16 0.00 16 0.00 1.00 2  4079644691 BEGIN /* KSXM:FLUSH DML_MON */...
730vdzhng6m6g  0.000.000.00 0 0 0.01 1 0.00 1.00 8/ 1/ 1 4079644691 update sys.scheduler$_job set ...
7am4w4pp3nwtm0.000.000.000.000.0000000.020.02000.000.001.001.0018171/ 1/ 140796446914079644691 select count(*) from undo$
9sg6u8xys290z0.000.00  0.000 3 0.00 3 0.00 1.00 1 1// 14079644691  select count(*) num_enabled, s...


Back to SQL Statistics
Back to Top

Top SQL Comparison by Buffer Gets

 % Total Gets Gets per Exec #Executions Exec Time (ms) per Exec CPU Time (ms) per Exec I/O Time (ms) per Exec Physical Reads per Exec #Rows Processed per Exec #Plans Container DB Id  
SQL Id1st1st Total2nd2nd TotalDiff1st2nd1st2nd1st2nd1st2nd1st2nd1st2nd1st2nd1st/2nd/Both1st2ndSQL Text
3cjmgxvhv3n2p100.02100.0299.8499.84-0.1860,707,860.0018,999,449.00111,068,672981,2461,056,034978,117008.008.000.000.00 40796446914079644691 DECLARE TYPE ID_t IS TABLE OF ...
8kpwagy566cc6100.02200.04100.03199.870.018.308.267,313,8082,304,7330000000.000.001.001.00 40796446914079644691 INSERT INTO DELUDING_TAB VALUE...
3dbzmtf9ahvzt0.00200.040.00199.870.007.007.0026260000000.000.001.001.001/ 1/ 140796446914079644691 merge /* KSXM:OPTIM_DML_INF */...
f705bwx3q0ydq0.00200.04  -0.00279.00 1 4 4 0 0.00 1.00 2// 24079644691  select count(*) from dba_autot...
730vdzhng6m6g  0.00199.870.00 10.25 8 0 1 0 0.00 1.00/ 1/ 1 4079644691 update sys.scheduler$_job set ...
0smupm8p2dhq70.00200.04  -0.00187.00 1 3 2 0 0.00 1.00 1// 14079644691  select count(*) num_windows, s...
5pj6mtazkhmdd  0.00199.870.00 28.00 2 16 16 0 0.00 1.00  4079644691 BEGIN /* KSXM:FLUSH DML_MON */...
g4gp07gt2z9200.00200.040.00199.870.007.007.00991111000.000.001.001.001/ 1/ 140796446914079644691 update sys.scheduler$_job set ...
1k5c5twx2xr01  0.00199.870.00 6.00 7 0 0 0 0.00 1.00  4079644691 insert into sys.scheduler$_job...
1gfaj4z5hn1kf0.00200.040.00199.870.003.003.0019190000000.000.000.000.001/ 1/ 140796446914079644691 delete from dependency$ where ...
9sg6u8xys290z0.00200.04  -0.0099.00 1 3 3 0 0.00 1.00 1// 14079644691  select count(*) num_enabled, s...
c3utnxsnrx8tk0.00200.040.00199.870.004.004.0010100000000.000.001.001.001/ 1/ 140796446914079644691 update obj$ set obj#=:4, type#...
g6px76dmjv1jy0.00200.04  -0.0087.00 1 2,406 2,406 0 0.00 1.00 1// 14079644691  select count(*) from wri$_opts...
20vv6ttajyjzq0.00200.040.00199.870.002.002.0019190000000.000.000.000.001/ 1/ 140796446914079644691 delete from access$ where d_ob...


Back to SQL Statistics
Back to Top

Top SQL Comparison by Physical Reads

 % Total Physical Reads Physical Reads per Exec #Executions Exec Time (ms) per Exec CPU Time (ms) per Exec I/O Time (ms) per Exec #Rows Processed per Exec #Plans Container DB Id  
SQL Id1st1st Total2nd2nd TotalDiff1st2nd1st2nd1st2nd1st2nd1st2nd1st2nd1st/2nd/Both1st2ndSQL Text
0qbzfjt00pbsx0.000.00  0.000.00 9 1 1 0 1.00  4079644691  BEGIN dbms_isched.log_dbms_out...
0smupm8p2dhq70.000.00  0.000.00 1 3 2 0 1.00 1// 14079644691  select count(*) num_windows, s...
1gfaj4z5hn1kf0.000.000.000.000.000.000.0019190000000.000.001/ 1/ 140796446914079644691 delete from dependency$ where ...
1k5c5twx2xr01  0.000.000.00 0.00 7 0 0 0 1.00  4079644691 insert into sys.scheduler$_job...
20vv6ttajyjzq0.000.000.000.000.000.000.0019190000000.000.001/ 1/ 140796446914079644691 delete from access$ where d_ob...
2ajc7pwz9jsx3  0.000.000.00 0.00 8 0 0 0 1.00/ 1/ 1 4079644691 select max(scn) from smon_scn_...
340chgpg8x78v0.000.00  0.000.00 1 0 0 0 1.00 1// 14079644691  select count(*) from optstat_h...
3cjmgxvhv3n2p100.00100.00100.00100.000.008.008.00111,068,672981,2461,056,034978,117000.000.00 40796446914079644691 DECLARE TYPE ID_t IS TABLE OF ...
3dbzmtf9ahvzt0.00100.000.00100.000.000.000.0026260000001.001.001/ 1/ 140796446914079644691 merge /* KSXM:OPTIM_DML_INF */...
3kqrku32p6sfn  0.00100.000.00 0.00 2 13 12 0 0.00/ 1/ 1 4079644691 MERGE /*+ OPT_PARAM('_parallel...
5pj6mtazkhmdd  0.00100.000.00 0.00 2 16 16 0 1.00  4079644691 BEGIN /* KSXM:FLUSH DML_MON */...
730vdzhng6m6g  0.00100.000.00 0.00 8 0 1 0 1.00/ 1/ 1 4079644691 update sys.scheduler$_job set ...
7am4w4pp3nwtm0.00100.000.00100.000.000.000.0018170000001.001.001/ 1/ 140796446914079644691 select count(*) from undo$
8kpwagy566cc6100.00200.00100.00200.000.000.000.007,313,8082,304,7330000001.001.00 40796446914079644691 INSERT INTO DELUDING_TAB VALUE...
9sg6u8xys290z0.00200.00  0.000.00 1 3 3 0 1.00 1// 14079644691  select count(*) num_enabled, s...


Back to SQL Statistics
Back to Top

Top SQL Comparison by UnOptimized Read Requests

 % Total UnOptimized Read Requests Read Requests per Exec Total Read Requests %Optimized Reads #Executions Exec Time (ms) per Exec CPU Time (ms) per Exec I/O Time (ms) per Exec #Rows Processed per Exec #Plans Container DB Id  
SQL Id1st1st Total2nd2nd TotalDiff1st2nd1st2nd1st2nd1st2nd1st2nd1st2nd1st2nd1st2nd1st/2nd/Both1st2ndSQL Text
0qbzfjt00pbsx0.000.00  0.000.00 0   9 1 1 0 1.00  4079644691  BEGIN dbms_isched.log_dbms_out...
0smupm8p2dhq70.000.00  0.000.00 0   1 3 2 0 1.00 1// 14079644691  select count(*) num_windows, s...
1gfaj4z5hn1kf0.000.000.000.000.000.000.0000  19190000000.000.001/ 1/ 140796446914079644691 delete from dependency$ where ...
1k5c5twx2xr01  0.000.000.00 0.00 0   7 0 0 0 1.00  4079644691 insert into sys.scheduler$_job...
20vv6ttajyjzq0.000.000.000.000.000.000.0000  19190000000.000.001/ 1/ 140796446914079644691 delete from access$ where d_ob...
2ajc7pwz9jsx3  0.000.000.00 0.00 0   8 0 0 0 1.00/ 1/ 1 4079644691 select max(scn) from smon_scn_...
340chgpg8x78v0.000.00  0.000.00 0   1 0 0 0 1.00 1// 14079644691  select count(*) from optstat_h...
3cjmgxvhv3n2p100.00100.00100.00100.000.008.008.00880.000.00111,068,672981,2461,056,034978,117000.000.00 40796446914079644691 DECLARE TYPE ID_t IS TABLE OF ...
3dbzmtf9ahvzt0.00100.000.00100.000.000.000.0000  26260000001.001.001/ 1/ 140796446914079644691 merge /* KSXM:OPTIM_DML_INF */...
3kqrku32p6sfn  0.00100.000.00 0.00 0   2 13 12 0 0.00/ 1/ 1 4079644691 MERGE /*+ OPT_PARAM('_parallel...
5pj6mtazkhmdd  0.00100.000.00 0.00 0   2 16 16 0 1.00  4079644691 BEGIN /* KSXM:FLUSH DML_MON */...
730vdzhng6m6g  0.00100.000.00 0.00 0   8 0 1 0 1.00/ 1/ 1 4079644691 update sys.scheduler$_job set ...
7am4w4pp3nwtm0.00100.000.00100.000.000.000.0000  18170000001.001.001/ 1/ 140796446914079644691 select count(*) from undo$
8kpwagy566cc6100.00200.00100.00200.000.000.000.00880.000.007,313,8082,304,7330000001.001.00 40796446914079644691 INSERT INTO DELUDING_TAB VALUE...
9sg6u8xys290z0.00200.00  0.000.00 0   1 3 3 0 1.00 1// 14079644691  select count(*) num_enabled, s...


Back to SQL Statistics
Back to Top

Top SQL Comparison by Executions

 #Executions/sec (DB time) #Executions Exec Time (ms) per Exec CPU Time (ms) per Exec I/O Time (ms) per Exec Physical Reads per Exec #Rows Processed per Exec #Plan Container DB Id  
SQL Id1st2ndDiff1st2nd1st2nd1st2nd1st2nd1st2nd1st2nd1st/2nd/Both1st2ndSQL Text
8kpwagy566cc66,856.232,348.62-4,507.627,313,8082,304,7330000000.000.001.001.00 40796446914079644691 INSERT INTO DELUDING_TAB VALUE...
b9c6ffh8tc71f 0.010.01 9 0 0 0 0.00 1.00  4079644691 BEGIN dbms_output.enable(NULL)...
0qbzfjt00pbsx0.01 -0.019 1 1 0 0.00 1.00  4079644691  BEGIN dbms_isched.log_dbms_out...
3dbzmtf9ahvzt0.020.030.0026260000000.000.001.001.001/ 1/ 140796446914079644691 merge /* KSXM:OPTIM_DML_INF */...
1gfaj4z5hn1kf0.020.020.0019190000000.000.000.000.001/ 1/ 140796446914079644691 delete from dependency$ where ...
20vv6ttajyjzq0.020.020.0019190000000.000.000.000.001/ 1/ 140796446914079644691 delete from access$ where d_ob...
gjaap3w3qbf8c0.030.030.0036340000000.000.001.001.001/ 1/ 140796446914079644691 select count(*) from ilmobj$ w...
c3utnxsnrx8tk0.010.010.0010100000000.000.001.001.001/ 1/ 140796446914079644691 update obj$ set obj#=:4, type#...
7am4w4pp3nwtm0.020.020.0018170000000.000.001.001.001/ 1/ 140796446914079644691 select count(*) from undo$
f3yqgm464ygss0.030.03-0.0036330000000.000.000.000.001/ 1/ 140796446914079644691 SELECT /*+ NO_STATEMENT_QUEUIN...
fjfm1sbw3k2y60.030.03-0.0036330000000.000.000.000.001/ 1/ 140796446914079644691 SELECT /*+ NO_STATEMENT_QUEUIN...


Back to SQL Statistics
Back to Top

Top SQL Comparison by Parse Calls

 % Total Parses Parses #Executions #Plans Container DB Id  
SQL Id1st1st Total2nd2nd TotalDiff1st2nd1st2nd1st/2nd/Both1st2ndSQL Text
b9c6ffh8tc71f  6.386.386.38 9 9  4079644691 BEGIN dbms_output.enable(NULL)...
0qbzfjt00pbsx6.346.34  -6.349 9  4079644691  BEGIN dbms_isched.log_dbms_out...
f3yqgm464ygss25.3531.6923.4029.79-1.95363336331/ 1/ 140796446914079644691 SELECT /*+ NO_STATEMENT_QUEUIN...
fjfm1sbw3k2y625.3557.0423.4053.19-1.95363336331/ 1/ 140796446914079644691 SELECT /*+ NO_STATEMENT_QUEUIN...
gjaap3w3qbf8c25.3582.3924.1177.30-1.24363436341/ 1/ 140796446914079644691 select count(*) from ilmobj$ w...
7am4w4pp3nwtm12.6895.0712.0689.36-0.62181718171/ 1/ 140796446914079644691 select count(*) from undo$
3dbzmtf9ahvzt18.31113.3818.44107.800.13262626261/ 1/ 140796446914079644691 merge /* KSXM:OPTIM_DML_INF */...
1gfaj4z5hn1kf13.38126.7613.48121.280.09191919191/ 1/ 140796446914079644691 delete from dependency$ where ...
20vv6ttajyjzq13.38140.1413.48134.750.09191919191/ 1/ 140796446914079644691 delete from access$ where d_ob...
c3utnxsnrx8tk6.34146.486.38141.130.049910101/ 1/ 140796446914079644691 update obj$ set obj#=:4, type#...
g4gp07gt2z9206.34152.826.38147.520.0499991/ 1/ 140796446914079644691 update sys.scheduler$_job set ...


Back to SQL Statistics
Back to Top

Top SQL Comparison by Sharable Memory

 % Total Sharable Memory Sharable Memory Used Sharable Memory Max #Executions Container DB Id  
SQL Id1st1st Total2nd2nd TotalDiff1st2nd1st2nd1st2nd1st2ndSQL Text
f705bwx3q0ydq0.050.05  -0.05777,548 777,548 1 4079644691  select count(*) from dba_autot...
9sg6u8xys290z0.030.07  -0.03422,753 422,753 1 4079644691  select count(*) num_enabled, s...
0smupm8p2dhq70.020.09  -0.02345,718 345,718 1 4079644691  select count(*) num_windows, s...
3kqrku32p6sfn  0.010.010.01 244,822 244,822 2 4079644691 MERGE /*+ OPT_PARAM('_parallel...
fs7h3cb49hs7s0.010.10  -0.0197,748 97,748 2 4079644691  select count(*) from stats_adv...
340chgpg8x78v0.010.11  -0.0185,028 85,028 1 4079644691  select count(*) from optstat_h...
g6px76dmjv1jy0.010.11  -0.0182,244 82,244 1 4079644691  select count(*) from wri$_opts...
b9c6ffh8tc71f  0.000.020.00 63,125 63,125 9 4079644691 BEGIN dbms_output.enable(NULL)...
730vdzhng6m6g  0.000.020.00 44,805 44,805 8 4079644691 update sys.scheduler$_job set ...
1k5c5twx2xr01  0.000.020.00 36,781 36,781 7 4079644691 insert into sys.scheduler$_job...
5pj6mtazkhmdd  0.000.030.00 32,646 32,646 2 4079644691 BEGIN /* KSXM:FLUSH DML_MON */...
c3utnxsnrx8tk0.010.120.010.030.00127,594127,594127,594127,594101040796446914079644691 update obj$ set obj#=:4, type#...
3dbzmtf9ahvzt0.010.130.010.040.00117,812117,812117,812117,812262640796446914079644691 merge /* KSXM:OPTIM_DML_INF */...
1gfaj4z5hn1kf0.000.130.000.040.0046,34446,34446,34446,344191940796446914079644691 delete from dependency$ where ...
20vv6ttajyjzq0.000.130.000.050.0046,34046,34046,34046,340191940796446914079644691 delete from access$ where d_ob...
g4gp07gt2z9200.000.130.000.050.0036,53736,53736,53736,5379940796446914079644691 update sys.scheduler$_job set ...


Back to SQL Statistics
Back to Top

Top SQL Comparison by Version Count

 Version Count Version Count Max #Executions Container DB Id  
SQL Id1st2ndDiff1st2nd1st2nd1st2ndSQL Text
fs7h3cb49hs7s12 -1212 2 4079644691  select count(*) from stats_adv...
340chgpg8x78v6 -66 1 4079644691  select count(*) from optstat_h...
f705bwx3q0ydq6 -66 1 4079644691  select count(*) from dba_autot...
b9c6ffh8tc71f 44 4 9 4079644691 BEGIN dbms_output.enable(NULL)...
0smupm8p2dhq73 -33 1 4079644691  select count(*) num_windows, s...
9sg6u8xys290z3 -33 1 4079644691  select count(*) num_enabled, s...
g6px76dmjv1jy3 -33 1 4079644691  select count(*) from wri$_opts...
1k5c5twx2xr01 22 2 7 4079644691 insert into sys.scheduler$_job...
3kqrku32p6sfn 22 2 2 4079644691 MERGE /*+ OPT_PARAM('_parallel...
5pj6mtazkhmdd 22 2 2 4079644691 BEGIN /* KSXM:FLUSH DML_MON */...
730vdzhng6m6g 22 2 8 4079644691 update sys.scheduler$_job set ...
1gfaj4z5hn1kf44044191940796446914079644691 delete from dependency$ where ...
20vv6ttajyjzq44044191940796446914079644691 delete from access$ where d_ob...
3dbzmtf9ahvzt44044262640796446914079644691 merge /* KSXM:OPTIM_DML_INF */...
7am4w4pp3nwtm22022181740796446914079644691 select count(*) from undo$
c3utnxsnrx8tk33033101040796446914079644691 update obj$ set obj#=:4, type#...


Back to SQL Statistics
Back to Top

Top SQL Comparison by Cluster Wait Time

 % Total Cluster Wait Cluster Wait Time (sec) Cluster Wait Time per Exec (sec) #Executions #Plans Container DB Id  
SQL Id1st1st Total2nd2nd TotalDiff1st2nd1st2nd1st2nd1st/2nd/Both1st2ndSQL Text
0qbzfjt00pbsx0.000.00  0.000.00 0.00 9  4079644691  BEGIN dbms_isched.log_dbms_out...
0smupm8p2dhq70.000.00  0.000.00 0.00 1 1// 14079644691  select count(*) num_windows, s...
1gfaj4z5hn1kf0.000.000.000.000.000.000.000.000.0019191/ 1/ 140796446914079644691 delete from dependency$ where ...
1k5c5twx2xr01  0.000.000.00 0.00 0.00 7  4079644691 insert into sys.scheduler$_job...
20vv6ttajyjzq0.000.000.000.000.000.000.000.000.0019191/ 1/ 140796446914079644691 delete from access$ where d_ob...
2ajc7pwz9jsx3  0.000.000.00 0.00 0.00 8/ 1/ 1 4079644691 select max(scn) from smon_scn_...
340chgpg8x78v0.000.00  0.000.00 0.00 1 1// 14079644691  select count(*) from optstat_h...
3cjmgxvhv3n2p0.000.000.000.000.000.000.000.000.0011 40796446914079644691 DECLARE TYPE ID_t IS TABLE OF ...
3dbzmtf9ahvzt0.000.000.000.000.000.000.000.000.0026261/ 1/ 140796446914079644691 merge /* KSXM:OPTIM_DML_INF */...
3kqrku32p6sfn  0.000.000.00 0.00 0.00 2/ 1/ 1 4079644691 MERGE /*+ OPT_PARAM('_parallel...
5pj6mtazkhmdd  0.000.000.00 0.00 0.00 2  4079644691 BEGIN /* KSXM:FLUSH DML_MON */...
730vdzhng6m6g  0.000.000.00 0.00 0.00 8/ 1/ 1 4079644691 update sys.scheduler$_job set ...
7am4w4pp3nwtm0.000.000.000.000.000.000.000.000.0018171/ 1/ 140796446914079644691 select count(*) from undo$
8kpwagy566cc60.000.000.000.000.000.000.000.000.007,313,8082,304,733 40796446914079644691 INSERT INTO DELUDING_TAB VALUE...
9sg6u8xys290z0.000.00  0.000.00 0.00 1 1// 14079644691  select count(*) num_enabled, s...


Back to SQL Statistics
Back to Top

IO Stats

Back to Top

IOStat by File Type

 Total Requests IOs per Sec Reads/s Writes/s Total MB MB per Sec Read MB/s Write MB/s Small Rd Svc Tm Large Rd Svc Tm
Filetype Name1st2nd%Diff1st2nd%Diff1st2nd1st2nd1st2nd%Diff1st2nd%Diff1st2nd1st2nd1st2nd1st2nd
Total1,035,364251,849-75.68968.85256.30-73.550.380.13968.47256.1710,8283,201-70.4410.133.26-67.820.000.0010.133.2627.03us.00ns .00ns
Data File1,035,364251,849-75.68968.85256.30-73.550.380.13968.47256.1710,8283,201-70.4410.133.26-67.820.000.0010.133.2627.03us.00ns .00ns


Back to IO Stats
Back to Top

Tablespace IO Stats

No data exists for this section of the report.

Back to IO Stats
Back to Top

Top File Comparison by IO

No data exists for this section of the report.

Back to IO Stats
Back to Top

Top File Comparison by Read Time

No data exists for this section of the report.

Back to IO Stats
Back to Top

Top File Comparison by Buffer Waits

No data exists for this section of the report.

Back to IO Stats
Back to Top

Undo Segment Summary

Num Undo Blocks (K)Number of TransactionsMax Qry Len (s)Max Tx ConcurcyMin/Max TR (mins)STO/ OOS uS/uR/uU/ eS/eR/eU
 0.000000/00/00/0/0/0/0/0
 0.000000/00/00/0/0/0/0/0



Back to Top

Latch Wait Time Breakdown

 Wait Time (cs) Get Requests Misses Spin Gets Sleeps % of Total Sleeps
Latch Name1st2ndDiff1st2nd1st2nd1st2nd1st2nd1st2ndDiff
space background task latch36,84910,500-26,34947639058232093914557.14280.00-277.14
undo global data-12,57512,57525,15012,364,750-12,522,136-78-34-44-57.1480.00137.14
undo global data12,575-12,575-25,150-10,691,48513,045,5797-73-34-457.14-80.00-137.14
undo global data12,5750-12,575-10,691,485522,07771314057.140.00-57.14
undo global data012,57512,5751,671,626-12,522,1360804040.0080.0080.00
undo global data12,5750-12,575-10,691,4851,36670304057.140.00-57.14
undo global data012,57512,5751,639-12,522,1360804040.0080.0080.00
redo allocation3,494500-2,99472,60729,034244442364282114.2940.00-74.29
object queue header operation7900-7905,988,8741,964,65023423233231014.290.00-14.29
session statistics6870-68773759820101014.290.00-14.29
simulator lru latch797199-5981,385,427410,38140238396376185.7120.00-65.71
active service list5680-568104,67996,1242051852028.570.00-28.57
shared pool1,0961,5404447,368,5692,343,0419903329853285471.4380.008.57
cache buffers chains0410410203,264,33864,137,232138136020.0040.0040.00
messages3570-35772,03038,2471241042028.570.00-28.57
lgwr LWN SCN3470-3478,8762,80840301014.290.00-14.29
cache buffers lru chain2430-2431,385,763411,71230027297273042.860.00-42.86
post/wait queue1130-1133,6422,50894841014.290.00-14.29
call allocation165254891,2071,0181761651114.2920.005.71
undo global data12,57512,5750-10,691,485-12,522,13678344457.1480.0022.86



Back to Top

init.ora Parameters

Back to Top

init.ora Parameters

 1st Period 2nd Period  
Parameter NameBegin Snap ValueEnd Snap ValueBegin Snap ValueEnd Snap ValuePDB Name
_ash_size 25165824   
audit_file_dest /u01/app/oracle/admin/orcl12c/ad   
audit_trail DB   
compatible 12.2.0   
connection_brokers ((TYPE=DEDICATED)(BROKERS=1)), (   
control_files /u01/app/oracle/oradata/orcl12c/   
db_block_size 8192   
db_name orcl12c   
db_recovery_file_dest /u01/app/oracle/fast_recovery_ar   
db_recovery_file_dest_size 5368709120   
diagnostic_dest /u01/app/oracle   
dispatchers (PROTOCOL=TCP) (SERVICE=orcl12cX   
enable_pluggable_database TRUE   
local_listener LISTENER_ORCL12C   
max_string_size EXTENDED   
nls_language AMERICAN   
nls_territory AMERICA   
open_cursors 300   
pga_aggregate_limit 6442450944   
pga_aggregate_target 3221225472   
plsql_warnings DISABLE:ALL   
processes 300   
remote_login_passwordfile EXCLUSIVE   
sga_max_size 10737418240   
sga_target 0  ORCL
sga_target 10737418240   
shared_pool_size 0  ORCL
shared_pool_size 2147483648   
shared_servers 25   
undo_tablespace UNDOTBS1  ORCL
undo_tablespace UNDOTBS2   


Back to init.ora Parameters
Back to Top

init.ora Multi-Valued Parameters

 1st Period 2nd Period
Parameter NameBegin Snap ValueEnd Snap ValueBegin Snap ValuePDB Name
control_files  /u01/app/oracle/fast_recovery_area/orcl12c/control02.ctl   
  /u01/app/oracle/oradata/orcl12c/control01.ctl   


Back to init.ora Parameters
Back to Top

Complete List of SQL Text

SQL IdSQL Text
0qbzfjt00pbsxBEGIN dbms_isched.log_dbms_output( :logid, :errs, :outputWasEnabled ); END;
0smupm8p2dhq7select count(*) num_windows, sum(case when jobs_started<>jobs_completed then 1 else 0 end) num_jobs_incomplete from dba_autotask_client_history where client_name = 'auto optimizer stats collection'
1gfaj4z5hn1kfdelete from dependency$ where d_obj#=:1
1k5c5twx2xr01insert into sys.scheduler$_job_run_details (log_id, log_date, req_start_date, start_date, run_duration, instance_id, session_id, slave_pid, cpu_used, error#, additional_info) values (:1, SYSTIMESTAMP, :2, :3, :4, :5, :6, :7, numtodsinterval(:8/100, 'second'), :9, :10)
20vv6ttajyjzqdelete from access$ where d_obj#=:1
2ajc7pwz9jsx3select max(scn) from smon_scn_time
340chgpg8x78vselect count(*) from optstat_hist_control$ where sname = :1 and spare4 = :2
3cjmgxvhv3n2p DECLARE TYPE ID_t IS TABLE OF deluding_tab.id%TYPE INDEX BY PLS_INTEGER; TYPE FOO_t IS TABLE OF deluding_tab.foo%TYPE INDEX BY PLS_INTEGER; TYPE BAR_t IS TABLE OF deluding_tab.bar%TYPE INDEX BY PLS_INTEGER; TYPE FOOBAR_t IS TABLE OF deluding_tab.foobar%TYPE INDEX BY PLS_INTEGER; TYPE TYPECODE_t IS TABLE OF deluding_tab.type_code%TYPE INDEX BY PLS_INTEGER; TYPE VALBEGIN_DATE_t IS TABLE OF deluding_tab.validated_begin_date%TYPE INDEX BY PLS_INTEGER; TYPE VALEND_DATE_t IS TABLE OF deluding_tab.validated_end_date%TYPE INDEX BY PLS_INTEGER; IDs ID_t; FOOs FOO_t; BARs BAR_t; FOOBARs FOOBAR_t; TYPECODEs TYPECODE_t; VALBEGIN_DATEs VALBEGIN_DATE_t; VALEND_DATEs VALEND_DATE_t; k PLS_INTEGER := 1; BEGIN FOR i IN 1..8000000 LOOP IDs(k) := TO_CHAR(i, 'FM0000000000000000'); FOOs(k) := 'FOO-'||IDs(k); BARs(k) := RPAD('BAR-'||IDs(k), 320, '-'); FOOBARs(k) := RPAD('FOOBAR-'||IDs(k), 500, '*'); TYPEC ODEs(k) := TO_CHAR(MOD(i, 3), 'FM000'); VALBEGIN_DATEs(k) := TO_DATE('20180101', 'yyyymmdd'); --??????????????????????????? VALEND_DATEs(k) := TO_DATE('20180630', 'yyyymmdd'); --??????????????????????????? k := k + 1; IF MOD(i, 1000) = 0 THEN FOR l in 1..1000 LOOP INSERT INTO deluding_tab VALUES( IDs(l) , FOOs(l) , BARs(l) , FOOBARs(l) , TYPECODEs(l) , VALBEGIN_DATEs(l) , VALEND_DATEs(l) ); END LOOP; COMMIT; k := 1; END IF; END LOOP; END;
3dbzmtf9ahvzt merge /* KSXM:OPTIM_DML_INF */ into sys.mon_mods_all$ 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 = decode(:reset, 1, 0, inserts) + :ins, updates = decode(:reset, 1, 0, updates) + :upd, deletes = decode(:reset, 1, 0, deletes) + :del, flags = decode(:reset, 1, 0, flags - bitand(flags, :flag)) + :flag, drop_segments = decode(:reset, 1, 0, drop_segments) + :dropseg, timestamp = :time when NOT matched then insert (obj#, inserts, updates, deletes, timestamp, flags, drop_segments) values (:objn, :ins, :upd, :del, :time, :flag, :dropseg) where :ins != 0 or :upd != 0 or :del != 0 or :flag != 0 or :dropseg !=0
3kqrku32p6sfn MERGE /*+ OPT_PARAM('_parallel_syspls_obey_force' 'false') */ INTO OPTSTAT_USER_PREFS$ D USING ( SELECT * FROM (SELECT O.OBJ#, SYSTIMESTAMP CHGTIME, ROUND(MAX(S.DELTA_READ_IO_BYTES/S.DELTA_TIME), 3) SCANRATE FROM GV$ACTIVE_SESSION_HISTORY S, GV$SQL_PLAN P, OBJ$ O, USER$ U WHERE S.INST_ID = P.INST_ID AND S.SQL_ID = P.SQL_ID AND S.SQL_PLAN_HASH_VALUE = P.PLAN_HASH_VALUE AND S.SQL_PLAN_LINE_ID = P.ID AND P.OBJECT_NAME = O.NAME AND (:B4 IS NULL OR O.OBJ# = :B4 ) AND O.OWNER# = U.USER# AND P.OBJECT_OWNER = U.NAME AND O.TYPE# = 2 AND S.CON_ID = SYS_CONTEXT('userenv', 'con_id') AND P.CON_ID = SYS_CONTEXT('userenv', 'con_id') AND S.SQL_PLAN_OPERATION = 'TABLE ACCESS' AND P.OPERATION = 'TABLE ACCESS' AND S.DELTA_TIME > 0 AND S.DELTA_READ_IO_BYTES > 0 AND FROM_TZ(S.SAMPLE_TIME, :B3 ) > :B2 AND (:B1 = 'ON' OR (:B1 = 'HADOOP_ONLY' AND EXISTS ( SELECT NULL FROM SYS.EXTERNAL_TAB$ ET WHERE ET.OBJ# = O.OBJ# AND TYPE$ IN ('ORACLE_HIVE', 'ORACLE_HDFS', 'ORACLE_BIGDATA')))) GROUP BY O .OBJ#) C WHERE NOT EXISTS (SELECT NULL FROM OPTSTAT_USER_PREFS$ PR WHERE PNAME = 'SCAN_RATE' AND C.OBJ# = PR.OBJ# AND (PR.SPARE1 IS NULL OR C.SCANRATE <= TO_NUMBER(PR.VALCHAR))) ) SRC ON (D.OBJ#=SRC.OBJ# AND D.PNAME = 'SCAN_RATE') WHEN MATCHED THEN UPDATE SET D.VALCHAR= TO_CHAR(SRC.SCANRATE), D.CHGTIME=SRC.CHGTIME, D.SPARE1=1 WHEN NOT MATCHED THEN INSERT (OBJ#, PNAME, VALCHAR, CHGTIME, SPARE1) VALUES(SRC.OBJ#, 'SCAN_RATE', TO_CHAR(SRC.SCANRATE), SRC.CHGTIME, 1)
5pj6mtazkhmddBEGIN /* KSXM:FLUSH DML_MON */ dbms_stats_internal.gather_scan_rate_by_mmon; END;
730vdzhng6m6gupdate sys.scheduler$_job set next_run_date = :1, last_end_date = :2, retry_count = :3, run_count = :4, running_instance = :5, running_slave = :6, job_status = :7 where obj# = :8
7am4w4pp3nwtmselect count(*) from undo$
8kpwagy566cc6INSERT INTO DELUDING_TAB VALUES( :B1 , :B2 , :B3 , :B4 , :B5 , :B6 , :B7 )
9sg6u8xys290zselect count(*) num_enabled, sum(case optimizer_stats when 'ENABLED' then 1 else 0 end) stats_enabled from dba_autotask_window_clients where autotask_status = 'ENABLED'
b9c6ffh8tc71fBEGIN dbms_output.enable(NULL); END;
c3utnxsnrx8tkupdate 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, dflcollid=decode(:20, 0, null, :20), creappid=:21, creverid=:22, modappid=:23, modverid=:24, crepatchid=:25, modpatchid=:26 where owner#=:1 and name=:2 and namespace=:3 and remoteowner is null and linkname is null and subname is null
f3yqgm464ygssSELECT /*+ NO_STATEMENT_QUEUING RESULT_CACHE (SYSOBJ=FALSE) */ JOB, LAST_DATE, THIS_DATE, NEXT_DATE, FIELD1 FROM "SYS"."JOB$_REDUCED" "JOB$_REDUCED" WHERE 1=1
f705bwx3q0ydqselect count(*) from dba_autotask_window_clients c, (select window_name, max(log_date) max_log_date from dba_scheduler_window_log where operation = 'OPEN' group by window_name) wo, (select window_name, max(log_date) max_log_date from dba_scheduler_window_log where operation = 'CLOSE' group by window_name) wc where c.window_name = wo.window_name and c.optimizer_stats = 'ENABLED' and wo.window_name = wc.window_name and wo.max_log_date < wc.max_log_date and wc.window_name not in (select h.window_name from dba_autotask_job_history h where h.client_name = 'auto optimizer stats collection' and h.job_start_time between wo.max_log_date and wc.max_log_date)
fjfm1sbw3k2y6SELECT /*+ NO_STATEMENT_QUEUING RESULT_CACHE (SYSOBJ=FALSE) */ JOB, NEXT_DATE, FIELD1 FROM "SYS"."JOB$_REDUCED" "JOB$_REDUCED" WHERE 1=1
fs7h3cb49hs7sselect count(*) from stats_advisor_filter_obj$ where rule_id = :rule_id and type = :type_expanded
g4gp07gt2z920update sys.scheduler$_job set last_start_date = :1, running_instance = :2, running_slave = :3, job_status = :4 where obj# = :5
g6px76dmjv1jyselect count(*) from wri$_optstat_opr o, wri$_optstat_opr_tasks t where o.id = t.op_id(+) and o.operation = 'gather_database_stats (auto)' and (not regexp_like( extract(xmltype('<notes>' || o.notes || '</notes>'), '//error'), '^<error>ORA-200[0-9][0-9]') or not regexp_like( extract(xmltype('<notes>' || t.notes || '</notes>'), '//error'), '^<error>ORA-200[0-9][0-9]'))
gjaap3w3qbf8cselect count(*) from ilmobj$ where rownum = 1


Back to Top