Hi Experts,
I have question regarding performance issue. I have an sql, this taking 1hr time same query if i executed for secord time immediatly on same session it is running for a long time and i am killing that session after some time.
Below are the top 5 events from statspacks report for query, first time and second time
First time
------------
Top 5 Timed Events
~~~~~~~~~~~~~~~~~~ % Total
Event Waits Time (s) Call Time
--------------------------
----------
-------- ------------ ----------- ---------
db file sequential read 414,555 3,030 92.57
CPU time 106 3.23
control file parallel write 1,078 68 2.06
control file sequential read 3,998 22 .66
log file parallel write 510 19 .58
--------------------------
----------
----------
----------
-----
Second time for same query
--------------------------
------
Event Waits Time (s) Call Time
--------------------------
----------
-------- ------------ ----------- ---------
direct path read temp 4,072,814 4,573 57.57
db file sequential read 420,462 2,865 36.06
control file parallel write 4,576 257 3.23
CPU time 101 1.27
log file parallel write 1,759 52 .66
Here temporary tablespace is having space of 15 GB. Here i would like to request your solution, how to fix this issue.
Below are the issue for same query
--------------------------
----------
----
1) Query is taking 1hr time. i want to reduce the time as much as possiable. Could you please suggest some solution to optimize the query and what hints should i use in query.
2) As as said, when ever i will execute query time should same for all the times.
3) FYI, in query X_INFO_LE table is having million of records, Here is the actual performance issue. For selected invoice there 4.5 million records.
SQL query
------------
SELECT
UNE_DUP_LOOP.ORIGINATING_C
OMPANY_COD
E,
UNE_DUP_LOOP.ACNT_NUM,
TO_CHAR(UNE_DUP_LOOP.BILL_
DT, 'MM/DD/YYYY') AS BILL_DT,
UNE_DUP_LOOP.INV_NUM AS INVOICE_NUMBER,
UNE_DUP_LOOP.PS_FORMAT_DES
C,
UNE_DUP_LOOP.SUP_PS_ID AS CIRCUIT_ID,
UNE_DUP_LOOP.WTN,
TO_CHAR(UNE_DUP_LOOP.SERVI
CE_ESTABLI
SHED_DT, 'MM/DD/YYYY') AS SED,
UNE_DUP_LOOP.USOC,
UNE_DUP_LOOP.USOC_DESCRIPT
ION,
UNE_DUP_LOOP.JUR_IND,
UNE_DUP_LOOP.JURISDICTION,
UNE_DUP_LOOP.PCT,
UNE_DUP_LOOP.USOC_QUANTITY
,
TRIM(TO_CHAR(UNE_DUP_LOOP.
INITIAL_RA
TE, '999,999,999,999,999.99'))
AS INITIAL_RATE,
TRIM(TO_CHAR(UNE_DUP_LOOP.
UNIT_RATE,
'999,999,999,999,999.99'))
AS UNIT_RATE,
UNE_DUP_LOOP.LOCAL_ADDITIO
NAL_USOC_A
MT AS MONTHLY_BILL_AMOUNT,
UNE_DUP_LOOP.LOCAL_ADDITIO
NAL_USOC_A
MT AS EXCEPTION_AMOUNT,
UNE_DUP_LOOP.DUP_USOC AS DUPLICATE_USOC,
UNE_DUP_LOOP.DUP_AMT AS DUPLICATE_USOC_AMOUNT,
UNE_DUP_LOOP.PS_LISTING_SL
_SYS_ID,
UNE_DUP_LOOP.INV_INFO_SUM_
SYS_ID,
UNE_DUP_LOOP.PS_ELEMENT_JU
R_LE_SYS_I
D
FROM
(
WITH SUMMARY
AS
(
SELECT /*+ USE_NL(TN_DATA,PES) */
DISTINCT
CSR.ORIGINATING_COMPANY_CO
DE,
CSR.ACNT_NUM,
CSR.BILL_DT,
CSR.INV_NUM,
PLS.PS_FORMAT_DESC,
PLS.SUP_PS_ID,
--REPLACE(TRANSLATE(NVL(TN
_DATA.X_IN
FO_VALUE,P
LS.SUP_PS_
ID),'/-', ' '),' ') AS WTN,
REPLACE(TRANSLATE(TN_DATA.
X_INFO_VAL
UE,'/-', ' '),' ')AS WTN,
PES.SERVICE_ESTABLISHED_DT
,
PES.USOC,
UERVAL.USOC_DESCRIPTION,
PEJ.JUR_IND,
(SELECT DESCRIP FROM REFVAL WHERE REFVAL_OBJ_NAME='JURISDICT
ION'
AND REFVAL_CODE=PEJ.JUR_IND) AS JURISDICTION,
PEJ.PCT,
PEL.USOC_QUANTITY,
UERVAL.AUDIT_USOC_CAT_ID,
PEJ.INITIAL_RATE,
PEJ.UNIT_RATE,
PEJ.LOCAL_ADDITIONAL_USOC_
AMT,
PLS.PS_LISTING_SL_SYS_ID,
CSR.INV_INFO_SUM_SYS_ID,
PEJ.PS_ELEMENT_JUR_LE_SYS_
ID,
CSR.CSR_ACNT_HDR_SYS_ID
FROM
CSR_ACNT_HDR CSR,
PS_LISTING_SL PLS,
PS_ELEMENT_SL PES,
(SELECT X_INFO_LE.SRC_SYS_ID, X_INFO_LE.X_INFO_VALUE
FROM X_INFO_LE,
CSR_ACNT_HDR CSR
WHERE X_INFO_LE.X_INFO like '%TN%'
and CSR.CSR_ACNT_HDR_SYS_ID = X_INFO_LE.CSR_ACNT_HDR_SYS
_ID
and CSR.INV_INFO_SUM_SYS_ID = '252160306444266'
AND CSR.TYPE_OF_ACNT = 'J'
) TN_DATA,
PS_ELEMENT_LI PEL,
PS_ELEMENT_JUR_LE PEJ,
USOC_ELE_REF_VAL UERVAL
WHERE
CSR.CSR_ACNT_HDR_SYS_ID = PLS.CSR_ACNT_HDR_SYS_ID
AND PLS.PS_LISTING_SL_SYS_ID = PES.SRC_ID
AND PES.PS_ELEMENT_SL_SYS_ID = PEL.PS_ELEMENT_SL_SYS_ID
AND PEL.PS_ELEMENT_LI_SYS_ID = PEJ.PS_ELEMENT_LI_SYS_ID
AND PES.PS_ELEMENT_SL_SYS_ID = TN_DATA.SRC_SYS_ID
--AND PES.PS_ELEMENT_SL_SYS_ID = TN_DATA.SRC_SYS_ID (+)
AND PES.USOC= UERVAL.USOC
AND UERVAL.AUDIT_USOC_CAT_ID='
20'
--temporarily added the below line instead of cat_id = '20', the tags are not updated in the Broadview environment
--AND UERVAL.AUDIT_USOC_CAT_ID='
99'
AND CSR.TYPE_OF_ACNT = 'J'
and CSR.INV_INFO_SUM_SYS_ID = '252160306444266'
AND PEJ.LOCAL_ADDITIONAL_USOC_
AMT > 0
-- For testing WTN='5166216264'
--AND REPLACE(TRANSLATE(NVL(TN_D
ATA.X_INFO
_VALUE,PLS
.SUP_PS_ID
),'/-', ' '),' ')='5166216264'
)
SELECT
SETB.ORIGINATING_COMPANY_C
ODE,
SETB.ACNT_NUM,
SETB.BILL_DT,
SETB.INV_NUM,
SETB.PS_FORMAT_DESC,
SETB.SUP_PS_ID,
SETB.WTN,
SETB.SERVICE_ESTABLISHED_D
T,
SETB.USOC,
SETA.USOC AS DUP_USOC,
SETB.USOC_DESCRIPTION,
SETB.JUR_IND,
SETB.JURISDICTION,
SETB.PCT,
SETB.USOC_QUANTITY,
SETB.AUDIT_USOC_CAT_ID,
SETB.INITIAL_RATE,
SETB.UNIT_RATE,
SETB.LOCAL_ADDITIONAL_USOC
_AMT,
SETA.LOCAL_ADDITIONAL_USOC
_AMT AS DUP_AMT,
SETB.PS_LISTING_SL_SYS_ID,
SETB.INV_INFO_SUM_SYS_ID,
SETB.PS_ELEMENT_JUR_LE_SYS
_ID
FROM
(SELECT SETA1.ORIGINATING_COMPANY_
CODE,
SETA1.ACNT_NUM,
SETA1.BILL_DT,
SETA1.INV_NUM,
SETA1.PS_FORMAT_DESC,
SETA1.SUP_PS_ID,
SETA1.WTN,
SETA1.SERVICE_ESTABLISHED_
DT,
SETA1.USOC,
SETA1.USOC_DESCRIPTION,
SETA1.JUR_IND,
SETA1.JURISDICTION,
SETA1.PCT,
SETA1.USOC_QUANTITY,
SETA1.AUDIT_USOC_CAT_ID,
SETA1.INITIAL_RATE,
SETA1.UNIT_RATE,
SETA1.LOCAL_ADDITIONAL_USO
C_AMT,
SETA1.PS_LISTING_SL_SYS_ID
,
SETA1.INV_INFO_SUM_SYS_ID,
SETA1.PS_ELEMENT_JUR_LE_SY
S_ID,
ROW_NUMBER() OVER (PARTITION BY SETA1.INV_INFO_SUM_SYS_ID,
SETA1.WTN,
SETA1.AUDIT_USOC_CAT_ID,
SETA1.JUR_IND
ORDER BY SETA1.SERVICE_ESTABLISHED_
DT) ORG_RECORD
FROM SUMMARY SETA1) SETA,
(SELECT SETB1.ORIGINATING_COMPANY_
CODE,
SETB1.ACNT_NUM,
SETB1.BILL_DT,
SETB1.INV_NUM,
SETB1.PS_FORMAT_DESC,
SETB1.SUP_PS_ID,
SETB1.WTN,
SETB1.SERVICE_ESTABLISHED_
DT,
SETB1.USOC,
SETB1.USOC_DESCRIPTION,
SETB1.JUR_IND,
SETB1.JURISDICTION,
SETB1.PCT,
SETB1.USOC_QUANTITY,
SETB1.AUDIT_USOC_CAT_ID,
SETB1.INITIAL_RATE,
SETB1.UNIT_RATE,
SETB1.LOCAL_ADDITIONAL_USO
C_AMT,
SETB1.PS_LISTING_SL_SYS_ID
,
SETB1.INV_INFO_SUM_SYS_ID,
SETB1.PS_ELEMENT_JUR_LE_SY
S_ID,
ROW_NUMBER() OVER (PARTITION BY SETB1.INV_INFO_SUM_SYS_ID,
SETB1.WTN,
SETB1.AUDIT_USOC_CAT_ID,
SETB1.JUR_IND
ORDER BY SETB1.SERVICE_ESTABLISHED_
DT) DUP_RECORD
FROM SUMMARY SETB1) SETB
WHERE
SETA.ORG_RECORD=1 AND
SETB.DUP_RECORD>1 AND
SETA.originating_company_c
ode = SETB.originating_company_c
ode
AND SETA.INV_INFO_SUM_SYS_ID = SETB.INV_INFO_SUM_SYS_ID
AND SETA.WTN = SETB.WTN
AND SETA.JUR_IND=SETB.JUR_IND
AND SETA.SUP_PS_ID = SETB.SUP_PS_ID
--AND SETA.CSR_ACNT_HDR_SYS_ID='
2758324219
73673'
--AND SETB.CSR_ACNT_HDR_SYS_ID='
2758324219
73673'
) UNE_DUP_LOOP
ORDER BY
UNE_DUP_LOOP.SUP_PS_ID,
UNE_DUP_LOOP.WTN,
UNE_DUP_LOOP.USOC,
UNE_DUP_LOOP.JUR_IND
Optimizer plan
-----------------
SELECT STATEMENT, GOAL = ALL_ROWS Cost=3533 Cardinality=1 Bytes=501
SORT ORDER BY Cost=3533 Cardinality=1 Bytes=501
VIEW Object owner=MCI Cost=3532 Cardinality=1 Bytes=501
TEMP TABLE TRANSFORMATION
LOAD AS SELECT
SORT UNIQUE Cost=3526 Cardinality=1 Bytes=361
TABLE ACCESS BY INDEX ROWIDObject owner=MCI Object name=X_INFO_LE Cost=4 Cardinality=1 Bytes=41
NESTED LOOPS Cost=3525 Cardinality=1 Bytes=361
MERGE JOIN CARTESIAN Cost=3521 Cardinality=1 Bytes=320
TABLE ACCESS BY INDEX ROWID Object owner=MCI Object name=PS_ELEMENT_JUR_LE Cost=5 Cardinality=1 Bytes=45
NESTED LOOPS Cost=3515 Cardinality=2 Bytes=570
NESTED LOOPS Cost=3500 Cardinality=3 Bytes=720
HASH JOIN Cost=3488 Cardinality=3 Bytes=615
TABLE ACCESS FULL Object owner=MCI Object name=USOC_ELE_REF_VAL Cost=37 Cardinality=300 Bytes=11100
TABLE ACCESS BY INDEX ROWID Object owner=MCI Object name=PS_ELEMENT_SL Cost=113 Cardinality=8 Bytes=312
NESTED LOOPS Cost=3450 Cardinality=172 Bytes=28896
NESTED LOOPS Cost=963 Cardinality=22 Bytes=2838
TABLE ACCESS BY INDEX ROWID Object owner=MCI Object name=CSR_ACNT_HDR Cost=4 Cardinality=1 Bytes=78
INDEX RANGE SCAN Object owner=MCI Object name=IND_CSR_ACNT_HDR_INV_
INFO_SUM Cost=3 Cardinality=1
TABLE ACCESS BY INDEX ROWID Object owner=MCI Object name=PS_LISTING_SL Cost=959 Cardinality=1036 Bytes=52836
INDEX RANGE SCAN Object owner=MCI Object name=IND_PS_LISTING_SL_CSR
_SYS_ID Cost=181 Cardinality=1036
INDEX RANGE SCAN Object owner=MCI Object name=IND_PS_ELEM_SL_SRC_ID
Cost=18 Cardinality=8
TABLE ACCESS BY INDEX ROWID Object owner=MCI Object name=PS_ELEMENT_LI Cost=4 Cardinality=1 Bytes=35
INDEX RANGE SCAN Object owner=MCI Object name=IND_PS_ELEMENT_LI_PS_
ELEMEN Cost=3 Cardinality=1
INDEX RANGE SCAN Object owner=MCI Object name=IND_PS_ELEMENT_JUR_L_
PS_ELEMEN Cost=3 Cardinality=1
BUFFER SORT Cost=3516 Cardinality=1 Bytes=35
TABLE ACCESS BY INDEX ROWID Object owner=MCI Object name=CSR_ACNT_HDR Cost=3 Cardinality=1 Bytes=35
INDEX RANGE SCAN Object owner=MCI Object name=IND_CSR_ACNT_HDR_INV_
INFO_SUM Cost=2 Cardinality=1
INDEX RANGE SCAN Object owner=MCI Object name=IND_X_INFO_LE_SRC_SYS
_ID Cost=3 Cardinality=7
HASH JOIN Cost=7 Cardinality=1 Bytes=708
VIEW Object owner=MCI Cost=3 Cardinality=1 Bytes=214
WINDOW SORT PUSHED RANK Cost=3 Cardinality=1 Bytes=223
VIEW Object owner=MCI Cost=2 Cardinality=1 Bytes=223
TABLE ACCESS FULL Object owner=SYS Object name=SYS_TEMP_0FD9D666E_20
1B01EA Cost=2 Cardinality=1 Bytes=361
VIEW Object owner=MCI Cost=3 Cardinality=1 Bytes=494
WINDOW SORT Cost=3 Cardinality=1 Bytes=494
VIEW Object owner=MCI Cost=2 Cardinality=1 Bytes=494
TABLE ACCESS FULL Object owner=SYS Object name=SYS_TEMP_0FD9D666E_20
1B01EA Cost=2 Cardinality=1 Bytes=361
Statspack Report
--------------------
STATSPACK report for
DB Name DB Id Instance Inst Num Release RAC Host
------------ ----------- ------------ -------- ----------- --- ----------------
OTA 1403907250 ota 1 10.1.0.2.0 NO OTA1
Snap Id Snap Time Sessions Curs/Sess Comment
--------- ------------------ -------- --------- -------------------
Begin Snap: 2 24-May-06 03:58:25 33 4.4
End Snap: 4 24-May-06 04:54:07 34 4.8
Elapsed: 55.70 (mins)
Cache Sizes (end)
~~~~~~~~~~~~~~~~~
Buffer Cache: 560M Std Block Size: 8K
Shared Pool Size: 208M Log Buffer: 512K
Load Profile
~~~~~~~~~~~~ Per Second Per Transaction
--------------- ---------------
Redo size: 1,982.09 22,841.86
Logical reads: 1,878.02 21,642.54
Block changes: 12.20 140.62
Physical reads: 136.14 1,568.88
Physical writes: 13.08 150.77
User calls: 0.18 2.07
Parses: 0.87 10.03
Hard parses: 0.13 1.50
Sorts: 0.56 6.46
Logons: 0.02 0.20
Executes: 1.86 21.40
Transactions: 0.09
% Blocks changed per Read: 0.65 Recursive Call %: 98.23
Rollback per transaction %: 2.76 Rows per Sort: 771.16
Instance Efficiency Percentages (Target 100%)
~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
~~~~~~~~~
Buffer Nowait %: 100.00 Redo NoWait %: 99.98
Buffer Hit %: 93.20 In-memory Sort %: 99.84
Library Hit %: 95.22 Soft Parse %: 85.01
Execute to Parse %: 53.13 Latch Hit %: 100.00
Parse CPU to Parse Elapsd %: 3.19 % Non-Parse CPU: 99.61
Shared Pool Statistics Begin End
------ ------
Memory Usage %: 93.56 93.59
% SQL with executions>1: 79.29 76.05
% Memory for SQL w/exec>1: 41.09 40.37
Top 5 Timed Events
~~~~~~~~~~~~~~~~~~ % Total
Event Waits Time (s) Call Time
--------------------------
----------
-------- ------------ ----------- ---------
db file sequential read 414,555 3,030 92.57
CPU time 106 3.23
control file parallel write 1,078 68 2.06
control file sequential read 3,998 22 .66
log file parallel write 510 19 .58
--------------------------
----------
----------
----------
-----
Wait Events DB/Inst: OTA/ota Snaps: 2-4
-> s - second
-> cs - centisecond - 100th of a second
-> ms - millisecond - 1000th of a second
-> us - microsecond - 1000000th of a second
-> ordered by wait time desc, waits desc (idle events last)
Avg
Total Wait wait Waits
Event Waits Timeouts Time (s) (ms) /txn
--------------------------
-- ------------ ---------- ---------- ------ --------
db file sequential read 414,555 0 3,030 7 1,429.5
control file parallel write 1,078 0 68 63 3.7
control file sequential read 3,998 0 22 5 13.8
log file parallel write 510 0 19 37 1.8
class slave wait 2 2 10 5116 0.0
log file sync 60 1 5 87 0.2
log file switch completion 4 3 4 901 0.0
process startup 5 3 3 679 0.0
direct path read temp 2,517 0 3 1 8.7
db file parallel write 576 0 2 3 2.0
log file sequential read 2 0 1 587 0.0
db file scattered read 406 0 1 2 1.4
direct path write temp 1,296 0 0 0 4.5
direct path read 46 0 0 1 0.2
latch: shared pool 5,899 0 0 0 20.3
latch: redo writing 5,364 0 0 0 18.5
latch: cache buffers chains 2 2 0 3 0.0
log buffer space 1 0 0 2 0.0
control file single write 5 0 0 0 0.0
latch: library cache 589 0 0 0 2.0
SQL*Net break/reset to clien 4 0 0 0 0.0
log file single write 2 0 0 0 0.0
direct path write 46 0 0 0 0.2
LGWR wait for redo copy 15 0 0 0 0.1
latch free 154 0 0 0 0.5
latch: object queue header o 91 0 0 0 0.3
SQL*Net more data to client 6 0 0 0 0.0
virtual circuit status 111 111 3,340 30090 0.4
jobq slave wait 1,082 1,027 3,313 3062 3.7
Queue Monitor Wait 108 108 3,303 30583 0.4
wakeup time manager 15 15 2,617 ###### 0.1
SQL*Net message from client 313 0 1,830 5848 1.1
SQL*Net message to client 314 0 0 0 1.1
SQL*Net more data from clien 45 0 0 0 0.2
--------------------------
----------
----------
----------
-----
Background Wait Events DB/Inst: OTA/ota Snaps: 2-4
-> ordered by wait time desc, waits desc (idle events last)
Avg
Total Wait wait Waits
Event Waits Timeouts Time (s) (ms) /txn
--------------------------
-- ------------ ---------- ---------- ------ --------
control file parallel write 1,078 0 68 63 3.7
log file parallel write 511 0 19 37 1.8
control file sequential read 32 0 5 155 0.1
process startup 5 3 3 679 0.0
db file parallel write 576 0 2 3 2.0
log file sequential read 2 0 1 587 0.0
db file sequential read 35 0 0 9 0.1
direct path read 46 0 0 1 0.2
latch: shared pool 5,899 0 0 0 20.3
latch: redo writing 1,062 0 0 0 3.7
control file single write 5 0 0 0 0.0
latch: library cache 589 0 0 0 2.0
log file single write 2 0 0 0 0.0
direct path write 46 0 0 0 0.2
LGWR wait for redo copy 15 0 0 0 0.1
latch: object queue header o 91 0 0 0 0.3
rdbms ipc message 9,585 9,240 24,970 2605 33.1
Queue Monitor Wait 108 108 3,303 30583 0.4
smon timer 11 11 3,177 ###### 0.0
wakeup time manager 15 15 2,617 ###### 0.1
--------------------------
----------
----------
----------
-----
Wait Event Histogram DB/Inst: OTA/ota Snaps: 2-4
-> ordered by event (idle events last)
Event
--------------------------
----------
----------
----
0 - 1 ms 1 - 4 ms 4 - 8 ms 8 - 16 ms 16 - 32 ms 32+ ms
------------ ------------ ------------ ------------ ------------ ------------
LGWR wait for redo copy
15 0 0 0 0 0
SQL*Net break/reset to client
4 0 0 0 0 0
SQL*Net more data to client
6 0 0 0 0 0
class slave wait
0 0 0 0 0 2
control file parallel write
574 133 68 58 85 160
control file sequential read
3,545 217 107 38 20 71
control file single write
5 0 0 0 0 0
db file parallel write
372 125 51 9 8 11
db file scattered read
331 29 20 21 4 1
db file sequential read
154,848 74,268 131,429 27,701 14,291 12,017
direct path read
42 0 2 1 1 0
direct path read temp
2,116 172 131 77 15 6
direct path write
46 0 0 0 0 0
direct path write temp
1,273 13 2 4 2 2
latch free
154 0 0 0 0 0
latch: cache buffers chains
1 0 1 0 0 0
latch: library cache
589 0 0 0 0 0
latch: object queue header operation
91 0 0 0 0 0
latch: redo writing
5,364 0 0 0 0 0
latch: shared pool
5,899 0 0 0 0 0
log buffer space
0 1 0 0 0 0
log file parallel write
327 86 16 20 17 44
log file sequential read
0 0 0 0 0 2
log file single write
2 0 0 0 0 0
log file switch completion
0 0 0 0 0 4
log file sync
31 7 4 1 3 14
process startup
Wait Event Histogram DB/Inst: OTA/ota Snaps: 2-4
-> ordered by event (idle events last)
Event
--------------------------
----------
----------
----
0 - 1 ms 1 - 4 ms 4 - 8 ms 8 - 16 ms 16 - 32 ms 32+ ms
------------ ------------ ------------ ------------ ------------ ------------
0 0 1 0 0 4
Queue Monitor Wait
0 0 0 0 0 108
SQL*Net message from client
78 118 25 24 35 33
SQL*Net message to client
314 0 0 0 0 0
SQL*Net more data from client
45 0 0 0 0 0
dispatcher timer
0 0 0 0 0 55
jobq slave wait
0 0 0 0 1 1,081
pmon timer
3 0 0 0 0 1,112
rdbms ipc message
145 47 18 10 10 9,354
smon timer
0 0 0 0 0 11
virtual circuit status
0 0 0 0 0 111
wakeup time manager
0 0 0 0 0 15
--------------------------
----------
----------
----------
-----
SQL ordered by Gets DB/Inst: OTA/ota Snaps: 2-4
-> Resources reported for PL/SQL code includes the resources used by all SQL
statements called by the code.
-> End Buffer Gets Threshold: 10000 Total Buffer Gets: 6,276,337
-> Captured SQL accounts for 99.6% of Total Buffer Gets
-> SQL reported below exceeded 1.0% of Total Buffer Gets
CPU Elapsd Old
Buffer Gets Executions Gets per Exec %Total Time (s) Time (s) Hash Value
--------------- ------------ -------------- ------ -------- --------- ----------
6,212,419 1 6,212,419.0 99.0 99.63 1948.05 543945366
Module: PL/SQL Developer
SELECT UNE_DUP_LOOP.ORIGINATING_C
OMPANY_COD
E, UNE_DUP_LOOP.ACNT
_NUM, TO_CHAR(UNE_DUP_LOOP.BILL_
DT, 'MM/DD/YYYY') AS BILL_DT, UN
E_DUP_LOOP.INV_NUM AS INVOICE_NUMBER, UNE_DUP_LOOP.PS_FORMAT_DES
C, UNE_DUP_LOOP.SUP_PS_ID AS CIRCUIT_ID, UNE_DUP_LOOP.WTN, TO_C
HAR(UNE_DUP_LOOP.SERVICE_E
STABLISHED
_DT, 'MM/DD/YYYY') AS SED, U
--------------------------
----------
----------
----------
-----
SQL ordered by Reads DB/Inst: OTA/ota Snaps: 2-4
-> End Disk Reads Threshold: 1000 Total Disk Reads: 454,976
-> Captured SQL accounts for 99.9% of Total Disk Reads
-> SQL reported below exceeded 1.0% of Total Disk Reads
CPU Elapsd Old
Physical Reads Executions Reads per Exec %Total Time (s) Time (s) Hash Value
--------------- ------------ -------------- ------ -------- --------- ----------
454,186 1 454,186.0 99.8 99.63 1948.05 543945366
Module: PL/SQL Developer
SELECT UNE_DUP_LOOP.ORIGINATING_C
OMPANY_COD
E, UNE_DUP_LOOP.ACNT
_NUM, TO_CHAR(UNE_DUP_LOOP.BILL_
DT, 'MM/DD/YYYY') AS BILL_DT, UN
E_DUP_LOOP.INV_NUM AS INVOICE_NUMBER, UNE_DUP_LOOP.PS_FORMAT_DES
C, UNE_DUP_LOOP.SUP_PS_ID AS CIRCUIT_ID, UNE_DUP_LOOP.WTN, TO_C
HAR(UNE_DUP_LOOP.SERVICE_E
STABLISHED
_DT, 'MM/DD/YYYY') AS SED, U
--------------------------
----------
----------
----------
-----
SQL ordered by Executions DB/Inst: OTA/ota Snaps: 2-4
-> End Executions Threshold: 100 Total Executions: 6,206
-> Captured SQL accounts for 88.0% of Total Executions
-> SQL reported below exceeded 1.0% of Total Executions
CPU per Elap per Old
Executions Rows Processed Rows per Exec Exec (s) Exec (s) Hash Value
------------ --------------- ---------------- ----------- ---------- ----------
648 55 0.1 0.00 0.00 1316169839
select job, nvl2(last_date, 1, 0) from sys.job$ where (((:1 <= n
ext_date) and (next_date < :2)) or ((last_date is null) and
(next_date < :3))) and (field1 = :4 or (field1 = 0 and 'Y' = :5)
) and (this_date is null) order by next_date, job
593 593 1.0 0.00 0.00 1693927332
select count(*) from sys.job$ where (next_date > sysdate) and (n
ext_date < (sysdate+5/86400))
274 0 0.0 0.00 0.00 1053795750
COMMIT
248 0 0.0 0.00 0.00 3395316682
Module: Oracle Enterprise Manager.current metric purge
SELECT ROWID FROM MGMT_CURRENT_METRICS WHERE TARGET_GUID = :B3 A
ND METRIC_GUID = :B2 AND COLLECTION_TIMESTAMP < :B1
155 73 0.5 0.00 0.00 4274598960
select /*+ rule */ bucket_cnt, row_cnt, cache_cnt, null_cnt, tim
estamp#, sample_size, minimum, maximum, distcnt, lowval, hival,
density, col#, spare1, spare2, avgcln from hist_head$ where obj#
=:1 and intcol#=:2
145 1,402 9.7 0.00 0.00 4143084494
select privilege#,level from sysauth$ connect by grantee#=prior
privilege# and privilege#>0 start with grantee#=:1 and privilege
#>0
126 126 1.0 0.00 0.00 2803285
update sys.mon_mods$ set inserts = inserts + :ins, updates = upd
ates + :upd, deletes = deletes + :del, flags = (decode(bitand(fl
ags, :flag), :flag, flags, flags + :flag)), drop_segments = drop
_segments + :dropseg, timestamp = :time where obj# = :objn
126 0 0.0 0.00 0.00 2396279102
lock table sys.mon_mods$ in exclusive mode nowait
125 125 1.0 0.00 0.00 688250911
SELECT DISTINCT METRIC_GUID FROM MGMT_METRICS WHERE TARGET_TYPE
= :B3 AND METRIC_NAME = :B2 AND METRIC_COLUMN = :B1
125 125 1.0 0.00 0.00 792991232
SELECT DECODE(METRIC_TYPE, 6, 0, 7, 1, METRIC_TYPE), METRIC_GUID
, METRIC_LABEL, COLUMN_LABEL FROM MGMT_METRICS WHERE TARGET_TYPE
= :B3 AND METRIC_NAME = :B2 AND METRIC_COLUMN = :B1
125 125 1.0 0.00 0.00 1938912649
UPDATE MGMT_CURRENT_METRICS SET COLLECTION_TIMESTAMP = :B3 , VAL
UE = :B2 , STRING_VALUE = :B1 WHERE TARGET_GUID = :B6 AND METRIC
_GUID = :B5 AND KEY_VALUE = :B4 AND COLLECTION_TIMESTAMP < :B3
SQL ordered by Executions DB/Inst: OTA/ota Snaps: 2-4
-> End Executions Threshold: 100 Total Executions: 6,206
-> Captured SQL accounts for 88.0% of Total Executions
-> SQL reported below exceeded 1.0% of Total Executions
CPU per Elap per Old
Executions Rows Processed Rows per Exec Exec (s) Exec (s) Hash Value
------------ --------------- ---------------- ----------- ---------- ----------
125 0 0.0 0.00 0.00 3237250961
SELECT T.WARNING_OPERATOR, T.WARNING_THRESHOLD, T.CRITICAL_OPERA
TOR, T.CRITICAL_THRESHOLD, T.NUM_OCCURENCES, T.NUM_WARNINGS, T.N
UM_CRITICALS, T.MESSAGE, T.MESSAGE_NLSID FROM MGMT_METRIC_THRESH
OLDS T WHERE T.TARGET_GUID = :B3 AND T.METRIC_GUID = :B2 AND T.C
OLL_NAME = :B1 AND T.KEY_VALUE = ' '
125 125 1.0 0.00 0.00 4203089485
SELECT TARGET_GUID FROM MGMT_TARGETS WHERE TARGET_NAME = :B2 AND
TARGET_TYPE = :B1
120 0 0.0 0.00 0.00 1980292411
SELECT T.WARNING_OPERATOR, T.WARNING_THRESHOLD, T.CRITICAL_OPERA
TOR, T.CRITICAL_THRESHOLD, T.NUM_OCCURENCES, T.NUM_WARNINGS, T.N
UM_CRITICALS, T.MESSAGE, T.MESSAGE_NLSID FROM MGMT_METRIC_THRESH
OLDS T WHERE T.TARGET_GUID = :B4 AND T.METRIC_GUID = :B3 AND T.C
OLL_NAME = :B2 AND T.KEY_VALUE = :B1
106 106 1.0 0.00 0.00 3477178341
SELECT DECODE(PARAMETER_VALUE, :B3 , 3, :B2 , 2, :B1 , 1, 0) FRO
M MGMT_PARAMETERS WHERE PARAMETER_NAME = 'system_error_log_level
'
104 104 1.0 0.00 0.00 1200253560
INSERT INTO MGMT_SYSTEM_PERFORMANCE_LO
G (JOB_NAME, TIME, DURATIO
N, MODULE, ACTION, IS_TOTAL, NAME, VALUE, CLIENT_DATA, HOST_URL)
VALUES (:B9 , SYSDATE, :B8 , SUBSTR(:B7 , 1, 512), SUBSTR(:B6 ,
1,32), :B5 , SUBSTR(:B4 ,1,128), SUBSTR(:B3 ,1,128), SUBSTR(:B2
,1,128), SUBSTR(:B1 ,1,256))
74 73 1.0 0.00 0.00 3665763022
update sys.col_usage$ set equality_preds = equality_preds
+ decode(bitand(:flag,1),0,0
,1), equijoin_preds = equijoi
n_preds + decode(bitand(:flag,2),0,0
,1), nonequijoin_preds
= nonequijoin_preds + decode(bitand(:flag,4),0,0
,1), range_pre
ds = range_preds + decode(bitand(:flag,8),0,0
,1),
70 70 1.0 0.00 0.00 3334369874
INSERT INTO MGMT_METRICS_RAW (TARGET_GUID, COLLECTION_TIMESTAMP,
METRIC_GUID, KEY_VALUE, VALUE, STRING_VALUE) VALUES (:B5 , :B4
, :B3 , :B2 , :B1 , NULL)
--------------------------
----------
----------
----------
-----
SQL ordered by Parse Calls DB/Inst: OTA/ota Snaps: 2-4
-> End Parse Calls Threshold: 1000 Total Parse Calls: 2,909
-> Captured SQL accounts for 80.1% of Total Parse Calls
-> SQL reported below exceeded 1.0% of Total Parse Calls
% Total Old
Parse Calls Executions Parses Hash Value
------------ ------------ -------- ----------
182 274 6.26 1053795750
COMMIT
145 145 4.98 4143084494
select privilege#,level from sysauth$ connect by grantee#=prior
privilege# and privilege#>0 start with grantee#=:1 and privilege
#>0
126 126 4.33 2803285
update sys.mon_mods$ set inserts = inserts + :ins, updates = upd
ates + :upd, deletes = deletes + :del, flags = (decode(bitand(fl
ags, :flag), :flag, flags, flags + :flag)), drop_segments = drop
_segments + :dropseg, timestamp = :time where obj# = :objn
126 126 4.33 2396279102
lock table sys.mon_mods$ in exclusive mode nowait
57 57 1.96 3840591838
select privilege# from sysauth$ where (grantee#=:1 or grantee#=1
) and privilege#>0
55 55 1.89 297937389
update sys.job$ set this_date=:1 where job=:2
55 55 1.89 2594425492
select u1.user#, u2.user#, u3.user#, failures, flag, interval#,
what, nlsenv, env, field1 from sys.job$ j, sys.user$ u1, sys
.user$ u2, sys.user$ u3 where job=:1 and (next_date < sysdate o
r :2 != 0) and lowner = u1.name and powner = u2.name and cowner
= u3.name
55 55 1.89 2714695468
alter session set NLS_LANGUAGE='AMERICAN' NLS_TERRITORY='AMERICA
' NLS_CURRENCY='$' NLS_ISO_CURRENCY='AMERICA'
NLS_NUMERIC_CHARAC
TERS='.,' NLS_DATE_FORMAT='DD-MON-RR
' NLS_DATE_LANGUAGE='AMERICA
N' NLS_SORT='BINARY'
55 55 1.89 4075357577
update sys.job$ set failures=0, this_date=null, flag=:1, last_da
te=:2, next_date = greatest(:3, sysdate), total=total+(sysdate
-nvl(this_date,sysdate)) where job=:4
54 54 1.86 718529565
SELECT C.TARGET_GUID, C.METRIC_GUID, C.STORE_METRIC, C.SCHEDULE,
C.COLL_NAME, M.METRIC_NAME, M.EVAL_FUNC FROM MGMT_METRIC_COLLEC
TIONS_REP R, MGMT_METRIC_COLLECTIONS C, MGMT_METRICS M WHERE C.S
USPENDED = 0 AND C.IS_REPOSITORY = 1 AND (C.LAST_COLLECTED_TIMES
TAMP IS NULL OR C.LAST_COLLECTED_TIMESTAMP
+ C.SCHEDULE / 1440 <
54 54 1.86 884862163
Module: EM_PING
DELETE FROM MGMT_JOB_EMD_STATUS_QUEUE
SQL ordered by Parse Calls DB/Inst: OTA/ota Snaps: 2-4
-> End Parse Calls Threshold: 1000 Total Parse Calls: 2,909
-> Captured SQL accounts for 80.1% of Total Parse Calls
-> SQL reported below exceeded 1.0% of Total Parse Calls
% Total Old
Parse Calls Executions Parses Hash Value
------------ ------------ -------- ----------
54 54 1.86 923291638
select sysdate + 1 / (24 * 60) from dual
54 54 1.86 1133235621
Module: EM_PING
SELECT COUNT(FAILOVER_ID) FROM MGMT_FAILOVER_TABLE
54 104 1.86 1200253560
INSERT INTO MGMT_SYSTEM_PERFORMANCE_LO
G (JOB_NAME, TIME, DURATIO
N, MODULE, ACTION, IS_TOTAL, NAME, VALUE, CLIENT_DATA, HOST_URL)
VALUES (:B9 , SYSDATE, :B8 , SUBSTR(:B7 , 1, 512), SUBSTR(:B6 ,
1,32), :B5 , SUBSTR(:B4 ,1,128), SUBSTR(:B3 ,1,128), SUBSTR(:B2
,1,128), SUBSTR(:B1 ,1,256))
54 54 1.86 1667689875
Module: EM_PING
SELECT SYS_EXTRACT_UTC(SYSTIMESTA
MP) FROM DUAL
54 54 1.86 1794066809
Module: SEVERITY EVALUATION
SELECT UNIQUE(TARGET_GUID) FROM MGMT_METRIC_DEPENDENCY WHERE CAN
_CALCULATE = 1 AND DISABLED = 0
54 54 1.86 2100170746
Module: EM_PING
SELECT EMD_URL, EVENT_TYPE, OCCUR_TIME FROM MGMT_JOB_EMD_STATUS_
QUEUE ORDER BY OCCUR_TIME
54 54 1.86 2561692322
Module: EM_PING
SELECT COUNT(*) FROM MGMT_FAILOVER_TABLE WHERE SYSDATE-LAST_TIME
_STAMP > (HEARTBEAT_INTERVAL*4)/(24
*60*60)
54 54 1.86 2603722335
Module: EM_PING
SELECT /*+ RULE */ STEP_ID FROM MGMT_JOB_EXECUTION E, MGMT_JOB J
WHERE E.JOB_ID=J.JOB_ID AND STEP_STATUS IN (:B6 , :B5 , :B4 , :
B3 , :B2 ) AND STEP_TYPE=:B1 AND J.EXECUTION_TIMEOUT > 0 AND (CA
ST(SYS_EXTRACT_UTC(SYSTIME
STAMP) AS DATE)-E.START_TIME) > (J.EXE
CUTION_TIMEOUT/24)
54 54 1.86 2689373535
DECLARE job BINARY_INTEGER := :job; next_date DATE := :mydate;
broken BOOLEAN := FALSE; BEGIN EMD_MAINTENANCE.EXECUTE_EM
_DBMS_J
OB_PROCS(); :mydate := next_date; IF broken THEN :b := 1; ELSE :
b := 0; END IF; END;
54 54 1.86 2921587358
Module: EM_PING
SELECT /*+ RULE */ STATUS, EXECUTION_ID FROM MGMT_JOB_EXEC_SUMMA
RY E WHERE STATUS IN (:B2 , :B1 ) AND SUSPEND_TIMEOUT > 0 AND (C
SQL ordered by Parse Calls DB/Inst: OTA/ota Snaps: 2-4
-> End Parse Calls Threshold: 1000 Total Parse Calls: 2,909
-> Captured SQL accounts for 80.1% of Total Parse Calls
-> SQL reported below exceeded 1.0% of Total Parse Calls
% Total Old
Parse Calls Executions Parses Hash Value
------------ ------------ -------- ----------
AST(SYS_EXTRACT_UTC(SYSTIM
ESTAMP) AS DATE)-SUSPEND_TIME) > (SUSP
END_TIMEOUT/(24*60))
54 54 1.86 3521705928
Module:
SELECT COUNT(*) FROM MGMT_PARAMETERS WHERE PARAMETER_NAME=:B1 AN
D UPPER(PARAMETER_VALUE)='TR
UE'
51 51 1.75 1770244154
insert into wrh$_enqueue_stat (snap_id, dbid, instance_number,
eq_type, req_reason, total_req#, total_wait#, succ_req#, fai
led_req#, cum_wait_time, event#) select :snap_id, :dbid,
:instance_number, eq_type, req_reason, sum(total_req#), sum(t
otal_wait#), sum(succ_req#), sum(failed_req#), sum(cum_wait_t
--------------------------
----------
----------
----------
-----
Instance Activity Stats DB/Inst: OTA/ota Snaps: 2-4
Statistic Total per Second per Trans
--------------------------
------- ------------------ -------------- ------------
CPU used by this session 10,581 3.2 36.5
CPU used when call started 10,581 3.2 36.5
CR blocks created 36 0.0 0.1
Cached Commit SCN referenced 0 0.0 0.0
Commit SCN cached 0 0.0 0.0
DB time 650,255 194.6 2,242.3
DBWR checkpoint buffers written 1,583 0.5 5.5
DBWR checkpoints 1 0.0 0.0
DBWR revisited being-written buff 0 0.0 0.0
DBWR thread checkpoint buffers wr 0 0.0 0.0
DBWR transaction table writes 68 0.0 0.2
DBWR undo block writes 763 0.2 2.6
PX local messages recv'd 0 0.0 0.0
PX local messages sent 0 0.0 0.0
SQL*Net roundtrips to/from client 311 0.1 1.1
active txn count during cleanout 132 0.0 0.5
application wait time 0 0.0 0.0
background checkpoints completed 1 0.0 0.0
background checkpoints started 1 0.0 0.0
background timeouts 9,246 2.8 31.9
branch node splits 0 0.0 0.0
buffer is not pinned count 1,207,034 361.2 4,162.2
buffer is pinned count 16,254,642 4,863.8 56,050.5
bytes received via SQL*Net from c 226,784 67.9 782.0
bytes sent via SQL*Net to client 126,935 38.0 437.7
calls to get snapshot scn: kcmgss 10,053 3.0 34.7
calls to kcmgas 600 0.2 2.1
calls to kcmgcs 103 0.0 0.4
change write time 22 0.0 0.1
cleanout - number of ktugct calls 171 0.1 0.6
cleanouts and rollbacks - consist 5 0.0 0.0
cleanouts only - consistent read 32 0.0 0.1
cluster key scan block gets 586 0.2 2.0
cluster key scans 222 0.1 0.8
commit cleanout failures: callbac 6 0.0 0.0
commit cleanout failures: cannot 0 0.0 0.0
commit cleanouts 1,516 0.5 5.2
commit cleanouts successfully com 1,510 0.5 5.2
commit txn count during cleanout 97 0.0 0.3
concurrency wait time 2 0.0 0.0
consistent changes 130 0.0 0.5
consistent gets 6,232,879 1,865.0 21,492.7
consistent gets - examination 3,589,308 1,074.0 12,376.9
consistent gets direct 0 0.0 0.0
consistent gets from cache 6,232,879 1,865.0 21,492.7
cursor authentications 54 0.0 0.2
data blocks consistent reads - un 36 0.0 0.1
db block changes 40,780 12.2 140.6
db block gets 43,440 13.0 149.8
db block gets direct 11,646 3.5 40.2
db block gets from cache 31,794 9.5 109.6
deferred (CURRENT) block cleanout 842 0.3 2.9
dirty buffers inspected 434 0.1 1.5
enqueue conversions 734 0.2 2.5
enqueue releases 28,782 8.6 99.3
enqueue requests 28,782 8.6 99.3
Instance Activity Stats DB/Inst: OTA/ota Snaps: 2-4
Statistic Total per Second per Trans
--------------------------
------- ------------------ -------------- ------------
enqueue timeouts 0 0.0 0.0
enqueue waits 0 0.0 0.0
execute count 6,206 1.9 21.4
frame signature mismatch 0 0.0 0.0
free buffer inspected 434,016 129.9 1,496.6
free buffer requested 427,073 127.8 1,472.7
heap block compress 23 0.0 0.1
hot buffers moved to head of LRU 98,179 29.4 338.6
immediate (CR) block cleanout app 37 0.0 0.1
immediate (CURRENT) block cleanou 368 0.1 1.3
index fast full scans (full) 4 0.0 0.0
index fetch by key 6,938 2.1 23.9
index scans kdiixs1 1,793,206 536.6 6,183.5
leaf node 90-10 splits 13 0.0 0.0
leaf node splits 53 0.0 0.2
logons cumulative 59 0.0 0.2
messages received 955 0.3 3.3
messages sent 955 0.3 3.3
no buffer to keep pinned count 0 0.0 0.0
no work - consistent read gets 846,668 253.3 2,919.5
opened cursors cumulative 2,902 0.9 10.0
parse count (failures) 3 0.0 0.0
parse count (hard) 436 0.1 1.5
parse count (total) 2,909 0.9 10.0
parse time cpu 41 0.0 0.1
parse time elapsed 1,287 0.4 4.4
physical read IO requests 416,968 124.8 1,437.8
physical reads 454,976 136.1 1,568.9
physical reads cache 426,546 127.6 1,470.9
physical reads cache prefetch 11,621 3.5 40.1
physical reads direct 28,430 8.5 98.0
physical reads direct (lob) 0 0.0 0.0
physical reads direct temporary t 28,384 8.5 97.9
physical reads prefetch warmup 0 0.0 0.0
physical write IO requests 2,401 0.7 8.3
physical writes 43,722 13.1 150.8
physical writes direct 41,564 12.4 143.3
physical writes direct (lob) 0 0.0 0.0
physical writes direct temporary 41,518 12.4 143.2
physical writes from cache 2,158 0.7 7.4
physical writes non checkpoint 42,931 12.9 148.0
pinned buffers inspected 171 0.1 0.6
prefetch clients - default 0 0.0 0.0
prefetch warmup blocks aged out b 0 0.0 0.0
prefetched blocks aged out before 34 0.0 0.1
process last non-idle time 65,462,171,849 19,587,723.5 ############
recovery blocks read 0 0.0 0.0
recursive calls 33,292 10.0 114.8
recursive cpu usage 647 0.2 2.2
redo blocks written 13,448 4.0 46.4
redo buffer allocation retries 3 0.0 0.0
redo entries 21,177 6.3 73.0
redo log space requests 4 0.0 0.0
redo log space wait time 361 0.1 1.2
redo ordering marks 0 0.0 0.0
redo size 6,624,140 1,982.1 22,841.9
Instance Activity Stats DB/Inst: OTA/ota Snaps: 2-4
Statistic Total per Second per Trans
--------------------------
------- ------------------ -------------- ------------
redo synch time 525 0.2 1.8
redo synch writes 61 0.0 0.2
redo wastage 133,352 39.9 459.8
redo write time 1,869 0.6 6.4
redo writer latching time 0 0.0 0.0
redo writes 509 0.2 1.8
rollback changes - undo records a 0 0.0 0.0
rollbacks only - consistent read 31 0.0 0.1
rows fetched via callback 3,229 1.0 11.1
session connect time 65,462,171,849 19,587,723.5 ############
session logical reads 6,276,337 1,878.0 21,642.5
session pga memory 1,219,148 364.8 4,204.0
session pga memory max 58,628,684 17,543.0 202,167.9
session uga memory 1,778,744 532.2 6,133.6
session uga memory max 84,698,732 25,343.7 292,064.6
shared hash latch upgrades - no w 1,793,899 536.8 6,185.9
shared hash latch upgrades - wait 0 0.0 0.0
sorts (disk) 3 0.0 0.0
sorts (memory) 1,871 0.6 6.5
sorts (rows) 1,445,153 432.4 4,983.3
summed dirty queue length 3,440 1.0 11.9
switch current to new buffer 39 0.0 0.1
table fetch by rowid 7,830,146 2,343.0 27,000.5
table fetch continued row 27 0.0 0.1
table scan blocks gotten 30,738 9.2 106.0
table scan rows gotten 1,167,004 349.2 4,024.2
table scans (long tables) 2 0.0 0.0
table scans (short tables) 1,396 0.4 4.8
transaction rollbacks 0 0.0 0.0
undo change vector size 2,099,952 628.4 7,241.2
user I/O wait time 303,358 90.8 1,046.1
user calls 600 0.2 2.1
user commits 282 0.1 1.0
user rollbacks 8 0.0 0.0
workarea executions - onepass 7 0.0 0.0
workarea executions - optimal 788 0.2 2.7
write clones created in backgroun 0 0.0 0.0
write clones created in foregroun 0 0.0 0.0
--------------------------
----------
----------
----------
-----
Instance Activity Stats DB/Inst: OTA/ota Snaps: 2-4
-> Statistics with absolute values (should not be diffed)
Statistic Begin Value End Value
--------------------------
------- --------------- ---------------
logons current 33 34
opened cursors current 146 162
--------------------------
----------
----------
----------
-----
Instance Activity Stats DB/Inst: OTA/ota Snaps: 2-4
-> Statistics identified by '(derived)' come from sources other than SYSSTAT
Statistic Total per Hour
--------------------------
------- ------------------ ---------
log switches (derived) 0 .00
--------------------------
----------
----------
----------
-----
Time Model System Stats DB/Inst: OTA/ota Snaps: 2-4
-> Total Time in Database calls 3159.8s (or 3159755363us)
Statistic Time (s) % of DB Time
--------------------------
--------- -------------------- ------------
DB CPU 103.7 3.3
DB time 3,159.8
Java execution elapsed time 0.0 .0
PL/SQL compilation elapsed time 0.1 .0
PL/SQL execution elapsed time 2.1 .1
background cpu time 5.8 .2
background elapsed time 130.5 4.1
connection management call elapsed 0.0 .0
failed parse elapsed time 0.0 .0
hard parse elapsed time 6.1 .2
parse time elapsed 8.8 .3
sql execute elapsed time 3,152.4 99.8
--------------------------
----------
----------
----------
-----
OS Statistics DB/Inst: OTA/ota Snaps: 2-4
Statistic Total per Second
------------------------- ---------------------- ------------------
AVG_IN_BYTES 2,439,171,072 729,854
AVG_OUT_BYTES 13,786,793,984 4,125,312
IN_BYTES 9,756,684,288 2,919,415
OUT_BYTES 55,147,175,936 16,501,250
AVG_IDLE_TICKS 284,375
AVG_SYS_TICKS ######################
AVG_USER_TICKS 20,137
BUSY_TICKS 190,147
IDLE_TICKS 1,137,871
SYS_TICKS 109,274
USER_TICKS 80,873
NUM_CPUS 4
--------------------------
----------
----------
----------
-----
Tablespace IO Stats DB/Inst: OTA/ota Snaps: 2-4
->ordered by IOs (Reads + Writes) desc
Tablespace
--------------------------
----
Av Av Av Av Buffer Av Buf
Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(ms)
-------------- ------- ------ ------- ------------ -------- ---------- ------
MCI_DATA
414,015 124 7.3 1.0 22 0 0 0.0
TEMP
2,361 1 2.9 17.0 1,421 0 0 0.0
PERFSTAT_DATA
393 0 9.5 1.5 196 0 0 0.0
SYSAUX
46 0 9.6 1.0 449 0 0 0.0
UNDOTBS1
29 0 14.1 1.0 227 0 0 0.0
SYSTEM
69 0 21.6 1.0 66 0 0 0.0
BROADVIEW_DATA
3 0 56.7 1.0 3 0 0 0.0
CCR_DATA
2 0 50.0 1.0 2 0 0 0.0
DRSYS
1 0 50.0 1.0 3 0 0 0.0
MCI_INDX
2 0 60.0 1.0 2 0 0 0.0
QWEST_DATA
2 0 55.0 1.0 2 0 0 0.0
BROADVIEW_INDX
1 0 50.0 1.0 1 0 0 0.0
CWMLITE
1 0 50.0 1.0 1 0 0 0.0
QWEST_INDX
1 0 50.0 1.0 1 0 0 0.0
XDB
1 0 50.0 1.0 1 0 0 0.0
USERS
1 0 50.0 1.0 1 0 0 0.0
TOOLS
1 0 80.0 1.0 1 0 0 0.0
ODM
1 0 50.0 1.0 1 0 0 0.0
INDX
1 0 50.0 1.0 1 0 0 0.0
--------------------------
----------
----------
----------
-----
File IO Stats DB/Inst: OTA/ota Snaps: 2-4
->Mx Rd Bkt: Max bucket time for single block read
->ordered by Tablespace, File
Tablespace Filename
------------------------ --------------------------
----------
----------
------
Av Mx Av
Av Rd Rd Av Av Buffer BufWt
Reads Reads/s (ms) Bkt Blks/Rd Writes Writes/s Waits (ms)
-------------- ------- ----- --- ------- ------------ -------- ---------- ------
BROADVIEW_DATA D:\ORACLE\ORADATA\OTA\BROA
DVIEW_DATA
_01.DBF
1 0 50.0 1.0 1 0 0
D:\ORACLE\ORADATA\OTA\BROA
DVIEW_DATA
_02.DBF
1 0 60.0 1.0 1 0 0
D:\ORACLE\ORADATA\OTA\BROA
DVIEW_DATA
_03.DBF
1 0 60.0 1.0 1 0 0
BROADVIEW_INDX D:\ORACLE\ORADATA\OTA\BROA
DVIEW_INDX
.DBF
1 0 50.0 1.0 1 0 0
CCR_DATA G:\ORADATA\OTA_MCI\CCR_DAT
A_1.ORA
1 0 50.0 1.0 1 0 0
G:\ORADATA\OTA_MCI\CCR_DAT
A_2.ORA
1 0 50.0 1.0 1 0 0
CWMLITE D:\ORACLE\ORADATA\OTA\CWML
ITE01.DBF
1 0 50.0 1.0 1 0 0
DRSYS D:\ORACLE\ORADATA\OTA\DRSY
S01.DBF
1 0 50.0 1.0 3 0 0
INDX D:\ORACLE\ORADATA\OTA\INDX
01.DBF
1 0 50.0 1.0 1 0 0
MCI_DATA D:\ORACLE\ORADATA\OTA\MCI_
DATA_01.DB
F
4 0 22.5 16 1.0 1 0 0
D:\ORACLE\ORADATA\OTA\MCI_
DATA_02.DB
F
2 0 30.0 8 1.0 1 0 0
D:\ORACLE\ORADATA\OTA\MCI_
DATA_03.DB
F
8 0 12.5 16 1.5 1 0 0
D:\ORACLE\ORADATA\OTA\MCI_
DATA_04.DB
F
8 0 11.3 16 5.0 1 0 0
D:\ORACLE\ORADATA\OTA\MCI_
DATA_05.DB
F
28 0 3.9 8 1.5 1 0 0
D:\ORACLE\ORADATA\OTA\MCI_
DATA_06.DB
F
122,083 37 8.0 ### 1.0 1 0 0
D:\ORACLE\ORADATA\OTA\MCI_
DATA_07.DB
F
112,587 34 8.2 ### 1.0 1 0 0
D:\ORACLE\ORADATA\OTA\MCI_
DATA_08.DB
F
140,704 42 7.8 ### 1.0 1 0 0
D:\ORACLE\ORADATA\OTA\MCI_
DATA_09.DB
F
3 0 23.3 16 3.0 1 0 0
D:\ORACLE\ORADATA\OTA\MCI_
DATA_10.DB
F
2 0 30.0 4.5 1 0 0
D:\ORACLE\ORADATA\OTA\MCI_
DATA_11.DB
F
1 0 60.0 1.0 1 0 0
D:\ORACLE\ORADATA\OTA\MCI_
DATA_12.DB
F
2 0 30.0 4.0 1 0 0
D:\ORACLE\ORADATA\OTA\MCI_
DATA_13.DB
F
1 0 50.0 1.0 1 0 0
File IO Stats DB/Inst: OTA/ota Snaps: 2-4
->Mx Rd Bkt: Max bucket time for single block read
->ordered by Tablespace, File
Tablespace Filename
------------------------ --------------------------
----------
----------
------
Av Mx Av
Av Rd Rd Av Av Buffer BufWt
Reads Reads/s (ms) Bkt Blks/Rd Writes Writes/s Waits (ms)
-------------- ------- ----- --- ------- ------------ -------- ---------- ------
MCI_DATA D:\ORACLE\ORADATA\OTA\MCI_
DATA_14.DB
F
1 0 50.0 1.0 1 0 0
D:\ORACLE\ORADATA\OTA\MCI_
DATA_15.DB
F
1 0 50.0 1.0 1 0 0
D:\ORACLE\ORADATA\OTA\MCI_
DATA_16.OR
A
1 0 50.0 1.0 1 0 0
D:\ORACLE\ORADATA\OTA\MCI_
DATA_17.OR
A
1 0 80.0 1.0 1 0 0
D:\ORACLE\ORADATA\OTA\MCI_
DATA_18.OR
A
7 0 14.3 8 5.7 1 0 0
G:\ORADATA\OTA_MCI\MCI_DAT
A_19.ORA
3 0 26.7 21.0 1 0 0
G:\ORADATA\OTA_MCI\MCI_DAT
A_20.ORA
17,478 5 0.8 32 1.0 1 0 0
G:\ORADATA\OTA_MCI\MCI_DAT
A_21.ORA
21,089 6 0.8 32 1.0 1 0 0
G:\ORADATA\OTA_MCI\MCI_DAT
A_22.ORA
1 0 50.0 1.0 1 0 0
MCI_INDX D:\ORACLE\ORADATA\OTA\MCI_
INDX_01.DB
F
1 0 60.0 1.0 1 0 0
D:\ORACLE\ORADATA\OTA\MCI_
INDX_02.DB
F
1 0 60.0 1.0 1 0 0
ODM D:\ORACLE\ORADATA\OTA\ODM0
1.DBF
1 0 50.0 1.0 1 0 0
PERFSTAT_DATA D:\ORACLE\ORADATA\OTA\PERF
STAT_DATA_
01.DBF
393 0 9.5 64 1.5 196 0 0
QWEST_DATA D:\ORACLE\ORADATA\OTA\QWES
T_DATA_01.
DBF
1 0 60.0 1.0 1 0 0
D:\ORACLE\ORADATA\OTA\QWES
T_DATA_02.
DBF
1 0 50.0 1.0 1 0 0
QWEST_INDX D:\ORACLE\ORADATA\OTA\QWES
T_INDX_01.
DBF
1 0 50.0 1.0 1 0 0
SYSAUX D:\ORACLE\ORADATA\OTA\SYSA
UX01.DBF
46 0 9.6 64 1.0 449 0 0
SYSTEM D:\ORACLE\ORADATA\OTA\SYST
EM01.DBF
38 0 21.3 64 1.0 39 0 0
D:\ORACLE\ORADATA\OTA\SYST
EM02.DBF
16 0 12.5 32 1.0 15 0 0
D:\ORACLE\ORADATA\OTA\SYST
EM03.DBF
15 0 32.0 ### 1.0 12 0 0
TEMP D:\ORACLE\ORA92\OTA\TEMP05
.ORA
2,361 1 2.9 17.0 1,421 0 0
File IO Stats DB/Inst: OTA/ota Snaps: 2-4
->Mx Rd Bkt: Max bucket time for single block read
->ordered by Tablespace, File
Tablespace Filename
------------------------ --------------------------
----------
----------
------
Av Mx Av
Av Rd Rd Av Av Buffer BufWt
Reads Reads/s (ms) Bkt Blks/Rd Writes Writes/s Waits (ms)
-------------- ------- ----- --- ------- ------------ -------- ---------- ------
TOOLS D:\ORACLE\ORADATA\OTA\TOOL
S01.DBF
1 0 80.0 1.0 1 0 0
UNDOTBS1 D:\ORACLE\ORADATA\OTA\UNDO
TBS01.DBF
29 0 14.1 64 1.0 227 0 0
USERS D:\ORACLE\ORADATA\OTA\USER
S01.DBF
1 0 50.0 1.0 1 0 0
XDB D:\ORACLE\ORADATA\OTA\XDB0
1.DBF
1 0 50.0 1.0 1 0 0
--------------------------
----------
----------
----------
-----
File Read Histogram Stats DB/Inst: OTA/ota Snaps: 2-4
->Number of single block reads in each time range
->ordered by Tablespace, File
Tablespace Filename
------------------------ --------------------------
----------
----------
------
0 - 4 ms 4 - 8 ms 8 - 16 ms 16 - 32 ms 32+ ms
------------ ------------ ------------ ------------ ------------
SYSAUX D:\ORACLE\ORADATA\OTA\SYSA
UX01.DBF
5 26 11 2 1
SYSTEM D:\ORACLE\ORADATA\OTA\SYST
EM01.DBF
0 5 9 17 6
D:\ORACLE\ORADATA\OTA\SYST
EM02.DBF
2 6 4 3 0
D:\ORACLE\ORADATA\OTA\SYST
EM03.DBF
1 2 5 4 2
MCI_DATA G:\ORADATA\OTA_MCI\MCI_DAT
A_20.ORA
16,664 390 417 6 0
G:\ORADATA\OTA_MCI\MCI_DAT
A_21.ORA
20,039 459 580 10 0
D:\ORACLE\ORADATA\OTA\MCI_
DATA_01.DB
F
0 2 1 0 0
D:\ORACLE\ORADATA\OTA\MCI_
DATA_02.DB
F
0 1 0 0 0
D:\ORACLE\ORADATA\OTA\MCI_
DATA_03.DB
F
0 4 2 0 0
D:\ORACLE\ORADATA\OTA\MCI_
DATA_04.DB
F
0 1 1 0 0
D:\ORACLE\ORADATA\OTA\MCI_
DATA_05.DB
F
22 3 0 0 0
D:\ORACLE\ORADATA\OTA\MCI_
DATA_06.DB
F
63,470 41,112 9,052 4,433 4,015
D:\ORACLE\ORADATA\OTA\MCI_
DATA_07.DB
F
56,807 40,468 7,435 4,243 3,633
D:\ORACLE\ORADATA\OTA\MCI_
DATA_08.DB
F
72,018 48,789 10,002 5,547 4,347
D:\ORACLE\ORADATA\OTA\MCI_
DATA_09.DB
F
0 0 1 0 0
D:\ORACLE\ORADATA\OTA\MCI_
DATA_18.OR
A
0 1 0 0 0
UNDOTBS1 D:\ORACLE\ORADATA\OTA\UNDO
TBS01.DBF
3 8 8 6 3
PERFSTAT_DATA D:\ORACLE\ORADATA\OTA\PERF
STAT_DATA_
01.DBF
71 130 151 14 10
--------------------------
----------
----------
----------
-----
Buffer Pool Statistics DB/Inst: OTA/ota Snaps: 2-4
-> Standard block size Pools D: default, K: keep, R: recycle
-> Default Pools for other block sizes: 2k, 4k, 8k, 16k, 32k
Free Writ Buffer
Number of Pool Buffer Physical Physical Buff Comp Busy
P Buffers Hit% Gets Reads Writes Wait Wait Waits
--- ---------- ---- -------------- ------------ ----------- ---- ---- ----------
D 70,140 93 6,264,660 426,524 2,158 0 0 0
--------------------------
----------
----------
----------
-----
Instance Recovery Stats DB/Inst: OTA/ota Snaps: 2-4
-> B: Begin snapshot, E: End snapshot
Targt Estd Log File Log Ckpt Log Ckpt
MTTR MTTR Recovery Actual Target Size Timeout Interval
(s) (s) Estd IOs Redo Blks Redo Blks Redo Blks Redo Blks Redo Blks
- ----- ----- ---------- --------- --------- ---------- --------- ------------
B 66 28 1017 22635 37401 184320 37401
E 65 24 232 3005 4785 184320 4785
--------------------------
----------
----------
----------
-----
Buffer Pool Advisory DB/Inst: OTA/ota End Snap: 4
-> Only rows with estimated physical reads >0 are displayed
-> ordered by Block Size, Buffers For Estimate
Est
Phys Estimated Est
Size for Size Buffers Read Phys Reads Est Phys % dbtime
P Est (M) Factr (thousands) Factr (thousands) Read Time for Rds
--- -------- ----- ------------ ------ -------------- ------------ --------
D 56 .1 7 1.3 68,712 79,331 18.0
D 112 .2 14 1.3 68,597 79,174 18.0
D 168 .3 21 1.0 51,506 55,626 13.0
D 224 .4 28 1.0 51,372 55,441 12.0
D 280 .5 35 1.0 51,274 55,307 12.0
D 336 .6 42 1.0 51,221 55,233 12.0
D 392 .7 49 1.0 51,158 55,146 12.0
D 448 .8 56 1.0 51,010 54,942 12.0
D 504 .9 63 1.0 50,982 54,904 12.0
D 560 1.0 70 1.0 50,953 54,864 12.0
D 616 1.1 77 1.0 50,883 54,767 12.0
D 672 1.2 84 1.0 50,824 54,686 12.0
D 728 1.3 91 1.0 50,770 54,612 12.0
D 784 1.4 98 1.0 50,749 54,582 12.0
D 840 1.5 105 1.0 50,682 54,491 12.0
D 896 1.6 112 1.0 50,604 54,384 12.0
D 952 1.7 119 1.0 50,453 54,175 12.0
D 1,008 1.8 126 1.0 50,256 53,903 12.0
D 1,064 1.9 133 1.0 50,236 53,876 12.0
D 1,120 2.0 140 1.0 50,186 53,807 12.0
--------------------------
----------
----------
----------
-----
PGA Aggr Target Stats DB/Inst: OTA/ota Snaps: 2-4
-> B: Begin snap E: End snap (rows dentified with B or E contain data
which is absolute i.e. not diffed over the interval)
-> PGA cache hit % - percentage of W/A (WorkArea) data processed only in-memory
-> Auto PGA Target - actual workarea memory target
-> W/A PGA Used - amount of memory used for all Workareas (manual + auto)
-> %PGA W/A Mem - percentage of PGA memory allocated to workareas
-> %Auto W/A Mem - percentage of workarea memory controlled by Auto Mem Mgmt
-> %Man W/A Mem - percentage of workarea memory under manual control
PGA Cache Hit % W/A MB Processed Extra W/A MB Read/Written
--------------- ---------------- -------------------------
52.5 552 499
%PGA %Auto %Man
PGA Aggr Auto PGA PGA Mem W/A PGA W/A W/A W/A Global Mem
Target(M) Target(M) Alloc(M) Used(M) Mem Mem Mem Bound(K)
- --------- --------- ---------- ---------- ------ ------ ------ ----------
B 494 431 32.6 0.0 .0 .0 .0 25,292
E 494 431 34.5 0.0 .0 .0 .0 25,292
--------------------------
----------
----------
----------
-----
PGA Aggr Target Histogram DB/Inst: OTA/ota Snaps: 2-4
-> Optimal Executions are purely in-memory operations
Low High
Optimal Optimal Total Execs Optimal Execs 1-Pass Execs M-Pass Execs
------- ------- -------------- ------------- ------------ ------------
2K 4K 722 722 0 0
128K 256K 4 4 0 0
512K 1024K 61 61 0 0
2M 4M 2 2 0 0
32M 64M 3 0 3 0
64M 128M 4 0 4 0
--------------------------
----------
----------
----------
-----
PGA Memory Advisory DB/Inst: OTA/ota End Snap: 4
-> When using Auto Memory Mgmt, minimally choose a pga_aggregate_target value
where Estd PGA Overalloc Count is 0
Estd Extra Estd PGA Estd PGA
PGA Target Size W/A MB W/A MB Read/ Cache Overalloc
Est (MB) Factr Processed Written to Disk Hit % Count
---------- ------- ---------------- ---------------- -------- ----------
62 0.1 16,442.6 33,832.3 33.0 0
124 0.3 16,442.6 19,807.6 45.0 0
247 0.5 16,442.6 12,770.0 56.0 0
371 0.8 16,442.6 11,807.7 58.0 0
494 1.0 16,442.6 7,134.5 70.0 0
593 1.2 16,442.6 7,057.4 70.0 0
692 1.4 16,442.6 7,057.4 70.0 0
790 1.6 16,442.6 5,891.5 74.0 0
889 1.8 16,442.6 5,891.5 74.0 0
988 2.0 16,442.6 5,845.5 74.0 0
1,482 3.0 16,442.6 5,675.3 74.0 0
1,976 4.0 16,442.6 4,662.0 78.0 0
2,964 6.0 16,442.6 4,662.0 78.0 0
3,952 8.0 16,442.6 4,662.0 78.0 0
--------------------------
----------
----------
----------
-----
Rollback Segment Stats DB/Inst: OTA/ota Snaps: 2-4
->A high value for "Pct Waits" suggests more rollback segments may be required
->RBS stats may not be accurate between begin and end snaps when using Auto Undo
managment, as RBS may be dynamically created and dropped as needed
Trans Table Pct Undo Bytes
RBS No Gets Waits Written Wraps Shrinks Extends
------ -------------- ------- --------------- -------- -------- --------
0 13.0 0.00 0 0 0 0
1 66.0 0.00 135,934 0 0 0
2 122.0 0.00 41,610 0 0 0
3 301.0 0.00 982,240 1 0 1
4 110.0 0.00 38,722 0 0 0
5 119.0 0.00 37,238 0 0 0
6 213.0 0.00 47,140 0 0 0
7 251.0 0.00 614,938 2 0 0
8 100.0 0.00 22,580 0 0 0
9 110.0 0.00 63,282 0 0 0
10 138.0 0.00 145,538 0 0 0
--------------------------
----------
----------
----------
-----
Rollback Segment Storage DB/Inst: OTA/ota Snaps: 2-4
->Optimal Size should be larger than Avg Active
RBS No Segment Size Avg Active Optimal Size Maximum Size
------ --------------- --------------- --------------- ---------------
0 385,024 0 385,024
1 2,220,032 590,490 9,560,064
2 2,220,032 537,173 9,560,064
3 10,608,640 301,477 10,608,640
4 4,317,184 1,343,536 9,560,064
5 2,220,032 643,412 10,608,640
6 9,560,064 262,463 9,560,064
7 2,220,032 541,998 9,560,064
8 2,220,032 592,959 9,560,064
9 9,560,064 548,917 9,560,064
10 2,220,032 575,832 9,560,064
--------------------------
----------
----------
----------
-----
Undo Segment Summary DB/Inst: OTA/ota Snaps: 2-4
-> Undo segment block stats:
-> uS - unexpired Stolen, uR - unexpired Released, uU - unexpired reUsed
-> eS - expired Stolen, eR - expired Released, eU - expired reUsed
Undo Undo Num Max Qry Max Tx Snap OutOf uS/uR/uU/
TS# Blocks Trans Len (s) Concurcy TooOld Space eS/eR/eU
---- ------------ --------------- -------- ---------- ------ ------ -----------
1 692 747 0 3 0 0 0/0/0/0/0/0
--------------------------
----------
----------
----------
-----
Undo Segment Stats DB/Inst: OTA/ota Snaps: 2-4
-> ordered by Time desc
Undo Num Max Qry Max Tx Snap OutOf uS/uR/uU/
End Time Blocks Trans Len (s) Concy TooOld Space eS/eR/eU
------------ ----------- ------------ ------- ------- ------ ----- -----------
24-May 04:52 103 68 0 3 0 0 0/0/0/0/0/0
24-May 04:42 4 55 0 2 0 0 0/0/0/0/0/0
24-May 04:32 4 69 0 2 0 0 0/0/0/0/0/0
24-May 04:22 3 52 0 2 0 0 0/0/0/0/0/0
24-May 04:12 3 157 0 2 0 0 0/0/0/0/0/0
24-May 04:02 575 346 0 3 0 0 0/0/0/0/0/0
--------------------------
----------
----------
----------
-----
Latch Activity DB/Inst: OTA/ota Snaps: 2-4
->"Get Requests", "Pct Get Miss" and "Avg Slps/Miss" are statistics for
willing-to-wait latch get requests
->"NoWait Requests", "Pct NoWait Miss" are for no-wait latch get requests
->"Pct Misses" for both should be very close to 0.0
Pct Avg Wait Pct
Get Get Slps Time NoWait NoWait
Latch Requests Miss /Miss (s) Requests Miss
------------------------ -------------- ------ ------ ------ ------------ ------
Consistent RBA 510 0.0 0 0
FOB s.o list latch 138 0.0 0 0
JOX SGA heap latch 23 0.0 0 0
JS queue state obj latch 23,364 0.0 0 0
KTF sga enqueue 0 0 1,015 0.0
KWQMN job cache list lat 52 0.0 0 0
KWQP Prop Status 2 0.0 0 0
MQL Tracking Latch 0 0 65 0.0
Memory Management Latch 16,155 0.0 0 1,080 0.0
PL/SQL warning settings 69 0.0 0 0
SQL memory manager latch 3 0.0 0 1,058 0.0
SQL memory manager worka 71,317 0.0 0 0
SWRF Alerted Metric Elem 13,643 0.0 0 0
Shared B-Tree 4 0.0 0 0
active checkpoint queue 1,660 0.0 0 0
active service list 5,481 0.0 0 0
archive control 2 0.0 0 0
cache buffer handles 29,118 0.0 0 0
cache buffers chains 9,522,659 0.0 1.0 0 438,351 0.0
cache buffers lru chain 16,510 0.0 0.0 0 450,375 0.0
channel handle pool latc 7 0.0 0 0
channel operations paren 10,745 0.0 0 0
checkpoint queue latch 49,583 0.0 0.0 0 1,305 0.0
child cursor hash table 5,603 0.0 0 0
client/application info 235 0.0 0 0
commit callback allocati 42 0.0 0 0
compile environment latc 256 0.0 0 0
cursor bind value captur 224 0.0 0 211 0.0
dml lock allocation 2,055 0.0 0 0
dummy allocation 117 0.0 0 0
enqueue hash chains 58,309 0.0 0 0
enqueues 54,777 0.0 0.0 0 0
event group latch 4 0.0 0 0
file cache latch 171 0.0 0 0
global KZLD latch for me 2 0.0 0 0
hash table column usage 132 0.0 0 8,380 0.0
hash table modification 90 0.0 0 0
internal temp table obje 50 0.0 0 0
job workq parent latch 0 0 110 0.0
job_queue_processes para 219 0.0 0 0
kmcptab latch 1 0.0 0 0
kmcpvec latch 0 0 1 0.0
ksuosstats global area 228 0.0 0 0
ktm global data 11 0.0 0 0
kwqbsn:qsga 4 0.0 0 0
lgwr LWN SCN 1,362 0.0 0 0
library cache 126,735 0.0 117.8 0 176 0.0
library cache load lock 78 0.0 0 0
library cache lock 18,176 0.0 0 0
library cache lock alloc 1,083 0.0 0 0
Latch Activity DB/Inst: OTA/ota Snaps: 2-4
->"Get Requests", "Pct Get Miss" and "Avg Slps/Miss" are statistics for
willing-to-wait latch get requests
->"NoWait Requests", "Pct NoWait Miss" are for no-wait latch get requests
->"Pct Misses" for both should be very close to 0.0
Pct Avg Wait Pct
Get Get Slps Time NoWait NoWait
Latch Requests Miss /Miss (s) Requests Miss
------------------------ -------------- ------ ------ ------ ------------ ------
library cache pin 32,456 0.0 0 0
library cache pin alloca 1,139 0.0 0 0
list of block allocation 145 0.0 0 0
loader state object free 20 0.0 0 0
messages 20,803 0.1 0.0 0 0
mostly latch-free SCN 1,364 0.0 0 0
multiblock read objects 822 0.0 0 0
ncodef allocation latch 53 0.0 0 0
object queue header heap 1,982 0.0 0 0
object queue header oper 878,730 0.0 45.5 0 0
object stats modificatio 116 0.0 0 0
parallel query alloc buf 428 0.0 0 0
parameter list 3 0.0 0 0
parameter table allocati 117 0.0 0 0
post/wait queue 174 0.0 0 65 0.0
process allocation 4 0.0 0 4 0.0
process group creation 7 0.0 0 0
redo allocation 23,084 0.0 0.0 0 0
redo copy 0 0 21,214 0.1
redo writing 5,416 0.0 ###### 0 0
row cache objects 46,227 0.0 0 27 0.0
sequence cache 66 0.0 0 0
session allocation 22,110 0.0 0 0
session idle bit 1,397 0.0 0 0
session switching 53 0.0 0 0
session timer 1,115 0.0 0 0
shared pool 43,693 0.0 ###### 0 0
sim partition latch 1 0.0 0 61 0.0
simulator hash latch 306,717 0.0 0 0
simulator lru latch 48,283 0.0 0.0 0 155 0.0
slave class 2 0.0 0 0
slave class create 8 12.5 154.0 0 0
sort extent pool 442 0.0 0 0
state object free list 12 0.0 0 0
statistics aggregation 140 0.0 0 0
temporary table state ob 1 0.0 0 0
threshold alerts latch 264 0.0 0 0
transaction allocation 125 0.0 0 0
transaction branch alloc 53 0.0 0 0
undo global data 2,985 0.0 0 0
user lock 116 0.0 0 0
--------------------------
----------
----------
----------
-----
Latch Sleep breakdown DB/Inst: OTA/ota Snaps: 2-4
-> ordered by misses desc
Get Spin &
Latch Name Requests Misses Sleeps Sleeps 1->3+
--------------------------
-------------- ----------- ----------- ------------
library cache 126,735 5 589 3/0/0/2
cache buffers chains 9,522,659 2 2 1/0/1/0
object queue header operat 878,730 2 91 1/0/0/1
redo writing 5,416 2 5,364 0/0/0/2
shared pool 43,693 2 5,899 0/0/0/2
slave class create 8 1 154 0/0/0/1
--------------------------
----------
----------
----------
-----
Latch Miss Sources DB/Inst: OTA/ota Snaps: 2-4
-> only latches with sleeps are shown
-> ordered by name, sleeps desc
NoWait Waiter
Latch Name Where Misses Sleeps Sleeps
------------------------ --------------------------
------- ---------- --------
cache buffers chains kcbgtcr: kslbegin shared 0 2 0
library cache kglic 0 312 0
library cache kglpndl: child: before pro 0 277 0
object queue header oper kcbw_unlink_q 0 91 0
redo writing kcrfwnf: new logfile 0 5,364 0
shared pool kghalo 0 5,899 0
slave class create ksvcreate 0 154 0
--------------------------
----------
----------
----------
-----
Dictionary Cache Stats DB/Inst: OTA/ota Snaps: 2-4
->"Pct Misses" should be very low (< 2% in most cases)
->"Final Usage" is the number of cache entries being used in End Snapshot
Get Pct Scan Pct Mod Final
Cache Requests Miss Reqs Miss Reqs Usage
------------------------- ------------ ------ ------- ----- -------- ----------
dc_awr_control 58 0.0 0 2 1
dc_global_oids 1,706 0.0 0 0 140
dc_histogram_data 107 17.8 0 0 5,013
dc_histogram_defs 2,375 6.5 0 0 10,326
dc_object_ids 3,317 0.0 0 0 2,805
dc_objects 1,534 0.4 0 0 2,576
dc_profiles 57 0.0 0 0 1
dc_rollback_segments 610 0.0 0 0 31
dc_segments 1,514 0.0 0 0 2,402
dc_sequences 1 0.0 0 1 12
dc_tablespaces 1,259 0.0 0 0 21
dc_usernames 82 0.0 0 0 25
dc_users 2,820 0.0 0 0 90
outstanding_alerts 106 1.9 0 5 21
--------------------------
----------
----------
----------
-----
Library Cache Activity DB/Inst: OTA/ota Snaps: 2-4
->"Pct Misses" should be very low
Get Pct Pin Pct Invali-
Namespace Requests Miss Requests Miss Reloads dations
--------------- ------------ ------ -------------- ------ ---------- --------
SQL AREA 1,824 14.0 11,397 6.1 149 0
TABLE/PROCEDURE 228 2.6 3,115 1.3 6 0
BODY 533 0.0 794 0.0 0 0
TRIGGER 11 0.0 161 0.0 0 0
CLUSTER 3 0.0 4 0.0 0 0
JAVA DATA 1 0.0 0 0 0
--------------------------
----------
----------
----------
-----
Shared Pool Advisory DB/Inst: OTA/ota End Snap: 4
-> SP: Shared Pool Est LC: Estimated Library Cache Factr: Factor
-> Note there is often a 1:Many correlation between a single logical object
in the Library Cache, and the physical number of memory objects associated
with it. Therefore comparing the number of Lib Cache objects (e.g. in
v$librarycache), with the number of Lib Cache Memory Objects is invalid
Est LC Est LC Est LC Est LC
Shared SP Est LC Time Time Load Load Est LC
Pool Size Size Est LC Saved Saved Time Time Mem
Size (M) Factr (M) Mem Obj (s) Factr (s) Factr Obj Hits
---------- ----- -------- ------------ ------- ------ ------- ------ -----------
40 .2 28 5,508 609 .9 1,139 1.0 131,872
64 .3 51 7,147 627 1.0 1,121 1.0 132,835
88 .4 74 9,348 658 1.0 1,090 1.0 133,607
112 .5 98 9,908 659 1.0 1,089 1.0 133,842
136 .7 122 10,513 659 1.0 1,089 1.0 133,888
160 .8 136 11,424 659 1.0 1,089 1.0 133,942
184 .9 136 11,424 659 1.0 1,089 1.0 133,942
208 1.0 136 11,424 659 1.0 1,089 1.0 133,942
232 1.1 136 11,424 659 1.0 1,089 1.0 133,942
256 1.2 136 11,424 659 1.0 1,089 1.0 133,942
280 1.3 136 11,424 659 1.0 1,089 1.0 133,942
304 1.5 136 11,424 659 1.0 1,089 1.0 133,942
328 1.6 136 11,424 659 1.0 1,089 1.0 133,942
352 1.7 136 11,424 659 1.0 1,089 1.0 133,942
376 1.8 136 11,424 659 1.0 1,089 1.0 133,942
400 1.9 136 11,424 659 1.0 1,089 1.0 133,942
424 2.0 136 11,424 659 1.0 1,089 1.0 133,942
--------------------------
----------
----------
----------
-----
Java Pool Advisory DB/Inst: OTA/ota End Snap: 4
Est LC Est LC Est LC Est LC
Java JP Est LC Time Time Load Load Est LC
Pool Size Size Est LC Saved Saved Time Time Mem
Size(M) Factr (M) Mem Obj (s) Factr (s) Factr Obj Hits
---------- ----- -------- ------------ ------- ------ ------- ------ -----------
8 .2 4 137 0 680 1.0 0
16 .3 4 137 0 680 1.0 0
24 .5 4 137 0 680 1.0 0
32 .7 4 137 0 680 1.0 0
40 .8 4 137 0 680 1.0 0
48 1.0 4 137 0 680 1.0 0
56 1.2 4 137 0 680 1.0 0
64 1.3 4 137 0 680 1.0 0
72 1.5 4 137 0 680 1.0 0
80 1.7 4 137 0 680 1.0 0
88 1.8 4 137 0 680 1.0 0
96 2.0 4 137 0 680 1.0 0
--------------------------
----------
----------
----------
-----
SGA Memory Summary DB/Inst: OTA/ota Snaps: 2-4
SGA regions Size in Bytes
--------------------------
---- ----------------
Database Buffers 587,202,560
Fixed Size 792,000
Redo Buffers 524,288
Variable Size 422,308,416
----------------
sum 1,010,827,264
--------------------------
----------
----------
----------
-----
SGA breakdown difference DB/Inst: OTA/ota Snaps: 2-4
Pool Name Begin value End value % Diff
------ --------------------------
---- ---------------- ---------------- -------
java free memory 44,626,368 44,626,368 0.00
java joxlod exec hp 5,471,424 5,471,424 0.00
java joxs heap 233,856 233,856 0.00
large free memory 150,994,944 150,994,944 0.00
shared ASH buffers 8,388,608 8,388,608 0.00
shared KGLS heap 7,715,888 7,825,528 1.42
shared KQR L SO 781,312 784,384 0.39
shared KQR M PO 8,055,024 8,134,408 0.99
shared KQR M SO 2,166,572 2,174,768 0.38
shared KQR S PO 795,828 796,084 0.03
shared KQR S SO 10,768 10,768 0.00
shared MTTR advisory 31,976 31,976 0.00
shared PL/SQL DIANA 3,740,168 3,740,168 0.00
shared PL/SQL MPCODE 4,532,292 4,628,884 2.13
shared PL/SQL PPCODE 71,368 71,368 0.00
shared PLS non-lib hp 29,932 29,932 0.00
shared PX subheap 274,588 274,588 0.00
shared XDB Schema Cac 4,529,168 4,529,168 0.00
shared alert threshol 476 476 0.00
shared fixed allocation callback 344 344 0.00
shared free memory 14,044,356 13,970,176 -0.53
shared joxlod exec hp 331,348 331,348 0.00
shared joxlod pcod hp 61,280 61,280 0.00
shared joxs heap 5,608 5,608 0.00
shared library cache 25,859,744 26,828,412 3.75
shared miscellaneous 36,244,056 36,310,324 0.18
shared parameters 71,720 81,820 14.08
shared partitioning d 395,764 395,764 0.00
shared pl/sql source 29,964 29,964 0.00
shared repository 343,616 343,616 0.00
shared sql area 98,975,284 97,706,460 -1.28
shared subheap 50,816 50,816 0.00
shared table definiti 9,136 9,192 0.61
shared trigger defini 22,788 22,788 0.00
shared trigger inform 1,812 1,812 0.00
shared trigger source 7,992 7,992 0.00
shared type object de 524,212 524,212 0.00
buffer_cache 587,202,560 587,202,560 0.00
fixed_sga 792,000 792,000 0.00
log_buffer 524,288 524,288 0.00
--------------------------
----------
----------
----------
-----
init.ora Parameters DB/Inst: OTA/ota Snaps: 2-4
End value
Parameter Name Begin value (if different)
--------------------------
--- --------------------------
------- --------------
aq_tm_processes 1
background_dump_dest C:\ORACLE\ADMIN\OTA\BDUMP
compatible 9.2.0.0.0
control_files C:\ORACLE\ORADATA\OTA\CONT
ROL01.C
core_dump_dest C:\ORACLE\ADMIN\OTA\CDUMP
db_block_size 8192
db_cache_size 587202560
db_domain
db_file_multiblock_read_co
unt 32
db_name OTA
dispatchers (PROTOCOL=TCP) (SERVICE=OTAXDB)
fast_start_mttr_target 300
hash_area_size 1048576
instance_name OTA
java_pool_size 50331648
job_queue_processes 10
large_pool_size 150994944
open_cursors 300
optimizer_index_caching 0
optimizer_index_cost_adj 100
optimizer_mode ALL_ROWS
pga_aggregate_target 517996544
processes 150
query_rewrite_enabled TRUE
remote_login_passwordfile EXCLUSIVE
shared_pool_size 218103808
sort_area_size 1048576
star_transformation_enable
d TRUE
timed_statistics TRUE
undo_management AUTO
undo_retention 10800
undo_tablespace UNDOTBS1
user_dump_dest C:\ORACLE\ADMIN\OTA\UDUMP
--------------------------
----------
----------
----------
-----
End of Report (third_report_2_4.lst)
Thanks & Regards,
Sreeni