oracle11gsysaux表空间使用率非常高的问题解决-古蔺大橙子建站
RELATEED CONSULTING
相关咨询
选择下列产品马上在线沟通
服务时间:8:30-17:00
你可能遇到了下面的问题
关闭右侧工具栏

新闻中心

这里有您想知道的互联网营销解决方案
oracle11gsysaux表空间使用率非常高的问题解决
今天发现有个数据库的sysaux表空间暴涨,快要100%了,如图:
oracle 11g sysaux表空间使用率非常高的问题解决


查看一下是什么内容占用了空间:

oracle 11g sysaux表空间使用率非常高的问题解决

是awr的相关内容,需要重建awr来释放空间,具体重建步骤,请参考我的另一篇博文:http://blog.itpub.net/20893244/viewspace-2146541/


~~~~~~~~~~~~~~临时删除的办法~~~~~~~~~~~~~~~··

truncate  table  WRH$_ACTIVE_SESSION_HISTORY;
truncate  table  WRH$_EVENT_HISTOGRAM;
truncate  table  WRH$_SQLSTAT;
truncate  table  WRH$_LATCH_MISSES_SUMMARY;
truncate  table  WRH$_LATCH;
truncate  table  WRH$_SYSSTAT;
truncate  table  WRH$_SEG_STAT;
truncate  table  WRH$_PARAMETER;
truncate  table  WRH$_SYSTEM_EVENT;
truncate  table  WRH$_SQL_PLAN;
truncate  table  WRH$_DLM_MISC;
truncate  table  WRH$_SERVICE_STAT;
truncate  table  WRH$_TABLESPACE_STAT;
truncate  table  WRH$_ROWCACHE_SUMMARY;
truncate  table  WRH$_MVPARAMETER;

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~···

select distinct 'truncate  table  '||segment_name||';',s.bytes/1024/1024
  from dba_segments s
 where s.segment_name like 'WRH$%'
   and segment_type in ('TABLE PARTITION', 'TABLE')
   and s.bytes/1024/1024>100
   order by s.bytes/1024/1024/1024 desc;



当前文章:oracle11gsysaux表空间使用率非常高的问题解决
URL标题:http://scgulin.cn/article/gdghii.html