当前位置: 移动技术网 > IT编程>数据库>Oracle > Oracle10G:ash的采样机制

Oracle10G:ash的采样机制

2018年12月11日  | 移动技术网IT编程  | 我要评论

ashis an active sessionhistory.

it only captures data about activesessions.

ifa session becomes idle after taking a lock then details will not be recordedand so are not reported in any reports produced

ash是对active状态的session的采样(每秒采样).也就是说:

oracle10g中,引入了awr和ash采样机制,有一个视图gv$active_session_history会每秒钟将所有节点的active session采样一次,

而dba_hist_active_sess_history则会将gv$active_session_history里的数据每10秒采样一次并持久化保存

https://blogs.oracle.com/database4cn/dbahistactivesesshistory

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网