Get all session waits

get

/database/monitoring/session_waits/

Returns all records from GV$SESSION_WAIT.

Request

Query Parameters
  • The maximum number of records to return.
  • 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 Top

Response

Supported Media Types

200 Response

All session wait records from GV$SESSION_WAIT. A client requires SQL Administrator role to invoke this service.
Body ()
Root Schema : MonitoringSessionWaits
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
  • MonitoringSessionWaitsItem
    This object represents a record from GV$SESSION_WAIT view. GV$SESSION_WAIT displays the current or last wait for each session. The list of attributes may vary depending on database version.
Nested Schema : MonitoringSessionWaitsItem
Type: object
This object represents a record from GV$SESSION_WAIT view. GV$SESSION_WAIT displays the current or last wait for each session. The list of attributes may vary depending on database version.
Show Source
  • The ID of the container to which the data pertains.
  • If the session is currently waiting, then the resource or event for which the session is waiting. If the session is not in a wait, then the resource or event for which the session most recently waited.
  • Oracle Real Application Clusters instance number for which this data relates to. In a non-RAC database this number will be 1.
  • links
  • First wait event parameter (in decimal).
  • First wait event parameter (in hexadecimal).
  • Description of the first wait event parameter.
  • Second wait event parameter (in decimal).
  • Second wait event parameter (in hexadecimal).
  • Description of the second wait event parameter.
  • Third wait event parameter (in decimal).
  • Third wait event parameter (in hexadecimal).
  • Description of the third wait event parameter.
  • If the session is currently waiting, then the value is the amount of time waited for the current wait. If the session is not in a wait, then the value is the amount of time since the start of the last wait.
  • A number that uniquely identifies the current or last wait (incremented for each wait).
  • Session identifier.
  • Wait state.
  • Amount of time remaining remaining before a timeout. This field may indicate that a timeout has occurred, or that no timeout will occur.
  • Time elapsed since the end of the last wait (in microseconds). If the session is currently in a wait, then the value is 0.
  • Name of the class of the wait event.
  • Number of the class of the wait event.
  • Identifier of the class of the wait event.
  • If the session is currently waiting, then the value is 0. If the session is not in a wait, then the value indicates the duration of the last wait.
  • Amount of time waited (in microseconds). If the session is currently waiting, then the value is the time spent in the current wait. If the session is currently not in a wait, then the value is the amount of time waited in the last wait.
Nested Schema : LinkRelation
Type: object
Show Source
Back to Top