STATSPACK and AWR Statistics Comparison

In a previous chapter, it was shown that many of the internal AWR tables have similar structure to the corresponding STATSPACK tables that store snapshots of the same v$ dynamic views. This supports the statement that the AWR is the next evolution of the STATSPACK utility. This similarity enables the easy conversion of existing performance reports originally designed for STATSPACK to new AWR views. Table 3.1 from Chapter 3 of this book contains a list of equivalent tables in the STATSPACK and AWR repositories.

 

The AWR repository holds all of the statistics available in STATSPACK as well as some additional statistics which are not. The following information on statistics is specific to those stored in the AWR that are not part of the STATSPACK.

 

STATSPACK does not store the Active Session History  (ASH) statistics available in the AWR dba_hist_active_sess_history view. The ASH allows DBAs to perform time-series analyses of wait events for a particular session history.

 

An important difference between STATSPACK and the AWR is that STATSPACK does not store history for new metric statistics introduced in Oracle10g. The key AWR views, dba_hist_sysmetric_history  and dba_hist_sysmetric_summary , help the DBA build time-series reports for important database performance metrics such as Total Time Waited or Response Time Per Txn.

 

The AWR also contains views such as dba_hist_service_stat , dba_hist_service_wait_class and dba_hist_service_name , which store history for performance cumulative statistics tracked for specific services.

 

The latest version of STATSPACK included with Oracle10g contains a set of specific tables, which track history of statistics that reflect the performance of the Oracle Streams feature. These tables are stats$streams_capture , stats$streams_apply_sum , stats$buffered_subscribers , stats$rule_set , stats$propagation_sender , stats$propagation_receiver  and stats$buffered_queues . The AWR does not contain the specific tables that reflect Oracle Streams activity; therefore, if a DBA relies heavily on the Oracle Streams feature, it would be useful to monitor its performance using STATSPACK utility.

 

 

 

AWR包括STATSPACK的所有统计信息。AWR还包括以下STATSPACK没有的统计信息。
 
STATSPACK不保存ASH统计, AWR中 dba_hist_active_sess_history view保存,ASH允许DBA一个历史时期的基于时间的等待事件的分析。
 
STATSPACK and the AWR一个重要的区别是STATSPACK不包含10g中新增的统计信息dba_hist_sysmetric_history  and dba_hist_sysmetric_summary这两个视图帮助DBA报告Total Time Waited or Response Time Per Txn的统计信息。
 
 AWR还包括dba_hist_service_stat , dba_hist_service_wait_class and dba_hist_service_name的统计某些专有服务历史的性能信息。
最新的STATSPACK包括Streams的特征统计。stats$streams_capture , stats$streams_apply_sum , stats$buffered_subscribers , stats$rule_set , stats$propagation_sender , stats$propagation_receiver  and stats$buffered_queuesAWR中不包括所以想使用统计反映Stream最好还是使用Statspack
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值