Oracle Lock Waits Test
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 Oracle Lock Waits test identifies the sessions that are waiting for acquiring a lock.
Note:
This test will not report metrics for an Oracle 12c CDB server.
The measures made by this test are as follows:
Target of the test : An Oracle server
Agent deploying the test : An internal agent
Outputs of the test : One set of results for every SID monitored.
|
Measurement | Description | Measurement Unit | Interpretation |
---|---|---|---|
Lock waits: |
Indicates the number of lock waits. |
Number |
A high number of consistent lock waits in conjunction 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: |
Indicates 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. |