ITPub博客

首页 > 数据库 > Oracle > 关于dba_hist_active_sess_history的一些看法

关于dba_hist_active_sess_history的一些看法

原创 Oracle 作者:哎呀我的天呐 时间:2015-04-18 19:34:13 0 删除 编辑
ash是active session history的缩写
其中dba_hist_active_sess_history中sample_time是采样时间,那么采样时间是多久采一次呢?

点击(此处)折叠或打开

  1. SQL> 
  2.  select a.ksppinm, b.ksppstvl
  3.  from sys.x$ksppi a, sys.x$ksppcv b
  4.  where a.indx = b.indx
  5.  and a.ksppinm like '_ash%'

  6. KSPPINM                          KSPPSTVL
  7. ----------------------------- ------------------------------
  8. hash_area_size                     131072
  9. _ash_sampling_interval             1000
  10. _ash_size                          1048618
  11. _ash_enable                        TRUE
  12. _ash_disk_write_enable             TRUE
  13. _ash_disk_filter_ratio             10
  14. _ash_eflush_trigger                66
  15. _ash_sample_all                    FALSE
  16. _ash_dummy_test_param              0
  17. _ash_min_mmnl_dump                 90
_ash_sampling_interval             1000ms 采样一次 其中

_ash_sample_all这个如果设置成true,会把inactive的session也进ash中,如果开则个参数,不多就sysaux表空间就会满。
轻易不要改这个参数

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29990276/viewspace-1585009/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
https://cloud.tencent.com/developer/inventory/14362

注册时间:2014-10-30

  • 博文量
    403
  • 访问量
    2528725