Get all session wait class records
get
/database/monitoring/session_wait_classes/
Returns all records from GV$SESSION_WAIT_CLASS. 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
Summary of session wait classes in the database.
Root Schema : MonitoringSessionWaitClasses
Type:
Show Source
object
-
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 MonitoringSessionWaitClassesItem
This object represents a record from GV$SESSION_WAIT_CLASS view. GV$SESSION_WAIT_CLASS displays the time spent in various wait event operations on a per-session basis. The list of attributes may vary depending on database version.
Nested Schema : MonitoringSessionWaitClassesItem
Type:
object
This object represents a record from GV$SESSION_WAIT_CLASS view. GV$SESSION_WAIT_CLASS displays the time spent in various wait event operations on a per-session basis. The list of attributes may vary depending on database version.
Show Source
-
con_id: integer
The ID of the container to which the data pertains.
-
inst_id: integer
Oracle Real Application Clusters instance number for which this data relates to. In a non-RAC database this number will be 1.
-
links: array
links
-
serial#: integer
Serial number.
-
sid: integer
Session identifier.
-
time_waited: integer
Amount of time spent in the wait class by the session.
-
total_waits: integer
Number of times waits of the class occurred for the session.
-
wait_class: string
Name of the wait class.
-
wait_class#: integer
Number of the wait class.
-
wait_class_id: integer
Identifier of the wait class.