My Oracle Support Banner

How to Identify Which Latch is Associated with a "latch free" wait (Doc ID 413942.1)

Last updated on SEPTEMBER 11, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 8.1.7.4 and later
Oracle Database - Personal Edition - Version 8.1.7.4 and later
Oracle Database - Standard Edition - Version 8.1.7.4 and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Goal

It is important to identify which latch is associated with latch free waits when tuning a database for latch waits. 

For versions prior to 10g, there is an umbrella wait event called latch free that covers all latch waits.  The specific latch or latches involved must be determined from either a 10046 trace (and TKProf) or from a statspack report.  This note will show you how to determine which latch or latches are associated with the latch free event.

Note: In Oracle 10g or later, finding which latches are causing waits is easy because most wait events have been introduced for specific latch waits (e.g., latch: shared pool).  However, some latch waits are still rolled up in the old latch free wait event and you will need to follow the procedure here to obtain more information. So this note can be used for later versions as well.

 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.