Skip Headers
Oracle® Database Reference
11g Release 1 (11.1)

Part Number B28320-01
Go to Documentation Home
Go to Book List
Book List
Go to Table of Contents
Go to Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Go to next page
View PDF


DBA_HIST_LATCH displays historical aggregate latch statistics for both parent and child latches, grouped by latch name. This view contains snapshots of V$LATCH.

Column Datatype NULL Description
SNAP_ID NUMBER   Unique snapshot ID
DBID NUMBER   Database ID for the snapshot
INSTANCE_NUMBER NUMBER   Instance number for the snapshot
LATCH_NAME VARCHAR2(64)   Latch name
LEVEL# NUMBER   Latch level
GETS NUMBER   Number of times the latch was requested in willing-to-wait mode
MISSES NUMBER   Number of times the latch was requested in willing-to-wait mode and the requestor had to wait
SLEEPS NUMBER   Number of times a willing-to-wait latch request resulted in a session sleeping while waiting for the latch
IMMEDIATE_GETS NUMBER   Number of times a latch was requested in no-wait mode
IMMEDIATE_MISSES NUMBER   Number of times a no-wait latch request did not succeed (that is, missed)
SPIN_GETS NUMBER   Number of willing-to-wait latch requests which missed the first try but succeeded while spinning
SLEEP1 NUMBER   Waits that slept 1 time
SLEEP2 NUMBER   Waits that slept 2 times
SLEEP3 NUMBER   Waits that slept 3 times
SLEEP4 NUMBER   Waits that slept 4 or more times
WAIT_TIME NUMBER   Elapsed time spent waiting for the latch (in microseconds)