日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

OWI

發布時間:2023/12/10 编程问答 21 豆豆
生活随笔 收集整理的這篇文章主要介紹了 OWI 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

2019獨角獸企業重金招聘Python工程師標準>>>

V$EVENT_NAME

V$EVENT_NAME?displays information about wait events.

ColumnDatatypeDescription
EVENT#NUMBERNumber of the wait event
EVENT_IDNUMBERIdentifier of the wait event
NAMEVARCHAR2(64)Name of the wait event
PARAMETER1VARCHAR2(64)Description of the first parameter for the wait event
PARAMETER2VARCHAR2(64)Description of the second parameter for the wait event
PARAMETER3VARCHAR2(64)Description of the third parameter for the wait event
WAIT_CLASS_IDNUMBERIdentifier of the class of the wait event
WAIT_CLASS#NUMBERNumber of the class of the wait event
WAIT_CLASSVARCHAR2(64)Name of the class of the wait event. See?"Classes of Wait Events"?for a description of the different wait event classes.

The WAIT_CLASS_ID, WAIT_CLASS#, and WAIT_CLASS columns are added to the?V$EVENT_NAME view in Oracle Database 10g Release 1 to group wait events by class or?category, such as User I/O, Network, Concurrency, etc. The WAIT_CLASS_ID contains the hash?value of the wait class name; it will remain the same from version to version as long as the name of?the wait class does not change. The column WAIT_CLASS# contains a unique number for the?WAIT_CLASS. Just like the EVENT#, it may change from version to version. The column?WAIT_CLASS contains the actual name of the wait event class. ?

V$SESSION_WAIT

V$SESSION_WAIT?displays the resources or events for which active sessions are waiting.

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.

  • 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 totrue. Remember that doing this has a small negative effect on system performance.

    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.

  • The?STATE?column interprets the value of?WAIT_TIME?and describes the state of the current or most recent wait.

?

ColumnDatatypeDescription
SIDNUMBERSession identifier
SEQ#NUMBERSequence number that uniquely identifies this wait. Incremented for each wait.
EVENTVARCHAR2(64)Resource or event for which the session is waiting

See Also:?Appendix C, "Oracle Wait Events"

P1TEXTVARCHAR2(64)Description of the first additional parameter
P1NUMBERFirst additional parameter
P1RAWRAW(4)First additional parameter
P2TEXTVARCHAR2(64)Description of the second additional parameter
P2NUMBERSecond additional parameter
P2RAWRAW(4)Second additional parameter
P3TEXTVARCHAR2(64)Description of the third additional parameter
P3NUMBERThird additional parameter
P3RAWRAW(4)Third additional parameter
WAIT_CLASS_IDNUMBERIdentifier of the wait class
WAIT_CLASS#NUMBERNumber of the wait class
WAIT_CLASSVARCHAR2(64)Name of the wait class
WAIT_TIMENUMBERA nonzero value is the session's last wait time. A zero value means the session is currently waiting.
SECONDS_IN_WAITNUMBERIf?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.
STATEVARCHAR2(19)Wait state:
  • 0 - WAITING?(the session is currently waiting)

  • -2 - WAITED UNKNOWN TIME?(duration of last wait is unknown)

  • -1 - WAITED SHORT TIME?(last wait <1/100th of a second)

  • >0 - WAITED KNOWN TIME?(WAIT_TIME?= duration of last wait)

The text of PARAMETER1, PARAMETER2, and PARAMETER3 of each event are also displayed?in the P1TEXT, P2TEXT, and P3TEXT columns in the V$SESSION_WAIT view whenever a?session waits on the event. The actual values for these parameters are shown in P1, P2, and P3?columns of the V$SESSION_WAIT view.

V$SYSTEM_EVENT

ColumnDatatypeDescription
EVENTVARCHAR2(64)Name of the wait event
TOTAL_WAITSNUMBERTotal number of waits for the event
TOTAL_TIMEOUTSNUMBERTotal number of timeouts for the event
TIME_WAITEDNUMBERTotal amount of time waited for the event (in hundredths of a second)
AVERAGE_WAITNUMBERAverage amount of time waited for the event (in hundredths of a second)
TIME_WAITED_MICRONUMBERTotal amount of time waited for the event (in microseconds)
EVENT_IDNUMBERIdentifier of the wait event
WAIT_CLASS_IDNUMBERIdentifier of the class of the wait event
WAIT_CLASS#NUMBERNumber of the class of the wait event
WAIT_CLASSVARCHAR2(64)Name of the class of the wait event

Note that the?TIME_WAITED?and?AVERAGE_WAIT?columns will contain a value of zero on those 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, you must set?TIMED_STATISTICS?to?TRUE?in the parameter file;

The column EVENT contains the name of the wait event, and the column TOTAL_WAITS contains?the number of times the sessions waited on this event. If applicable to the event, the?TOTAL_TIMEOUTS column records the number of times a session failed to get the requested?resource after the initial wait. The column TIME_WAITED reports the total amount of time spent?waiting on the event. The column AVERAGE_WAIT gives the average time for each wait and is?derived from the TOTAL_WAITS and TIME_WAITED olumns.?

Starting with Oracle9i Database, wait time has been tracked in microseconds, that is, 1/1,000,000th?of a second, and has been reported in the TIME_WAITED_MICRO column. The TIME_WAITED?and AVERAGE_WAIT columns are derived by dividing TIME_WAITED_MICRO by 10000.?

轉載于:https://my.oschina.net/u/3862440/blog/2873054

總結

以上是生活随笔為你收集整理的OWI的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。