eG Monitoring
 

Measures reported by OraLockTest

An Oracle database server provides data concurrency and integrity between transactions using locking mechanisms. The locking activity of a database server must be monitored carefully because an application holding a specific lock for a long time could cause a number of other transactions relying on the same lock to fail. The OraLockTest monitors the locking activity on a database server instance. The test looks for the following lock types: ROW SHARE, ROW EXCLUSIVE, SHARE, SHARE ROW EXCLUSIVE, EXCLUSIVE. The measures made by this test are as follows:

Measurement Description Measurement Unit Interpretation
Num_Of_Locks Gives the total number of locks that are held. Number

A high value may indicate one of the following:

a) Too many transactions happening

b) Locked resources not being released properly

c) Locks are being held unnecessarily.

The detailed diagnosis of this measure, if enabled, provides the complete information (i.e. user session, program, type of lock, etc.) pertaining to the locks that are being held currently. Note that the detailed diagnosis will display only sessions that have locks on specific database objects.

Avg_Lock_Time Indicates the time for which these locks are held. Secs

A high value may indicate one of the following:

a) Locked resources not being released properly

b) Locks are being held unnecessarily.