how to find which wait event related to which object ?
set lin 150
col OWNER.OBJECT_NAME.OBJECT_TYPE for a50
select * from (select inst_id, event, count(*),(select OWNER||'.'||OBJECT_NAME||'.'||OBJECT_TYPE from dba_objects where OBJECT_ID=CURRENT_OBJ#) "OWNER.OBJECT_NAME.OBJECT_TYPE"
from gv$active_session_history
where event not in (
'HS message to agent',
'SQL*Net break/reset to client',
'SQL*Net message from client',
'SQL*Net message to client',
'jobq slave wait',
'pipe get',
'pmon timer',
'queue messages',
'rdbms ipc message',
'smon timer',
'wait for unread message on broadcast channel',
'wakeup time manager',
'ASM background timer',
'DIAG idle wait',
'PX Deq: Execute Reply',
'PX Deq: Execution Msg',
'PX Deq: reap credit',
'Streams AQ: qmn coordinator idle wait',
'Streams AQ: qmn slave idle wait',
'Streams AQ: waiting for messages in the queue',
'Streams AQ: waiting for time management or cleanup tasks',
'class slave wait'
)
group by inst_id, event,CURRENT_OBJ#
order by 3 desc) where rownum<30 font="">30>
INST_ID EVENT COUNT(*) OWNER.OBJECT_NAME.OBJECT_TYPE
---------- ---------------------------------------------------------------- ---------- --------------------------------------------------
1 enq: TX - row lock contention 158230 PRODUCT.PRODUCT_AK.INDEX
3 enq: TX - row lock contention 45222 PRODUCT.PRODUCT_AK.INDEX
2 db file parallel write 33581
1 db file parallel write 30237
2 db file sequential read 28541 OFFER.OFFER_ATTRIBUTE.TABLE
2 db file sequential read 26008 OFFER.OFFER_ATTRIBUTE_PK.INDEX
1 db file sequential read 23885 OFFER.OFFER_ATTRIBUTE.TABLE
2 log file parallel write 23368
1 db file sequential read 20141 OFFER.OFFER_ATTRIBUTE_PK.INDEX
1 log file parallel write 17320
2 enq: TX - row lock contention 15554 PRODUCT.PRODUCT_AK.INDEX
2 latch: row cache objects 11219 OFFER.OFFER_ATTRIBUTE.TABLE
2 db file sequential read 9395
2 control file sequential read 7276
2 latch: row cache objects 7260
1 db file sequential read 6676
2 db file sequential read 6649 OFFER.XIF2OFFER_ATTRIBUTE.INDEX
2 gc cr block 2-way 6614 OFFER.OFFER_ATTRIBUTE.TABLE
2 gc current block 2-way 5858 OFFER.OFFER_ATTRIBUTE.TABLE
1 db file sequential read 5545 OFFER.XIF2OFFER_ATTRIBUTE.INDEX
2 gc cr grant 2-way 5497 OFFER.OFFER_ATTRIBUTE.TABLE
2 enq: US - contention 5484 OFFER.OFFER_ATTRIBUTE.TABLE
1 gc cr block 2-way 5454 OFFER.OFFER_ATTRIBUTE.TABLE
2 log file sync 5110 OFFER.OFFER_SUBSYST_IDENT.TABLE
2 gc cr block 3-way 4682 OFFER.OFFER_ATTRIBUTE.TABLE
1 gc cr grant 2-way 4613 OFFER.OFFER_ATTRIBUTE.TABLE
1 gc current block 2-way 4575 OFFER.OFFER_ATTRIBUTE.TABLE
1 gc cr block 3-way 4228 OFFER.OFFER_ATTRIBUTE.TABLE
2 log file sync 4077
29 rows selected.
OgecheiXada_1978 Sima Lenz https://wakelet.com/wake/Oi87qRbDoJGcB6EYWs2g8
ReplyDeleterecnalime
concsiXprudza April Jones CorelDRAW
ReplyDeleteHDD Regenerator
ESET NOD32 Internet Security
aballance
WtiniVliae Thomas Newman Best
ReplyDeleteclick
maesuncopa