Script:查找表或索引增长的历史信息
2012-03-22 15:40
357 查看
有同学在Oracle ALL STARS群中提问 如何通过AWR来查找一段时间内,数据库段对象(堆表、索引)等的空间增长信息。
在Oracle 10g开始awr自动负载仓库引入了dba_hist_seg_stat视图,该视图记录了快照时间内segment-level段级的历史统计信息:DBA_HIST_SEG_STAT displays historical information about segment-level statistics. This view captures the top segments based on a set of criteria and captures information from V$SEGSTAT. The total value is the value of the statistics since instance startup. The delta value is the value of the statistics from the BEGIN_INTERVAL_TIME to the END_INTERVAL_TIME in the DBA_HIST_SNAPSHOT view.
我们可以通过以下SQL脚本来列出相关段对象在 快照时间内的使用空间的历史变化信息:
column owner format a16
column object_name format a36
column start_day format a11
column block_increase format 9999999999
select本文出自 “Ask Maclean Liu Oracle” 博客,请务必保留此出处http://maclean.blog.51cto.com/2923249/1278297
在Oracle 10g开始awr自动负载仓库引入了dba_hist_seg_stat视图,该视图记录了快照时间内segment-level段级的历史统计信息:DBA_HIST_SEG_STAT displays historical information about segment-level statistics. This view captures the top segments based on a set of criteria and captures information from V$SEGSTAT. The total value is the value of the statistics since instance startup. The delta value is the value of the statistics from the BEGIN_INTERVAL_TIME to the END_INTERVAL_TIME in the DBA_HIST_SNAPSHOT view.
我们可以通过以下SQL脚本来列出相关段对象在 快照时间内的使用空间的历史变化信息:
column owner format a16
column object_name format a36
column start_day format a11
column block_increase format 9999999999
select本文出自 “Ask Maclean Liu Oracle” 博客,请务必保留此出处http://maclean.blog.51cto.com/2923249/1278297
相关文章推荐
- Script:查找表或索引增长的历史信息
- SQL Server中如何找到历史增长信息
- 找到SQL Server数据库历史增长信息
- SQL Server中聚合历史备份信息对比数据库增长的方法
- DBA_HIST_ACTIVE_SESS_HISTORY视图查询历史session信息,查找违规操作
- 2.Lucene3.6.2包介绍,第一个Lucene案例介绍,查看索引信息的工具lukeall介绍,Luke查看的索引库内容,索引查找过程
- 找到SQL Server数据库历史增长信息
- SQL Server中聚合历史备份信息对比数据库增长的方法
- Script.NET自定义脚本关键字与帮助索引、编辑器提示信息的方法
- Lucene3.6.2包介绍,第一个Lucene案例介绍,查看索引信息的工具lukeall介绍,Luke查看的索引库内容,索引查找过程
- Script:挖掘AWR实现查询SCN历史增长走势
- 2.Lucene3.6.2包介绍,第一个Lucene案例介绍,查看索引信息的工具lukeall介绍,Luke查看的索引库内容,索引查找过程
- Script:挖掘AWR实现查询SCN历史增长走势
- script:查看redo产生的历史信息
- 2.Lucene3.6.2包介绍,第一个Lucene案例介绍,查看索引信息的工具lukeall介绍,Luke查看的索引库内容,索引查找过程
- script:查看历史sql执行信息
- script:查看历史sql执行信息
- script:查看redo产生的历史信息
- linux 文件查找帮助命令 , 查看网络链接信息, 历史命令
- 文件操作--利用首单词查找整行信息