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:

  • P1RAWP2RAW, and P3RAW display the same values as the P1P2, 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.mzph.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…

电源适配器上各符号的意义都清楚吗?

现在家里的电子产品是越来越多了&#xff0c;比如&#xff1a;手机、平板、笔记本、智能电视、智能音箱、路由器、剃须刀等&#xff1b;机身或者充电器上都有很多符号标志。 有没有好奇过或者被小孩询问过&#xff0c;这些符号标志都是什么意思呢&#xff1f;只有读懂这些符号…

苏宁海量服务器自动化配置运维实践

运维的演进 人力运维阶段 在IT产业的早期&#xff0c;服务器运维是通过各种Ad Hoc命令或者Shell脚本来完成基础设施的自动化工作&#xff0c;这种方式对于简单&#xff0c;一次性的工作很方便&#xff0c;但是对于复杂和长期的项目&#xff0c;后期的脚本维护非常麻烦。自动化工…

腾讯面试经验2

时间&#xff1a;2017年10月16日11:30面试。 地点&#xff1a;重庆万达艾美酒店。 信息&#xff1a;女&#xff0c;本科应届生&#xff0c;面试后台开发岗位。 在深圳的面试已经全部结束了&#xff0c;偶然间听朋友说重庆、长沙等场地的面试还在进行中&#xff0c;只要修改面试…

简易有效Api接口防攻击策略

API&#xff08;Application Programming Interface&#xff0c;应用程序编程接口&#xff09;是一些预先定义的函数&#xff0c;目的是提供应用程序与开发人员基于某软件或硬件得以访问一组例程的能力&#xff0c;而又无需访问源码&#xff0c;或理解内部工作机制的细节。 简单…

被称为海淀妈妈四大神器之一的倾听者K3 硬件拆解

暑假期间发现很多博主都在推荐倾听者K3&#xff0c;被海淀妈妈们称为四大神器之一&#xff0c; 虽然暂没听说其他三大神器是什么&#xff0c;作为教育硬件爱好者还是决定先整个回来拆拆看。 在京东上搜到倾听者K3版本一共有三种颜色&#xff0c;分别是蓝色&#xff08;悟空蓝&…

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…

以太网自动协商原理

自协商基本原理 自动协商模式是端口根据另一端设备的连接速度和双工模式&#xff0c;自动把它的速度调节到最高的公共水平&#xff0c;即线路两端能具有的最快速度和双工模式。 自协商功能允许一个网络设备能够将自己所支持的工作模式信息传达给网络上的对端&#xff0c;并接受…

mac与phy如何实现网络自适应

这两天修改网卡驱动以实现10/100/1000M自适应&#xff0c;因此研究了下phy芯片和emac驱动如何兼容10/100/1000M网络环境&#xff0c;记录在此。 网络中设备端数据链路层由mac芯片和phy芯片组成&#xff0c;phy芯片根据外部网络环境完成自动协商以及配置&#xff0c;驱动中根据p…

LVM逻辑卷详解及创建

我们先来看一下这张图片&#xff1a;PV: 底层的一个硬盘设备&#xff0c;可以是一个分区&#xff0c;也可能是一个RAID。我们可以把这个块设备创建成一个物理卷格式&#xff0c;即一个PV。VG: 将一个或多个PV提供的存储空间在一个更低的单位上划分成一个个独立的存储单元&#…

ITU-RBT.656视频标准接口

601是SDTV的数据结构 656是SDTV的interface 709是HDTV的数据结构 1120是HDTV的interface ITU-R BT.601是演播室数字电视编码参数标准&#xff0c;而ITU-R BT.656 则是ITU-R BT.601附件A中的数字接口标准&#xff0c; 用于主要数字视频设备(包括芯片)之间采用27Mhzs并口或243Mb…

C语言博客作业03--函数

1.本章学习总结 1.1思维导图 1.2本章学习体会及代码量学习体会 1.2.1学习体会 本周学习了函数&#xff0c;其实&#xff0c;函数于之前学习的三大控制结构是密不可分的&#xff0c;而函数又有其特殊的地方&#xff0c;例如&#xff1a;函数的声明、函数的调用等等。我们之前编写…

Insta360:从软到硬,一年做出360°全景相机,中间填了多少坑?

摘要刘靖康在大学就开始创业。在大二的时候他曾经去腾讯实习&#xff0c;然后又去了“超级课程表”这个团队实习半年&#xff0c;2013 年 9 月回到南京创业&#xff0c;一开始的产品叫“名校直播”&#xff0c;是一款围绕院校名师讲座所做的视频直播产品。 不久前&#xff0c;一…

No.10 awk、变量、运算符、if多分支

awk、变量、运算符、if多分支 awk语法 ~ awk -F: {print $3,$4} /etc/passwd //-F指定:分隔符 默认以空格作为分隔符 ~ awk -F: {print &0,NF} //$0打印全部,NF有几段内容 ~ awk -F: {print $NF} /etc/passwd //$NF打印最后一段内容 ~ awk -F: {print NR} /etc/passwd…

排序: 选择排序

1. 基本原理 将待排序的元素分为已排序(初始为空)和未排序两组&#xff0c;依次将未排序的元素中值最小的元素放入已排序的组中。 直接选择排序简单直观&#xff0c;但性能略差&#xff1b;堆排序是一种较高效的选择排序方法&#xff0c;但实现起来略微复杂。 2. 直接选择排序 …

全景摄像技术大有可为

网络摄像机发展至今&#xff0c;已经基本满足了“高清”、“日夜监控”、“远距离监控”的需求&#xff0c;但是 随着细分市场的发展&#xff0c;超广角摄像机需求逐渐凸显出来。主要应用在会议室、办公室、大厅/大堂、商场、仓库、车间等大面积开阔的区域&#xff0c;解决原来…

java文件传输之文件编码和File类的使用

---恢复内容开始--- 我们知道&#xff0c;在用户端和服务端之间存在一个数据传输的问题&#xff0c;例如下载个电影、上传个照片、发一条讯息。在这里我们 就说一下文件的传输。 1.文件编码 相信大家小时候玩过积木&#xff08;没玩过也看过吧&#xff09;&#xff0c;看到一个…

arm-linux-gcc:Command not found的问题

标签&#xff1a; ubuntulinux 2015-05-15 10:47 680人阅读 评论(0) 收藏 举报 分类&#xff1a; Ubuntu&#xff08;23&#xff09; /etc/profile gcc&#xff08;9&#xff09; ARM汇编指令&#xff08;4&#xff09; 折腾了一天&#xff0c;终于搞定了。 ubuntu没有roo…

PASTE Splay

题目描述 我们用文本处理器来处理一个特殊的文本文件&#xff0c;该文本文件共有N行文本&#xff0c;每一行文本仅包含一个自然数&#xff0c;第一行为1、第二行为2&#xff0c;以此类推至N行为自然数N。   假设对该文本文件执行一次“剪切和粘贴”操作含义如下&#xff1a;…