Get parallel execution information for specific statement execution

get

/database/performance/sql_statements/{sql_id}/monitor/{sql_exec_id},{sql_exec_start}/parallelism

Oracle Tuning Pack licence is required for this service. Returns information on a monitored statement that is executed in parallel. Using GV$SQL_MONITOR view, the information includes the Parallel Coordinator and the instance(s) where it was executed. A client requires SQL Administrator role to invoke this service.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Returns information on a monitored statement. The structure of the data may vary depending on the database used.
Body ()
Root Schema : PerformanceSQLStatementMonitorParallelism
Type: object
Describes the parallel execution of an SQL Statement. Using GV$SQL_MONITOR view, the information includes the Parallel Coordinator and the instance(s) where it was executed.
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
  • Application wait time (in microseconds); updated as the statement executes.
  • Number of buffer get operations; updated as the statement executes.
  • The maximum number of buffer get operations by a monitored SQL execution for the same SQL Statement.
  • The proportional number of buffer get operations compared to other execution records for the same SQL Statement.
  • Cluster wait time (in microseconds); updated as the statement executes.
  • Concurrency wait time (in microseconds); updated as the statement executes.
  • CPU time (in microseconds) used by this cursor for parsing, executing, and fetching.
  • The greater of either ELAPSED_TIME or a total of the following CPU_TIME + QUEUING_TIME + APPLICATION_WAIT_TIME + CONCURRENCY_WAIT_TIME + CLUSTER_WAIT_TIME + USER_IO_WAIT_TIME + PLSQL_EXEC_TIME + JAVA_EXEC_TIME.
  • The maximum time spent for an execution of the SQL Statement.
  • The proportional time spent for this GV$SQL_MONITOR record compared to other execution records for the same SQL Statement.
  • Percentage of actual number of parallel execution servers allocated to execute the query compared to the total number of parallel execution servers requested to execute the query.
  • The Instance Number from the GV$SQL_MONITOR record.
  • Total of number of bytes read from disks and bytes written to disks by the monitored SQL.
  • The maximum number of bytes read from disks and bytes written to disks by a monitored SQL execution for the same SQL Statement.
  • The proportional number of bytes read from disks and bytes written to disks by the monitored SQL compared to other execution records for the same SQL Statement.
  • Total of number of physical read and write I/O requests issued by the monitored SQL.
  • The maximum number of physical read and write I/O requests issued by a monitored SQL execution for the same SQL Statement.
  • The proportional number of physical read and write I/O requests issued by the monitored SQL compared to other execution records for the same SQL Statement.
  • Java execution time (in microseconds); updated as the statement executes.
  • Name of either the Instance, Parallel Coordinator, Parallel Group, Parallel Set or Parallel Server that corresponds to the GV$SQL_MONITOR record.
  • Used as a distinguishing value in the Parallelism metadata. The value may be an Instance Number to represent the execution on an instance, 10000 when a Parallel Coordinator or some other value derived from the SERVER_GROUP data.
  • The greater of either zero or a total of the following CPU_TIME - QUEUING_TIME - APPLICATION_WAIT_TIME - CONCURRENCY_WAIT_TIME - CLUSTER_WAIT_TIME - USER_IO_WAIT_TIME - PLSQL_EXEC_TIME - JAVA_EXEC_TIME.
  • The value may be an Instance Number to represent the execution of Parallel Coordinator or Server Group on an instance. May be NULL.
  • PL/SQL execution time (in microseconds); updated as the statement executes.
  • Process name identifier executing (or having executed)the statement; ora if the process is foreground, else the background process name (for example, p001 for PX server p001).
  • Duration of time (in microseconds) spent by SQL in the statement queue.
  • Number (1 or 2) of the logical set of parallel execution servers to which PX_SERVER# belongs (see SERVER_SET in V$PX_SESSION); NULL if this monitoring entry is not associated with a parallel execution server.
  • Actual number of parallel execution servers allocated to execute the query.
  • Total number of parallel execution servers requested to execute the monitored SQL.
  • User I/O Wait Time (in microseconds); updated as the statement executes.
Nested Schema : LinkRelation
Type: object
Show Source
Back to Top