12cR2_AWR相关参数设置

发布时间:2020-05-26 08:03:59 作者:roidba
来源:网络 阅读:756


Oracle 12cR2

性能优化文档。

https://docs.oracle.com/database/122/TDPPT/oracle-database-performance-method.htm#TDPPT007


Gathering Database Statistics Using the Automatic Workload Repository

Database statistics provide information about the type of load on the database and the internal and external resources used by the database. To accurately diagnose performance problems with the database using ADDM, statistics must be available.


A cumulative statistic is a count such as the number of block reads. Oracle Database generates many types of cumulative statistics for the system, sessions, and individual SQL statements. Oracle Database also tracks cumulative statistics about segments and services. Automatic Workload Repository (AWR) automates database statistics gathering by collecting, processing, and maintaining performance statistics for database problem detection and self-tuning purposes.


By default, the database gathers statistics every hour and creates an AWR snapshot, which is a set of data for a specific time that is used for performance comparisons. The delta values captured by the snapshot represent the changes for each statistic over the time period. Statistics gathered by AWR are queried from memory. The gathered data can be displayed in both reports and views.

--每小时收集一次AWR快照


The following initialization parameters are relevant for AWR:

--下面是两个和AWR相关的参数。

       --关闭此参数会禁用掉很多数据库的特性,包括ADDM,不建议关闭。



SQL> show parameter statistics_level        --默认值不需要修改

NAME                                 TYPE        VALUE
------------------------ ----------- ------------------------------
statistics_level                     string      TYPICAL

SQL> show parameter control_management   --默认值不需要修改

NAME                                                     TYPE        VALUE
-------------------------------------- ----------- ------------------------------
control_management_pack_access      string      DIAGNOSTIC+TUNING
SQL>

以上大家知道我们收集到AWR信息是和那些参数有关,默认设置即可,不需要修改。

建议大家看英文官方文档,学英语学技术,哦也!

推荐阅读:
  1. MGR自增序列参数设置步骤
  2. 使用mysqladmin哪些命令可以显示参数设置

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

相关 awr 12cr2

上一篇:(01)Hibernate入门

下一篇:网络安全——Span 安全监控

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》