Beruflich Dokumente
Kultur Dokumente
Name
------------------------
EVENT
TOTAL_WAITS
TOTAL_TIMEOUTS
TIME_WAITED
AVERAGE_WAIT
TIME_WAITED_MICRO
v$system_event
This view displays the count (total_waits) of all wait events since startup of the
instance.If timed_statistics is set to true, the sum of the wait times for all events are
also displayed in the column time_waited. The unit of time_waited is one hundreth of
a second.
v$enqueue_stat can be used to break down waits on the enqueue wait event. While
this view totals all events in an instance, v$session
SELECT b.event,
(e.total_waits - b.total_waits) total_waits,
(e.total_timeouts - b.total_timeouts) total_timeouts,
(e.time_waited - b.time_waited) time_waited
FROM beg_system_event b,
end_system_event e
WHERE b.event = e.event;
ENQUEUE
LATCH
select c.name,a.addr,a.gets,a.misses,a.sleeps,
a.immediate_gets,a.immediate_misses,a.wait_time, b.pid
from v$latch a, v$latchholder b, v$latchname c
where a.addr = b.laddr(+) and a.latch# = c.latch#
order by a.latch#;