Get all locks that are blocking other sessions
get
                    /database/monitoring/session_locks/holding/
Using DBA_LOCKS and DBA_BLOCKERS views, this service returns a list of DBA_LOCKS records where the session is not waiting for a locked object but is holding a lock on an object for which another session is waiting. In an Oracle RAC environment, this only applies if the blocker is on the same instance. A client requires SQL Administrator role to invoke this service.
                
                Request
Query Parameters
                    - 
                            limit: integer(int32)
                            
                            The maximum number of records to return.
 - 
                            q: 
                            
                            Filtering is the process of limiting a collection resource by using a per-request dynamic filter definition across multiple page resources, where each page contains a subset of items found in the complete collection. Filtering enables efficient traversal of large collections.Examples
 
There's no request body for this operation.
Back to TopResponse
Supported Media Types
                - application/json
 
200 Response
All locks that are blocking other sessions.
                            
                            
                                Root Schema : MonitoringSessionLocksHolding
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectThis collection represents database locks held by sessions that are blocking other sessions. The list of attributes may vary depending on database version.
    
    
    
    
        Show Source
        - 
                
                    
                    count: integer
                    
                    
                     
                    
                
                
                Total number of records in the current response.
 - 
                
                    
                    hasMore: boolean
                    
                    
                     
                    
                
                
                Indicates if there are more records to be retrieved.
 - 
                
                    
                    items: array
                    
                    
                
                
                    items
                
                
                
 - 
                
                    
                    limit: integer
                    
                    
                     
                    
                
                
                The actual page size limit on number of records applied by the server.
 - 
                
                    
                    links: array
                    
                    
                
                
                    links
                
                
                
 - 
                
                    
                    offset: integer
                    
                    
                     
                    
                
                
                The actual index from which the item resources are returned.
 
Nested Schema : items
    
    	
    	Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        array- 
            Array of: 
                object  MonitoringSessionLocksItem
            
            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.
 
Nested Schema : MonitoringSessionLocksItem
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectThis 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.