Oracle 视图 V$HANG_SESSION_INFO 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图V$HANG_SESSION_INFO收集和显示在挂起会话期间可能会出现的信息。这个视图可以用来排查数据库出现的挂起会话的原因。通过查询这个视图,可以查看挂起会话的详细情况,以及执行操作可能会激活这个会话的相关信息(例如:等待的类型,等待的事件,等待的sql语句等)。使用这个视图,可以更加全面准确地排查挂起会话的原因。
官方英文解释
V$HANG_SESSION_INFO
displays information about sessions involved in hangs described by V$HANG_INFO
.
Each row with the same HANG_ID
describes a session that is in the hang wait chain described by the row with the same HANG_ID
in V$HANG_INFO
. This session is blocked by the victim or final blocker of that hang.
Column | Datatype | Description |
---|---|---|
|
|
A number identifying the hang including this session. This column can be used to join |
|
|
Instance number of the instance on which this session resides |
|
|
Oracle session ID of this session |
|
|
Oracle session serial number of this session |
|
|
Operating system process ID of this session |
|
|
|
|
|
|
|
|
Name of the victim or final blocker process |
|
|
Oracle session’s container ID or PDB ID |
|
|
Resource or event for which this session is waiting; set to |
|
|
Time spent in wait for this session (in seconds). If the value of |
|
|
Session’s Oracle Database Quality of Service (QoS) Management Performance Class rank |
|
|
Session’s Oracle Database Quality of Service (QoS) Management Performance Class In-Trouble Threshold |
|
|
Session’s Oracle Database Quality of Service (QoS) Management Performance Class Root Termination allowed Threshold |
|
|
Session’s Oracle Database Quality of Service (QoS) Management Performance Class Key |
|
|
The ID of the container to which the data pertains. Possible values include:
|
Footnote 1 This column is available starting with Oracle Database 21c.
See Also:
-
“V$HANG_INFO”
-
“V$HANG_STATISTICS”
-
“DBA_HANG_MANAGER_PARAMETERS”