9)wait等待检查 SQL> select count(*) total_in_wait from v$session_wait where event='log buffer space'; 2
TOTAL_IN_WAIT ------------- 0
SQL> select event,total_waits,time_waited,average_wait from v$system_event where event like '%undo%'; 2 3
EVENT TOTAL_WAITS TIME_WAITED AVERAGE_WAIT ---------------------------------------------------------------- ----------- ----------- ------------ undo segment extension 4 3 .76
SQL> select sid,seq#,event,WAIT_TIME,SECONDS_IN_WAIT from v$session_wait where event not like 'SQL%' and event not like 'rdbms%'; 2
SID SEQ# EVENT WAIT_TIME SECONDS_IN_WAIT ---------- ---------- ---------------------------------------------------------------- ---------- --------------- 2 2746 pmon timer 02 3 1 VKTM Logical Idle Wait 0 8392 5 36359 DIAG idle wait 00 7 2205 PING 01 10 31764 DIAG idle wait 00 12 39004 ges remote message 00 13 31731 gcs remote message 00 16 1528 heartbeat monitor sleep 05 21 843 smon timer 0 286 23 3989 ASM background timer 00 27 7629 wait for unread message on broadcast channel 00 31 37997 Streams AQ: waiting for messages in the queue 01 32 716 Streams AQ: waiting for time management or cleanup tasks 0 14 42 248 Space Manager: slave idle wait 02 46 7587 wait for unread message on broadcast channel 00 47 1086 Streams AQ: qmn coordinator idle wait 0 15 51 293 Streams AQ: qmn slave idle wait 0 15 55 3 VKRM Idle 0 3739
18 rows selected. |