前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >[AWR报告]Top 5 Timed Events

[AWR报告]Top 5 Timed Events

作者头像
bsbforever
发布2020-08-19 14:19:19
9440
发布2020-08-19 14:19:19
举报
文章被收录于专栏:时悦的学习笔记

从今天开始讲解awr报告Top 5 Timed Events部分

之所以是个专题,因为会对常用的一些等待事件进行说明

今天先对一些术语做解释


这部分指的是占用数据库时间靠前的一些事件,主要是等待事件

Event 代表事件的名称

Waits代表 该事件等待的次数,CPU Time不适用

Time(s)代表该事件等待的总时间,单位为秒

Avg Wait(ms) 代表平均等待时间(Time(s)/Waits),单位为毫秒

% Total Call Time 代表该事件占整个Call Time的比例,该栏位从10g开始提供

Wait Class 代表等待事件的类型,该栏位从10g开始提供


常见的Wait Class 如下

Administrative

由于DBA命令导致的等待(如 重建索引)

Waits resulting from DBA commands that cause users to wait (for example, an index rebuild)


Application

用户程序代码导致的等待(如 锁等待)

Waits resulting from user application code (for example, lock waits caused by row level locking or explicit lock commands)


Cluster

和RAC 资源相关的等待(如gc cr block busy)

Waits related to Real Application Cluster resources (for example, global cache resources such as ‘gc cr block busy’)


Commit

这个等待只包含log file sync

This wait class only comprises one wait event - wait for redo log write confirmation after a commit (that is, ‘log file sync’)


Concurrency 数据库内部资源的等待(如latches)

Waits for internal database resources (for example, latches)


Configuration

由于配置不正确导致的等待(如日志文件大小和共享池大小)

Waits caused by inadequate configuration of database or instance resources (for example, undersized log file sizes, shared pool size)


Idle

空闲等待,一般不需要关注,但有的需要查看,如DB-LINK相关的

Waits that signify the session is inactive, waiting for work (for example, ‘SQL*Net message from client’)


Network

和网络传输相关的等待

Waits related to network messaging (for example, ‘SQL*Net more data to dblink’)


Other

一些不会发生在系统层面的等待

Waits which should not typically occur on a system (for example, ‘wait for EMON to spawn’)


Scheduler

资源管理相关的等待

Resource Manager related waits (for example, ‘resmgr: become active’)


System I/O

后台进程IO相关的等待

Waits for background process IO (for example, DBWR wait for ‘db file parallel write’)


User I/O

重要: 和用户IO 相关的等待(如db file sequential read 等) Waits for user IO (for example ‘db file sequential read’)


今天讲到这了,下节介绍db file sequential read


下期预告

db file sequential read

本文参与 腾讯云自媒体同步曝光计划,分享自微信公众号。
原始发表:2017-07-19,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 宅必备 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档