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
Supported Media Types
- application/json
Path Parameters
-
seq_number: number
Sequence number of wait event; 1 is the most recent.
-
sid: number
Session Identifier.
Response
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(optional):
integer
The ID of the container to which the data pertains.
-
event(optional):
string
Resource or event for which the session is waiting.
-
event#(optional):
integer
Event number.
-
inst_id(optional):
integer
Instance number from which the associated V$ view information was obtained.
-
links(optional):
array links
-
p1(optional):
integer
First wait event parameter (in decimal).
-
p1text(optional):
string
Description of the first wait event parameter.
-
p2(optional):
integer
Second wait event parameter (in decimal).
-
p2text(optional):
string
Description of the second wait event parameter.
-
p3(optional):
integer
Third wait event parameter (in decimal).
-
p3text(optional):
string
Description of the third wait event parameter.
-
seq#(optional):
integer
Sequence of wait events; 1 is the most recent.
-
sid(optional):
integer
Session identifier.
-
time_since_last_wait_micro(optional):
integer
Time elapsed (in microseconds) since the end of the previous wait in the wait history.
-
username(optional):
string
Name of the user that is associated with the session.
-
wait_time(optional):
integer
Amount of time waited (in hundredths of a second).
-
wait_time_micro(optional):
integer
Amount of time waited (in microseconds).