Get a specific session lock record
get
/database/monitoring/session_locks/{session_id},{lock_id1},{lock_id2}
Returns the corresponding record from DBA_LOCK view. A client requires SQL Administrator role to invoke this service.
Request
Path Parameters
-
lock_id1(required): string
Type-specific lock identifier, part 1.
-
lock_id2(required): string
Type-specific lock identifier, part 2.
-
session_id(required): number
Session holding or acquiring the lock.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Information on a specific lock.
Root Schema : MonitoringSessionLocksItem
Type:
object
This object is represents a record on DBA_LOCK view. DBA_LOCK lists all locks or latches held in the database, and all outstanding requests for a lock or latch. The list of attributes may vary depending on database version.
Show Source
-
blocking_others: string
Whether the lock is currently blocking others.
-
con_id: integer
The ID of the container to which the data pertains.
-
last_convert: integer
The last convert.
-
links: array
links
-
lock_id1: string
Type-specific lock identifier, part 1.
-
lock_id2: string
Type-specific lock identifier, part 2.
-
lock_type: string
Lock type.
-
mode_held: string
Lock mode.
-
mode_requested: string
Lock mode requested.
-
session_id: integer
Session holding or acquiring the lock.