OWI

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

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

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/253092.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/253092.shtml
英文地址,請注明出處:http://en.pswp.cn/news/253092.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

201521123110《Java程序設計》第5周學習總結

1. 本周學習總結 1.1 嘗試使用思維導圖總結有關多態與接口的知識點。 2. 書面作業 1.代碼閱讀&#xff1a;Child壓縮包內源代碼 1.1 com.parent包中Child.java文件能否編譯通過?哪句會出現錯誤&#xff1f;試改正該錯誤。并分析輸出結果。不能編譯通過,因為System.out.println…

Python中正則表達式講解

正則表達式是匹配字符串的強大武器&#xff0c;它的核心思想是給字符串定義規則&#xff0c;凡是符合規則的字符串就是匹配了&#xff0c;否則就是不合法的。在介紹Python的用法之前&#xff0c;我們先講解一下正則表達式的規則&#xff0c;然后再介紹在Python中如何運用。 如果…

電源適配器上各符號的意義都清楚嗎?

現在家里的電子產品是越來越多了&#xff0c;比如&#xff1a;手機、平板、筆記本、智能電視、智能音箱、路由器、剃須刀等&#xff1b;機身或者充電器上都有很多符號標志。 有沒有好奇過或者被小孩詢問過&#xff0c;這些符號標志都是什么意思呢&#xff1f;只有讀懂這些符號…

蘇寧海量服務器自動化配置運維實踐

運維的演進 人力運維階段 在IT產業的早期&#xff0c;服務器運維是通過各種Ad Hoc命令或者Shell腳本來完成基礎設施的自動化工作&#xff0c;這種方式對于簡單&#xff0c;一次性的工作很方便&#xff0c;但是對于復雜和長期的項目&#xff0c;后期的腳本維護非常麻煩。自動化工…

JS小技巧

JS操作偽元素 CSS代碼&#xff1a; #myId:before {content: "hello world!";display: block;width: 100px;height: 100px;background: red; } JS 代碼&#xff1a; var myIdElement document.getElementById("myId"); var beforeStyle window.getCompute…

流媒體服務器

1 引言   隨著互聯網的飛速發展,流媒體技術的應用越來越廣泛,從網上廣播、電影播放到遠程教學以及在線的新聞網站等都用到了流媒體技術。但現有公開文獻所報道 的大多是利用現有的流媒體服務器來搭建一個流媒體服務系統&#xff0c;或者是針對流媒體數據的編碼方式所進行的…

試產機器發現元器件損毀 風險排查過程

產品在試產階段或者公測階段&#xff0c;發現有個別機器功能異常&#xff0c;研發定位為個別元器件損壞&#xff1b; 定位過程大致有如下步驟&#xff1a; A-故障現象復現 B-輸入輸出檢查 C-電源及管腳狀態測量 D-交叉驗證 E-基本外觀觀察和特性測量 然后將器件郵寄給原…

騰訊面試經驗2

時間&#xff1a;2017年10月16日11:30面試。 地點&#xff1a;重慶萬達艾美酒店。 信息&#xff1a;女&#xff0c;本科應屆生&#xff0c;面試后臺開發崗位。 在深圳的面試已經全部結束了&#xff0c;偶然間聽朋友說重慶、長沙等場地的面試還在進行中&#xff0c;只要修改面試…

簡易有效Api接口防攻擊策略

API&#xff08;Application Programming Interface&#xff0c;應用程序編程接口&#xff09;是一些預先定義的函數&#xff0c;目的是提供應用程序與開發人員基于某軟件或硬件得以訪問一組例程的能力&#xff0c;而又無需訪問源碼&#xff0c;或理解內部工作機制的細節。 簡單…

CSS 如何設置垂直居中

1、水平居中我們都知道&#xff0c;可以直接用&#xff1a; margin:0 auto; 2、垂直居中&#xff0c;需要做一點小小的計算&#xff0c;關鍵代碼如下&#xff1a; height: 600px; position: absolute; top: 50%; margin-top:-300px; 如需水平且垂直居中&#xff1a; height: 60…

被稱為海淀媽媽四大神器之一的傾聽者K3 硬件拆解

暑假期間發現很多博主都在推薦傾聽者K3&#xff0c;被海淀媽媽們稱為四大神器之一&#xff0c; 雖然暫沒聽說其他三大神器是什么&#xff0c;作為教育硬件愛好者還是決定先整個回來拆拆看。 在京東上搜到傾聽者K3版本一共有三種顏色&#xff0c;分別是藍色&#xff08;悟空藍&…

有名信號量sem_open和內存信號量sem_init創建信號量的區別

有名信號量sem_open和內存信號量sem_init創建信號量的區別 分類&#xff1a; C/C sem_t *sem sem_open(const char *name, int oflag, .../*mode_t mode,unsinged int value) ;int sem_init(sem_t *sem,int shared, unsigned int value);區別&#xff1a;1.創建有名信號量必須…

KVM虛擬機相關步驟

KVM是Kernel-based Virtual Machine的簡稱&#xff0c;是一個開源的虛擬化模塊&#xff0c;該文檔是基于CentOS 7.4環境操作的 一、操作系統安裝 本文采用的是CentOS 7.4 1、查看系統版本 cat /etc/redhat-release 2、系統更新 Yum makecache &&yum update && …

dds設計信號發生器

高一 150206101 Dds數字信號發生器設計方案 DDS的工作原理框圖如下 在微機內&#xff0c;若插入一塊D/A轉換卡&#xff0c;然后編制一段小程序&#xff0c;如連續進行加一運算到一定值&#xff0c;然后連續進行減一 運算回到原值&#xff0c;在反復運行該程序&#xff0c;則微機…

Maven--資源文件resource的問題

2019獨角獸企業重金招聘Python工程師標準>>> Maven項目的目錄有&#xff1a; src/java/main src/java/resource src/test/main src/test/resource 有的時候在resource目錄下添加文件卻不能加載出來&#xff0c;解決的辦法是從把添加的資源文件添加到properties---&g…

pthread_create()創建線程最大個數

線程應用程序最常見導致創建線程失敗的原因是線程棧大小的設置。創建一個新的線程&#xff0c;默認情況下系統為線程棧預留了2MB的尋址空間。線程棧起始于進程虛擬 內存的高端地址&#xff0c;并向虛擬內存底端地址方向擴展。取決于線程本身的大小以及其它線程內存分配的情況&a…

C++ Primer 5 CH4 表達式

4.1 基礎 函數調用也是一種特殊的運算符&#xff0c;它對運算對象的數量沒有限制。C 的表達式要么是左值&#xff0c;要么是右值。左值可以位于賦值語句的左邊&#xff0c;右值則不可以。當一個對象被用作右值的時候&#xff0c;用的是對象的值&#xff1b;當對象被用作左值的時…

PHY以太網自動協商原理

自協商原理&#xff1a;自協商是通過一種叫做快速連接脈沖&#xff08;Fast Link Pulse&#xff09;的信號實現的&#xff0c;簡稱FLP。自協商的雙方通過FLP來交換數據。 在具備自協商能力的端口沒有Link的情況下&#xff0c;端口一直發送FLP&#xff0c;在FLP中包含著…

canvas--初級

摘要&#xff1a; canvas:默認寬高為300*150&#xff0c;需用canvas的API定義其寬高繪畫路徑以beginPath()開始,以closePath()結束常用方法fill()、stroke()、rect()、arc()、text()、lineTo()、moveTo()以下為代碼&#xff1a; var cdocument.getElementById("mycanvas&q…

撲克牌翻牌問題(遞歸)

撲克牌翻牌問題 題目描述&#xff1a; 有52張牌&#xff0c;使它們全部正面朝上&#xff0c;從第2張開始&#xff0c;凡是2的倍數位置上的牌翻成正面朝下&#xff1b;接著從第3張牌開始&#xff0c;凡是3的倍數位置上的牌&#xff0c;正面朝上的翻成正面朝下,正面朝下的翻成正面…