Oracle V$SESSION_WAIT
在10gr2中,V$SESSION_WAIT的所有內容都可以在v$session中看到。
V$SESSION_WAIT displays the resources or events for which active sessions are waiting.
V$SESSION_WAIT展示了active的session等待的resources or events 。
The following are tuning considerations:
-
P1RAW, P2RAW, and P3RAW display the same values as the P1, P2, and P3 columns, except that the numbers are displayed in hexadecimal.
P1RAW, P2RAW, and P3RAW 是 P1, P2, and P3 的十六進位制表示
-
The WAIT_TIME column contains a value of -2 on platforms that do not support a fast timing mechanism. If you are running on one of these platforms and you want this column to reflect true wait times, then you must set the TIMED_STATISTICS initialization parameter to true. Remember that doing this has a small negative effect on system performance.
WAIT_TIME =-2表示所在平臺不支援 fast timing mechanism。如果想要此列顯示等待時間,必須將TIMED_STATISTICS 設定為ture。這將對系統系能帶來一些微小的副作用。
In previous releases, the WAIT_TIME column contained an arbitrarily large value instead of a negative value to indicate the platform. did not have a fast timing mechanism.
在更早的版本,WAIT_TIME 列使用一個非常大的值來表示所在平臺不支援 fast timing mechanism,而不是負數(如前所述)。
-
The STATE column interprets the value of WAIT_TIME and describes the state of the current or most recent wait.
STATE列的數值將影響WAIT_TIME 表達的含義,並且STATE列表示當前狀態還是最近一次等待。
Column | Datatype | Description |
---|---|---|
SID | NUMBER | Session identifier |
SEQ# | NUMBER | Sequence number that uniquely identifies this wait. Incremented for each wait. |
EVENT | VARCHAR2(64) | Resource or event for which the session is waiting
See Also: |
P1TEXT | VARCHAR2(64) | Description of the first additional parameter |
P1 | NUMBER | First additional parameter |
P1RAW | RAW(4) | First additional parameter |
P2TEXT | VARCHAR2(64) | Description of the second additional parameter |
P2 | NUMBER | Second additional parameter |
P2RAW | RAW(4) | Second additional parameter |
P3TEXT | VARCHAR2(64) | Description of the third additional parameter |
P3 | NUMBER | Third additional parameter |
P3RAW | RAW(4) | Third additional parameter |
WAIT_CLASS_ID | NUMBER | Identifier of the wait class |
WAIT_CLASS# | NUMBER | Number of the wait class |
WAIT_CLASS | VARCHAR2(64) | Name of the wait class |
WAIT_TIME | NUMBER |
A nonzero value is the session's last wait time. A zero value means the session is currently waiting. 非零值表示上一次等待時間;等於零時表示正在等待。 |
SECONDS_IN_WAIT | NUMBER |
If WAIT_TIME = 0, then SECONDS_IN_WAIT is the seconds spent in the current wait condition. If WAIT_TIME > 0, then SECONDS_IN_WAIT is the seconds since the start of the last wait, and SECONDS_IN_WAIT - WAIT_TIME / 100 is the active seconds since the last wait ended. wait_time=0,表示正在等待的已經花費的時間(單位:秒)。wait_time>0,表示距離上次等待開始的時間(單位:秒)。而SECONDS_IN_WAIT - WAIT_TIME / 100表示自從上次等待後結束後的active的時間(單位:秒)。 |
STATE | VARCHAR2(19) | Wait state:
|
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23650854/viewspace-691632/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle等待檢視v$session_waitOracleSessionAI
- V$SESSION_WAITSessionAI
- 10.25 V$SESSION_WAITSessionAI
- v$session_wait 相關SessionAI
- v session_wait v session_event v system_eventSessionAI
- v$session_event , v$system_event , v$session_waitSessionAI
- (轉):學習Oracle動態效能表-(9)-V$SESSION_WAIT,V$SESSION_EVENTOracleSessionAI
- v$session_wait和v$session_event檢視SessionAI
- Oracle動態效能檢視學習筆記(10)_v$session_waitOracle筆記SessionAI
- 關於v$session_wait 表的運用SessionAI
- 幾個重要檢視(V$SYSTEM_EVENT V$SESSION_EVENT V$SESSION_WAIT)SessionAI
- 動態檢視學習之v$session_waitSessionAI
- 查詢等待事件(wait event)相關的SQL - v$session_wait, v$rowcache,v$sqltext事件AISQLSession
- 學習動態效能表(六)-(1)-V$SESSION_WAITSessionAI
- v$session_wait中p1 p2 p3應用總結分析SessionAI
- Oracle V$FILESTATOracle
- 【Oracle】-【v$session】v$session的SNIPED狀態OracleSession
- Oracle's V$ Views(轉)OracleView
- oracle v$lock詳解Oracle
- oracle v$sysstat效能檢視Oracle
- Oracle常用的V$檢視Oracle
- Oracle 等待事件V$檢視Oracle事件
- Oracle V$event_name 整理Oracle
- Oracle 10G V$ViewsOracle 10gView
- oracle v$lock系列之三Oracle
- Oracle V$SESSION中的常用列OracleSession
- Oracle中效能檢視V$SYSSTATOracle
- oracle V$PGASTAT檢視記錄OracleAST
- oracle lock鎖_v$lock_轉Oracle
- ORACLE之常用FAQ V1.0Oracle
- Oracle9i中v$sql、v$sqlarea、v$sqltext、v$sql_plan的聯絡與區別OracleSQL
- oracle鎖表問題處理 v$lock v$locked_objectOracleObject
- (轉):學習Oracle動態效能表-(7)-V$SQLTEXT,V$SQLAREAOracleSQL
- Oracle動態效能檢視學習之v$sqltext & v$sqlareaOracleSQL
- [轉]學習Oracle動態效能表-(6)-V$SQLTEXT,V$SQLAREAOracleSQL
- oracle11g v$sql_v$sqlarea_version_count測試OracleSQL
- Oracle Sun Exadata V2 ,V2-2,V2-8 主要配置對比Oracle
- Oracle動態效能檢視學習筆記(2)_v$sesstat_v$mystat_v$statnameOracle筆記