Contents Lab128 - Tools for Advanced Oracler Tuning and Monitoring. Reference Guide.

Latches

The Latches window provides detailed information about current and historical latch statistics. The information originates from the v$latch view. The latch statistics are shown as stacked charts. All information is also presented in a tabular form.

Viewing options.

There are two main areas in this window - the "top latches" charts and the tabular view of values. There are different measures for latches. Select them in the "Show By" radio button box. The seven available options are: Gets, Misses, Sleeps, Immediate gets, Immediate misses, Waits holding latch, Spin gets. These measures correspond to the seven columns in v$latch view:

Since all measures in v$latch are cumulative, Lab128 differentiates them in time, providing data that can be viewed and analyzed. The derived information is sorted in descending order so that the top latches can be easily identified.

The latch statistic charts are presented as a stack of charts, each of a different color, with the largest contributor being on top, the second largest below, and so on. The Legend section on the right translates colors to corresponding latches. The number of top latches is limited by the value in the "Top" box in the right upper corner of the window.


Different modes of viewing data in tabular view.

The tabular view mode depends on the type of time selection: unselected, point in time selected, period of time selected. Time selection can be done in the Chart area by clicking over the chart, moving to another point, and releasing the mouse button (see Selecting a time interval and Average value for more information on how to make a selection). The mode of tabular view is shown on top. These modes are:

To include columns with statistic cumulative values, check the "Show Cumulative" box. The check box "Include Inactive" filters out latches that have cumulative values of 0. Check this box if a list of all Oracle latches is needed, including inactive ones.


Viewing charts of individual latches.

To view a chart for an individual latch, select it in the list of latches, then right-click and choose "Show Chart for selected latch" in the pop-up menu.


Descriptions of the columns in the Latch tabular view.