Get statistics for a SQL statement
get
                    /database/performance/sql_statements/{sql_id}/
Oracle Tuning Pack licence is required for this service. Returns data from GV$SQL with GV$SQL_MONITOR timing data for the specified SQL statement identifier. A client requires SQL Administrator role to invoke this service.
                Request
Path Parameters
                - 
                    sql_id: string
                    
                    SQL identifier.
 
Response
Supported Media Types
                - application/json
 
200 Response
Statistic for a SQL statement.
                
                
                    Root Schema : PerformanceSQLStatementsItem
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectThis object describes an SQL statement. The list of attributes may vary depending on database version.
    
    
    
    
        Show Source
        - 
            con_id(optional): 
            integer
            The ID of the container to which the data pertains.
 - 
            cpu_time(optional): 
            number
            Sum of total CPU time; updated as the statement executes.
 - 
            duration(optional): 
            integer
            Indicates the length of time the SQL statement has been running for. Calculated based on SQL_EXEC_START and LAST_REFRESH_TIME from GV$SQL_MONITOR.
 - 
            elapsed_time(optional): 
            integer
            Elapsed time (in microseconds); updated as the statement executes.
 - 
            end_time(optional): 
            string
            When the status is 'DONE (ALL ROWS)' this is the LAST_REFRESH_TIME value from GV$SQL_MONITOR.
 - 
            instance_dop(optional): 
            string
            Distinct number of instances that the SQL statement executed compared with the logical parallel execution server process number executing (or having executed) the statement being monitored.
 - 
            io_time(optional): 
            number
            Sum of total User I/O Wait Time; updated as the statement executes
 - 
            links(optional): 
            array  links
            
            
 - 
            session_id(optional): 
            integer
            Session identifier executing (or having executed) the SQL statement being monitored.
 - 
            session_serial(optional): 
            integer
            Session serial number executing the statement being monitored.
 - 
            sql_exec_id(optional): 
            integer
            SQL execution identifier; NULL if SQL_ID is NULL or if the execution of that SQL has not yet started.
 - 
            sql_exec_start(optional): 
            string
            Time when the execution started. Part of the execution key for identifying a single record in GV$SQL_MONITOR.
 - 
            sql_fulltext(optional): 
            string
            All characters of the SQL text for the current cursor.
 - 
            sql_id(optional): 
            string
            SQL identifier of the statement.
 - 
            start_time(optional): 
            string
            Time when the execution started
 - 
            status(optional): 
            string
            SQL execution status.