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…

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;正面朝上的翻成正面朝下,正面朝下的翻成正面…