AWR and ADDM
The Automatic Workload Repository
Oracle collect a vast amount of statistics regarding the performance and activity. These statistics is accumulated in the memory and periodically flushed into AWR. The AWR is a set of tables and other data structure in the SYSAUX tablespace. By default the statistics are flushed into AWR once a hour, this is known as the AWR snapshot. The AWR snapshot will be stored in the AWR for 8 days by default. The collection for system statistics have three level-basic,typical and all. The default is typical. Basic gather too less statistics which may be helpless. All will gather too much statistics which may affect the database performance. To set the level you can specify the value of initialization parameter STATISTICS_LEVEL.
The content of AWR snapshot can be seen as the collection of all the performance v$ views. In addation to this, the AWR snapshot can also store information from DBA views. For example, the history of a data object statistics. With the AWR, database will not have a long-term record of how data object were changing. The DBMS_STATS will return current statistics but a historical picture of the state of the data objects may also very useful.
You can use the AWR snapshot to generate AWR report.
The ADDM
The database comes with a set of preconfigured advisors. We can say Automatic Database Diagnostic Monitor is the interface for this advisors. ADDM will generat a ADDM report everytime a AWR snapshot generated. The ADDM will point some issues the database may facing and will suggest you to do something. The something here may means run other advisors.
The ADDM is run automatically by the MMON whenever a snapshot is taken. As with all the advisors, it takes statistics and other information from the AWR. The automatically generated ADDM reports always cover the period between the current snapshot and the previous one—so by default, you will have access to reports covering every hour. You can invoke the ADDM manually to generate a report covering the period between any two snapshots, if you want to span a greater period. The ADDM report will be purged 30 days.
AWR and ADDM的更多相关文章
- awr ash addm
		awr ash addm awr addm :基于快照的ash :单独,每秒采样 dbtime=db cpu + wait 柜员忙碌的时间=A做业务的时间+B做业务的时间等待时间=B等待A做业务的时间 ... 
- Oracle 11g AWR和ADDM性能报告
		一.自动工作负载库(Automatic Workload Repository,AWR) 自动工作负载库(Automatic Workload Repository,AWR)是在Oracle公司提供的 ... 
- oracle rac自动生成awr
		cat awr.sql ######EXEC P_AWR_REPORT('201604251000', '201604251100', 'D_OUTPUT', '', FALSE); FALSE为ra ... 
- Oracle AWR快照管理与常见问题
		1.手动创建Snapshots exec dbms_workload_repository.create_snapshot(); OR BEGIN DBMS_WORKLOAD_REPOSITORY.C ... 
- Oracle学习线路
		出自huyangg的博客,地址是:oracle学习路线图 1.sql.pl/sql(网上有很多的视频,可以做一个简单的入手,然后看几本书,多做实验) 作为oracle的基本功,需要大家对sql和 ... 
- Oracle与MySQL的区别
		1. Oracle是大型数据库而Mysql是中小型数据库,Oracle市场占有率达40%,Mysql只有20%左右,同时Mysql是开源的而Oracle价格非常高. 2. Oracle支持大并发,大访 ... 
- ORA-04031错误导致宕机案例分析
		今天遇到一起ORACLE数据库宕机案例,下面是对这起数据库宕机案例的原因进行分析.解读.分析过程中顺便记录一下这个案例的前因后果,攒点经验值,培养一下分析.解决问题的能力. 案例环境: 操作系统 ... 
- mysql和oracle的区别(功能性能、选择、使用它们时的sql等对比)
		一.并发性 并发性是oltp数据库最重要的特性,但并发涉及到资源的获取.共享与锁定. mysql:mysql以表级锁为主,对资源锁定的粒度很大,如果一个session对一个表加锁时间过长,会让其他se ... 
- Oracle DBA从小白到入职实战应用
		现如今Oracle依然是RDBMS的王者,在技术上和战略上,Oracle仍然一路高歌猛进,并且全面引领行业迈入了云时代,伴随着12cR2即将在2016年正式发布,学习Oracle之路依旧任重道远,目前 ... 
随机推荐
- layer父页获取弹出层输入框里面的值
			主要是因为修改功能,原来页面填写数据如图 改为 其中点击填写明细弹出框 填写完毕后点击确认返回,同事这里因为她是存的多表,所以点击确认就直接保存数据了,改的这个功能原本保存是整体保存,我就不想改原来的 ... 
- 微信小程序打卡第五天
			2018-02-1823:55:53大年初三 微信小程序已经学了5个夜晚了,没有很努力,只是简单地接触,感觉从今天开始有了突破的进展,很爽! 无意间发现一个很好的教程,也是一个老哥分享的,很给力 ht ... 
- js中关于string转date类型的转换
			var date_up = input.split("-");//input表示string类型(时间例如:2017-11-12 10:07:36.653) var date_do ... 
- postgresql遇到的性能问题
			问题SQL scwksmlcls.wk_cls_c , scwklrgcls.wk_lrg_cls_nm , scwkmdlcls.wk_mdl_cls_nm , scwksmlcls.wk_sml_ ... 
- Android显示相册图片和相机拍照
			首先看最重要的MainActive类: public class MainActivity extends AppCompatActivity { private final int FROM_ALB ... 
- vux+vuex+vue+Es6开发微信公众号的坑
			初次开发微信公众号遇到很多问题,可能是基础不怎么牢靠,最近几天一直在看vue的东西,现在就来慢慢介绍vux和vue这个骚东西的用法: 细看文档一步步来, npm install vux --save ... 
- ASP MVC
			V-view 显示层 C-controller 控制层 M-model 模型 D-database 数据库 S-Service 服务 D-Database/Dao 数据库/访问数据库的方法 View即 ... 
- 动态设置缩放比例和html字体大小
			<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8& ... 
- IOS7 状态栏和  Navigation Bar重叠的问题解决
			一 Status bar重叠问题: 方法一:隐藏Status bar 在plist里面增加2个变量 Status bar is initially hidden -> YES Vie ... 
- 牛客多校Round 5
			Solved:3 rank:195 F. take 官方题解:小 A 在打开第 i 个箱子后会交换手中的钻石和第 i 个箱子中的钻石 当且仅当第 i个箱子的钻石是前 i 个箱子打开后出现的所有钻石里最 ... 
