|
Measures reported by OraLockWaitTest
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 OraLockWaitTest identifies the sessions that are waiting for acquiring a lock. The measures
made by this test are as follows:
| Measurement |
Description |
Measurement
Unit |
Interpretation |
| Num_of_lock_waits |
The number of lock waits |
Number
|
A high number of conisistent lock waits in conjuction with high average lock time for a requested lock type may mean that lock(s) on specific object(s) are not being released by session(s) or are being held for a long time causing other sessions to wait for their release. The detailed diagnosis of this measure, if enabled, provides the details of the lock waits such as the object, session etc.
|
| Avg_lock_wait_time |
The duration for which sessions were waiting for this lock |
Secs
|
An high average lock wait time may mean sessions are having to wait for a long time to acquire locks on objects. The detailed diagnosis of this measure, if enabled, can be used to view the details of the sessions waiting for this lock.
|
|