Get execution plan for an SQL Statement
get
                    /database/performance/sql_statements/{sql_id}/plan
Returns all GV$SQL_PLAN records for a specified SQL_ID. A client requires SQL Administrator role to invoke this service.
                Request
Path Parameters
                - 
                    sql_id(required):  string
                    
                    SQL identifier.
 
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
Execution plan for the specified SQL statement.
                            
                            
                                Root Schema : PerformanceSQLStatementPlanItem
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectDescribes the explain plan for an SQL Statement.
    
    
    
    
        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
        object- 
                
                    
                    depth: integer
                    
                    
                     
                    
                
                
                Depth (or level) of the operation in the tree. The root operation (statement) is level 0.
 - 
                
                    
                    id: integer
                    
                    
                     
                    
                
                
                A number assigned to each step in the execution plan.
 - 
                
                    
                    operation: string
                    
                    
                     
                    
                
                
                Name of the internal operation performed in this step (for example, TABLE ACCESS).
 - 
                
                    
                    rows: string
                    
                    
                     
                    
                
                
                The number of rows the optimizer is expecting the operation to produce each time it is called. Also known as E-Rows.
 - 
                
                    
                    rowsourcetimes: integer
                    
                    
                     
                    
                
                
                The number of times the SQL Statement is referenced in GV$ACTIVE_SESSION_HISTORY.