Get the specified wait event for specific active session
get
/database/performance/active_sessions_history_waits/{sid},{seq_number}/
Return data from GV$SESSION_WAIT_HISTORY for the specified Session Identifier and Event Sequence Number. A client requires SQL Administrator role to invoke this service.
Request
Path Parameters
-
seq_number(required): number
Sequence number of wait event; 1 is the most recent.
-
sid(required): number
Session Identifier.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
The session wait history for a particular session and event.
Root Schema : PerformanceActionSessionHistoryWaitsItem
Type:
object
Describes a wait event for a session. Data corresponds to a record from GV$SESSION_WAIT_HISTORY. 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.
-
event: string
Resource or event for which the session is waiting.
-
event#: integer
Event number.
-
inst_id: integer
Instance number from which the associated V$ view information was obtained.
-
links: array
links
-
p1: integer
First wait event parameter (in decimal).
-
p1text: string
Description of the first wait event parameter.
-
p2: integer
Second wait event parameter (in decimal).
-
p2text: string
Description of the second wait event parameter.
-
p3: integer
Third wait event parameter (in decimal).
-
p3text: string
Description of the third wait event parameter.
-
seq#: integer
Sequence of wait events; 1 is the most recent.
-
sid: integer
Session identifier.
-
time_since_last_wait_micro: integer
Time elapsed (in microseconds) since the end of the previous wait in the wait history.
-
username: string
Name of the user that is associated with the session.
-
wait_time: integer
Amount of time waited (in hundredths of a second).
-
wait_time_micro: integer
Amount of time waited (in microseconds).